kep-hack/data/maps/objects/MtMoonCrater.asm
Llinos Evans 83483f035b The Great Constant Compression of June 2023
This is a large-scale compression of KEP's current hide/show constants. RBY's works extremely oddly and is limited to 256 entries.

The problem with how RBY's hide/show stuff works, is that even though there are tons of unused constants, you...can't actually remove them. The constant list is tied to the hide/show data entries, so if you replace it with something else, well, now you just have two objects tied to the same constant. If you made the Route 2 item a boss, and someone picked up the item on Route 2, the boss would also disappear, and vice versa. So, we have to get creative.

I have reduced what we have to 248, but I think I miscounted when doing the funny list somewhere in the actual list when making sure the hex stuff is ok. Either that, or there's an error somewhere that Martha will, by some obscene miracle of humanity, discover. Anyway, this was achieved by turning multiple current overworld items into hidden ones, keeping them in the game whilst keeping to that all-important limit.

I also removed the items in Pokemon Tower 4F for this, just needed a little boost. Well, as you can see by the number, I technically didn't, I just miscounted like 20 times. Look, it's 10:11 PM, my stomach is in pain from an insane injection, and I don't even know if that map will come back, cut me some slack. Or add it back. You definitely can.
2023-06-27 22:17:07 +01:00

16 lines
461 B
NASM

MtMoonCrater_Object:
db $03 ; border block
def_warp_events
warp_event 23, 49, MT_MOON_SQUARE, 2
warp_event 22, 49, MT_MOON_SQUARE, 2
def_bg_events
def_object_events
object_event 33, 17, SPRITE_FOSSIL, STAY, NONE, 1, DOME_FOSSIL
object_event 25, 21, SPRITE_FOSSIL, STAY, NONE, 2, WING_FOSSIL
object_event 33, 16, SPRITE_FOSSIL, STAY, NONE, 3, HELIX_FOSSIL
object_event 45, 24, SPRITE_POKE_BALL, STAY, NONE, 4, MAX_ETHER
def_warps_to MT_MOON_CRATER