pokered/scripts/celadonmansion5.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

21 lines
476 B
NASM
Executable file

CeladonMansion5Script: ; 1dd3a (7:5d3a)
jp EnableAutoTextBoxDrawing
CeladonMansion5TextPointers: ; 1dd3d (7:5d3d)
dw CeladonMansion5Text1
dw CeladonMansion5Text2
CeladonMansion5Text1: ; 1dd41 (7:5d41)
TX_FAR _CeladonMansion5Text1
db "@"
CeladonMansion5Text2: ; 1dd46 (7:5d46)
db $08 ; asm
ld bc,(EEVEE << 8) | 25
call GivePokemon
jr nc, .asm_24365 ; 0x1dd4d
ld a, HS_CELADON_MANSION_5_GIFT
ld [wcc4d], a
predef HideObject
.asm_24365 ; 0x1dd59
jp TextScriptEnd