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.
24 lines
698 B
NASM
24 lines
698 B
NASM
PewterNidoranHouse_Script:
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
PewterNidoranHouse_TextPointers:
|
|
def_text_pointers
|
|
dw_const PewterNidoranHouseNidoranText, TEXT_PEWTERNIDORANHOUSE_NIDORAN
|
|
dw_const PewterNidoranHouseLittleBoyText, TEXT_PEWTERNIDORANHOUSE_LITTLE_BOY
|
|
dw_const PewterNidoranHouseMiddleAgedManText, TEXT_PEWTERNIDORANHOUSE_MIDDLE_AGED_MAN
|
|
|
|
PewterNidoranHouseNidoranText:
|
|
text_far _PewterNidoranHouseNidoranText
|
|
text_asm
|
|
ld a, NIDORAN_M
|
|
call PlayCry
|
|
call WaitForSoundToFinish
|
|
jp TextScriptEnd
|
|
|
|
PewterNidoranHouseLittleBoyText:
|
|
text_far _PewterNidoranHouseLittleBoyText
|
|
text_end
|
|
|
|
PewterNidoranHouseMiddleAgedManText:
|
|
text_far _PewterNidoranHouseMiddleAgedManText
|
|
text_end
|