From b7fd767e8c081780931acdc08e344e2711648a96 Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Sat, 9 Oct 2021 00:21:47 -0300 Subject: [PATCH 1/2] Added primal reversions to gEvolutionTable --- src/data/pokemon/evolution.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/data/pokemon/evolution.h b/src/data/pokemon/evolution.h index 33883b8bfa..bc7cce52c3 100644 --- a/src/data/pokemon/evolution.h +++ b/src/data/pokemon/evolution.h @@ -254,6 +254,8 @@ const struct Evolution gEvolutionTable[NUM_SPECIES][EVOS_PER_MON] = [SPECIES_METAGROSS] = {{EVO_MEGA_EVOLUTION, ITEM_METAGROSSITE, SPECIES_METAGROSS_MEGA}}, [SPECIES_LATIAS] = {{EVO_MEGA_EVOLUTION, ITEM_LATIASITE, SPECIES_LATIAS_MEGA}}, [SPECIES_LATIOS] = {{EVO_MEGA_EVOLUTION, ITEM_LATIOSITE, SPECIES_LATIOS_MEGA}}, + [SPECIES_KYOGRE] = {{EVO_PRIMAL_REVERSION, ITEM_BLUE_ORB, SPECIES_KYOGRE_PRIMAL}}, + [SPECIES_GROUDON] = {{EVO_PRIMAL_REVERSION, ITEM_RED_ORB, SPECIES_GROUDON_PRIMAL}}, [SPECIES_RAYQUAZA] = {{EVO_MOVE_MEGA_EVOLUTION, MOVE_DRAGON_ASCENT, SPECIES_RAYQUAZA_MEGA}}, // Gens 4-7 From 2a7d78e68bd623765fcc66f87daa606dc42d4d2a Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Sat, 9 Oct 2021 01:55:36 -0300 Subject: [PATCH 2/2] Oopsie --- include/constants/pokemon.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/constants/pokemon.h b/include/constants/pokemon.h index 85bca6615e..9572745175 100644 --- a/include/constants/pokemon.h +++ b/include/constants/pokemon.h @@ -313,6 +313,7 @@ // Evolution types #define EVO_MEGA_EVOLUTION 0xffff // Not an actual evolution, used to temporarily mega evolve in battle. #define EVO_MOVE_MEGA_EVOLUTION 0xfffe // Mega Evolution that checks for a move instead of held item. +#define EVO_PRIMAL_REVERSION 0xfffd // Not an actual evolution, used to undergo primal reversion in battle. #define EVO_FRIENDSHIP 1 // Pokémon levels up with friendship ≥ 220 #define EVO_FRIENDSHIP_DAY 2 // Pokémon levels up during the day with friendship ≥ 220 #define EVO_FRIENDSHIP_NIGHT 3 // Pokémon levels up at night with friendship ≥ 220