Project1

标题: 战斗失败怎么跳过$game_system.map_interpreter.update [打印本页]

作者: kvkv97    时间: 2026-1-29 00:18
标题: 战斗失败怎么跳过$game_system.map_interpreter.update
本帖最后由 kvkv97 于 2026-1-29 00:30 编辑

事件=设定一个战斗事件,没有允许逃跑,也没允许失败
战斗胜利的时候,执行$game_system.map_interpreter.update一次,执行command_301,场景转入战斗,战斗胜利的时候,执行 start_phase5,再次场景转入$scene = Scene_Map.new,再次执行$game_system.map_interpreter.update一次,结束
那么为什么,战斗失败的时候,执行$game_system.map_interpreter.update一次,执行command_301,场景转入战斗,战斗失败,执行$game_temp.gameover = true,结束战斗场景,没有再次场景转入$scene = Scene_Map.new的指令,为什么它会自己转入Scene_Map,而且不执行$game_system.map_interpreter.update?

作者: 灯笼菜刀王    时间: 2026-2-2 10:41
这个问题, 能看得懂脚本的话, 搜索下 if $game_temp.gameover 就可以自己得到答案了




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1