summaryrefslogtreecommitdiff
path: root/src/macros/scripts.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2021-01-17 23:22:11 -0600
committerdannye <33dannye@gmail.com>2021-01-17 23:22:11 -0600
commit3ced01a4b5b9fb96ca568cd078051a916a950dfa (patch)
tree803f509b14d9a1c67d498f8974fa189a7a5cf9ea /src/macros/scripts.asm
parent6ffa0b342a053bc3e78ca126c44edf89f9a622ec (diff)
Improve some labels in bank 3
Diffstat (limited to 'src/macros/scripts.asm')
-rw-r--r--src/macros/scripts.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/macros/scripts.asm b/src/macros/scripts.asm
index 828d5d4..61a0ecc 100644
--- a/src/macros/scripts.asm
+++ b/src/macros/scripts.asm
@@ -49,7 +49,7 @@ ENDM
const ScriptCommand_JumpIfNPCLoaded_index ; $29
const ScriptCommand_ShowMedalReceivedScreen_index ; $2a
const ScriptCommand_LoadCurrentMapNameIntoTxRamSlot_index ; $2b
- const ScriptCommand_LoadActiveNPCNameIntoTxRamSlot_index ; $2c
+ const ScriptCommand_LoadChallengeHallNPCIntoTxRamSlot_index ; $2c
const ScriptCommand_StartChallengeHallDuel_index ; $2d
const ScriptCommand_PrintTextForChallengeCup_index ; $2e
const ScriptCommand_MoveChallengeHallNPC_index ; $2f
@@ -334,9 +334,9 @@ ENDM
; Sets some NPC sprite attributes
set_sprite_attributes: MACRO
run_command ScriptCommand_SetSpriteAttributes
- db \1 ; Relates to LOADED_NPC_FIELD_05
- db \2 ; Relates to LOADED_NPC_FIELD_05
- db \3 ; Relates to LOADED_NPC_FIELD_06
+ db \1 ; Relates to LOADED_NPC_FIELD_06
+ db \2 ; Relates to LOADED_NPC_FIELD_06
+ db \3 ; Relates to LOADED_NPC_FIELD_05
ENDM
; Sets the active NPC's coords
@@ -398,9 +398,9 @@ load_current_map_name_into_txram_slot: MACRO
db \1 ; TxRam slot
ENDM
-; Loads the active NPC name into the given txram slot
-load_active_npc_name_into_txram_slot: MACRO
- run_command ScriptCommand_LoadActiveNPCNameIntoTxRamSlot
+; Loads the challenge hall opponent NPC name into the given txram slot
+load_challenge_hall_npc_into_txram_slot: MACRO
+ run_command ScriptCommand_LoadChallengeHallNPCIntoTxRamSlot
db \1 ; TxRam slot
ENDM