Update src/field/pokemon.ts

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
This commit is contained in:
Lylian BALL 2025-04-11 18:27:02 +02:00 committed by GitHub
parent 59c0ec3d11
commit eca96de080
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7758,75 +7758,34 @@ export class EnemyPokemon extends Pokemon {
*/ */
interface IllusionData { interface IllusionData {
basePokemon: { basePokemon: {
/** /** The actual name of the Pokemon */
* The actual name of the Pokemon.
* @type {string}
*/
name: string; name: string;
/** /** The actual nickname of the Pokemon */
* The actual nickname of the Pokemon.
* @type {string}
*/
nickname: string; nickname: string;
/** /** Whether the base pokemon is shiny or not */
* Store whether the base pokemon is shiny or not.
* @type {boolean}
*/
shiny: boolean; shiny: boolean;
/** /** The shiny variant of the base pokemon */
* The shiny variant of the base pokemon.
* @type {Variant}
*/
variant: Variant; variant: Variant;
/** /** Whether the fusion species of the base pokemon is shiny or not */
* Whether the fusionned species of the base pokemon is shiny or not.
* @type {PokemonSpecies}
*/
fusionShiny: boolean; fusionShiny: boolean;
/** /** The variant of the fusion species of the base pokemon */
* The variant of the fusionned species of the base pokemon.
* @type {Variant}
*/
fusionVariant: Variant; fusionVariant: Variant;
}; };
/** /** The species of the illusion */
* The species of the illusion.
* @type {PokemonSpecies}
*/
species: Species; species: Species;
/** /** The formIndex of the illusion */
* The formIndex of the illusion
* @type {integer}
*/
formIndex: number; formIndex: number;
/** /** The gender of the illusion */
* The gender of the illusion
* @type {Gender}
*/
gender: Gender; gender: Gender;
/** /** The pokeball of the illusion */
* The pokeball of the illusion.
*/
pokeball: PokeballType; pokeball: PokeballType;
/** /** The fusion species of the illusion if it's a fusion */
* The fusionned species of the illusion if it's a fusion.
* @type {PokemonSpecies}
*/
fusionSpecies?: PokemonSpecies; fusionSpecies?: PokemonSpecies;
/** /** The fusionFormIndex of the illusion */
* The fusionFormIndex of the illusion
* @type {integer}
*/
fusionFormIndex?: number; fusionFormIndex?: number;
/** /** The fusionGender of the illusion if it's a fusion */
* The fusionGender of the illusion if it's a fusion
* @type {Gender}
*/
fusionGender?: Gender; fusionGender?: Gender;
/** /** The level of the illusion (not used currently) */
* The level of the illusion (not used currently)
* @type {integer}
*/
level?: number level?: number
} }