diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-04 23:13:01 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-04 23:13:01 -0500 |
commit | f728e7e90ebd50521dbc32f7f2b2be5858d91477 (patch) | |
tree | ddf974706a076365616d3aa7503c5ffa63a0e1b9 /src/dungeon_pokemon_attributes_1.c | |
parent | 1d64db5214b455bbd6f50ad6369ec04420e03984 (diff) |
Decomped DecideAttack()
Diffstat (limited to 'src/dungeon_pokemon_attributes_1.c')
-rw-r--r-- | src/dungeon_pokemon_attributes_1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dungeon_pokemon_attributes_1.c b/src/dungeon_pokemon_attributes_1.c index 93d8d4a..c7d3a13 100644 --- a/src/dungeon_pokemon_attributes_1.c +++ b/src/dungeon_pokemon_attributes_1.c @@ -113,9 +113,9 @@ bool8 CanSeeTeammate(struct DungeonEntity * pokemon) } } -u8 GetMoveType_2(struct DungeonEntity *pokemon, struct PokemonMove *pokeMove) +u8 GetMoveTypeForPokemon(struct DungeonEntity *pokemon, struct PokemonMove *pokeMove) { - if(pokeMove->moveID == MOVE_HIDDEN_POWER) + if (pokeMove->moveID == MOVE_HIDDEN_POWER) return pokemon->entityData->hiddenPowerType; else return GetMoveType(pokeMove); |