Skip to content

Pokecenters Disregard Eggs

ghoulslash edited this page Jul 2, 2020 · 3 revisions

Pokecenters Disregard Eggs

Credit to ghoulslash

In Gen4+, pokecenters disregarded eggs for the healing animation. This replicates that effect in Pokeemerald

Replace the relevant party count

Open src/field_effect.c. Change line 982 to:

nPokemon = CountPartyNonEggMons();

Allow field_effect.c to recognize CountPartyNonEggMons

Keep src/field_effect.c open. Add the following somewhere at the top:

#include "pokemon_storage_system.h"

Open include/pokemon_storage_system.h. Add the following to the bottom:

u8 CountPartyNonEggMons(void);
Clone this wiki locally