diff options
| author | Rangi42 <remy.oukaour+rangi42@gmail.com> | 2023-11-21 20:15:30 -0500 |
|---|---|---|
| committer | Rangi42 <remy.oukaour+rangi42@gmail.com> | 2023-11-21 20:15:30 -0500 |
| commit | d4e7a39dd89a32c7af13fed31b3178cc769fb797 (patch) | |
| tree | 364eb45a0bf6c5425c4f89aced9c91b1a379cb63 /constants | |
| parent | Replace some `$a` with `EFFECTIVE` (#399) (diff) | |
| download | pokeyellow-d4e7a39dd89a32c7af13fed31b3178cc769fb797.tar.gz pokeyellow-d4e7a39dd89a32c7af13fed31b3178cc769fb797.tar.xz pokeyellow-d4e7a39dd89a32c7af13fed31b3178cc769fb797.zip | |
Use some more constants in place of raw numbers
Diffstat (limited to 'constants')
| -rw-r--r-- | constants/battle_constants.asm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/constants/battle_constants.asm b/constants/battle_constants.asm index 2ae1cdef..44a85e8d 100644 --- a/constants/battle_constants.asm +++ b/constants/battle_constants.asm @@ -1,15 +1,20 @@ DEF MAX_LEVEL EQU 100 +; maximum moves known per mon DEF NUM_MOVES EQU 4 +; significant stat values +DEF BASE_STAT_LEVEL EQU 7 +DEF MAX_STAT_LEVEL EQU 13 + ; VitaminStats indexes (see data/battle/stat_names.asm) - const_def + const_def 1 const STAT_HEALTH const STAT_ATTACK const STAT_DEFENSE const STAT_SPEED const STAT_SPECIAL -DEF NUM_STATS EQU const_value +DEF NUM_STATS EQU const_value - 1 ; StatModTextStrings indexes (see data/battle/stat_mod_names.asm) const_def |
