mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00

This commit adds a large fundamental change to KEP, that being Gym Rematches. This is achieved alongside a rework to the script that makes those post-game-gating NPCs shift around. If you add a new one, just add its constant to the lists you'll see in the Hall of Fame script. It also fixes a few bugs: - Fixed a bug where Cinnabar Gym loaded a fleet of Blaines. This occurred due to the way he is coded at base, and a misunderstanding I had when implementing his scaling. This is now fixed by standardising his gym script instead, while letting the gym trainers still use the old one. - Fixed a bug where the Up-Grade NPC would not appear after beating Silph Co. 11F. However, Giovanni currently seems to have trouble with his text. This floor needs some re-coding anyway, given we need to add Jessie and James to it. And some misc. changes: - Changed the first Moon Stone in Mt. Moon to a Poison Stone for the Nidoking speedrunners - Debug Mode now has a line of code to set up the post-game easily - Changed Surge's initial battle text to Yellow's - Added Sabrina's more accurate LGPE initial battle text, referring to the spoon she bent by accident
30 lines
1.2 KiB
NASM
30 lines
1.2 KiB
NASM
MtMoon1F_Object:
|
|
db $3 ; border block
|
|
|
|
def_warp_events
|
|
warp_event 14, 35, ROUTE_4, 2
|
|
warp_event 15, 35, ROUTE_4, 2
|
|
warp_event 5, 5, MT_MOON_B1F, 1
|
|
warp_event 17, 11, MT_MOON_B1F, 3
|
|
warp_event 25, 15, MT_MOON_B1F, 4
|
|
|
|
def_bg_events
|
|
bg_event 15, 23, 14 ; MtMoon1Text14
|
|
|
|
def_object_events
|
|
object_event 5, 6, SPRITE_HIKER, STAY, DOWN, 1, OPP_HIKER, 1
|
|
object_event 12, 16, SPRITE_YOUNGSTER, STAY, RIGHT, 2, OPP_YOUNGSTER, 3
|
|
object_event 30, 4, SPRITE_COOLTRAINER_F, STAY, DOWN, 3, OPP_LASS, 5
|
|
object_event 24, 31, SPRITE_SUPER_NERD, STAY, UP, 4, OPP_SUPER_NERD, 1
|
|
object_event 16, 23, SPRITE_COOLTRAINER_F, STAY, DOWN, 5, OPP_LASS, 6
|
|
object_event 7, 22, SPRITE_YOUNGSTER, STAY, DOWN, 6, OPP_BUG_CATCHER, 7
|
|
object_event 30, 27, SPRITE_YOUNGSTER, STAY, RIGHT, 7, OPP_BUG_CATCHER, 8
|
|
object_event 2, 20, SPRITE_POKE_BALL, STAY, NONE, 8, POTION
|
|
object_event 2, 2, SPRITE_POKE_BALL, STAY, NONE, 9, POISON_STONE
|
|
object_event 35, 31, SPRITE_POKE_BALL, STAY, NONE, 10, RARE_CANDY
|
|
object_event 36, 23, SPRITE_POKE_BALL, STAY, NONE, 11, ESCAPE_ROPE
|
|
object_event 20, 33, SPRITE_POKE_BALL, STAY, NONE, 12, POTION
|
|
object_event 5, 32, SPRITE_POKE_BALL, STAY, NONE, 13, TM_WATER_GUN
|
|
|
|
def_warps_to MT_MOON_1F
|