diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2018-08-26 22:54:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-26 22:54:11 -0400 |
commit | a71b28e5b724564fe19f329f5cbb474f8b111acb (patch) | |
tree | 0fbb1d3add4c64eb72e9c6790bf35b884fbcee8a /engine/battle/misc.asm | |
parent | 3eacab563d0e1ab5557c2443556a7a5e58d14cad (diff) | |
parent | b42ba692c49f09bb51b2fd233a8a97e7eb3208db (diff) |
Merge pull request #557 from Rangi42/master
Miscellaneous changes
Diffstat (limited to 'engine/battle/misc.asm')
-rw-r--r-- | engine/battle/misc.asm | 6 |
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 |