mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-24 10:39:15 +01:00
https://github.com/pagefaultgames/pokerogue/pull/6874 * [Bug] Avoid pre-emptively leaving the field when forcibly switching out * Fix `SwitchPhase` off-by-one error * Add check for pokemon fainting in test * add test for destiny bond crash * Fix `queueDeferred` not respecting pending `FaintPhase`s TL;DR we would defer the faint phases to run after the switch sequences, which is wrong - leaving the field has to be the LAST thing that happens in a given turn (or else shit breaks big-time). * Update test/moves/u-turn.test.ts --------- Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| apply-attrs.ts | ||
| invalid-moves.ts | ||
| move-condition.ts | ||
| move-utils.ts | ||
| move.ts | ||
| pokemon-move.ts | ||