fixes unsynced pokedex issue

This commit is contained in:
infinitefusion
2024-12-22 12:17:17 -05:00
parent f6f85fab1b
commit 92818790b9
3 changed files with 2 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ class Player < Trainer
end
def resync_pokedex
echoln "syncing pokedex"
@seen_standard = resync_standard_pokedex_array(@seen_standard)
@owned_standard = resync_standard_pokedex_array(@owned_standard)
@@ -141,6 +142,7 @@ class Player < Trainer
end
def set_seen(species, should_refresh_dexes = true)
try_resync_pokedex()
dexNum = getDexNumberForSpecies(species)
if isTripleFusion(dexNum)
set_seen_triple(species)