本帖最后由 505681468 于 2016-1-8 22:14 编辑
受楼上启发(修改的是标题读档和菜单存档,就是说对事件[调出存档菜单]无效,事件调出的是正常的存档菜单):- class Scene_Menu
- alias old_2016_1_8_conmand_save command_save
- def command_save
- if DataManager.save_game(0)
- Sound.play_save
- SceneManager.return
- else
- Sound.play_buzzer
- end
- end
- end
- class Scene_Title
- alias old_2016_1_8_command_continue command_continue
- def command_continue
- if DataManager.load_game(0)
- Sound.play_load
- fadeout_all
- $game_system.on_after_load
- SceneManager.goto(Scene_Map)
- else
- SceneManager.goto(Scene_Title)
- end
- end
- end
复制代码 要是要令事件[调出存档菜单]变成直接存档的话就加上这个吧~
class Game_Interpreter alias old_2016_1_8_command_352 command_352 def command_352 return if $game_party.in_battle if DataManager.save_game(0) Sound.play_save else Sound.play_buzzer end Fiber.yield end end
class Game_Interpreter
alias old_2016_1_8_command_352 command_352
def command_352
return if $game_party.in_battle
if DataManager.save_game(0)
Sound.play_save
else
Sound.play_buzzer
end
Fiber.yield
end
end
|