summaryrefslogtreecommitdiff
path: root/engine/pokemon/stats_screen.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/pokemon/stats_screen.asm')
-rw-r--r--engine/pokemon/stats_screen.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/pokemon/stats_screen.asm b/engine/pokemon/stats_screen.asm
index d0004a47a..84af2bf49 100644
--- a/engine/pokemon/stats_screen.asm
+++ b/engine/pokemon/stats_screen.asm
@@ -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