Some fixes related to the previous commit and Exp Candy effect

This commit is contained in:
Maruno17
2021-07-08 23:38:57 +01:00
parent d5aeeaca7b
commit ae7661edc5
7 changed files with 75 additions and 12 deletions

View File

@@ -565,7 +565,7 @@ class PokemonParty_Scene
end
def pbChooseNumber(helptext, maximum, initnum = 1)
return UIHelper.pbChooseNumber(@sprites["helpwindow"], helptext, maximum, initnum) { pbUpdate }
return UIHelper.pbChooseNumber(@sprites["helpwindow"], helptext, maximum, initnum) { update }
end
def pbSetHelpText(helptext)

View File

@@ -295,6 +295,7 @@ module UIHelper
Input.update
numwindow.update
helpwindow.update
yield if block_given?
if Input.trigger?(Input::BACK)
ret = 0
pbPlayCancelSE