Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: MokaStitcher <54149968+MokaStitcher@users.noreply.github.com>
  • Loading branch information
Tempo-anon and MokaStitcher authored Sep 20, 2024
1 parent 18cd5a2 commit 7c46746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/pokemon-info-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export default class PokemonInfoContainer extends Phaser.GameObjects.Container {

const ownedAbilityAttrs = pokemon.scene.gameData.starterData[pokemon.species.getRootSpeciesId()].abilityAttr;

// Check if the playe rowns ability for the root form
// Check if the player owns ability for the root form
const playerOwnsThisAbility = pokemon.checkIfPlayerHasAbilityOfStarter(ownedAbilityAttrs);

if (!playerOwnsThisAbility) {
Expand Down

0 comments on commit 7c46746

Please sign in to comment.