本帖最后由 taroxd 于 2015-6-2 12:42 编辑
给个乱七八糟的思路
old = Marshal.dump([$game_actors, $game_party]) # 战斗失败了... $game_actors, $game_party = Marshal.load(old) # 战斗再开
old = Marshal.dump([$game_actors, $game_party])
# 战斗失败了...
$game_actors, $game_party = Marshal.load(old)
# 战斗再开
|