From e4801e992a451c03919bea4e4fa2b29d9878a6c5 Mon Sep 17 00:00:00 2001 From: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Mon, 2 Mar 2026 19:56:45 -0700 Subject: [PATCH] Linked: Fix priority of linked moves (again) --- data/mods/linked/scripts.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/mods/linked/scripts.ts b/data/mods/linked/scripts.ts index 64e9a6baea..3695986790 100644 --- a/data/mods/linked/scripts.ts +++ b/data/mods/linked/scripts.ts @@ -287,7 +287,8 @@ export const Scripts: ModdedBattleScriptsData = { if (this.gen < 5) this.eachEvent('Update'); - if (this.gen >= 8 && this.queue.peek()?.choice === 'move') { + const nextAction = this.queue.peek(); + if (this.gen >= 8 && nextAction?.choice === 'move' && nextAction?.pokemon !== action.pokemon) { // In gen 8, speed is updated dynamically so update the queue's speed properties and sort it. this.updateSpeed(); for (const queueAction of this.queue.list) {