diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2019-08-22 16:46:33 +0200 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2019-08-22 16:46:33 +0200 |
commit | d09c290ebaf0be9a9dc4f2f9858ea0e9750df146 (patch) | |
tree | 8ae9ead01cd87c5bc51b2aac7fbc396180a5b026 | |
parent | 90edf596d881c1095962f047e5505fa478d77c72 (diff) |
bool8 to u8
-rw-r--r-- | include/pokemon.h | 2 | ||||
-rw-r--r-- | src/pokemon.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/pokemon.h b/include/pokemon.h index 07bcff2e3..ec125573c 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -506,7 +506,7 @@ u8 CalculatePlayerPartyCount(void); u8 CalculateEnemyPartyCount(void); u8 GetMonsStateToDoubles(void); u8 GetMonsStateToDoubles_2(void); -u8 GetAbilityBySpecies(u16 species, bool8 abilityNum); +u8 GetAbilityBySpecies(u16 species, u8 abilityNum); u8 GetMonAbility(struct Pokemon *mon); void CreateSecretBaseEnemyParty(struct SecretBase *secretBaseRecord); u8 GetSecretBaseTrainerPicIndex(void); diff --git a/src/pokemon.c b/src/pokemon.c index cb7be1715..df31bc6b3 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -4424,7 +4424,7 @@ u8 GetMonsStateToDoubles_2(void) return (aliveCount > 1) ? PLAYER_HAS_TWO_USABLE_MONS : PLAYER_HAS_ONE_USABLE_MON; } -u8 GetAbilityBySpecies(u16 species, bool8 abilityNum) +u8 GetAbilityBySpecies(u16 species, u8 abilityNum) { if (abilityNum) gLastUsedAbility = gBaseStats[species].abilities[1]; |