diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-03-04 23:49:00 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-03-10 22:32:17 -0500 |
commit | 9a4864c1cf8c0a6da847f3b8977aaca23b712a5a (patch) | |
tree | 76958584a3a92c8b713821de6e0c72f8437628eb /src/dungeon_pokemon_attributes.c | |
parent | 8c0df48b9ebd0fa794a97c6280cc59b6dfcb9eef (diff) |
Decomped WeightWeakTypePicker()
Diffstat (limited to 'src/dungeon_pokemon_attributes.c')
-rw-r--r-- | src/dungeon_pokemon_attributes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dungeon_pokemon_attributes.c b/src/dungeon_pokemon_attributes.c index 671162d..0550d7d 100644 --- a/src/dungeon_pokemon_attributes.c +++ b/src/dungeon_pokemon_attributes.c @@ -110,11 +110,11 @@ bool8 HasType(struct DungeonEntity *pokemon, u8 type) { return FALSE; } - if (pokemonData->type1 == type) + if (pokemonData->types[0] == type) { return TRUE; } - if (pokemonData->type2 == type) + if (pokemonData->types[1] == type) { return TRUE; } |