From 563ff21ad4f963d103adf15e3c643a3d80de8c12 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Wed, 3 Apr 2024 16:35:11 -0400 Subject: [PATCH] Fix moveset generation priority reversed --- src/field/pokemon.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index b0d258898..8862163c6 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -932,6 +932,8 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { } } + movePool.reverse(); + const attackMovePool = movePool.filter(m => { const move = allMoves[m]; return move.category !== MoveCategory.STATUS;