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/IndigoPlateauLobby.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/IndigoPlateauLobby.asm')
| -rw-r--r-- | scripts/IndigoPlateauLobby.asm | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/scripts/IndigoPlateauLobby.asm b/scripts/IndigoPlateauLobby.asm index d5c89536..8f69fd58 100644 --- a/scripts/IndigoPlateauLobby.asm +++ b/scripts/IndigoPlateauLobby.asm @@ -15,22 +15,23 @@ IndigoPlateauLobby_Script: ret IndigoPlateauLobby_TextPointers: - dw IndigoHealNurseText - dw IndigoPlateauLobbyText2 - dw IndigoPlateauLobbyText3 - dw IndigoCashierText - dw IndigoTradeNurseText + def_text_pointers + dw_const IndigoPlateauLobbyNurseText, TEXT_INDIGOPLATEAULOBBY_NURSE + dw_const IndigoPlateauLobbyGymGuideText, TEXT_INDIGOPLATEAULOBBY_GYM_GUIDE + dw_const IndigoPlateauLobbyCooltrainerFText, TEXT_INDIGOPLATEAULOBBY_COOLTRAINER_F + dw_const IndigoPlateauLobbyClerkText, TEXT_INDIGOPLATEAULOBBY_CLERK + dw_const IndigoPlateauLobbyLinkReceptionistText, TEXT_INDIGOPLATEAULOBBY_LINK_RECEPTIONIST -IndigoHealNurseText: +IndigoPlateauLobbyNurseText: script_pokecenter_nurse -IndigoPlateauLobbyText2: - text_far _IndigoPlateauLobbyText2 +IndigoPlateauLobbyGymGuideText: + text_far _IndigoPlateauLobbyGymGuideText text_end -IndigoPlateauLobbyText3: - text_far _IndigoPlateauLobbyText3 +IndigoPlateauLobbyCooltrainerFText: + text_far _IndigoPlateauLobbyCooltrainerFText text_end -IndigoTradeNurseText: +IndigoPlateauLobbyLinkReceptionistText: script_cable_club_receptionist |
