You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
hQuotient is a four-byte buffer (fixes #558)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user