summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 16:45:34 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 16:45:34 -0500
commitf2ae74079fc917cbf7e1f640eb8beda0d4740887 (patch)
treed1982b2f1c0c23e1b274ed84db330351d4f4806b /engine/battle/effect_commands
parentc60f1331fef22b886adf3472d2b4f348832cfaf7 (diff)
Prefix wram labels with w, part 1.
Handle edge cases first.
Diffstat (limited to 'engine/battle/effect_commands')
-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