summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands/sandstorm.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/effect_commands/sandstorm.asm')
-rw-r--r--engine/battle/effect_commands/sandstorm.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/effect_commands/sandstorm.asm b/engine/battle/effect_commands/sandstorm.asm
index 27b8e8e2c..7bd653420 100644
--- a/engine/battle/effect_commands/sandstorm.asm
+++ b/engine/battle/effect_commands/sandstorm.asm
@@ -1,12 +1,12 @@
BattleCommand_StartSandstorm: ; 376f8
; startsandstorm
- ld a, [Weather]
+ ld a, [wBattleWeather]
cp WEATHER_SANDSTORM
jr z, .failed
ld a, WEATHER_SANDSTORM
- ld [Weather], a
+ ld [wBattleWeather], a
ld a, 5
ld [WeatherCount], a
call AnimateCurrentMove