Rename the concept of Coins to Chips (#7)

This commit is contained in:
xCrystal
2023-09-02 18:23:25 +02:00
parent ea31d254fb
commit 98fa7a9538
29 changed files with 225 additions and 225 deletions

View File

@@ -157,8 +157,8 @@ _ResetWRAM:
ld [wJohtoBadges], a
ld [wKantoBadges], a
ld [wCoins], a
ld [wCoins + 1], a
ld [wChips], a
ld [wChips + 1], a
if START_MONEY >= $10000
ld a, HIGH(START_MONEY >> 8)

View File

@@ -64,25 +64,25 @@ MoneyBottomLeftMenuHeader:
dw NULL
db 1 ; default option
DisplayCoinCaseBalance:
DisplayChipCaseBalance:
; Place a text box of size 1x7 at 11, 0.
hlcoord 11, 0
ld b, 1
ld c, 7
call Textbox1bpp
hlcoord 12, 0
ld de, CoinString
ld de, ChipString
call PlaceString
hlcoord 17, 1
ld de, ShowMoney_TerminatorString
call PlaceString
ld de, wCoins
ld de, wChips
lb bc, 2, 4
hlcoord 13, 1
call PrintNum
ret
DisplayMoneyAndCoinBalance:
DisplayMoneyAndChipBalance:
hlcoord 5, 0
ld b, 3
ld c, 13
@@ -95,18 +95,18 @@ DisplayMoneyAndCoinBalance:
lb bc, PRINTNUM_MONEY | 3, 6
call PrintNum
hlcoord 6, 3
ld de, CoinString
ld de, ChipString
call PlaceString
hlcoord 15, 3
ld de, wCoins
ld de, wChips
lb bc, 2, 4
call PrintNum
ret
MoneyString:
db "MONEY@"
CoinString:
db "COIN@"
ChipString:
db "CHIP@"
ShowMoney_TerminatorString:
db "@"