diff options
Diffstat (limited to 'engine/pokemon/stats_screen.asm')
-rw-r--r-- | engine/pokemon/stats_screen.asm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/pokemon/stats_screen.asm b/engine/pokemon/stats_screen.asm index c9a5fbbe3..f94ee91ba 100644 --- a/engine/pokemon/stats_screen.asm +++ b/engine/pokemon/stats_screen.asm @@ -635,7 +635,7 @@ LoadPinkPage: call .CalcExpToNextLevel hlcoord 13, 13 lb bc, 3, 7 - ld de, wBuffer1 + ld de, wExpToNextLevel call PrintNum ld de, .LevelUpStr hlcoord 10, 12 @@ -679,18 +679,18 @@ LoadPinkPage: ldh a, [hQuotient + 3] sub [hl] dec hl - ld [wBuffer3], a + ld [wExpToNextLevel + 2], a ldh a, [hQuotient + 2] sbc [hl] dec hl - ld [wBuffer2], a + ld [wExpToNextLevel + 1], a ldh a, [hQuotient + 1] sbc [hl] - ld [wBuffer1], a + ld [wExpToNextLevel], a ret .AlreadyAtMaxLevel: - ld hl, wBuffer1 + ld hl, wExpToNextLevel xor a ld [hli], a ld [hli], a @@ -732,11 +732,11 @@ LoadGreenPage: call CopyBytes hlcoord 8, 10 ld a, SCREEN_WIDTH * 2 - ld [wBuffer1], a + ld [wListMovesLineSpacing], a predef ListMoves hlcoord 12, 11 ld a, SCREEN_WIDTH * 2 - ld [wBuffer1], a + ld [wListMovesLineSpacing], a predef ListMovePP ret |