diff options
| author | vulcandth <vulcandth@gmail.com> | 2023-07-13 20:27:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-13 21:27:56 -0400 |
| commit | d001ced41b53271373753de835a9c3b3413dc318 (patch) | |
| tree | ff2db7f403bddfcdeb12e50def8411cafedcdd5e /scripts/SaffronPidgeyHouse.asm | |
| parent | Make wCurrentBoxNum a byte instead of word (#414) (diff) | |
| download | pokeyellow-d001ced41b53271373753de835a9c3b3413dc318.tar.gz pokeyellow-d001ced41b53271373753de835a9c3b3413dc318.tar.xz pokeyellow-d001ced41b53271373753de835a9c3b3413dc318.zip | |
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.
Diffstat (limited to 'scripts/SaffronPidgeyHouse.asm')
| -rw-r--r-- | scripts/SaffronPidgeyHouse.asm | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/scripts/SaffronPidgeyHouse.asm b/scripts/SaffronPidgeyHouse.asm index 90078e81..83ff5ce7 100644 --- a/scripts/SaffronPidgeyHouse.asm +++ b/scripts/SaffronPidgeyHouse.asm @@ -2,26 +2,27 @@ SaffronPidgeyHouse_Script: jp EnableAutoTextBoxDrawing SaffronPidgeyHouse_TextPointers: - dw SaffronHouse1Text1 - dw SaffronHouse1Text2 - dw SaffronHouse1Text3 - dw SaffronHouse1Text4 + 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 -SaffronHouse1Text1: - text_far _SaffronHouse1Text1 +SaffronPidgeyHouseBrunetteGirlText: + text_far _SaffronPidgeyHouseBrunetteGirlText text_end -SaffronHouse1Text2: - text_far _SaffronHouse1Text2 +SaffronPidgeyHousePidgeyText: + text_far _SaffronPidgeyHousePidgeyText text_asm ld a, PIDGEY call PlayCry jp TextScriptEnd -SaffronHouse1Text3: - text_far _SaffronHouse1Text3 +SaffronPidgeyHouseYoungsterText: + text_far _SaffronPidgeyHouseYoungsterText text_end -SaffronHouse1Text4: - text_far _SaffronHouse1Text4 +SaffronPidgeyHousePaperText: + text_far _SaffronPidgeyHousePaperText text_end |
