class Game_Troop #-------------------------------------------------------------------------- # ● 初始化画面的色调 #-------------------------------------------------------------------------- def init_screen_tone $last_tone = $game_map.screen.tone @screen.start_tone_change(Tone.new, 0) if $game_map end end class Scene_Battle #-------------------------------------------------------------------------- # ● 结束处理 #-------------------------------------------------------------------------- alias cld99_terminate terminate def terminate $game_map.screen.start_tone_change($last_tone,0) if $last_tone $last_tone = nil cld99_terminate end end
class Game_Troop
#--------------------------------------------------------------------------
# ● 初始化画面的色调
#--------------------------------------------------------------------------
def init_screen_tone
$last_tone = $game_map.screen.tone
@screen.start_tone_change(Tone.new, 0) if $game_map
end
end
class Scene_Battle
#--------------------------------------------------------------------------
# ● 结束处理
#--------------------------------------------------------------------------
alias cld99_terminate terminate
def terminate
$game_map.screen.start_tone_change($last_tone,0) if $last_tone
$last_tone = nil
cld99_terminate
end
end
|