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/SafariZoneWest.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/SafariZoneWest.asm')
| -rw-r--r-- | scripts/SafariZoneWest.asm | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/scripts/SafariZoneWest.asm b/scripts/SafariZoneWest.asm index 7ae0807d..76021e33 100644 --- a/scripts/SafariZoneWest.asm +++ b/scripts/SafariZoneWest.asm @@ -2,27 +2,28 @@ SafariZoneWest_Script: jp EnableAutoTextBoxDrawing SafariZoneWest_TextPointers: - dw PickUpItemText - dw PickUpItemText - dw PickUpItemText - dw PickUpItemText - dw SafariZoneWestText5 - dw SafariZoneWestText6 - dw SafariZoneWestText7 - dw SafariZoneWestText8 + def_text_pointers + dw_const PickUpItemText, TEXT_SAFARIZONEWEST_MAX_POTION + dw_const PickUpItemText, TEXT_SAFARIZONEWEST_TM_DOUBLE_TEAM + dw_const PickUpItemText, TEXT_SAFARIZONEWEST_MAX_REVIVE + dw_const PickUpItemText, TEXT_SAFARIZONEWEST_GOLD_TEETH + dw_const SafariZoneWestRestHouseSignText, TEXT_SAFARIZONEWEST_REST_HOUSE_SIGN + dw_const SafariZoneWestFindWardensTeethSignText, TEXT_SAFARIZONEWEST_FIND_WARDENS_TEETH_SIGN + dw_const SafariZoneWestTrainerTipsText, TEXT_SAFARIZONEWEST_TRAINER_TIPS + dw_const SafariZoneWestSignText, TEXT_SAFARIZONEWEST_SIGN -SafariZoneWestText5: - text_far _SafariZoneWestText5 +SafariZoneWestRestHouseSignText: + text_far _SafariZoneWestRestHouseSignText text_end -SafariZoneWestText6: - text_far _SafariZoneWestText6 +SafariZoneWestFindWardensTeethSignText: + text_far _SafariZoneWestFindWardensTeethSignText text_end -SafariZoneWestText7: - text_far _SafariZoneWestText7 +SafariZoneWestTrainerTipsText: + text_far _SafariZoneWestTrainerTipsText text_end -SafariZoneWestText8: - text_far _SafariZoneWestText8 +SafariZoneWestSignText: + text_far _SafariZoneWestSignText text_end |
