diff options
Diffstat (limited to 'asm/battle_ai.s')
-rw-r--r-- | asm/battle_ai.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/asm/battle_ai.s b/asm/battle_ai.s index 78e928ac7..5df4635b2 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 |