Fix merge conflicts

This commit is contained in:
TaylorLeLievre 2024-08-25 12:22:19 -04:00
parent 00ba2eebc8
commit a4bff58a99
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import BattleScene from "#app/battle-scene";
import { applyPreSwitchOutAbAttrs, PreSwitchOutAbAttr } from "#app/data/ability.js";
import { SpeciesFormChangeActiveTrigger } from "#app/data/pokemon-forms";
import { SwitchSummonPhase } from "./switch-summon-phase";
@ -8,6 +9,8 @@ export class ReturnPhase extends SwitchSummonPhase {
}
switchAndSummon(): void {
this.lastPokemon = this.getPokemon();
applyPreSwitchOutAbAttrs(PreSwitchOutAbAttr, this.lastPokemon);
this.end();
}

View File

@ -18,7 +18,7 @@ export class SwitchSummonPhase extends SummonPhase {
private doReturn: boolean;
private batonPass: boolean;
private lastPokemon: Pokemon;
protected lastPokemon: Pokemon;
/**
* Constructor for creating a new SwitchSummonPhase