Private
abilityPrivate
abilityPrivate
abilityPrivate
activePrivate
allowPrivate
allPrivate
assetProtected
awaitingProtected
blockPrivate
canPrivate
canPrivate
canPrivate
canPrivate
canPrivate
canProtected
cursorPrivate
dexPrivate
eggPrivate
filterPrivate
filterPrivate
filterPrivate
filteredPrivate
filterPrivate
filterPrivate
filterPrivate
filterPrivate
formPrivate
formPrivate
genderPrivate
genderPrivate
goPrivate
goPrivate
hasUsed to check whether any moves were swapped using the reorder menu, to decide whether a save should be performed or not.
Private
iconPrivate
instructionPrivate
instructionPrivate
instructionPrivate
instructionsPrivate
lastProtected
modePrivate
movePrivate
naturePrivate
naturePrivate
natureProtected
onPrivate
originalPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokerusPrivate
pokerusPrivate
randomPrivate
scrollPrivate
shinyPrivate
shinyPrivate
shinyPrivate
speciesPrivate
speciesPrivate
speciesPrivate
startPrivate
starterPrivate
starterPrivate
starterPrivate
starterPrivate
starterPrivate
starterPrivate
starterPrivate
starterPrivate
starterPrivate
startersPrivate
starterPrivate
starterPrivate
starterGroup holding the UI elements appearing in the instructionsContainer
Private
starterPrivate
starterPrivate
statsPrivate
statsPrivate
teraPrivate
teraPrivate
teraPrivate
teraProtected
textProtected
textPrivate
type1Private
type2Private
validPrivate
valueClears this UI's starter preferences.
Designed to be used for unit tests that utilize this UI.
To be implemented by individual handlers when necessary to free memory Called when BattleScene is reset
Creates a temporary dex attr props that will be used to check whether a pokemon is valid for a challenge and to display the correct shiny, variant, and form based on the StarterPreferences
the id of the species to get props for
the dex props
Add the sprite to be displayed at the end of messages with prompts
the container to add the sprite to
Get the starter attributes for the given PokemonSpecies, after sanitizing them. If somehow a preference is set for a form, variant, gender, ability or nature that wasn't actually unlocked or is invalid it will be cleared here
The species to get Starter Preferences for
StarterAttributes for the species
Create a semi transparent overlay that will get shown during tutorials
the container to add the overlay to
This block checks to see if your party is valid It checks each pokemon against the challenge - noting that due to monotype challenges it needs to check the pokemon while ignoring their evolutions/form change items
Determines if a passive upgrade is available for the given species ID
The ID of the species to check the passive of
true if the user has enough candies and a passive has not been unlocked already
Determines if an same species egg can be bought for the given species ID
The ID of the species to check the value reduction of
true if the user has enough candies
Determines if 'Animation' based upgrade notifications should be shown
true if upgrade notifications are enabled and set to display an 'Animation'
Determines if 'Icon' based upgrade notifications should be shown
true if upgrade notifications are enabled and set to display an 'Icon'
Determines if a value reduction upgrade is available for the given species ID
The ID of the species to check the value reduction of
true if the user has enough candies and all value reductions have not been unlocked already
Processes an CandyUpgradeNotificationChangedEvent
sent when the corresponding setting changes
Set default value for the caught dropdown, which only shows caught mons
Set the selections for all filters to their default starting value
Protected
setChanges the style of the mouse cursor.
cursor style to apply
Sets a bounce animation if enabled and the Pokemon has an upgrade
Phaser.GameObjects.GameObject to animate
PokemonSpecies
of the icon used to check for upgrades
Should this animation be paused after it is added?
Optional
_name: stringOptional
delay: null | numberOptional
callback: null | FunctionOptional
callbackDelay: null | numberOptional
prompt: null | booleanOptional
promptDelay: null | numberOptional
callback: null | FunctionOptional
callbackDelay: null | numberOptional
delay: numberOptional
callback: FunctionOptional
callbackDelay: numberOptional
prompt: booleanOptional
promptDelay: numberOptional
moveToTop: booleanPuts a move at the requested index in the current highlighted Pokemon's moveset. If the move was already present in the moveset, swap its position with the one at the requested index.
⚠️ this.starterMoveset
must not be null when this method is called
Optional
on: booleanAttempt to back out of the starter selection screen into the appropriate parent modal
Optional
add: numberOptional
addingToParty: booleanUpdate the display of candy upgrade icons or animations for the given StarterContainer
the container for the Pokemon to update
Private
updateUpdate the starter moveset for the given species if it is part of the selected starters.
The species ID to update the moveset for
A basic abstract class to act as a holder and processor for UI elements.