aboutsummaryrefslogtreecommitdiffstats
path: root/constants/pokemon_data_constants.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
committerdannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
commit5647ca687b92954dcf37a6ea6bfbc9a341c32de4 (patch)
treedde1937a1bfdb3a835f4155e1c2eb8f1aaf86f63 /constants/pokemon_data_constants.asm
parentMerge pull request #55 from Deokishisu/patch-1 (diff)
downloadpokeyellow-5647ca687b92954dcf37a6ea6bfbc9a341c32de4.tar.gz
pokeyellow-5647ca687b92954dcf37a6ea6bfbc9a341c32de4.tar.xz
pokeyellow-5647ca687b92954dcf37a6ea6bfbc9a341c32de4.zip
Sync with pokered
Diffstat (limited to 'constants/pokemon_data_constants.asm')
-rwxr-xr-xconstants/pokemon_data_constants.asm41
1 files changed, 41 insertions, 0 deletions
diff --git a/constants/pokemon_data_constants.asm b/constants/pokemon_data_constants.asm
new file mode 100755
index 00000000..a0e5b257
--- /dev/null
+++ b/constants/pokemon_data_constants.asm
@@ -0,0 +1,41 @@
+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.
+ 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
+ const_def 1
+ const EV_LEVEL ; 1
+ const EV_ITEM ; 2
+ const EV_TRADE ; 3
+
+MAX_EVOLUTIONS EQU 3
+EVOLUTION_SIZE EQU 4
+
+
+; wMonHGrowthRate values
+; GrowthRateTable indexes (see data/growth_rates.asm)
+ const_def
+ const GROWTH_MEDIUM_FAST
+ const GROWTH_SLIGHTLY_FAST
+ const GROWTH_SLIGHTLY_SLOW
+ const GROWTH_MEDIUM_SLOW
+ const GROWTH_FAST
+ const GROWTH_SLOW