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

So this isn't working very well. It's halfway there and worked exactly once with what I can only describe as a cosmic ray event. Here's how it's intended to work: Right as you open the Card Key door, Omega comes barging through, having previously been fighting with Giovanni. The walking and stuff seems to work, but there are three issues: - Omega's battle doesn't start, causing a softlock. `call TalkToTrainer` seems to be the iffy point. Note that this code is usually used when talking to a static entity. - The music bugs out as Omega walks over; this may be linked to the above problem. - Once these issues are alleviated, Omega will have to disappear, but this isn't a massive deal. Also includes a dev door in Red's room to easily access the event, and minor code cleanup with Viridian Pre-Gym and Oak's lab - just unnecessary comments.
21 lines
674 B
NASM
21 lines
674 B
NASM
SilphCo11F_Object:
|
|
db $d ; border block
|
|
|
|
def_warp_events
|
|
; warp_event 9, 0, SILPH_CO_10F, 2
|
|
; warp_event 13, 0, SILPH_CO_ELEVATOR, 1
|
|
warp_event 2, 2, LAST_MAP, 10
|
|
; warp_event 3, 2, SILPH_CO_5F, 4
|
|
|
|
def_bg_events
|
|
|
|
def_object_events
|
|
object_event 7, 5, SPRITE_SILPH_PRESIDENT, STAY, DOWN, 1 ; person
|
|
object_event 10, 5, SPRITE_BEAUTY, STAY, DOWN, 2 ; person
|
|
object_event 6, 9, SPRITE_GIOVANNI, STAY, DOWN, 3, OPP_GIOVANNI, 2
|
|
object_event 3, 16, SPRITE_ROCKET, STAY, UP, 4, OPP_ROCKET, 41
|
|
object_event 15, 9, SPRITE_ROCKET, STAY, UP, 5, OPP_ROCKET, 40
|
|
object_event 6, 11, SPRITE_MONSTER, STAY, UP, 7, OMEGA, 45 | OW_POKEMON
|
|
|
|
def_warps_to SILPH_CO_11F
|