mirror of
https://github.com/pret/pokered.git
synced 2024-10-24 07:25:21 +00:00
de39851f4a
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.
19 lines
332 B
NASM
Executable file
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 "@"
|