aboutsummaryrefslogtreecommitdiffstats
path: root/engine/menu/players_pc.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-12 23:00:48 -0700
committerYamaArashi <shadow962@live.com>2015-07-12 23:00:48 -0700
commit4a8c9993ad182296131ef87111e1b6d6e2af4201 (patch)
treecd8044bd5b8e4b88501c2ccf7b006ef296a735ca /engine/menu/players_pc.asm
parentuse constant for bg transfer dest hram var (diff)
downloadpokeyellow-4a8c9993ad182296131ef87111e1b6d6e2af4201.tar.gz
pokeyellow-4a8c9993ad182296131ef87111e1b6d6e2af4201.tar.xz
pokeyellow-4a8c9993ad182296131ef87111e1b6d6e2af4201.zip
named wram variables
Diffstat (limited to 'engine/menu/players_pc.asm')
-rwxr-xr-xengine/menu/players_pc.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/engine/menu/players_pc.asm b/engine/menu/players_pc.asm
index 147a27a4..9512cc6b 100755
--- a/engine/menu/players_pc.asm
+++ b/engine/menu/players_pc.asm
@@ -101,15 +101,15 @@ Func_79ab: ; 79ab (1:79ab)
ld a, h
ld [wList + 1], a
xor a
- ld [wcf93], a
+ ld [wPrintItemPrices], a
ld a, $3
ld [wListMenuID], a
call DisplayListMenuID
jp c, Func_790c
call IsKeyItem
ld a, $1
- ld [wcf96], a
- ld a, [wd124]
+ ld [wItemQuantity], a
+ ld a, [wIsKeyItem]
and a
jr nz, .asm_79e7
ld hl, DepositHowManyText
@@ -155,15 +155,15 @@ Func_7a28: ; 7a28 (1:7a28)
ld a, h
ld [wList + 1], a
xor a
- ld [wcf93], a
+ ld [wPrintItemPrices], a
ld a, $3
ld [wListMenuID], a
call DisplayListMenuID
jp c, Func_790c
call IsKeyItem
ld a, $1
- ld [wcf96], a
- ld a, [wd124]
+ ld [wItemQuantity], a
+ ld a, [wIsKeyItem]
and a
jr nz, .asm_7a64
ld hl, WithdrawHowManyText
@@ -209,7 +209,7 @@ Func_7aa5: ; 7aa5 (1:7aa5)
ld a, h
ld [wList + 1], a
xor a
- ld [wcf93], a
+ ld [wPrintItemPrices], a
ld a, $3
ld [wListMenuID], a
push hl
@@ -220,8 +220,8 @@ Func_7aa5: ; 7aa5 (1:7aa5)
call IsKeyItem
pop hl
ld a, $1
- ld [wcf96], a
- ld a, [wd124]
+ ld [wItemQuantity], a
+ ld a, [wIsKeyItem]
and a
jr nz, .asm_7aef
ld a, [wcf91]