You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Rename the concept of Coins to Chips (#7)
This commit is contained in:
@@ -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)
|
||||
|
@@ -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 "@"
|
||||
|
||||
|
Reference in New Issue
Block a user