mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 00:52:47 +02:00
[Bug] Fix rattled speed stat delay on SwitchSummonPhase
This commit is contained in:
parent
e8bc2fb736
commit
a201d2e6a1
@ -2133,6 +2133,8 @@ export class PostIntimidateStatStageChangeAbAttr extends AbAttr {
|
||||
const newStatStageChangePhase = new StatStageChangePhase(pokemon.getBattlerIndex(), false, this.stats, this.stages)
|
||||
if(globalScene.findPhase(m => m instanceof MovePhase)){
|
||||
globalScene.prependToPhase(newStatStageChangePhase, MovePhase)
|
||||
} else if(globalScene.findPhase(m => m instanceof SwitchSummonPhase)){
|
||||
globalScene.prependToPhase(newStatStageChangePhase, SwitchSummonPhase)
|
||||
}else {
|
||||
globalScene.pushPhase(newStatStageChangePhase);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user