New UI no longer activates as part of initializing

This commit is contained in:
Maruno17
2024-08-30 21:54:12 +01:00
parent 89e6df6e06
commit fab5fc0641
13 changed files with 25 additions and 25 deletions

View File

@@ -1232,7 +1232,7 @@ class PurifyChamberScene
def pbSummary(pos, heldpkmn)
if heldpkmn
oldsprites = pbFadeOutAndHide(@sprites)
UI::PokemonSummary.new(heldpkmn)
UI::PokemonSummary.new(heldpkmn).main
pbFadeInAndShow(@sprites, oldsprites)
return
end
@@ -1249,7 +1249,7 @@ class PurifyChamberScene
end
return if party.length == 0
oldsprites = pbFadeOutAndHide(@sprites)
screen = UI::PokemonSummary.new(party, startindex)
screen = UI::PokemonSummary.new(party, startindex).main
selection = screen.result
@sprites["setview"].cursor = indexes[selection]
pbFadeInAndShow(@sprites, oldsprites)