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.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/pokemon/stats_screen.asm b/engine/pokemon/stats_screen.asm
index b53a2622..e7c7329b 100644
--- a/engine/pokemon/stats_screen.asm
+++ b/engine/pokemon/stats_screen.asm
@@ -431,7 +431,7 @@ LoadPinkPage:
call PrintNum
; level-up graphics and strings
call .CalcExpToNextLevel
- ld de, wBuffer1
+ ld de, wExpToNextLevel
hlcoord 13, 13
lb bc, 3, 7
call PrintNum
@@ -475,18 +475,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
@@ -588,11 +588,11 @@ LoadGreenPage:
call PlaceString
hlcoord 8, 10
ld a, SCREEN_WIDTH * 2
- ld [wBuffer1], a
+ ld [wListMovesLineSpacing], a
call ListMoves
hlcoord 12, 11
ld a, SCREEN_WIDTH * 2
- ld [wBuffer1], a
+ ld [wListMovesLineSpacing], a
call ListMovePP
; Load palettes / place frontpic