mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Rewrote party screen, implemented redesign of it
This commit is contained in:
@@ -36,17 +36,16 @@ end
|
||||
#
|
||||
#===============================================================================
|
||||
def pbEntryScreen(*arg)
|
||||
retval = false
|
||||
ret_val = false
|
||||
pbFadeOutIn do
|
||||
scene = PokemonParty_Scene.new
|
||||
screen = PokemonPartyScreen.new(scene, $player.party)
|
||||
ret = screen.pbPokemonMultipleEntryScreenEx(pbBattleChallenge.rules.ruleset)
|
||||
screen = UI::Party.new($player.party, mode: :choose_entry_order)
|
||||
ret = screen.choose_pokemon_entry_order(pbBattleChallenge.rules.ruleset)
|
||||
# Set party
|
||||
pbBattleChallenge.setParty(ret) if ret
|
||||
# Continue (return true) if Pokémon were chosen
|
||||
retval = (ret && ret.length > 0)
|
||||
ret_val = (ret && ret.length > 0)
|
||||
end
|
||||
return retval
|
||||
return ret_val
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
|
||||
Reference in New Issue
Block a user