Fix merge conflicts
This commit is contained in:
parent
00ba2eebc8
commit
a4bff58a99
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue