mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Fixed the Bag lists having incorrect starting positions when choosing an item from a subset of your Bag
This commit is contained in:
@@ -202,8 +202,12 @@ class Battle::Scene
|
||||
# Set Bag starting positions
|
||||
oldLastPocket = $bag.last_viewed_pocket
|
||||
oldChoices = $bag.last_pocket_selections.clone
|
||||
$bag.last_viewed_pocket = @bagLastPocket if @bagLastPocket
|
||||
$bag.last_pocket_selections = @bagChoices if @bagChoices
|
||||
if @bagLastPocket
|
||||
$bag.last_viewed_pocket = @bagLastPocket
|
||||
$bag.last_pocket_selections = @bagChoices
|
||||
else
|
||||
$bag.reset_last_selections
|
||||
end
|
||||
# Start Bag screen
|
||||
itemScene = PokemonBag_Scene.new
|
||||
itemScene.pbStartScene($bag, true,
|
||||
|
||||
Reference in New Issue
Block a user