Fix Fake Out logic

This commit is contained in:
Flashfyre 2024-03-14 18:03:38 -04:00
parent c3791dfc81
commit 10cacbe5af
3 changed files with 2 additions and 3 deletions

View File

@ -32,7 +32,6 @@ import { BattleSpec } from "../enums/battle-spec";
import { Mode } from '../ui/ui';
import PartyUiHandler, { PartyOption, PartyUiMode } from '../ui/party-ui-handler';
import SoundFade from 'phaser3-rex-plugins/plugins/soundfade';
import { GameModes } from '../game-mode';
import { LevelMoves } from '../data/pokemon-level-moves';
import { DamageAchv, achvs } from '../system/achv';
import { DexAttr, StarterMoveset } from '../system/game-data';

View File

@ -30,7 +30,6 @@ export class GameMode implements GameModeConfig {
constructor(modeId: GameModes, config: GameModeConfig) {
this.modeId = modeId;
Object.assign(this, config);
console.log(modeId, this, config);
}
getWaveForDifficulty(waveIndex: integer): integer {

View File

@ -1152,6 +1152,7 @@ export class SwitchSummonPhase extends SummonPhase {
const pokemon = this.getPokemon();
// Compensate for turn spent summoning
if (pokemon.scene.currentBattle.turn > 1)
pokemon.battleSummonData.turnCount--;
if (this.batonPass && pokemon)