class << DataManager
#--------------------------------------------------------------------------
# ● 生成存档内容
#--------------------------------------------------------------------------
alias orig_make_save_contents make_save_contents
def make_save_contents
orig_make_save_contents
contents[:something] = $game_something
end
#--------------------------------------------------------------------------
# ● 展开存档内容
#--------------------------------------------------------------------------
alias orig_extract_save_contents extract_save_contents
def extract_save_contents(contents)
orig_extract_save_contents(contents)
$game_something = contents[:something]
end
end
class << DataManager
#--------------------------------------------------------------------------
# ● 生成存档内容
#--------------------------------------------------------------------------
alias orig_make_save_contents make_save_contents
def make_save_contents
orig_make_save_contents
contents[:something] = $game_something
end
#--------------------------------------------------------------------------
# ● 展开存档内容
#--------------------------------------------------------------------------
alias orig_extract_save_contents extract_save_contents
def extract_save_contents(contents)
orig_extract_save_contents(contents)
$game_something = contents[:something]
end
end