kep-hack/data/maps/objects/IndigoPlateauLobby.asm
Llinos Evans 8bd3b8a703 Hall of Fame Crash Fix
I forgot to put a `ret` at the end of `ShowThis`, causing the sequence to break. It also fixes a bug that would trap you in your house if you cleared the game at all - LAST_MAP is set to the player's room due to how we changed the starting position.

The post-game Legendary respawns are NOT fixed with this, for reasons I don't yet know. It's most likely the faulty dex as a whole.

The post-game setup itself now works, though - Route 1 Oak appears, Crater Guard disappears, Bill's Garden becomes accessible, etc.

Cerulean Cave is made accessible through the post-game setup until the gauntlet is officially done.
2023-09-07 01:20:53 +01:00

23 lines
819 B
NASM

IndigoPlateauLobby_Object:
db $0 ; border block
def_warp_events
warp_event 7, 11, LAST_MAP, 1
warp_event 8, 11, LAST_MAP, 2
;warp_event 8, 0, HALL_OF_FAME, 1 ; test post-game setup
warp_event 8, 0, LORELEIS_ROOM, 1
def_bg_events
def_object_events
object_event 7, 5, SPRITE_NURSE, STAY, DOWN, 1 ; person
object_event 4, 9, SPRITE_GYM_GUIDE, STAY, RIGHT, 2 ; person
object_event 5, 1, SPRITE_COOLTRAINER_F, STAY, DOWN, 3 ; person
object_event 1, 10, SPRITE_YOUNGSTER, STAY, UP, 4 ; person
object_event 0, 5, SPRITE_CLERK, STAY, RIGHT, 5 ; person
object_event 13, 6, SPRITE_LINK_RECEPTIONIST, STAY, DOWN, 6 ; person
object_event 10, 7, SPRITE_GAMEBOY_KID, STAY, DOWN, 7 ; Exeggutor Trader
object_event 8, 5, SPRITE_CHANSEY, STAY, DOWN, 8 ; Chansey
def_warps_to INDIGO_PLATEAU_LOBBY