aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/PokemonTower1F.asm
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2023-07-13 20:27:56 -0500
committerGitHub <noreply@github.com>2023-07-13 21:27:56 -0400
commitd001ced41b53271373753de835a9c3b3413dc318 (patch)
treeff2db7f403bddfcdeb12e50def8411cafedcdd5e /scripts/PokemonTower1F.asm
parentMake wCurrentBoxNum a byte instead of word (#414) (diff)
downloadpokeyellow-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/PokemonTower1F.asm')
-rw-r--r--scripts/PokemonTower1F.asm31
1 files changed, 16 insertions, 15 deletions
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