mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
Fixed bugs, ran biome
This commit is contained in:
parent
531eb887d8
commit
1d4ee7d7c8
@ -1 +1 @@
|
|||||||
Subproject commit 74de730a64272c8e9ca0a4cdcf3426cbf1b0aeda
|
Subproject commit 090bfefaf7e9d4efcbca61fa78a9cdf5d701830b
|
@ -89,11 +89,11 @@ export interface StarterMoveData {
|
|||||||
[key: number]: StarterMoveset | StarterFormMoveData;
|
[key: number]: StarterMoveset | StarterFormMoveData;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface StarterAttributes {
|
export interface StarterPreferences {
|
||||||
nature?: number;
|
nature?: number;
|
||||||
ability?: number;
|
abilityIndex?: number;
|
||||||
variant?: number;
|
variant?: number;
|
||||||
form?: number;
|
formIndex?: number;
|
||||||
female?: boolean;
|
female?: boolean;
|
||||||
shiny?: boolean;
|
shiny?: boolean;
|
||||||
favorite?: boolean;
|
favorite?: boolean;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { globalScene } from "#app/global-scene";
|
import { globalScene } from "#app/global-scene";
|
||||||
import type { PokemonSpecies } from "#data/pokemon-species";
|
import type { PokemonSpecies } from "#data/pokemon-species";
|
||||||
import { TextStyle } from "#enums/text-style";
|
import { TextStyle } from "#enums/text-style";
|
||||||
import type { DexAttrProps } from "#system/game-data";
|
import type { DexAttrProps } from "#types/save-data";
|
||||||
import { addTextObject } from "#ui/text";
|
import { addTextObject } from "#ui/text";
|
||||||
|
|
||||||
export class StarterContainer extends Phaser.GameObjects.Container {
|
export class StarterContainer extends Phaser.GameObjects.Container {
|
||||||
|
@ -16,8 +16,8 @@ import { SpeciesId } from "#enums/species-id";
|
|||||||
import { TextStyle } from "#enums/text-style";
|
import { TextStyle } from "#enums/text-style";
|
||||||
import { getVariantIcon, getVariantTint, type Variant } from "#sprites/variant";
|
import { getVariantIcon, getVariantTint, type Variant } from "#sprites/variant";
|
||||||
import { achvs } from "#system/achv";
|
import { achvs } from "#system/achv";
|
||||||
import type { StarterMoveset, StarterPreferences } from "#system/game-data";
|
|
||||||
import type { Ability } from "#types/ability-types";
|
import type { Ability } from "#types/ability-types";
|
||||||
|
import type { StarterMoveset, StarterPreferences } from "#types/save-data";
|
||||||
import { BooleanHolder, getLocalizedSpriteKey, isNullOrUndefined, padInt, rgbHexToRgba } from "#utils/common";
|
import { BooleanHolder, getLocalizedSpriteKey, isNullOrUndefined, padInt, rgbHexToRgba } from "#utils/common";
|
||||||
import { getPokemonSpecies, getPokemonSpeciesForm } from "#utils/pokemon-utils";
|
import { getPokemonSpecies, getPokemonSpeciesForm } from "#utils/pokemon-utils";
|
||||||
import { toCamelCase, toTitleCase } from "#utils/strings";
|
import { toCamelCase, toTitleCase } from "#utils/strings";
|
||||||
|
@ -41,27 +41,20 @@ import { BattleSceneEventType } from "#events/battle-scene";
|
|||||||
import type { Variant } from "#sprites/variant";
|
import type { Variant } from "#sprites/variant";
|
||||||
import { getVariantIcon, getVariantTint } from "#sprites/variant";
|
import { getVariantIcon, getVariantTint } from "#sprites/variant";
|
||||||
import { achvs } from "#system/achv";
|
import { achvs } from "#system/achv";
|
||||||
import type { DexAttrProps, StarterMoveset, StarterPreferences } from "#types/save-data";
|
|
||||||
import { RibbonData } from "#system/ribbons/ribbon-data";
|
import { RibbonData } from "#system/ribbons/ribbon-data";
|
||||||
import { SettingKeyboard } from "#system/settings-keyboard";
|
import { SettingKeyboard } from "#system/settings-keyboard";
|
||||||
import type { DexEntry } from "#types/dex-data";
|
import type { DexEntry } from "#types/dex-data";
|
||||||
import {
|
import type { DexAttrProps, StarterMoveset, StarterPreferences } from "#types/save-data";
|
||||||
DropDown,
|
import type { OptionSelectItem } from "#ui/abstract-option-select-ui-handler";
|
||||||
DropDownLabel,
|
import { DropDown, DropDownLabel, DropDownOption, DropDownState, DropDownType, SortCriteria } from "#ui/dropdown";
|
||||||
DropDownOption,
|
|
||||||
DropDownState,
|
|
||||||
DropDownType,
|
|
||||||
SortCriteria,
|
|
||||||
} from "#ui/dropdown";
|
|
||||||
import { FilterBar } from "#ui/filter-bar";
|
import { FilterBar } from "#ui/filter-bar";
|
||||||
|
import { MessageUiHandler } from "#ui/message-ui-handler";
|
||||||
import { MoveInfoOverlay } from "#ui/move-info-overlay";
|
import { MoveInfoOverlay } from "#ui/move-info-overlay";
|
||||||
|
import { PokemonIconAnimHelper, PokemonIconAnimMode } from "#ui/pokemon-icon-anim-helper";
|
||||||
import { ScrollBar } from "#ui/scroll-bar";
|
import { ScrollBar } from "#ui/scroll-bar";
|
||||||
import { StarterContainer } from "#ui/starter-container";
|
import { StarterContainer } from "#ui/starter-container";
|
||||||
import { StatsContainer } from "#ui/stats-container";
|
import { StarterSummary } from "#ui/starter-summary";
|
||||||
import type { OptionSelectItem } from "#ui/abstract-option-select-ui-handler";
|
import { addTextObject, getTextColor } from "#ui/text";
|
||||||
import { MessageUiHandler } from "#ui/message-ui-handler";
|
|
||||||
import { PokemonIconAnimHelper, PokemonIconAnimMode } from "#ui/pokemon-icon-anim-helper";
|
|
||||||
import { addBBCodeTextObject, addTextObject, getTextColor } from "#ui/text";
|
|
||||||
import { addWindow } from "#ui/ui-theme";
|
import { addWindow } from "#ui/ui-theme";
|
||||||
import {
|
import {
|
||||||
getDexAttrFromPreferences,
|
getDexAttrFromPreferences,
|
||||||
@ -85,7 +78,6 @@ import { getPokemonSpecies, getPokemonSpeciesForm, getPokerusStarters } from "#u
|
|||||||
import { argbFromRgba } from "@material/material-color-utilities";
|
import { argbFromRgba } from "@material/material-color-utilities";
|
||||||
import i18next from "i18next";
|
import i18next from "i18next";
|
||||||
import type { GameObjects } from "phaser";
|
import type { GameObjects } from "phaser";
|
||||||
import { StarterSummary } from "#ui/starter-summary";
|
|
||||||
|
|
||||||
const COLUMNS = 9;
|
const COLUMNS = 9;
|
||||||
const ROWS = 9;
|
const ROWS = 9;
|
||||||
|
@ -15,8 +15,8 @@ import { Passive } from "#enums/passive";
|
|||||||
import type { PokemonType } from "#enums/pokemon-type";
|
import type { PokemonType } from "#enums/pokemon-type";
|
||||||
import type { SpeciesId } from "#enums/species-id";
|
import type { SpeciesId } from "#enums/species-id";
|
||||||
import type { Variant } from "#sprites/variant";
|
import type { Variant } from "#sprites/variant";
|
||||||
import type { DexAttrProps, StarterDataEntry, StarterPreferences } from "#system/game-data";
|
|
||||||
import type { DexEntry } from "#types/dex-data";
|
import type { DexEntry } from "#types/dex-data";
|
||||||
|
import type { DexAttrProps, StarterDataEntry, StarterPreferences } from "#types/save-data";
|
||||||
import { applyChallenges, checkStarterValidForChallenge } from "#utils/challenge-utils";
|
import { applyChallenges, checkStarterValidForChallenge } from "#utils/challenge-utils";
|
||||||
import { isNullOrUndefined, NumberHolder } from "#utils/common";
|
import { isNullOrUndefined, NumberHolder } from "#utils/common";
|
||||||
import i18next from "i18next";
|
import i18next from "i18next";
|
||||||
|
@ -7,7 +7,7 @@ import { PokemonType } from "#enums/pokemon-type";
|
|||||||
import { SpeciesId } from "#enums/species-id";
|
import { SpeciesId } from "#enums/species-id";
|
||||||
import { UiMode } from "#enums/ui-mode";
|
import { UiMode } from "#enums/ui-mode";
|
||||||
import { GameManager } from "#test/test-utils/game-manager";
|
import { GameManager } from "#test/test-utils/game-manager";
|
||||||
import { StarterPreferences } from "#types/save-data";
|
import type { StarterPreferences } from "#types/save-data";
|
||||||
import { FilterTextRow } from "#ui/filter-text";
|
import { FilterTextRow } from "#ui/filter-text";
|
||||||
import { PokedexPageUiHandler } from "#ui/pokedex-page-ui-handler";
|
import { PokedexPageUiHandler } from "#ui/pokedex-page-ui-handler";
|
||||||
import { PokedexUiHandler } from "#ui/pokedex-ui-handler";
|
import { PokedexUiHandler } from "#ui/pokedex-ui-handler";
|
||||||
|
Loading…
Reference in New Issue
Block a user