Private
ability1Private
ability2Private
abilityPrivate
activePrivate
allPrivate
assetPrivate
availableProtected
awaitingPrivate
basePrivate
basePrivate
basePrivate
battlePrivate
biomesProtected
blockProtected
blockPrivate
canPrivate
canPrivate
canPrivate
candyPrivate
candyPrivate
canProtected
cursorPrivate
eggPrivate
evolutionsPrivate
exitPrivate
filteredPrivate
filterPrivate
formPrivate
formPrivate
formPrivate
genderPrivate
genderPrivate
hasPrivate
hasPrivate
hasPrivate
infoPrivate
instructionPrivate
instructionPrivate
instructionPrivate
instructionsPrivate
isPrivate
isPrivate
ivPrivate
ivPrivate
levelPrivate
menuPrivate
menuPrivate
menuPrivate
menuProtected
modePrivate
moveProtected
onProtected
optionPrivate
passivePrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
pokemonPrivate
prePrivate
previousPrivate
previousPrivate
prevolutionsPrivate
ribbonPrivate
savedProtected
scalePrivate
shinyPrivate
shinyPrivate
shinyPrivate
showPrivate
showPrivate
showPrivate
speciesPrivate
speciesPrivate
speciesPrivate
starterPrivate
starterPrivate
starterPrivate
starterPrivate
starterPrivate
starterPrivate
statsPrivate
statsProtected
textProtected
textPrivate
tmPrivate
type1Private
type2Private
unlockedTo 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 display the correct shiny, variant, and form based on this.starterAttributes
the id of the species to get props for
the dex props
If the pokemon is an evolution, find speciesId of its starter.
the id of the species to check
the id of the corresponding starter
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
StarterAttributes for the species
Create a semi transparent overlay that will get shown during tutorials
the container to add the overlay to
Return the caughtAttr of a given species, sanitized.
Optional
otherSpecies: PokemonSpeciesThe species to check; defaults to current species
caught DexAttr for the species
Check whether a given form is caught for a given species. All forms that can be reached through a form change during battle are considered caught and show up in the dex as such.
Optional
otherSpecies: PokemonSpeciesThe species to check; defaults to current species
Optional
otherFormIndex: numberThe form index of the form to check; defaults to current form
true
if the form is caught
Determines if a passive upgrade is available for the current species
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 current species
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 current species
true if the user has enough candies and all value reductions have not been unlocked already
Protected
setChanges the style of the mouse cursor.
cursor style to apply
Optional
forceUpdate: booleanOptional
_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: booleanOptional
on: boolean
A basic abstract class to act as a holder and processor for UI elements.