summaryrefslogtreecommitdiff
path: root/src/dungeon_pokemon_attributes_1.c
diff options
context:
space:
mode:
authorAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-04 23:13:01 -0500
committerAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-04 23:13:01 -0500
commitf728e7e90ebd50521dbc32f7f2b2be5858d91477 (patch)
treeddf974706a076365616d3aa7503c5ffa63a0e1b9 /src/dungeon_pokemon_attributes_1.c
parent1d64db5214b455bbd6f50ad6369ec04420e03984 (diff)
Decomped DecideAttack()
Diffstat (limited to 'src/dungeon_pokemon_attributes_1.c')
-rw-r--r--src/dungeon_pokemon_attributes_1.c4
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);