diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2017-11-18 12:27:10 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2017-11-18 12:27:10 +0100 |
commit | f8b40754c70679bb3ec4c0611613a0658f679225 (patch) | |
tree | aa58658354cade81c49daa45d782a0628fade160 /include | |
parent | 6b075ae0ffc82a8aff6ae5812f9f6f7675c08031 (diff) |
wild encounter done
Diffstat (limited to 'include')
-rw-r--r-- | include/wild_encounter.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/wild_encounter.h b/include/wild_encounter.h index c9d7c3fa1..55bbaa7dd 100644 --- a/include/wild_encounter.h +++ b/include/wild_encounter.h @@ -1,6 +1,11 @@ #ifndef GUARD_WILD_ENCOUNTER_H #define GUARD_WILD_ENCOUNTER_H +#define LAND_WILD_COUNT 12 +#define WATER_WILD_COUNT 5 +#define ROCK_WILD_COUNT 5 +#define FISH_WILD_COUNT 10 + struct WildPokemon { u8 minLevel; @@ -27,7 +32,7 @@ struct WildPokemonHeader extern const struct WildPokemonHeader gWildMonHeaders[]; void DisableWildEncounters(bool8 disabled); -bool8 StandardWildEncounter(u16 a, u16 b); +bool8 StandardWildEncounter(u16 currMetaTileBehavior, u16 previousMetaTileBehavior); void ScrSpecial_RockSmashWildEncounter(void); bool8 SweetScentWildEncounter(void); bool8 DoesCurrentMapHaveFishingMons(void); |