Prefix wram labels with w, part 1.

Handle edge cases first.
This commit is contained in:
luckytyphlosion
2018-01-23 16:45:34 -05:00
parent c60f1331fe
commit f2ae74079f
41 changed files with 452 additions and 452 deletions

View File

@@ -171,7 +171,7 @@ AddFunds: ; 16055
GiveCoins:: ; 1606f
ld a, 2
ld de, Coins
ld de, wCoins
call AddFunds
ld a, 2
ld bc, .maxcoins
@@ -198,7 +198,7 @@ GiveCoins:: ; 1606f
TakeCoins:: ; 1608f
ld a, 2
ld de, Coins
ld de, wCoins
call SubtractFunds
jr nc, .okay
; leave with 0 coins
@@ -216,6 +216,6 @@ TakeCoins:: ; 1608f
CheckCoins:: ; 160a1
ld a, 2
ld de, Coins
ld de, wCoins
jp CompareFunds
; 160a9