PrivateabilityPrivateabilityPrivateabilityPrivateactivePrivateallowPrivateallPrivateassetProtectedawaitingProtectedblockPrivatecanPrivatecanPrivatecanPrivatecanPrivatecanPrivatecanProtectedcursorPrivatedexPrivateeggPrivatefilterPrivatefilterPrivatefilterPrivatefilteredPrivatefilterPrivatefilterPrivatefilterPrivatefilterPrivateformPrivateformPrivategenderPrivategenderPrivategoPrivategoPrivatehasUsed to check whether any moves were swapped using the reorder menu, to decide whether a save should be performed or not.
PrivateiconPrivateinstructionPrivateinstructionPrivateinstructionPrivateinstructionsPrivatelastProtectedmodePrivatemovePrivatenaturePrivatenaturePrivatenatureProtectedonPrivateoriginalPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokemonPrivatepokerusPrivatepokerusPrivaterandomPrivatescrollPrivateshinyPrivateshinyPrivateshinyPrivatespeciesPrivatespeciesPrivatespeciesPrivatestartPrivatestarterPrivatestarterPrivatestarterPrivatestarterPrivatestarterPrivatestarterPrivatestarterPrivatestarterPrivatestarterPrivatestartersPrivatestarterPrivatestarterPrivatestarterGroup holding the UI elements appearing in the instructionsContainer
PrivatestarterPrivatestarterPrivatestatsPrivatestatsPrivateteraPrivateteraPrivateteraPrivateteraProtectedtextProtectedtextPrivatetype1Privatetype2PrivatevalidPrivatevalueClears 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
ProtectedsetChanges 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: stringOptionaldelay: null | numberOptionalcallback: null | FunctionOptionalcallbackDelay: null | numberOptionalprompt: null | booleanOptionalpromptDelay: null | numberOptionalcallback: null | FunctionOptionalcallbackDelay: null | numberOptionaldelay: numberOptionalcallback: FunctionOptionalcallbackDelay: numberOptionalprompt: booleanOptionalpromptDelay: numberOptionalmoveToTop: 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
Optionalon: booleanAttempt to back out of the starter selection screen into the appropriate parent modal
Optionaladd: numberOptionaladdingToParty: booleanUpdate the display of candy upgrade icons or animations for the given StarterContainer
the container for the Pokemon to update
PrivateupdateUpdate 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.