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 Money to Coins (#7)
This commit is contained in:
@@ -190,8 +190,8 @@ MACRO stringtotext
|
||||
getstring \2, \1
|
||||
ENDM
|
||||
|
||||
MACRO readmoney
|
||||
getmoney \2, \1
|
||||
MACRO readcoins
|
||||
getcoins \2, \1
|
||||
ENDM
|
||||
|
||||
DEF RAM2MEM EQUS "getnum"
|
||||
|
@@ -225,25 +225,25 @@ MACRO checkitem
|
||||
db \1 ; item
|
||||
ENDM
|
||||
|
||||
const givemoney_command ; $22
|
||||
MACRO givemoney
|
||||
db givemoney_command
|
||||
const givecoins_command ; $22
|
||||
MACRO givecoins
|
||||
db givecoins_command
|
||||
db \1 ; account
|
||||
dt \2 ; money
|
||||
dt \2 ; coins
|
||||
ENDM
|
||||
|
||||
const takemoney_command ; $23
|
||||
MACRO takemoney
|
||||
db takemoney_command
|
||||
const takecoins_command ; $23
|
||||
MACRO takecoins
|
||||
db takecoins_command
|
||||
db \1 ; account
|
||||
dt \2 ; money
|
||||
dt \2 ; coins
|
||||
ENDM
|
||||
|
||||
const checkmoney_command ; $24
|
||||
MACRO checkmoney
|
||||
db checkmoney_command
|
||||
const checkcoins_command ; $24
|
||||
MACRO checkcoins
|
||||
db checkcoins_command
|
||||
db \1 ; account
|
||||
dt \2 ; money
|
||||
dt \2 ; coins
|
||||
ENDM
|
||||
|
||||
const givechips_command ; $25
|
||||
@@ -407,9 +407,9 @@ MACRO warp
|
||||
db \3 ; y
|
||||
ENDM
|
||||
|
||||
const getmoney_command ; $3d
|
||||
MACRO getmoney
|
||||
db getmoney_command
|
||||
const getcoins_command ; $3d
|
||||
MACRO getcoins
|
||||
db getcoins_command
|
||||
db \2 ; account
|
||||
db \1 ; string_buffer
|
||||
ENDM
|
||||
|
Reference in New Issue
Block a user