diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-09 14:51:48 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-09 14:51:48 -0400 |
| commit | 3e572b6f48b81e5340980c13b1b37b2907942713 (patch) | |
| tree | c994a1ca8f587d674e680ec808e7fcbaab4d053d /constants/pokemon_data_constants.asm | |
| parent | Eliminate enum: use const instead, with case-by-case parallel const implement... (diff) | |
| download | pokeyellow-3e572b6f48b81e5340980c13b1b37b2907942713.tar.gz pokeyellow-3e572b6f48b81e5340980c13b1b37b2907942713.tar.xz pokeyellow-3e572b6f48b81e5340980c13b1b37b2907942713.zip | |
Use const_skip and const_next macros for brevity
Diffstat (limited to 'constants/pokemon_data_constants.asm')
| -rwxr-xr-x | constants/pokemon_data_constants.asm | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/constants/pokemon_data_constants.asm b/constants/pokemon_data_constants.asm index c5245026..a304b852 100755 --- a/constants/pokemon_data_constants.asm +++ b/constants/pokemon_data_constants.asm @@ -10,19 +10,21 @@ HOF_TEAM_CAPACITY EQU 50 ; mon data locations ; Note that some values are not supported by all functions that use these values. -PLAYER_PARTY_DATA EQU 0 -ENEMY_PARTY_DATA EQU 1 -BOX_DATA EQU 2 -DAYCARE_DATA EQU 3 -BATTLE_MON_DATA EQU 4 + const_def + const PLAYER_PARTY_DATA ; 0 + const ENEMY_PARTY_DATA ; 1 + const BOX_DATA ; 2 + const DAYCARE_DATA ; 3 + const BATTLE_MON_DATA ; 4 ; See data/pokemon/evos_moves.asm ; Evolution types -EV_LEVEL EQU 1 -EV_ITEM EQU 2 -EV_TRADE EQU 3 + const_def 1 + const EV_LEVEL ; 1 + const EV_ITEM ; 2 + const EV_TRADE ; 3 MAX_EVOLUTIONS EQU 3 EVOLUTION_SIZE EQU 4 |
