summaryrefslogtreecommitdiff
path: root/asm/battle_ai.s
diff options
context:
space:
mode:
Diffstat (limited to 'asm/battle_ai.s')
-rw-r--r--asm/battle_ai.s10
1 files changed, 5 insertions, 5 deletions
diff --git a/asm/battle_ai.s b/asm/battle_ai.s
index 78e928ac7..829768e17 100644
--- a/asm/battle_ai.s
+++ b/asm/battle_ai.s
@@ -5,7 +5,7 @@
.syntax unified
.text
-
+
thumb_func_start BattleAICmd_if_status_in_party
BattleAICmd_if_status_in_party: @ 8108964
push {r4-r7,lr}
@@ -212,7 +212,7 @@ _08108AE8: .4byte gAIScriptPtr
thumb_func_start BattleAICmd_unk_36
BattleAICmd_unk_36: @ 8108AEC
push {lr}
- ldr r2, _08108B3C @ =word_2024DB8
+ ldr r2, _08108B3C @ =gBattleWeather
ldrh r1, [r2]
movs r0, 0x7
ands r0, r1
@@ -255,7 +255,7 @@ _08108B2E:
pop {r0}
bx r0
.align 2, 0
-_08108B3C: .4byte word_2024DB8
+_08108B3C: .4byte gBattleWeather
_08108B40: .4byte 0x02016800
_08108B44: .4byte gAIScriptPtr
thumb_func_end BattleAICmd_unk_36
@@ -1649,7 +1649,7 @@ _08109598: .4byte gUnknown_02024CA8
thumb_func_start BattleAICmd_unk_4C
BattleAICmd_unk_4C: @ 810959C
ldr r2, _081095B4 @ =0x02016800
- ldr r0, _081095B8 @ =gUnknown_020239F8
+ ldr r0, _081095B8 @ =gBattleTypeFlags
ldrh r1, [r0]
movs r0, 0x1
ands r0, r1
@@ -1661,7 +1661,7 @@ BattleAICmd_unk_4C: @ 810959C
bx lr
.align 2, 0
_081095B4: .4byte 0x02016800
-_081095B8: .4byte gUnknown_020239F8
+_081095B8: .4byte gBattleTypeFlags
_081095BC: .4byte gAIScriptPtr
thumb_func_end BattleAICmd_unk_4C