Fighting Dojo script revamp

This restructures the Fighting Dojo to match the new map, as well as add a few more features and safety mechanisms.
- Koichi, the Karate Master, now plays the Gym Leader theme when fought.
- Hitmontop is now an optional reward.
- Post-Game Rematch is available in addition to the gym scaling to be consistent with other Gym Leaders.
- A safety lock is on the Poke Balls prior to defeating the Karate Master, as the new structure now demands it. Indeed, this is why the reward area in vanilla is like that.
- Architecturally, there is now only one EVENT_GOT_HITMON constant, which is all that was actually needed in the vanilla game. Extreme microoptimisation, as event constants appear to be 16-bit.
This commit is contained in:
Llinos Evans 2023-06-27 21:09:38 +01:00
parent 18dd9715d0
commit 262c862a76
8 changed files with 161 additions and 22 deletions

View file

@ -68,7 +68,7 @@ Plateau_Coll::
coll_tiles $1b, $23, $2c, $2d, $3b, $45
PreGym_Coll::
coll_tiles $0B, $0E, $1E, $1F
coll_tiles $0B, $0E, $1E, $1F, $11
Citrine_Coll::
coll_tiles $2C, $31, $3F, $55, $0E, $2F, $23, $20, $10, $03, $1C, $1B, $0B, $0C, $21, $39, $3C, $48, $49, $58, $59