Update pokemon-info-container.ts

This commit is contained in:
Bertie690 2025-06-15 11:17:06 -04:00 committed by GitHub
parent 957b898a2c
commit 1bb688f284
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,7 @@ import ConfirmUiHandler from "./confirm-ui-handler";
import { StatsContainer } from "./stats-container";
import { TextStyle, addBBCodeTextObject, addTextObject, getTextColor } from "./text";
import { addWindow } from "./ui-theme";
import type { PermanentStatTuple } from "#app/@types/stat-types";
import type { IVTuple } from "#app/@types/stat-types";
interface LanguageSetting {
infoContainerTextSize: string;
@ -384,7 +384,7 @@ export default class PokemonInfoContainer extends Phaser.GameObjects.Container {
}
const starterSpeciesId = pokemon.species.getRootSpeciesId();
const originalIvs: IvTuple | null = eggInfo
const originalIvs: IVTuple | null = eggInfo
? dexEntry.caughtAttr
? dexEntry.ivs
: null