Project1

标题: 怎样将所有开关,变量全部初始化?(如二周目) [打印本页]

作者: ace69    时间: 2009-1-2 00:27
标题: 怎样将所有开关,变量全部初始化?(如二周目)
如题,如果要进行二周目,我想把所有变量,开关全部初始化,再进行设置,但是角色数据不初始化,请问要怎样实现?多谢! [LINE]1,#dddddd[/LINE]版务信息:本贴由楼主自主结贴~
作者: 「旅」    时间: 2009-1-2 00:31
   
Graphics.frame_count = 0
    $game_temp          = Game_Temp.new
    $game_system        = Game_System.new
    $game_switches      = Game_Switches.new
    $game_variables     = Game_Variables.new
    $game_self_switches = Game_SelfSwitches.new
    $game_screen        = Game_Screen.new
    $game_actors        = Game_Actors.new
    $game_party         = Game_Party.new
    $game_troop         = Game_Troop.new
    $game_map           = Game_Map.new
    $game_player        = Game_Player.new

运行一遍 即可 [LINE]1,#dddddd[/LINE]系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~




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