summaryrefslogtreecommitdiff
path: root/engine/battle/misc.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/misc.asm')
-rw-r--r--engine/battle/misc.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/battle/misc.asm b/engine/battle/misc.asm
index 5a7b44cb1..6bfc4eb24 100644
--- a/engine/battle/misc.asm
+++ b/engine/battle/misc.asm
@@ -119,14 +119,14 @@ DoWeatherModifiers:
ld b, 4
call Divide
- ldh a, [hQuotient + 0]
+ ldh a, [hQuotient + 1]
and a
ld bc, -1
jr nz, .Update
- ldh a, [hQuotient + 1]
- ld b, a
ldh a, [hQuotient + 2]
+ ld b, a
+ ldh a, [hQuotient + 3]
ld c, a
or b
jr nz, .Update