pokerogue
pokerogue copied to clipboard
All Pokemon become invisible when capturing then switching with your only pokemon that was not fainted.
Was against castform Boss, with my Patrat who was the only one alive. I captured the castform and switch it for my patrat and now all Pokemon are invisible in future challenges.
Note that I was healed just after this occured since it was on wave 30.
Reloading fixed the issue.
https://discord.com/channels/1125469663833370665/1125894949020381285/1276416529629712438 This is still in the game as of Early August update 2024
Link to the videos on Discord https://discord.com/channels/1125469663833370665/1279327827916886079 -Must be done the wave before a trainer battle or the wave before biome swap -Sprites disappear when entering a trainer battle -Sprites disappear on biome change
@Snailman11 Hello, I have checked the issues, Discord, etc. Unfortunately, my PR(#2371) does not fix this issue. it solves the game freezing issue that can occur when after the lead Pokémon is released by fixing UI cursor during the release action.
Uploading the discord videos here so they don't get lost when they get automatically deleted by discord servers
https://github.com/user-attachments/assets/dadf9fd8-9042-4e54-85db-b0982e64d2e3
https://github.com/user-attachments/assets/68cc33e3-dfe4-49af-a83a-079d2df71e14
762-testing-session.txt
Replace file-extension with .prsv
to import
I found the cause:
The new Pokemon is always push()
ed into the party thus ending up at the last slot.
Now the game itself can handle that BUT it seems to screw up the sprites rendering etc.
addToParty(pokeballType: PokeballType) {
const party = this.scene.getParty();
let ret: PlayerPokemon | null = null;
if (party.length < 6) {
this.pokeball = pokeballType;
this.metLevel = this.level;
this.metBiome = this.scene.arena.biomeType;
this.metSpecies = this.species.speciesId;
const newPokemon = this.scene.addPlayerPokemon(this.species, this.level, this.abilityIndex, this.formIndex, this.gender, this.shiny, this.variant, this.ivs, this.nature, this);
party.push(newPokemon); // <----------- ⚠️⚠️⚠️
ret = newPokemon;
this.scene.triggerPokemonFormChange(newPokemon, SpeciesFormChangeActiveTrigger, true);
}
return ret;
}
Still seems too occur after n%10 waves
see https://discord.com/channels/1125469663833370665/1284581658649169950
Error: Supplied items must be elements of the same array
at Object.MoveBelow (/pokerogue/node_modules/phaser/dist/phaser.js:242354:15)
at Container2.moveBelow (/pokerogue/node_modules/phaser/dist/phaser.js:48330:20)
at Tween2.onComplete (/pokerogue/src/phases/summon-phase.ts:144:34)
at Tween2.dispatchEvent (/pokerogue/node_modules/phaser/dist/phaser.js:239603:30)
at Tween2.onCompleteHandler (/pokerogue/node_modules/phaser/dist/phaser.js:237521:14)
at Tween2.onCompleteHandler (/pokerogue/node_modules/phaser/dist/phaser.js:239230:47)
at Tween2.nextState (/pokerogue/node_modules/phaser/dist/phaser.js:239210:18)
at Tween2.update (/pokerogue/node_modules/phaser/dist/phaser.js:239522:18)
at TweenManager2.step (/pokerogue/node_modules/phaser/dist/phaser.js:234764:23)
at TweenManager2.update (http://localhost:8000/node_modules/.vite/deps/phaser.js?v=668d5b6d:132294:28) {stack: 'Error: Supplied items must be elements of the…es/.vite/deps/phaser.js?v=668d5b6d:132294:28)', message: 'Supplied items must be elements of the same array'}