Fix Fake Out logic
This commit is contained in:
parent
c3791dfc81
commit
10cacbe5af
|
@ -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';
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue