Rewrote summary screen code

This commit is contained in:
Maruno17
2024-08-24 17:00:06 +01:00
parent 2c6fe70f0c
commit 45127be5b6
13 changed files with 1446 additions and 73 deletions

View File

@@ -702,9 +702,7 @@ class PokemonParty_Scene
def pbSummary(pkmnid, inbattle = false)
oldsprites = pbFadeOutAndHide(@sprites)
scene = PokemonSummary_Scene.new
screen = PokemonSummaryScreen.new(scene, inbattle)
screen.pbStartScreen(@party, pkmnid)
UI::PokemonSummary.new(@party, pkmnid)
yield if block_given?
pbRefresh
pbFadeInAndShow(@sprites, oldsprites)