[Bug] Fix when using arrow keys in Pokédex after catching a Pokémon from mystery event (#6000)

fix: wrap setOverlayMode args in array to mystery-encounter

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
This commit is contained in:
lnuvy 2025-06-20 09:45:54 +09:00 committed by GitHub
parent 1e306e25b5
commit 1ff2701964
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -751,7 +751,7 @@ export async function catchPokemon(
UiMode.POKEDEX_PAGE,
pokemon.species,
pokemon.formIndex,
attributes,
[attributes],
null,
() => {
globalScene.ui.setMode(UiMode.MESSAGE).then(() => {