Privateability1Privateability2PrivateabilityPrivateactivePrivateallPrivateassetPrivateavailableProtectedawaitingPrivatebasePrivatebasePrivatebasePrivatebattlePrivatebiomesProtectedblockProtectedblockPrivatecanPrivatecanPrivatecanPrivatecandyPrivatecandyPrivatecanProtectedcursorPrivateeggPrivateevolutionsPrivateexitPrivatefilteredPrivatefilterPrivateformPrivateformPrivateformPrivategenderPrivategenderPrivatehasPrivatehasPrivatehasPrivateinfoPrivateinstructionPrivateinstructionPrivateinstructionPrivateinstructionsPrivateisPrivateisPrivateivPrivateivPrivatelevelPrivatemenuPrivatemenuPrivatemenuPrivatemenuProtectedmodePrivatemoveProtectedonProtectedoptionPrivatepassivePrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivateprePrivatepreviousPrivatepreviousPrivateprevolutionsPrivateribbonPrivatesavedProtectedscalePrivateshinyPrivateshinyPrivateshinyPrivateshowPrivateshowPrivateshowPrivatespeciesPrivatespeciesPrivatespeciesPrivatestarterPrivatestarterPrivatestarterPrivatestarterPrivatestarterPrivatestarterPrivatestatsPrivatestatsProtectedtextProtectedtextPrivatetmPrivatetype1Privatetype2PrivateunlockedTo 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.
OptionalotherSpecies: 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.
OptionalotherSpecies: PokemonSpeciesThe species to check; defaults to current species
OptionalotherFormIndex: 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
ProtectedsetChanges the style of the mouse cursor.
cursor style to apply
OptionalforceUpdate: booleanOptional_name: stringOptionaldelay: null | numberOptionalcallback: null | FunctionOptionalcallbackDelay: null | numberOptionalprompt: null | booleanOptionalpromptDelay: null | numberOptionalcallback: null | FunctionOptionalcallbackDelay: null | numberOptionaldelay: numberOptionalcallback: FunctionOptionalcallbackDelay: numberOptionalprompt: booleanOptionalpromptDelay: numberOptionalmoveToTop: booleanOptionalon: boolean
A basic abstract class to act as a holder and processor for UI elements.