From 72770d22ea76626ce9fdc1d28412a53338054e01 Mon Sep 17 00:00:00 2001 From: yenatch Date: Sun, 8 Jan 2017 23:43:45 -0500 Subject: Forgot to add Unown species constants to the enum --- constants/species_constants.inc | 2 +- include/species.h | 30 +++++++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/constants/species_constants.inc b/constants/species_constants.inc index bf14d258d..d023662b7 100644 --- a/constants/species_constants.inc +++ b/constants/species_constants.inc @@ -445,4 +445,4 @@ enum SPECIES_UNOWN_EMARK enum SPECIES_UNOWN_QMARK - .set NUM_SPECIES, __enum__ - 1 + .set NUM_SPECIES, SPECIES_EGG diff --git a/include/species.h b/include/species.h index eeb9ae18e..d0cd7f664 100644 --- a/include/species.h +++ b/include/species.h @@ -417,8 +417,36 @@ enum { SPECIES_DEOXYS, // 0x19a SPECIES_CHIMECHO, // 0x19b SPECIES_EGG, // 0x19c + + SPECIES_UNOWN_B, + SPECIES_UNOWN_C, + SPECIES_UNOWN_D, + SPECIES_UNOWN_E, + SPECIES_UNOWN_F, + SPECIES_UNOWN_G, + SPECIES_UNOWN_H, + SPECIES_UNOWN_I, + SPECIES_UNOWN_J, + SPECIES_UNOWN_K, + SPECIES_UNOWN_L, + SPECIES_UNOWN_M, + SPECIES_UNOWN_N, + SPECIES_UNOWN_O, + SPECIES_UNOWN_P, + SPECIES_UNOWN_Q, + SPECIES_UNOWN_R, + SPECIES_UNOWN_S, + SPECIES_UNOWN_T, + SPECIES_UNOWN_U, + SPECIES_UNOWN_V, + SPECIES_UNOWN_W, + SPECIES_UNOWN_X, + SPECIES_UNOWN_Y, + SPECIES_UNOWN_Z, + SPECIES_UNOWN_EMARK, + SPECIES_UNOWN_QMARK, }; -#define NUM_SPECIES 412 +#define NUM_SPECIES SPECIES_EGG #endif // GUARD_SPECIES_H -- cgit v1.2.3