From 1ff27019640066fd4a40457eb5bafe150cf1dd21 Mon Sep 17 00:00:00 2001 From: lnuvy Date: Fri, 20 Jun 2025 09:45:54 +0900 Subject: [PATCH] =?UTF-8?q?[Bug]=20Fix=20when=20using=20arrow=20keys=20in?= =?UTF-8?q?=20Pok=C3=A9dex=20after=20catching=20a=20Pok=C3=A9mon=20from=20?= =?UTF-8?q?mystery=20event=20(#6000)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix: wrap setOverlayMode args in array to mystery-encounter Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> --- src/data/mystery-encounters/utils/encounter-pokemon-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/mystery-encounters/utils/encounter-pokemon-utils.ts b/src/data/mystery-encounters/utils/encounter-pokemon-utils.ts index 93abd432ef5..f6ac5b0d38b 100644 --- a/src/data/mystery-encounters/utils/encounter-pokemon-utils.ts +++ b/src/data/mystery-encounters/utils/encounter-pokemon-utils.ts @@ -751,7 +751,7 @@ export async function catchPokemon( UiMode.POKEDEX_PAGE, pokemon.species, pokemon.formIndex, - attributes, + [attributes], null, () => { globalScene.ui.setMode(UiMode.MESSAGE).then(() => {