summaryrefslogtreecommitdiff
path: root/asm/battle_ai_switch_items.s
diff options
context:
space:
mode:
Diffstat (limited to 'asm/battle_ai_switch_items.s')
-rw-r--r--asm/battle_ai_switch_items.s8
1 files changed, 4 insertions, 4 deletions
diff --git a/asm/battle_ai_switch_items.s b/asm/battle_ai_switch_items.s
index 85eb2ded9..18b361682 100644
--- a/asm/battle_ai_switch_items.s
+++ b/asm/battle_ai_switch_items.s
@@ -5,8 +5,8 @@
.text
- thumb_func_start sub_8039188
-sub_8039188: @ 8039188
+ thumb_func_start ShouldSwitchIfPerishSong
+ShouldSwitchIfPerishSong: @ 8039188
push {lr}
ldr r1, _080391D4 @ =gUnknown_2023DFC
ldr r0, _080391D8 @ =gUnknown_2023BC4
@@ -53,7 +53,7 @@ _080391E4:
_080391E6:
pop {r1}
bx r1
- thumb_func_end sub_8039188
+ thumb_func_end ShouldSwitchIfPerishSong
thumb_func_start sub_80391EC
sub_80391EC: @ 80391EC
@@ -1323,7 +1323,7 @@ _08039BFA:
mov r0, r8
cmp r0, 0
beq _08039C74
- bl sub_8039188
+ bl ShouldSwitchIfPerishSong
lsls r0, 24
cmp r0, 0
bne _08039C60