Fixed some bugs with the Debug options rewrite

This commit is contained in:
Maruno17
2020-12-30 01:36:44 +00:00
parent f4821f212f
commit 20f501c440
4 changed files with 108 additions and 110 deletions

View File

@@ -124,9 +124,9 @@ def pbDebugMenu(show_all = true)
cmdwindow.index = 0
refresh = true
elsif cmd == "warp"
return if DebugMenuCommands.call(cmd, "effect", sprites, viewport)
return if DebugMenuCommands.call("effect", cmd, sprites, viewport)
else
return if DebugMenuCommands.call(cmd, "effect")
return if DebugMenuCommands.call("effect", cmd)
end
end
pbPlayCloseMenuSE
@@ -161,7 +161,7 @@ module PokemonDebugMixin
if commands.hasSubMenu?(cmd)
commands.currentList = cmd
command = 0
elsif PokemonDebugMenuCommands.call(cmd, "effect", pkmn, pkmnid, heldpoke, settingUpBattle, self)
elsif PokemonDebugMenuCommands.call("effect", cmd, pkmn, pkmnid, heldpoke, settingUpBattle, self)
break
end
end