summaryrefslogtreecommitdiff
path: root/constants/pokemon_data_constants.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-13 17:59:14 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-13 17:59:14 -0500
commit0e7a101e41bceb9f57eed614d56634403109aa4b (patch)
tree1aade4613bf091be7bbc9125f7cf737d0727de49 /constants/pokemon_data_constants.asm
parent3e5b6322e1167758fedaec5b3930eadaeaa8ec33 (diff)
Use constants for gender ratios
Diffstat (limited to 'constants/pokemon_data_constants.asm')
-rw-r--r--constants/pokemon_data_constants.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/constants/pokemon_data_constants.asm b/constants/pokemon_data_constants.asm
index 3c6b77206..13387fb21 100644
--- a/constants/pokemon_data_constants.asm
+++ b/constants/pokemon_data_constants.asm
@@ -25,6 +25,15 @@ BASE_EGG_GROUPS EQUS "(BaseEggGroups - CurBaseData)"
BASE_TMHM EQUS "(BaseTMHM - CurBaseData)"
BASE_DATA_SIZE EQUS "(CurBaseDataEnd - CurBaseData)"
+; gender ratio constants
+GENDER_F0 EQU 0 percent
+GENDER_F12_5 EQU 31 ; 12.5 percent
+GENDER_F25 EQU 25 percent
+GENDER_F50 EQU 50 percent
+GENDER_F75 EQU 75 percent
+GENDER_F100 EQU 254 ; 100 percent
+GENDERLESS EQU 255
+
; BaseGrowthRate values
; GrowthRates indexes (see main.asm)
const_def