# C ボタンが押された場合
if Input.trigger?(Input::C)
# バトル終了
battle_end(0)
end
# レベルアップしている場合は強制バトル終了
battle_end(0) if @levelup_window != nil and @phase5_wait_count <= 0
# C ボタンが押された場合
if Input.trigger?(Input::C) or ((@levelup_window != nil and @phase5_wait_count <= 0))
# バトル終了
battle_end(0)
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |