Rearranged Bag pockets, replaced Mail pocket with Held Items pocket

This commit is contained in:
Maruno17
2024-09-21 19:10:32 +01:00
parent f62a357cbd
commit 6d1013d34e
10 changed files with 21018 additions and 21008 deletions

View File

@@ -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
#-----------------------------------------------------------------------------