forked from DizzyEggg/pokeemerald
-
Notifications
You must be signed in to change notification settings - Fork 3
Pokecenters Disregard Eggs
ghoulslash edited this page Jul 2, 2020
·
3 revisions
Credit to ghoulslash
In Gen4+, pokecenters disregarded eggs for the healing animation. This replicates that effect in Pokeemerald
Open src/field_effect.c. Change line 982 to:
nPokemon = 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);