pokered/scripts/PewterNidoranHouse.asm
vulcandth d001ced41b
Add macros, constants, and labels for map scripts and text (#367)
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.
2023-07-13 21:27:56 -04:00

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