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

19 lines
332 B
NASM
Executable file

SilphCo1Script: ; 5d44e (17:544e)
call EnableAutoTextBoxDrawing
ld a, [wd838]
bit 7, a
ret z
ld hl, wd7b9
bit 7, [hl]
set 7, [hl]
ret nz
ld a, HS_SILPH_CO_1F_1
ld [wcc4d], a
predef_jump ShowObject
SilphCo1TextPointers: ; 5d469 (17:5469)
dw SilphCo1Text1
SilphCo1Text1: ; 5d46b (17:546b)
TX_FAR _SilphCo1Text1
db "@"