# -----------------------------------------------------------------#
# 更新
# -----------------------------------------------------------------#
alias soul_fog_upd update
def update
super
$game_map.update(true)
$game_player.update
$game_timer.update
@spriteset.update
update_scene if scene_change_ok?
# -----------------------------------------------------------------#
# Activates the Multiple Fog
# -----------------------------------------------------------------#
if $soul_rgss3_multifog
if @multifogspr.opacity<$multi_fog_visible
@multifogspr.opacity+=$multi_fog_visible/60
end
end
# -----------------------------------------------------------------#
# Deactivates the Multiple Fog
# -----------------------------------------------------------------#
if $soul_rgss3_multifog==false
if @multifogspr.opacity>0
@multifogspr.opacity-=$multi_fog_visible/30
end
end
# -----------------------------------------------------------------#
# 不透明性和运动的其他功能
# -----------------------------------------------------------------#
@multifogspr2.opacity=@multifogspr.opacity
@multifogspr3.opacity=@multifogspr.opacity
if $fog_horzmovement
@multifogspr.ox+=1
@multifogspr2.ox+=2
end
if $fog_vertmovement
@multifogspr2.oy+=1
@multifogspr3.oy+=2
end
if $fog_randmovement
@multifogspr.ox+=rand($fog_rand)
@multifogspr2.ox+=rand($fog_rand)
end
end
end[/pre]