mirror of https://github.com/pret/pokeemerald.git
Created Pokecenters Disregard Eggs (markdown)
parent
70fdfa99e8
commit
ae802a4370
|
@ -0,0 +1,23 @@
|
|||
## Pokecenters Disregard Eggs
|
||||
|
||||
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](../blob/master/src/field_effect.c). Change [line 982](..blob/master/src/field_effect.c#L982) to:
|
||||
```c
|
||||
nPokemon = CountPartyNonEggMons();
|
||||
```
|
||||
|
||||
### Allow field_effect.c to recognize `CountPartyNonEggMons`
|
||||
Keep [src/field_effect.c](../blob/master/src/field_effect.c) open. Add the following somewhere at the top:
|
||||
```c
|
||||
#include "pokemon_storage_system.h"
|
||||
```
|
||||
|
||||
### Make `CountPartyNonEggMons` a global function
|
||||
Open [include/pokemon_storage_system.h](../blob/master/include/pokemon_storage_system.h). Add the following to the bottom:
|
||||
```c
|
||||
u8 CountPartyNonEggMons(void);
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue