Protected
awaitingProtected
blockProtected
blockProtected
cursorProtected
modeProtected
onProtected
optionProtected
scaleProtected
textProtected
textTo 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
Optional
otherSpecies: defaultCheck 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: defaultThe species to check; defaults to current species
Optional
otherFormIndex: numberThe form index of the form to check; defaults to current form
StarterAttributes for the species
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.