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:
@@ -636,15 +636,15 @@ StatsScreen_LoadGFX:
|
||||
farcall CalcExpAtLevel
|
||||
ld hl, wTempMonExp + 2
|
||||
ld hl, wTempMonExp + 2
|
||||
ldh a, [hQuotient + 2]
|
||||
ldh a, [hQuotient + 3]
|
||||
sub [hl]
|
||||
dec hl
|
||||
ld [wBuffer3], a
|
||||
ldh a, [hQuotient + 1]
|
||||
ldh a, [hQuotient + 2]
|
||||
sbc [hl]
|
||||
dec hl
|
||||
ld [wBuffer2], a
|
||||
ldh a, [hQuotient]
|
||||
ldh a, [hQuotient + 1]
|
||||
sbc [hl]
|
||||
ld [wBuffer1], a
|
||||
ret
|
||||
|
||||
Reference in New Issue
Block a user