aboutsummaryrefslogtreecommitdiffstats
path: root/engine/menu/bills_pc.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-10-18 15:37:40 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-10-18 15:37:40 -0400
commitbb97b63af1fbeca208cb30a41f8195b4408821dc (patch)
tree106b0bab693daa5335445b01c43a8cd4c851d231 /engine/menu/bills_pc.asm
parentMore bank3 documentation (diff)
downloadpokeyellow-bb97b63af1fbeca208cb30a41f8195b4408821dc.tar.gz
pokeyellow-bb97b63af1fbeca208cb30a41f8195b4408821dc.tar.xz
pokeyellow-bb97b63af1fbeca208cb30a41f8195b4408821dc.zip
Complete documentation of bank3
Also: split out bcd predefs from yellow/main.asm, start removing traces of W_
Diffstat (limited to 'engine/menu/bills_pc.asm')
-rw-r--r--engine/menu/bills_pc.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/menu/bills_pc.asm b/engine/menu/bills_pc.asm
index 3f0db4ea..4a274871 100644
--- a/engine/menu/bills_pc.asm
+++ b/engine/menu/bills_pc.asm
@@ -218,7 +218,7 @@ BillsPCDeposit: ; 2156d (8:556d)
call PrintText
jp BillsPCMenu
.partyLargeEnough
- ld a, [W_NUMINBOX]
+ ld a, [wNumInBox]
cp MONS_PER_BOX
jr nz, .boxNotFull
ld hl, BoxFullText
@@ -279,7 +279,7 @@ SleepingPikachuText2: ; 2160e (8:560e)
db "@"
BillsPCWithdraw: ; 21613 (8:5613)
- ld a, [W_NUMINBOX]
+ ld a, [wNumInBox]
and a
jr nz, .boxNotEmpty
ld hl, NoMonText
@@ -293,7 +293,7 @@ BillsPCWithdraw: ; 21613 (8:5613)
call PrintText
jp BillsPCMenu
.partyNotFull
- ld hl, W_NUMINBOX
+ ld hl, wNumInBox
call DisplayMonListMenu
jp c, BillsPCMenu
call DisplayDepositWithdrawMenu
@@ -322,14 +322,14 @@ BillsPCWithdraw: ; 21613 (8:5613)
jp BillsPCMenu
BillsPCRelease: ; 21690 (8:5690)
- ld a, [W_NUMINBOX]
+ ld a, [wNumInBox]
and a
jr nz, .loop
ld hl, NoMonText
call PrintText
jp BillsPCMenu
.loop
- ld hl, W_NUMINBOX
+ ld hl, wNumInBox
call DisplayMonListMenu
jp c, BillsPCMenu
callab Func_fce0d