Fixed Pledge combo moves sometimes using the wrong type, fixed command windows in battle being too tall if possible, added Debug menu feature to toggle credits skippability

This commit is contained in:
Maruno17
2021-10-10 16:41:47 +01:00
parent a090f50bc5
commit 45fd570414
3 changed files with 19 additions and 4 deletions

View File

@@ -205,6 +205,7 @@ class PokeBattle_Scene
dw = @sprites["messageWindow"]
dw.text = msg
cw = Window_CommandPokemon.new(commands)
cw.height = Graphics.height - dw.height if cw.height > Graphics.height - dw.height
cw.x = Graphics.width-cw.width
cw.y = Graphics.height-cw.height-dw.height
cw.z = dw.z+1