diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 12:44:47 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 12:44:47 -0400 |
commit | c9c59dc34323a5e0b1886db5f845c8d41620826e (patch) | |
tree | 0d07de202a4437e02cc8c66178b1dfec5c2a1673 /constants/pokemon_data_constants.asm | |
parent | 91dc3c9f9c8fd529bb6e8307b58b96efa0bec67e (diff) |
Reorganize constants/
To do: add comments associating constants with data and code
Diffstat (limited to 'constants/pokemon_data_constants.asm')
-rwxr-xr-x | constants/pokemon_data_constants.asm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/constants/pokemon_data_constants.asm b/constants/pokemon_data_constants.asm new file mode 100755 index 00000000..c5245026 --- /dev/null +++ b/constants/pokemon_data_constants.asm @@ -0,0 +1,28 @@ +PARTY_LENGTH EQU 6 + +MONS_PER_BOX EQU 20 +NUM_BOXES EQU 12 + +HOF_MON EQU $10 +HOF_TEAM EQU PARTY_LENGTH * HOF_MON +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 + + +; See data/pokemon/evos_moves.asm + +; Evolution types +EV_LEVEL EQU 1 +EV_ITEM EQU 2 +EV_TRADE EQU 3 + +MAX_EVOLUTIONS EQU 3 +EVOLUTION_SIZE EQU 4 |