diff options
Diffstat (limited to 'constants')
-rw-r--r-- | constants/battle_constants.asm | 5 | ||||
-rw-r--r-- | constants/item_constants.asm | 13 | ||||
-rw-r--r-- | constants/misc_constants.asm | 21 | ||||
-rw-r--r-- | constants/pokemon_data_constants.asm | 4 |
4 files changed, 40 insertions, 3 deletions
diff --git a/constants/battle_constants.asm b/constants/battle_constants.asm index f5dbe0b42..7615fbbce 100644 --- a/constants/battle_constants.asm +++ b/constants/battle_constants.asm @@ -109,15 +109,18 @@ SUBSTATUS_LEECH_SEED EQU 7 SUBSTATUS_RAGE EQU 6 SUBSTATUS_RECHARGE EQU 5 SUBSTATUS_SUBSTITUTE EQU 4 +; EQU 3 SUBSTATUS_FOCUS_ENERGY EQU 2 SUBSTATUS_MIST EQU 1 -SUBSTATUS_UNLEASH EQU 0 +SUBSTATUS_X_ACCURACY EQU 0 SUBSTATUS_CANT_RUN EQU 7 SUBSTATUS_DESTINY_BOND EQU 6 SUBSTATUS_LOCK_ON EQU 5 SUBSTATUS_ENCORED EQU 4 SUBSTATUS_TRANSFORMED EQU 3 +; EQU 2 +; EQU 1 SUBSTATUS_TOXIC EQU 0 ; environmental diff --git a/constants/item_constants.asm b/constants/item_constants.asm index e790d1650..fea4632e3 100644 --- a/constants/item_constants.asm +++ b/constants/item_constants.asm @@ -250,7 +250,16 @@ HM_06 EQU $F8 HM_07 EQU $F9 HM_08 EQU $FA -NUM_TMS EQU HM_01 - TM_01 - 2 + +NUM_TMS EQU 50 +NUM_HMS EQU 7 + + +; leftovers from red +SAFARI_BALL EQU 8 ; MOON_STONE +MOON_STONE_RED EQU 10 ; BURN_HEAL +FULL_HEAL_RED EQU 52 ; X_SPEED + ; pockets ITEM EQU 1 @@ -311,6 +320,8 @@ HELD_DRAGON_BOOST EQU $40 HELD_DARK_BOOST EQU $41 HELD_STEEL_BOOST EQU $42 +HELD_CATCH_CHANCE EQU $46 + HELD_ESCAPE EQU $48 HELD_CRITICAL_UP EQU $49 HELD_QUICK_CLAW EQU $4a diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm index 5b291f6e8..9d793f3b0 100644 --- a/constants/misc_constants.asm +++ b/constants/misc_constants.asm @@ -1,9 +1,15 @@ PARTY_LENGTH EQU 6 +MAX_ITEMS EQU 20 +MAX_BALLS EQU 12 +MAX_KEY_ITEMS EQU 25 +MAX_PC_ITEMS EQU 50 + ; strings PLAYER_NAME_LENGTH EQU 8 PKMN_NAME_LENGTH EQU 11 MOVE_NAME_LENGTH EQU 13 +ITEM_NAME_LENGTH EQU 13 NAME_LENGTH EQU 11 LV_CHAR EQU $6e @@ -73,3 +79,18 @@ STEP_TURN EQU 5 STEP_BACK_LEDGE EQU 6 STEP_WALK_IN_PLACE EQU 7 + +; 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 diff --git a/constants/pokemon_data_constants.asm b/constants/pokemon_data_constants.asm index 6d82ca926..86d33f235 100644 --- a/constants/pokemon_data_constants.asm +++ b/constants/pokemon_data_constants.asm @@ -72,7 +72,9 @@ EVOLVE_HAPPINESS EQU 4 EVOLVE_STAT EQU 5 -BASE_HAPPINESS EQU 70 +BASE_HAPPINESS EQU 70 +FRIEND_BALL_HAPPINESS EQU 200 + ; happiness evolution triggers HAPPINESS_TO_EVOLVE EQU 220 TR_ANYTIME EQU 1 |