2018-01-22 09:03:18 -08:00
|
|
|
; InputType: ; c2c7
|
|
|
|
AUTO_INPUT EQU $ff
|
|
|
|
|
|
|
|
; wCurrentDexMode: ; c7d4
|
|
|
|
const_def
|
|
|
|
const DEXMODE_NEW
|
|
|
|
const DEXMODE_OLD
|
|
|
|
const DEXMODE_ABC
|
|
|
|
const DEXMODE_UNOWN
|
|
|
|
|
2013-11-27 11:37:38 -08:00
|
|
|
; MonType: ; cf5f
|
2017-12-09 10:28:23 -08:00
|
|
|
const_def
|
|
|
|
const PARTYMON ; 0
|
|
|
|
const OTPARTYMON ; 1
|
|
|
|
const BOXMON ; 2
|
|
|
|
const TEMPMON ; 3
|
|
|
|
const WILDMON ; 4
|
2013-11-27 11:37:38 -08:00
|
|
|
|
2018-01-22 09:03:18 -08:00
|
|
|
; Options: ; cfcc
|
|
|
|
|
2017-12-29 08:15:01 -08:00
|
|
|
const_value set 4
|
2017-12-11 10:47:58 -08:00
|
|
|
const NO_TEXT_SCROLL ; 4
|
|
|
|
const STEREO ; 5
|
|
|
|
const BATTLE_SHIFT ; 6
|
|
|
|
const BATTLE_SCENE ; 7
|
2017-12-09 10:28:23 -08:00
|
|
|
|
2017-12-11 10:47:58 -08:00
|
|
|
TEXT_DELAY_FAST EQU 1
|
|
|
|
TEXT_DELAY_MED EQU 3
|
|
|
|
TEXT_DELAY_SLOW EQU 5
|
|
|
|
|
|
|
|
; TextBoxFrame: ; cfce
|
|
|
|
const_def
|
|
|
|
const FRAME_1 ; 0
|
|
|
|
const FRAME_2 ; 1
|
|
|
|
const FRAME_3 ; 2
|
|
|
|
const FRAME_4 ; 3
|
|
|
|
const FRAME_5 ; 4
|
|
|
|
const FRAME_6 ; 5
|
|
|
|
const FRAME_7 ; 6
|
|
|
|
const FRAME_8 ; 7
|
2018-01-11 20:04:50 -08:00
|
|
|
NUM_FRAMES EQU const_value
|
2013-12-09 13:20:19 -08:00
|
|
|
|
2018-01-22 09:03:18 -08:00
|
|
|
; TextBoxFlags: ; cfcf
|
2017-12-29 10:18:17 -08:00
|
|
|
const_def
|
2017-12-29 10:29:24 -08:00
|
|
|
const FAST_TEXT_DELAY_F ; 0
|
|
|
|
const NO_TEXT_DELAY_F ; 1
|
2017-12-29 10:18:17 -08:00
|
|
|
|
2018-01-22 09:03:18 -08:00
|
|
|
; GBPrinter: ; cfd0
|
2017-12-11 10:47:58 -08:00
|
|
|
GBPRINTER_LIGHTEST EQU $00
|
|
|
|
GBPRINTER_LIGHTER EQU $20
|
|
|
|
GBPRINTER_NORMAL EQU $40
|
|
|
|
GBPRINTER_DARKER EQU $60
|
|
|
|
GBPRINTER_DARKEST EQU $7f
|
2015-11-16 13:01:45 -08:00
|
|
|
|
2018-01-22 09:03:18 -08:00
|
|
|
; Options2: ; cfd1
|
|
|
|
const_def
|
|
|
|
const MENU_ACCOUNT ; 0
|
|
|
|
|
2013-11-27 11:37:38 -08:00
|
|
|
; WalkingDirection: ; d043
|
2017-12-29 08:15:01 -08:00
|
|
|
const_value set -1
|
2017-12-09 10:28:23 -08:00
|
|
|
const STANDING ; -1
|
|
|
|
const DOWN ; 0
|
|
|
|
const UP ; 1
|
|
|
|
const LEFT ; 2
|
|
|
|
const RIGHT ; 3
|
2018-01-11 09:00:01 -08:00
|
|
|
NUM_DIRECTIONS EQU const_value
|
2013-11-27 11:37:38 -08:00
|
|
|
|
2017-12-11 12:20:32 -08:00
|
|
|
DOWN_MASK EQU 1 << DOWN
|
|
|
|
UP_MASK EQU 1 << UP
|
|
|
|
LEFT_MASK EQU 1 << LEFT
|
|
|
|
RIGHT_MASK EQU 1 << RIGHT
|
|
|
|
|
2013-11-27 11:37:38 -08:00
|
|
|
; FacingDirection: ; d044
|
|
|
|
FACE_CURRENT EQU 0
|
2018-01-22 09:03:18 -08:00
|
|
|
FACE_DOWN EQU 8
|
|
|
|
FACE_UP EQU 4
|
|
|
|
FACE_LEFT EQU 2
|
|
|
|
FACE_RIGHT EQU 1
|
|
|
|
|
|
|
|
; wPokemonWithdrawDepositParameter: ; d10b
|
|
|
|
PC_WITHDRAW EQU 0
|
|
|
|
PC_DEPOSIT EQU 1
|
|
|
|
DAY_CARE_WITHDRAW EQU 2
|
|
|
|
DAY_CARE_DEPOSIT EQU 3
|
|
|
|
|
|
|
|
; wInitListType: ; d263
|
|
|
|
INIT_ENEMYOT_LIST EQU 1
|
|
|
|
INIT_BAG_ITEM_LIST EQU 2
|
|
|
|
INIT_OTHER_ITEM_LIST EQU 3
|
|
|
|
INIT_PLAYEROT_LIST EQU 4
|
|
|
|
INIT_MON_LIST EQU 5
|
2013-11-27 11:37:38 -08:00
|
|
|
|
|
|
|
; TimeOfDay: ; d269
|
2017-12-09 10:28:23 -08:00
|
|
|
const_def
|
2017-12-10 22:02:28 -08:00
|
|
|
const MORN_F ; 0
|
|
|
|
const DAY_F ; 1
|
|
|
|
const NITE_F ; 2
|
|
|
|
const DARKNESS_F ; 3
|
2018-01-11 09:00:01 -08:00
|
|
|
NUM_DAYTIMES EQU const_value
|
2017-12-10 22:02:28 -08:00
|
|
|
|
|
|
|
MORN EQU 1 << MORN_F
|
|
|
|
DAY EQU 1 << DAY_F
|
|
|
|
NITE EQU 1 << NITE_F
|
|
|
|
DARKNESS EQU 1 << DARKNESS_F
|
2013-11-27 11:37:38 -08:00
|
|
|
|
2018-01-15 19:00:56 -08:00
|
|
|
ANYTIME EQU MORN | DAY | NITE
|
|
|
|
|
2013-11-27 11:37:38 -08:00
|
|
|
; ScriptFlags: ; d434
|
|
|
|
SCRIPT_RUNNING EQU 2
|
|
|
|
|
|
|
|
; ScriptMode: ; d437
|
|
|
|
SCRIPT_OFF EQU 0
|
|
|
|
SCRIPT_READ EQU 1
|
|
|
|
SCRIPT_WAIT_MOVEMENT EQU 2
|
|
|
|
SCRIPT_WAIT EQU 3
|
|
|
|
|
2018-01-22 09:03:18 -08:00
|
|
|
; wSpawnAfterChampion: ; d4b5
|
|
|
|
SPAWN_LANCE EQU 1
|
|
|
|
SPAWN_RED EQU 2
|
|
|
|
|
2013-11-27 11:37:38 -08:00
|
|
|
; CurDay: ; d4cb
|
2017-12-09 10:28:23 -08:00
|
|
|
const_def
|
|
|
|
const SUNDAY ; 0
|
|
|
|
const MONDAY ; 1
|
|
|
|
const TUESDAY ; 2
|
|
|
|
const WEDNESDAY ; 3
|
|
|
|
const THURSDAY ; 4
|
|
|
|
const FRIDAY ; 5
|
|
|
|
const SATURDAY ; 6
|
2013-11-27 11:37:38 -08:00
|
|
|
|
|
|
|
; MapObjects: ; d71e
|
|
|
|
PLAYER_OBJECT EQU 0
|
|
|
|
NUM_OBJECTS EQU $10
|
|
|
|
|
2018-01-22 09:03:18 -08:00
|
|
|
; wJohtoBadges: ; d857
|
2017-12-08 21:50:59 -08:00
|
|
|
const_def
|
|
|
|
const ZEPHYRBADGE
|
|
|
|
const HIVEBADGE
|
|
|
|
const PLAINBADGE
|
|
|
|
const FOGBADGE
|
|
|
|
const MINERALBADGE
|
|
|
|
const STORMBADGE
|
|
|
|
const GLACIERBADGE
|
|
|
|
const RISINGBADGE
|
|
|
|
NUM_JOHTO_BADGES EQU const_value
|
|
|
|
|
2018-01-22 09:03:18 -08:00
|
|
|
; wKantoBadges: ; d858
|
2017-12-08 21:50:59 -08:00
|
|
|
const_def
|
|
|
|
const BOULDERBADGE
|
|
|
|
const CASCADEBADGE
|
|
|
|
const THUNDERBADGE
|
|
|
|
const RAINBOWBADGE
|
|
|
|
const SOULBADGE
|
|
|
|
const MARSHBADGE
|
|
|
|
const VOLCANOBADGE
|
|
|
|
const EARTHBADGE
|
|
|
|
NUM_KANTO_BADGES EQU const_value
|
|
|
|
NUM_BADGES EQU NUM_JOHTO_BADGES + NUM_KANTO_BADGES
|
|
|
|
|
2018-01-22 09:03:18 -08:00
|
|
|
; wPokegearFlags: ; d957
|
|
|
|
const_def
|
|
|
|
const POKEGEAR_MAP_CARD_F ; 0
|
|
|
|
const POKEGEAR_RADIO_CARD_F ; 1
|
|
|
|
const POKEGEAR_PHONE_CARD_F ; 2
|
|
|
|
const POKEGEAR_EXPN_CARD_F ; 3
|
|
|
|
|
|
|
|
POKEGEAR_OBTAINED_F EQU 7
|
|
|
|
|
|
|
|
; WhichRegisteredItem: ; d95b
|
|
|
|
REGISTERED_POCKET EQU %11000000
|
|
|
|
REGISTERED_NUMBER EQU %00111111
|
|
|
|
|
|
|
|
; PlayerState: ; d95d
|
|
|
|
PLAYER_NORMAL EQU 0
|
|
|
|
PLAYER_BIKE EQU 1
|
|
|
|
PLAYER_SKATE EQU 2
|
|
|
|
PLAYER_SURF EQU 4
|
|
|
|
PLAYER_SURF_PIKA EQU 8
|