2017-12-08 21:50:59 -08:00
|
|
|
; Boolean checks
|
|
|
|
FALSE EQU 0
|
|
|
|
TRUE EQU 1
|
|
|
|
|
|
|
|
; genders
|
|
|
|
MALE EQU 0
|
|
|
|
FEMALE EQU 1
|
|
|
|
|
|
|
|
; FlagAction arguments (see home/flag.asm)
|
2018-11-20 12:53:45 -08:00
|
|
|
const_def
|
|
|
|
const RESET_FLAG
|
|
|
|
const SET_FLAG
|
|
|
|
const CHECK_FLAG
|
2017-12-08 21:50:59 -08:00
|
|
|
|
2018-01-08 21:51:53 -08:00
|
|
|
; G/S version ID: 0 = Gold, 1 = Silver (used by checkver)
|
|
|
|
GS_VERSION EQU 0
|
2020-10-27 10:22:27 -07:00
|
|
|
; Pokémon Pikachu 2, a step counter / virtual pet device (used by Mystery Gift)
|
|
|
|
POKEMON_PIKACHU_2_VERSION EQU 3
|
2018-01-08 21:51:53 -08:00
|
|
|
|
2017-12-26 19:36:01 -08:00
|
|
|
; save file corruption check values
|
|
|
|
SAVE_CHECK_VALUE_1 EQU 99
|
|
|
|
SAVE_CHECK_VALUE_2 EQU 127
|
2014-09-19 12:44:48 -07:00
|
|
|
|
2020-07-13 10:05:05 -07:00
|
|
|
; RTC halted check value
|
|
|
|
RTC_HALT_VALUE EQU $1234
|
|
|
|
|
2017-12-11 09:20:01 -08:00
|
|
|
; time of day boundaries
|
|
|
|
MORN_HOUR EQU 4 ; 4 AM
|
|
|
|
DAY_HOUR EQU 10 ; 10 AM
|
|
|
|
NITE_HOUR EQU 18 ; 6 PM
|
|
|
|
NOON_HOUR EQU 12 ; 12 PM
|
|
|
|
MAX_HOUR EQU 24 ; 12 AM
|
|
|
|
|
2017-12-11 10:47:58 -08:00
|
|
|
; significant money values
|
|
|
|
START_MONEY EQU 3000
|
|
|
|
MOM_MONEY EQU 2300
|
2017-12-24 16:35:35 -08:00
|
|
|
MAX_MONEY EQU 999999
|
|
|
|
MAX_COINS EQU 9999
|
2017-12-11 10:47:58 -08:00
|
|
|
|
2018-01-25 14:30:13 -08:00
|
|
|
; link record
|
2018-01-25 14:00:31 -08:00
|
|
|
MAX_LINK_RECORD EQU 9999
|
|
|
|
|
2018-01-25 14:30:13 -08:00
|
|
|
; day-care
|
2018-01-25 14:00:31 -08:00
|
|
|
MAX_DAY_CARE_EXP EQU $500000
|
|
|
|
|
2018-02-26 08:51:16 -08:00
|
|
|
; hall of fame
|
2018-03-03 21:27:22 -08:00
|
|
|
HOF_MASTER_COUNT EQU 200
|
2018-02-26 08:51:16 -08:00
|
|
|
|
2018-01-11 09:00:01 -08:00
|
|
|
; bug-catching contest
|
|
|
|
BUG_CONTEST_MINUTES EQU 20
|
|
|
|
BUG_CONTEST_SECONDS EQU 0
|
|
|
|
BUG_CONTEST_PLAYER EQU 1
|
|
|
|
NUM_BUG_CONTESTANTS EQU 10 ; not counting the player
|
|
|
|
BUG_CONTESTANT_SIZE EQU 4
|