summaryrefslogtreecommitdiff
path: root/include/constants
diff options
context:
space:
mode:
authorRevo <projectrevotpp@hotmail.com>2020-06-19 11:45:40 -0400
committerGitHub <noreply@github.com>2020-06-19 11:45:40 -0400
commit1c13e2f57b53b3e4e5f9daac42ec4baadbb4c60b (patch)
tree98d8d64bad4b8bb766e189ac65b22a5b6f8bb6ba /include/constants
parenta455bac566535ec559aac9164e05781093653057 (diff)
parentb133ba8cebc5c5dcd6a3aa4b427b65ab438811bb (diff)
Merge pull request #177 from PikalaxALT/pikalax_work
Cleanup; nutdata
Diffstat (limited to 'include/constants')
-rw-r--r--include/constants/items.h2
-rw-r--r--include/constants/pokemon.h16
2 files changed, 18 insertions, 0 deletions
diff --git a/include/constants/items.h b/include/constants/items.h
index 433532a4..a7fcc32f 100644
--- a/include/constants/items.h
+++ b/include/constants/items.h
@@ -128,7 +128,9 @@
#define ITEM_AIR_MAIL 146
#define ITEM_MOSAIC_MAIL 147
#define ITEM_BRICK_MAIL 148
+
#define ITEM_CHERI_BERRY 149
+#define FIRST_BERRY_IDX ITEM_CHERI_BERRY
#define ITEM_CHESTO_BERRY 150
#define ITEM_PECHA_BERRY 151
#define ITEM_RAWST_BERRY 152
diff --git a/include/constants/pokemon.h b/include/constants/pokemon.h
index 5c8c32d4..1af59830 100644
--- a/include/constants/pokemon.h
+++ b/include/constants/pokemon.h
@@ -269,9 +269,15 @@
#define MON_DATA_SPECIES_NAME 178
#define MON_RATIO_MALE 0
+#define MON_RATIO_EIGHTH 31
+#define MON_RATIO_QUARTER 63
+#define MON_RATIO_HALF 127
+#define MON_RATIO_THREEQUARTER 191
#define MON_RATIO_FEMALE 254
#define MON_RATIO_UNKNOWN 255
+#define GENDER_RATIO(frac) ( (frac) <= 1 ? (u8)((frac) * 254.75) : 255 )
+
enum MonGender
{
MON_MALE = 0,
@@ -435,4 +441,14 @@ typedef enum EvoMethod
EVO_ROUTE217,
} EvoMethod;
+enum GrowthRate
+{
+ GROWTH_MEDIUM_FAST = 0,
+ GROWTH_ERRATIC,
+ GROWTH_FLUCTUATING,
+ GROWTH_MEDIUM_SLOW,
+ GROWTH_FAST,
+ GROWTH_SLOW,
+};
+
#endif //POKEDIAMOND_CONSTANTS_POKEMON_H