Fix bug with catching Pokemon

This commit is contained in:
Flashfyre committed 2023-12-05 23:31:45 -05:00
1 parent 0b8ae6f05e
commit 0e366986b5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ export abstract class PokemonSpeciesForm {
}
getAbility(abilityIndex: integer): Abilities {
return !abilityIndex ? this.ability1 : abilityIndex === 1 && this.ability2 ? this.ability2 : this.abilityHidden
return !abilityIndex ? this.ability1 : abilityIndex === 1 && this.ability2 ? this.ability2 : this.abilityHidden;
}
getLevelMoves(): LevelMoves {