give/take coins action of blue/red space (#22)

This commit is contained in:
xCrystal
2023-12-24 18:42:07 +01:00
parent 4859b524b3
commit 28bd777632
9 changed files with 98 additions and 23 deletions

View File

@@ -15,6 +15,7 @@ DEF MAP_LOCATION rb ; 5
DEF MAP_MUSIC rb ; 6
DEF MAP_PALETTE rb ; 7
DEF MAP_FISHGROUP rb ; 8
DEF MAP_BASECOINS rb ; 9
DEF MAP_LENGTH EQU _RS
; map environments (wEnvironment)

View File

@@ -35,10 +35,11 @@ DEF NOON_HOUR EQU 12 ; 12 PM
DEF MAX_DAYS EQU 36 * 7 ; 252
; significant coins values
DEF START_COINS EQU 3000
DEF MOM_COINS EQU 2300
DEF MAX_COINS EQU 999999
DEF MAX_CHIPS EQU 9999
DEF START_COINS EQU 100
DEF MOM_COINS EQU 2300
DEF MAX_COINS EQU 999999
DEF MAX_LEVEL_COINS EQU 99999
DEF MAX_CHIPS EQU 9999
; link record
DEF MAX_LINK_RECORD EQU 9999

View File

@@ -13,8 +13,9 @@ DEF STRING_BUFFER_LENGTH EQU 19
; checkcoins/takecoins accounts
const_def
const YOUR_COINS ; 0
const MOMS_COINS ; 1
const YOUR_COINS ; 0
const CUR_LEVEL_COINS ; 1
const MOMS_COINS ; 2
; checkcoins/checkchips return values
const_def
@@ -22,6 +23,9 @@ DEF STRING_BUFFER_LENGTH EQU 19
const HAVE_AMOUNT ; 1
const HAVE_LESS ; 2
; givecoins/takecoins/checkcoins special amount values
DEF BLUE_RED_SPACE_COINS EQU $ffffff
; checkpokemail return values
const_def
const POKEMAIL_WRONG_MAIL ; 0