pokered/scripts/SaffronPidgeyHouse.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

28 lines
812 B
NASM

SaffronPidgeyHouse_Script:
jp EnableAutoTextBoxDrawing
SaffronPidgeyHouse_TextPointers:
def_text_pointers
dw_const SaffronPidgeyHouseBrunetteGirlText, TEXT_SAFFRONPIDGEYHOUSE_BRUNETTE_GIRL
dw_const SaffronPidgeyHousePidgeyText, TEXT_SAFFRONPIDGEYHOUSE_PIDGEY
dw_const SaffronPidgeyHouseYoungsterText, TEXT_SAFFRONPIDGEYHOUSE_YOUNGSTER
dw_const SaffronPidgeyHousePaperText, TEXT_SAFFRONPIDGEYHOUSE_PAPER
SaffronPidgeyHouseBrunetteGirlText:
text_far _SaffronPidgeyHouseBrunetteGirlText
text_end
SaffronPidgeyHousePidgeyText:
text_far _SaffronPidgeyHousePidgeyText
text_asm
ld a, PIDGEY
call PlayCry
jp TextScriptEnd
SaffronPidgeyHouseYoungsterText:
text_far _SaffronPidgeyHouseYoungsterText
text_end
SaffronPidgeyHousePaperText:
text_far _SaffronPidgeyHousePaperText
text_end