mirror of
https://github.com/pret/pokeyellow.git
synced 2024-11-23 05:49:57 +00:00
d001ced41b
This introduces `def_script_pointers`, `def_text_pointers`, and `object_const_def` macros, and applies them to all maps. Most other map labels have also been identified.
18 lines
449 B
NASM
18 lines
449 B
NASM
SilphCo1F_Script:
|
|
call EnableAutoTextBoxDrawing
|
|
CheckEvent EVENT_BEAT_SILPH_CO_GIOVANNI
|
|
ret z
|
|
CheckAndSetEvent EVENT_SILPH_CO_RECEPTIONIST_AT_DESK
|
|
ret nz
|
|
ld a, HS_SILPH_CO_1F_RECEPTIONIST
|
|
ld [wMissableObjectIndex], a
|
|
predef_jump ShowObject
|
|
|
|
SilphCo1F_TextPointers:
|
|
def_text_pointers
|
|
dw_const SilphCo1FLinkReceptionistText, TEXT_SILPHCO1F_LINK_RECEPTIONIST
|
|
|
|
SilphCo1FLinkReceptionistText:
|
|
text_far _SilphCo1FLinkReceptionistText
|
|
text_end
|