pokered/scripts/ceruleancity2.asm
U-Daniel-PC\Daniel de39851f4a Make Hide/Show objects more dynamic
be on the look out for more static ids in the wild
unused constants are still included because a
script could be written to check whether the player
has picked up an item/fought a legendary etc.
2014-09-25 19:21:49 -04:00

16 lines
459 B
NASM
Executable file

Func_74872: ; 74872 (1d:4872)
; code similar to this appears in a lot of banks; this particular
; one is called after you beat the Rocket that gives you TM28 DIG.
; the screen then fades out, he disappears, and fades back in
call GBFadeOutToBlack
ld a, HS_CERULEAN_GUARD_1
ld [wcc4d], a
predef ShowObject
ld a, HS_CERULEAN_GUARD_2
ld [wcc4d], a
predef HideObject
ld a, HS_CERULEAN_ROCKET
ld [wcc4d], a
predef HideObject
call GBFadeInFromBlack
ret