From d001ced41b53271373753de835a9c3b3413dc318 Mon Sep 17 00:00:00 2001 From: vulcandth Date: Thu, 13 Jul 2023 20:27:56 -0500 Subject: 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. --- scripts/IndigoPlateauLobby.asm | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'scripts/IndigoPlateauLobby.asm') 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 -- cgit v1.3.1-sl0p