From 6a31663c960a5c1da9dbbf12d49e0252860b96d0 Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 27 Apr 2021 15:49:59 -0400 Subject: Use {interpolation} to generate sequences of RAM labels Fixes #319 --- engine/pokemon/bills_pc.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engine/pokemon/bills_pc.asm') diff --git a/engine/pokemon/bills_pc.asm b/engine/pokemon/bills_pc.asm index f83ed434..7aba8001 100644 --- a/engine/pokemon/bills_pc.asm +++ b/engine/pokemon/bills_pc.asm @@ -212,7 +212,7 @@ BillsPCDeposit: call PrintText jp BillsPCMenu .partyLargeEnough - ld a, [wNumInBox] + ld a, [wBoxCount] cp MONS_PER_BOX jr nz, .boxNotFull ld hl, BoxFullText @@ -254,7 +254,7 @@ BillsPCDeposit: jp BillsPCMenu BillsPCWithdraw: - ld a, [wNumInBox] + ld a, [wBoxCount] and a jr nz, .boxNotEmpty ld hl, NoMonText @@ -268,7 +268,7 @@ BillsPCWithdraw: call PrintText jp BillsPCMenu .partyNotFull - ld hl, wNumInBox + ld hl, wBoxCount call DisplayMonListMenu jp c, BillsPCMenu call DisplayDepositWithdrawMenu @@ -291,14 +291,14 @@ BillsPCWithdraw: jp BillsPCMenu BillsPCRelease: - ld a, [wNumInBox] + ld a, [wBoxCount] and a jr nz, .loop ld hl, NoMonText call PrintText jp BillsPCMenu .loop - ld hl, wNumInBox + ld hl, wBoxCount call DisplayMonListMenu jp c, BillsPCMenu ld hl, OnceReleasedText -- cgit v1.3.1-sl0p