Fixed the Bag lists having incorrect starting positions when choosing an item from a subset of your Bag

This commit is contained in:
Maruno17
2022-06-15 20:03:43 +01:00
parent b8e9251fb4
commit 3238ff817c
3 changed files with 16 additions and 9 deletions

View File

@@ -586,6 +586,7 @@ class PokemonBagScreen
def pbChooseItemScreen(proc = nil)
oldlastpocket = @bag.last_viewed_pocket
oldchoices = @bag.last_pocket_selections.clone
@bag.reset_last_selections if proc
@scene.pbStartScene(@bag, true, proc)
item = @scene.pbChooseItem
@scene.pbEndScene