mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
More refactoring of summary screen code, added module UIActionHandlers
This commit is contained in:
@@ -702,7 +702,7 @@ class PokemonParty_Scene
|
||||
|
||||
def pbSummary(pkmnid, inbattle = false)
|
||||
oldsprites = pbFadeOutAndHide(@sprites)
|
||||
UI::PokemonSummary.new(@party, pkmnid)
|
||||
UI::PokemonSummary.new(@party, pkmnid, mode: (inbattle ? :in_battle : :normal))
|
||||
yield if block_given?
|
||||
pbRefresh
|
||||
pbFadeInAndShow(@sprites, oldsprites)
|
||||
|
||||
Reference in New Issue
Block a user