kep-hack/data/maps/objects/ViridianPreGym.asm
May Evans 67132fefcb Yujirou Event Scripting, half-finished
This code has a lot of problems with solutions that me and Frrf can't seem to figure out. We've taken a lot of references from Erika's Gym but we've got many bugs after Yujirou is defeated, such as one case where you end up instantly doing the rematch fight, which is insane because there's no way this can actually happen.

What's committed is a fight that can be re-fought when it shouldn't.
2023-03-30 21:01:18 +01:00

14 lines
348 B
NASM

ViridianPreGym_Object:
db $0 ; border block
def_warp_events
warp_event 5, 13, 7, VIRIDIAN_CITY
warp_event 4, 13, 7, VIRIDIAN_CITY
def_bg_events
def_object_events
object_event 5, 2, SPRITE_YOUNGSTER, STAY, NONE, 1 ; person, Yujirou
object_event 5, 2, SPRITE_YOUNGSTER, STAY, NONE, 2 ; person, Yujirou 2
def_warps_to VIRIDIAN_PRE_GYM