summaryrefslogtreecommitdiff
path: root/engine/buy_sell_toss.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 17:39:09 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 17:39:09 -0500
commita1951cefc09035e11077a433b28ec8c66b3b03db (patch)
tree4de98db5a6edb6d74192028d50893da2b764421f /engine/buy_sell_toss.asm
parent79bd48f85c7dd1868264e290b12dad17a6e25b95 (diff)
Prefix wram labels with w, part 2.
Diffstat (limited to 'engine/buy_sell_toss.asm')
-rwxr-xr-xengine/buy_sell_toss.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/buy_sell_toss.asm b/engine/buy_sell_toss.asm
index ff2bd2967..d2cf14628 100755
--- a/engine/buy_sell_toss.asm
+++ b/engine/buy_sell_toss.asm
@@ -9,9 +9,9 @@ SelectQuantityToBuy: ; 24fc9
farcall GetItemPrice
RooftopSale_SelectQuantityToBuy: ; 24fcf
ld a, d
- ld [Buffer1], a
+ ld [wBuffer1], a
ld a, e
- ld [Buffer2], a
+ ld [wBuffer2], a
ld hl, BuyItem_MenuDataHeader
call LoadMenuDataHeader
call Toss_Sell_Loop
@@ -21,9 +21,9 @@ RooftopSale_SelectQuantityToBuy: ; 24fcf
SelectQuantityToSell: ; 24fe1
farcall GetItemPrice
ld a, d
- ld [Buffer1], a
+ ld [wBuffer1], a
ld a, e
- ld [Buffer2], a
+ ld [wBuffer2], a
ld hl, SellItem_MenuDataHeader
call LoadMenuDataHeader
call Toss_Sell_Loop
@@ -167,9 +167,9 @@ DisplaySellingPrice: ; 2509f
BuySell_MultiplyPrice: ; 250a9
xor a
ld [hMultiplicand + 0], a
- ld a, [Buffer1]
+ ld a, [wBuffer1]
ld [hMultiplicand + 1], a
- ld a, [Buffer2]
+ ld a, [wBuffer2]
ld [hMultiplicand + 2], a
ld a, [wItemQuantityChangeBuffer]
ld [hMultiplier], a