mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-22 01:35:31 -05:00
Fix pursuit consuming unrelated actions when attacking a switching target
This commit is contained in:
parent
3a7943d3d3
commit
64f14bd62b
|
|
@ -14922,6 +14922,7 @@ export const Moves: import('../sim/dex-moves').MoveDataTable = {
|
|||
if (action.choice === 'megaEvo') this.actions.runMegaEvo(source);
|
||||
// Also a "forme" change that happens before moves, though only possible in NatDex
|
||||
if (action.choice === 'terastallize') this.actions.terastallize(source);
|
||||
else continue;
|
||||
this.queue.list.splice(actionIndex, 1);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user