mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Fixed broken Bill's PC menu options
This commit is contained in:
@@ -184,13 +184,18 @@ MenuHandlers.add(:pc_menu, :pokemon_storage, {
|
|||||||
pbFadeOutIn {
|
pbFadeOutIn {
|
||||||
scene = PokemonStorageScene.new
|
scene = PokemonStorageScene.new
|
||||||
screen = PokemonStorageScreen.new(scene, $PokemonStorage)
|
screen = PokemonStorageScreen.new(scene, $PokemonStorage)
|
||||||
screen.pbStartScreen(command)
|
screen.pbStartScreen(0)
|
||||||
}
|
}
|
||||||
when 1 # Withdraw
|
when 1 # Withdraw
|
||||||
if $PokemonStorage.party_full?
|
if $PokemonStorage.party_full?
|
||||||
pbMessage(_INTL("Your party is full!"))
|
pbMessage(_INTL("Your party is full!"))
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
pbFadeOutIn {
|
||||||
|
scene = PokemonStorageScene.new
|
||||||
|
screen = PokemonStorageScreen.new(scene, $PokemonStorage)
|
||||||
|
screen.pbStartScreen(1)
|
||||||
|
}
|
||||||
when 2 # Deposit
|
when 2 # Deposit
|
||||||
count = 0
|
count = 0
|
||||||
$PokemonStorage.party.each do |p|
|
$PokemonStorage.party.each do |p|
|
||||||
@@ -200,6 +205,11 @@ MenuHandlers.add(:pc_menu, :pokemon_storage, {
|
|||||||
pbMessage(_INTL("Can't deposit the last Pokémon!"))
|
pbMessage(_INTL("Can't deposit the last Pokémon!"))
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
pbFadeOutIn {
|
||||||
|
scene = PokemonStorageScene.new
|
||||||
|
screen = PokemonStorageScreen.new(scene, $PokemonStorage)
|
||||||
|
screen.pbStartScreen(2)
|
||||||
|
}
|
||||||
else
|
else
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user