mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 22:24:58 +00:00
Rearranged Bag pockets, replaced Mail pocket with Held Items pocket
This commit is contained in:
@@ -30,7 +30,12 @@ class PokemonBag
|
||||
|
||||
def clear
|
||||
@pockets.each_value { |pocket| pocket.clear }
|
||||
GameData::BagPocket.all_pockets.each { |pckt| @last_pocket_selections[pckt] = 0 }
|
||||
@pockets.clear
|
||||
@last_pocket_selections.clear
|
||||
GameData::BagPocket.all_pockets.each do |pckt|
|
||||
@pockets[pckt] = []
|
||||
@last_pocket_selections[pckt] = 0
|
||||
end
|
||||
end
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user