|
|
|
@ -1,34 +1,34 @@
|
|
|
|
|
import BattleScene, { starterColors } from "../battle-scene";
|
|
|
|
|
import PokemonSpecies, { allSpecies, getPokemonSpecies, getPokemonSpeciesForm, speciesStarters, starterPassiveAbilities, getStarterValueFriendshipCap } from "../data/pokemon-species";
|
|
|
|
|
import { Species } from "../data/enums/species";
|
|
|
|
|
import { TextStyle, addBBCodeTextObject, addTextObject } from "./text";
|
|
|
|
|
import { Mode } from "./ui";
|
|
|
|
|
import MessageUiHandler from "./message-ui-handler";
|
|
|
|
|
import { Gender, getGenderColor, getGenderSymbol } from "../data/gender";
|
|
|
|
|
import { allAbilities } from "../data/ability";
|
|
|
|
|
import { GameModes, gameModes } from "../game-mode";
|
|
|
|
|
import { GrowthRate, getGrowthRateColor } from "../data/exp";
|
|
|
|
|
import { AbilityAttr, DexAttr, DexAttrProps, DexEntry, Passive as PassiveAttr, StarterFormMoveData, StarterMoveset } from "../system/game-data";
|
|
|
|
|
import * as Utils from "../utils";
|
|
|
|
|
import PokemonIconAnimHandler, { PokemonIconAnimMode } from "./pokemon-icon-anim-handler";
|
|
|
|
|
import { StatsContainer } from "./stats-container";
|
|
|
|
|
import { addWindow } from "./ui-theme";
|
|
|
|
|
import { Nature, getNatureName } from "../data/nature";
|
|
|
|
|
import BBCodeText from "phaser3-rex-plugins/plugins/bbcodetext";
|
|
|
|
|
import { pokemonFormChanges } from "../data/pokemon-forms";
|
|
|
|
|
import { Tutorial, handleTutorial } from "../tutorial";
|
|
|
|
|
import { LevelMoves, pokemonFormLevelMoves, pokemonSpeciesLevelMoves } from "../data/pokemon-level-moves";
|
|
|
|
|
import { allMoves } from "../data/move";
|
|
|
|
|
import { Type } from "../data/type";
|
|
|
|
|
import { Moves } from "../data/enums/moves";
|
|
|
|
|
import { speciesEggMoves } from "../data/egg-moves";
|
|
|
|
|
import { TitlePhase } from "../phases";
|
|
|
|
|
import { argbFromRgba } from "@material/material-color-utilities";
|
|
|
|
|
import { OptionSelectItem } from "./abstact-option-select-ui-handler";
|
|
|
|
|
import { pokemonPrevolutions } from "#app/data/pokemon-evolutions";
|
|
|
|
|
import { Variant, getVariantTint } from "#app/data/variant";
|
|
|
|
|
import { argbFromRgba } from "@material/material-color-utilities";
|
|
|
|
|
import i18next from "i18next";
|
|
|
|
|
import BBCodeText from "phaser3-rex-plugins/plugins/bbcodetext";
|
|
|
|
|
import BattleScene, { starterColors } from "../battle-scene";
|
|
|
|
|
import { allAbilities } from "../data/ability";
|
|
|
|
|
import { speciesEggMoves } from "../data/egg-moves";
|
|
|
|
|
import { Moves } from "../data/enums/moves";
|
|
|
|
|
import { Species } from "../data/enums/species";
|
|
|
|
|
import { GrowthRate, getGrowthRateColor } from "../data/exp";
|
|
|
|
|
import { Gender, getGenderColor, getGenderSymbol } from "../data/gender";
|
|
|
|
|
import { allMoves } from "../data/move";
|
|
|
|
|
import { Nature, getNatureName } from "../data/nature";
|
|
|
|
|
import { pokemonFormChanges } from "../data/pokemon-forms";
|
|
|
|
|
import { LevelMoves, pokemonFormLevelMoves, pokemonSpeciesLevelMoves } from "../data/pokemon-level-moves";
|
|
|
|
|
import PokemonSpecies, { allSpecies, getPokemonSpecies, getPokemonSpeciesForm, getStarterValueFriendshipCap, speciesStarters, starterPassiveAbilities } from "../data/pokemon-species";
|
|
|
|
|
import { Type } from "../data/type";
|
|
|
|
|
import { Button } from "../enums/buttons";
|
|
|
|
|
import { GameModes, gameModes } from "../game-mode";
|
|
|
|
|
import { TitlePhase } from "../phases";
|
|
|
|
|
import { AbilityAttr, DexAttr, DexAttrProps, DexEntry, Passive as PassiveAttr, StarterFormMoveData, StarterMoveset } from "../system/game-data";
|
|
|
|
|
import { Tutorial, handleTutorial } from "../tutorial";
|
|
|
|
|
import * as Utils from "../utils";
|
|
|
|
|
import { OptionSelectItem } from "./abstact-option-select-ui-handler";
|
|
|
|
|
import MessageUiHandler from "./message-ui-handler";
|
|
|
|
|
import PokemonIconAnimHandler, { PokemonIconAnimMode } from "./pokemon-icon-anim-handler";
|
|
|
|
|
import { StatsContainer } from "./stats-container";
|
|
|
|
|
import { TextStyle, addBBCodeTextObject, addTextObject } from "./text";
|
|
|
|
|
import { Mode } from "./ui";
|
|
|
|
|
import { addWindow } from "./ui-theme";
|
|
|
|
|
|
|
|
|
|
export type StarterSelectCallback = (starters: Starter[]) => void;
|
|
|
|
|
|
|
|
|
@ -241,7 +241,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
|
|
|
|
this.pokemonGenderText.setOrigin(0, 0);
|
|
|
|
|
this.starterSelectContainer.add(this.pokemonGenderText);
|
|
|
|
|
|
|
|
|
|
this.pokemonUncaughtText = addTextObject(this.scene, 6, 127, 'Uncaught', TextStyle.SUMMARY_ALT, { fontSize: '56px' });
|
|
|
|
|
this.pokemonUncaughtText = addTextObject(this.scene, 6, 127, i18next.t("starterSelectUiHandler:uncaught"), TextStyle.SUMMARY_ALT, { fontSize: '56px' });
|
|
|
|
|
this.pokemonUncaughtText.setOrigin(0, 0);
|
|
|
|
|
this.starterSelectContainer.add(this.pokemonUncaughtText);
|
|
|
|
|
|
|
|
|
|