diff options
Diffstat (limited to 'constants')
-rw-r--r-- | constants/battle_constants.asm | 10 | ||||
-rw-r--r-- | constants/item_constants.asm | 4 | ||||
-rw-r--r-- | constants/map_data_constants.asm | 20 |
3 files changed, 30 insertions, 4 deletions
diff --git a/constants/battle_constants.asm b/constants/battle_constants.asm index 1914d7a29..b9897ae45 100644 --- a/constants/battle_constants.asm +++ b/constants/battle_constants.asm @@ -20,8 +20,14 @@ TREEMON_SLEEP_TURNS EQU 7 ; default move priority BASE_PRIORITY EQU 1 -; PlayerStatLevels and EnemyStatLevels indexes -; used for GetStatName +; type effectiveness factors, scaled by 10 +SUPER_EFFECTIVE EQU 20 +EFFECTIVE EQU 10 +NOT_VERY_EFFECTIVE EQU 05 +NO_EFFECT EQU 00 + +; PlayerStatLevels and EnemyStatLevels indexes (see wram.asm) +; GetStatName arguments (see data/battle/stat_names.asm) const_def const ATTACK const DEFENSE diff --git a/constants/item_constants.asm b/constants/item_constants.asm index dc39310a3..4452571b9 100644 --- a/constants/item_constants.asm +++ b/constants/item_constants.asm @@ -290,9 +290,9 @@ NUM_HMS = const_value - HM01 add_mt ICE_BEAM NUM_TM_HM_TUTOR = __enum__ +- 1 -ITEM_FROM_MEM EQU $FF +ITEM_FROM_MEM EQU $ff ; leftovers from red SAFARI_BALL EQU $08 ; MOON_STONE -MOON_STONE_RED EQU $0A ; BURN_HEAL +MOON_STONE_RED EQU $0a ; BURN_HEAL FULL_HEAL_RED EQU $34 ; X_SPEED diff --git a/constants/map_data_constants.asm b/constants/map_data_constants.asm index 3d153c63b..e603a37a7 100644 --- a/constants/map_data_constants.asm +++ b/constants/map_data_constants.asm @@ -253,6 +253,26 @@ const_value set 1 NUM_FRUIT_TREES EQU const_value +- 1 +; treemon sets +; TreeMons indexes (see data/wild/treemons.asm) + const_def + const TREEMON_SET_CITY + const TREEMON_SET_CANYON + const TREEMON_SET_AZALEA + const TREEMON_SET_ROUTE + const TREEMON_SET_KANTO + const TREEMON_SET_LAKE + const TREEMON_SET_FOREST + const TREEMON_SET_ROCK +NUM_TREEMON_SETS EQU const_value + +; treemon scores + const_def + const TREEMON_SCORE_BAD ; 0 + const TREEMON_SCORE_GOOD ; 1 + const TREEMON_SCORE_RARE ; 2 + + ; elevator floors ; used by `elevfloor` const_def |