2015-01-20 22:26:16 +00:00
|
|
|
NONE EQU 0
|
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
PARTY_LENGTH EQU 6
|
2014-02-02 22:12:04 +00:00
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
MAX_ITEMS EQU 20
|
|
|
|
MAX_BALLS EQU 12
|
|
|
|
MAX_KEY_ITEMS EQU 25
|
|
|
|
MAX_PC_ITEMS EQU 50
|
|
|
|
|
2014-06-03 21:07:10 +00:00
|
|
|
; strings
|
2014-02-02 22:12:04 +00:00
|
|
|
PLAYER_NAME_LENGTH EQU 8
|
|
|
|
PKMN_NAME_LENGTH EQU 11
|
2014-06-11 06:08:07 +00:00
|
|
|
MOVE_NAME_LENGTH EQU 13
|
2014-09-19 19:44:48 +00:00
|
|
|
ITEM_NAME_LENGTH EQU 13
|
2015-07-16 22:10:10 +00:00
|
|
|
TRAINER_CLASS_NAME_LENGTH EQU 13
|
2014-05-21 20:21:46 +00:00
|
|
|
NAME_LENGTH EQU 11
|
2014-06-03 21:07:10 +00:00
|
|
|
LV_CHAR EQU $6e
|
|
|
|
|
2014-06-11 06:08:07 +00:00
|
|
|
; GetName types
|
|
|
|
PKMN_NAME EQU 1
|
|
|
|
MOVE_NAME EQU 2
|
|
|
|
ITEM_NAME EQU 4
|
|
|
|
PARTY_OT_NAME EQU 5
|
|
|
|
ENEMY_OT_NAME EQU 6
|
|
|
|
TRAINER_NAME EQU 7
|
|
|
|
|
2014-06-17 05:52:59 +00:00
|
|
|
; hp
|
|
|
|
HP_GREEN EQU 0
|
|
|
|
HP_YELLOW EQU 1
|
|
|
|
HP_RED EQU 2
|
2014-02-02 22:12:04 +00:00
|
|
|
|
2014-04-12 19:45:19 +00:00
|
|
|
; boxes
|
2014-06-13 01:32:42 +00:00
|
|
|
MONS_PER_BOX EQU 20
|
|
|
|
NUM_BOXES EQU 14
|
2014-04-12 19:45:19 +00:00
|
|
|
|
2014-02-02 22:12:04 +00:00
|
|
|
|
|
|
|
; flag manipulation
|
|
|
|
RESET_FLAG EQU 0
|
|
|
|
SET_FLAG EQU 1
|
|
|
|
CHECK_FLAG EQU 2
|
|
|
|
|
|
|
|
|
|
|
|
; joypad
|
|
|
|
BUTTONS EQU %00010000
|
|
|
|
D_PAD EQU %00100000
|
|
|
|
|
|
|
|
NO_INPUT EQU %00000000
|
|
|
|
A_BUTTON EQU %00000001
|
|
|
|
B_BUTTON EQU %00000010
|
|
|
|
SELECT EQU %00000100
|
|
|
|
START EQU %00001000
|
|
|
|
D_RIGHT EQU %00010000
|
|
|
|
D_LEFT EQU %00100000
|
|
|
|
D_UP EQU %01000000
|
|
|
|
D_DOWN EQU %10000000
|
|
|
|
|
|
|
|
|
|
|
|
; screen
|
|
|
|
HP_BAR_LENGTH EQU 6
|
2014-06-14 04:18:14 +00:00
|
|
|
HP_BAR_LENGTH_PX EQU HP_BAR_LENGTH * 8
|
2014-02-02 22:12:04 +00:00
|
|
|
EXP_BAR_LENGTH EQU 8
|
2014-06-14 04:18:14 +00:00
|
|
|
EXP_BAR_LENGTH_PX EQU EXP_BAR_LENGTH * 8
|
2014-02-02 22:12:04 +00:00
|
|
|
|
|
|
|
SCREEN_WIDTH EQU 20
|
|
|
|
SCREEN_HEIGHT EQU 18
|
|
|
|
SCREEN_WIDTH_PX EQU 160
|
|
|
|
SCREEN_HEIGHT_PX EQU 144
|
|
|
|
|
|
|
|
BG_MAP_WIDTH EQU 32
|
|
|
|
BG_MAP_HEIGHT EQU 32
|
|
|
|
|
|
|
|
TILE_WIDTH EQU 8
|
|
|
|
|
|
|
|
|
|
|
|
; movement
|
|
|
|
STEP_SLOW EQU 0
|
|
|
|
STEP_WALK EQU 1
|
|
|
|
STEP_BIKE EQU 2
|
|
|
|
STEP_LEDGE EQU 3
|
|
|
|
STEP_ICE EQU 4
|
|
|
|
STEP_TURN EQU 5
|
|
|
|
STEP_BACK_LEDGE EQU 6
|
|
|
|
STEP_WALK_IN_PLACE EQU 7
|
|
|
|
|
2014-08-14 02:44:56 +00:00
|
|
|
|
|
|
|
; ai
|
|
|
|
CONTEXT_USE_F EQU 6
|
|
|
|
UNKNOWN_USE_F EQU 5
|
|
|
|
ALWAYS_USE_F EQU 4
|
|
|
|
SWITCH_SOMETIMES_F EQU 2
|
|
|
|
SWITCH_RARELY_F EQU 1
|
|
|
|
SWITCH_OFTEN_F EQU 0
|
|
|
|
|
|
|
|
CONTEXT_USE EQU 1 << CONTEXT_USE_F
|
|
|
|
UNKNOWN_USE EQU 1 << UNKNOWN_USE_F
|
|
|
|
ALWAYS_USE EQU 1 << ALWAYS_USE_F
|
|
|
|
SWITCH_SOMETIMES EQU 1 << SWITCH_SOMETIMES_F
|
|
|
|
SWITCH_RARELY EQU 1 << SWITCH_RARELY_F
|
|
|
|
SWITCH_OFTEN EQU 1 << SWITCH_OFTEN_F
|
2015-07-15 19:48:44 +00:00
|
|
|
SPRITE_GFX_LIST_CAPACITY EQU $20
|
2015-07-17 21:17:10 +00:00
|
|
|
|
|
|
|
const_value = 1
|
|
|
|
const MOM_ITEM
|
|
|
|
const MOM_DOLL
|
|
|
|
|
|
|
|
const_def
|
|
|
|
const DECO_BED
|
|
|
|
const DECO_CARPET
|
|
|
|
const DECO_PLANT
|
|
|
|
const DECO_POSTER
|
|
|
|
const DECO_CONSOLE
|
|
|
|
const DECO_ORNAMENT
|
|
|
|
const DECO_BIGDOLL
|
|
|
|
|
|
|
|
const_def
|
|
|
|
const CARPET_00
|
|
|
|
const CARPET_01
|
|
|
|
const PLANT_02
|
|
|
|
const PLANT_03
|
|
|
|
const PLANT_04
|
|
|
|
const PLANT_05
|
|
|
|
const CARPET_06
|
|
|
|
const POSTER_07
|
|
|
|
const POSTER_08
|
|
|
|
const POSTER_09
|
|
|
|
const POSTER_0A
|
|
|
|
const CARPET_0B
|
|
|
|
const CARPET_0C
|
|
|
|
const CARPET_0D
|
|
|
|
const CARPET_0E
|
|
|
|
const CARPET_0F
|
|
|
|
const CARPET_10
|
|
|
|
const CONSOLE_11
|
|
|
|
const CONSOLE_12
|
|
|
|
const CONSOLE_13
|
|
|
|
const CARPET_14
|
|
|
|
const CARPET_FAMICOM
|
|
|
|
const CONSTENT_SNES
|
|
|
|
const CARPET_N64
|
|
|
|
const CARPET_VIRTUAL_BOY
|
|
|
|
const CARPET_19
|
|
|
|
const BIGDOLL_SNORLAX
|
|
|
|
const BIGDOLL_ONIX
|
|
|
|
const BIGDOLL_LAPRAS
|
|
|
|
const CARPET_1D
|
|
|
|
const DOLL_PIKACHU
|
|
|
|
const DOLL_SURFING_PIKACHU
|
|
|
|
const DOLL_CLEFAIRY
|
|
|
|
const DOLL_JIGGLYPUFF
|
|
|
|
const DOLL_BULBASAUR
|
|
|
|
const DOLL_CHARMANDER
|
|
|
|
const DOLL_SQUIRTLE
|
|
|
|
const DOLL_POLIWAG
|
|
|
|
const DOLL_DIGLETT
|
|
|
|
const DOLL_STARMIE
|
|
|
|
const DOLL_MAGIKARP
|
|
|
|
const DOLL_ODDISH
|
|
|
|
const DOLL_GENGAR
|
|
|
|
const DOLL_SHELLDER
|
|
|
|
const DOLL_GRIMER
|
|
|
|
const DOLL_VOLTORM
|
|
|
|
const DOLL_WEEDLE
|
|
|
|
const DOLL_UNOWN
|
|
|
|
const DOLL_GEODUDE
|
|
|
|
const DOLL_MACHOP
|
|
|
|
const DOLL_TENTACOOL
|
|
|
|
const CARPET_GOLD_TROPHY
|
|
|
|
const CARPET_SILVER_TROPHY
|