Pokedex UI fix

This commit is contained in:
infinitefusion
2022-04-16 22:31:49 -04:00
parent c041fad340
commit 540adf4760
3 changed files with 19 additions and 23 deletions

View File

@@ -302,18 +302,14 @@ class Player < Trainer
# loop on @owned and @seen and add the pokemon in @owned_standard/fusion @seen_standard/fusion
# then clear @owned and @seen
def resync_pokedex()
Kernel.pbMessage(_INTL("Syncing Pokédex... This might take some time."))
init_new_pokedex_if_needed()
@seen.each { |pokemon|
set_seen(pokemon[0])
}
@owned.each { |pokemon|
set_owned(pokemon[0])
}
self.refresh_accessible_dexes
@seen = {} #deprecated
@owned = {} #deprecated
#self.clear