From 7258a15a7b66df55cfcdf24af40c6e80d34d1f82 Mon Sep 17 00:00:00 2001 From: Wlowscha <54003515+Wlowscha@users.noreply.github.com> Date: Thu, 20 Feb 2025 10:36:43 +0100 Subject: [PATCH] Removed log messages --- src/phases/switch-summon-phase.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/phases/switch-summon-phase.ts b/src/phases/switch-summon-phase.ts index 48f8e26d1e8..c2982de257b 100644 --- a/src/phases/switch-summon-phase.ts +++ b/src/phases/switch-summon-phase.ts @@ -52,7 +52,6 @@ export class SwitchSummonPhase extends SummonPhase { globalScene.pbTrayEnemy.showPbTray(globalScene.getEnemyParty()); } } - console.log("a"); if (!this.doReturn || (this.slotIndex !== -1 && !(this.player ? globalScene.getPlayerParty() : globalScene.getEnemyParty())[this.slotIndex])) { if (this.player) { @@ -62,7 +61,6 @@ export class SwitchSummonPhase extends SummonPhase { return; } } - console.log("b"); const pokemon = this.getPokemon(); (this.player ? globalScene.getEnemyField() : globalScene.getPlayerField()).forEach(enemyPokemon => enemyPokemon.removeTagsBySourceId(pokemon.id)); @@ -79,9 +77,6 @@ export class SwitchSummonPhase extends SummonPhase { }); } } - console.log("c"); - - console.log(pokemon.name, pokemon.isOnField(), pokemon.canApplyAbility()); globalScene.ui.showText(this.player ? i18next.t("battle:playerComeBack", { pokemonName: getPokemonNameWithAffix(pokemon) }) : @@ -102,14 +97,12 @@ export class SwitchSummonPhase extends SummonPhase { globalScene.time.delayedCall(750, () => this.switchAndSummon()); } }); - console.log("d"); } switchAndSummon() { const party = this.player ? this.getParty() : globalScene.getEnemyParty(); const switchedInPokemon = party[this.slotIndex]; this.lastPokemon = this.getPokemon(); - console.log(this.lastPokemon.name, switchedInPokemon.name); if (this.switchType === SwitchType.BATON_PASS && switchedInPokemon) { (this.player ? globalScene.getEnemyField() : globalScene.getPlayerField()).forEach(enemyPokemon => enemyPokemon.transferTagsBySourceId(this.lastPokemon.id, switchedInPokemon.id)); if (!globalScene.findModifier(m => m instanceof SwitchEffectTransferModifier && (m as SwitchEffectTransferModifier).pokemonId === switchedInPokemon.id)) {