summaryrefslogtreecommitdiff
path: root/engine/battle/move_effects/thunder.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/move_effects/thunder.asm')
-rw-r--r--engine/battle/move_effects/thunder.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/move_effects/thunder.asm b/engine/battle/move_effects/thunder.asm
index adfb4dd33..3705e1a28 100644
--- a/engine/battle/move_effects/thunder.asm
+++ b/engine/battle/move_effects/thunder.asm
@@ -4,7 +4,7 @@ BattleCommand_ThunderAccuracy: ; 37d94
ld a, BATTLE_VARS_MOVE_TYPE
call GetBattleVarAddr
inc hl
- ld a, [Weather]
+ ld a, [wBattleWeather]
cp WEATHER_RAIN
jr z, .rain
cp WEATHER_SUN