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/PokemonTower1F.asm | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'scripts/PokemonTower1F.asm') diff --git a/scripts/PokemonTower1F.asm b/scripts/PokemonTower1F.asm index 65614523..72509f52 100644 --- a/scripts/PokemonTower1F.asm +++ b/scripts/PokemonTower1F.asm @@ -2,28 +2,29 @@ PokemonTower1F_Script: jp EnableAutoTextBoxDrawing PokemonTower1F_TextPointers: - dw PokemonTower1Text1 - dw PokemonTower1Text2 - dw PokemonTower1Text3 - dw PokemonTower1Text4 - dw PokemonTower1Text5 + def_text_pointers + dw_const PokemonTower1FReceptionistText, TEXT_POKEMONTOWER1F_RECEPTIONIST + dw_const PokemonTower1FMiddleAgedWomanText, TEXT_POKEMONTOWER1F_MIDDLE_AGED_WOMAN + dw_const PokemonTower1FBaldingGuyText, TEXT_POKEMONTOWER1F_BALDING_GUY + dw_const PokemonTower1FGirlText, TEXT_POKEMONTOWER1F_GIRL + dw_const PokemonTower1FChannelerText, TEXT_POKEMONTOWER1F_CHANNELER -PokemonTower1Text1: - text_far _PokemonTower1Text1 +PokemonTower1FReceptionistText: + text_far _PokemonTower1FReceptionistText text_end -PokemonTower1Text2: - text_far _PokemonTower1Text2 +PokemonTower1FMiddleAgedWomanText: + text_far _PokemonTower1FMiddleAgedWomanText text_end -PokemonTower1Text3: - text_far _PokemonTower1Text3 +PokemonTower1FBaldingGuyText: + text_far _PokemonTower1FBaldingGuyText text_end -PokemonTower1Text4: - text_far _PokemonTower1Text4 +PokemonTower1FGirlText: + text_far _PokemonTower1FGirlText text_end -PokemonTower1Text5: - text_far _PokemonTower1Text5 +PokemonTower1FChannelerText: + text_far _PokemonTower1FChannelerText text_end -- cgit v1.3.1-sl0p