Adds cache for autogen sprites to reduce lag when loading sprites

This commit is contained in:
infinitefusion
2023-11-23 19:25:28 -05:00
parent cbe71d8530
commit 1af9d853cb
8 changed files with 30 additions and 6 deletions

View File

@@ -1932,7 +1932,7 @@ class PokemonStorageScreen
if heldpoke || selected[0] == -1
p = (heldpoke) ? heldpoke : @storage[-1, index]
p.time_form_set = nil
p.form = 0 if p.isSpecies?(:SHAYMIN)
#p.form = 0 if p.isSpecies?(:SHAYMIN)
#p.heal
end
@scene.pbStore(selected, heldpoke, destbox, firstfree)