mirror of
https://github.com/pret/pokered.git
synced 2024-10-22 22:55:31 +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.
31 lines
602 B
NASM
31 lines
602 B
NASM
PewterMart_Script:
|
|
call EnableAutoTextBoxDrawing
|
|
ld a, TRUE
|
|
ld [wAutoTextBoxDrawingControl], a
|
|
ret
|
|
|
|
PewterMart_TextPointers:
|
|
def_text_pointers
|
|
dw_const PewterMartClerkText, TEXT_PEWTERMART_CLERK
|
|
dw_const PewterMartYoungsterText, TEXT_PEWTERMART_YOUNGSTER
|
|
dw_const PewterMartSuperNerdText, TEXT_PEWTERMART_SUPER_NERD
|
|
|
|
PewterMartYoungsterText:
|
|
text_asm
|
|
ld hl, .Text
|
|
call PrintText
|
|
jp TextScriptEnd
|
|
|
|
.Text:
|
|
text_far _PewterMartYoungsterText
|
|
text_end
|
|
|
|
PewterMartSuperNerdText:
|
|
text_asm
|
|
ld hl, .Text
|
|
call PrintText
|
|
jp TextScriptEnd
|
|
|
|
.Text:
|
|
text_far _PewterMartSuperNerdText
|
|
text_end
|