mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-20 15:22:19 +02:00
Remove unused function from Pokédex
This commit is contained in:
parent
89e8085c39
commit
4b8b288507
@ -20,7 +20,6 @@ import { allSpecies, getPokemonSpecies, getPokemonSpeciesForm, normalForm } from
|
|||||||
import { getStarterValueFriendshipCap, speciesStarterCosts } from "#app/data/balance/starters";
|
import { getStarterValueFriendshipCap, speciesStarterCosts } from "#app/data/balance/starters";
|
||||||
import { starterPassiveAbilities } from "#app/data/balance/passives";
|
import { starterPassiveAbilities } from "#app/data/balance/passives";
|
||||||
import { Type } from "#enums/type";
|
import { Type } from "#enums/type";
|
||||||
import { GameModes } from "#app/game-mode";
|
|
||||||
import type { DexEntry, StarterAttributes } from "#app/system/game-data";
|
import type { DexEntry, StarterAttributes } from "#app/system/game-data";
|
||||||
import { AbilityAttr, DexAttr } from "#app/system/game-data";
|
import { AbilityAttr, DexAttr } from "#app/system/game-data";
|
||||||
import type { OptionSelectItem } from "#app/ui/abstact-option-select-ui-handler";
|
import type { OptionSelectItem } from "#app/ui/abstact-option-select-ui-handler";
|
||||||
@ -33,7 +32,6 @@ import { Egg } from "#app/data/egg";
|
|||||||
import Overrides from "#app/overrides";
|
import Overrides from "#app/overrides";
|
||||||
import { SettingKeyboard } from "#app/system/settings/settings-keyboard";
|
import { SettingKeyboard } from "#app/system/settings/settings-keyboard";
|
||||||
import { Passive as PassiveAttr } from "#enums/passive";
|
import { Passive as PassiveAttr } from "#enums/passive";
|
||||||
import * as Challenge from "#app/data/challenge";
|
|
||||||
import MoveInfoOverlay from "#app/ui/move-info-overlay";
|
import MoveInfoOverlay from "#app/ui/move-info-overlay";
|
||||||
import PokedexInfoOverlay from "#app/ui/pokedex-info-overlay";
|
import PokedexInfoOverlay from "#app/ui/pokedex-info-overlay";
|
||||||
import { getEggTierForSpecies } from "#app/data/egg";
|
import { getEggTierForSpecies } from "#app/data/egg";
|
||||||
@ -43,7 +41,7 @@ import { Species } from "#enums/species";
|
|||||||
import { Button } from "#enums/buttons";
|
import { Button } from "#enums/buttons";
|
||||||
import { EggSourceType } from "#enums/egg-source-types";
|
import { EggSourceType } from "#enums/egg-source-types";
|
||||||
import { getPassiveCandyCount, getValueReductionCandyCounts, getSameSpeciesEggCandyCounts } from "#app/data/balance/starters";
|
import { getPassiveCandyCount, getValueReductionCandyCounts, getSameSpeciesEggCandyCounts } from "#app/data/balance/starters";
|
||||||
import { BooleanHolder, getLocalizedSpriteKey, isNullOrUndefined, NumberHolder, padInt, rgbHexToRgba, toReadableString } from "#app/utils";
|
import { BooleanHolder, getLocalizedSpriteKey, isNullOrUndefined, padInt, rgbHexToRgba, toReadableString } from "#app/utils";
|
||||||
import type { Nature } from "#enums/nature";
|
import type { Nature } from "#enums/nature";
|
||||||
import * as Utils from "../utils";
|
import * as Utils from "../utils";
|
||||||
import { speciesTmMoves } from "#app/data/balance/tms";
|
import { speciesTmMoves } from "#app/data/balance/tms";
|
||||||
@ -1917,23 +1915,6 @@ export default class PokedexPageUiHandler extends MessageUiHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getValueLimit(): number {
|
|
||||||
const valueLimit = new NumberHolder(0);
|
|
||||||
switch (globalScene.gameMode.modeId) {
|
|
||||||
case GameModes.ENDLESS:
|
|
||||||
case GameModes.SPLICED_ENDLESS:
|
|
||||||
valueLimit.value = 15;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
valueLimit.value = 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
Challenge.applyChallenges(globalScene.gameMode, Challenge.ChallengeType.STARTER_POINTS, valueLimit);
|
|
||||||
|
|
||||||
return valueLimit.value;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
setCursor(cursor: number): boolean {
|
setCursor(cursor: number): boolean {
|
||||||
const ret = super.setCursor(cursor);
|
const ret = super.setCursor(cursor);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user