#--------------------------------------------------------------------------
# ● Update Background
#--------------------------------------------------------------------------
def update_background
@background_sprite.ox += $game_system.wallpaper_scroll[0]
@background_sprite.oy += $game_system.wallpaper_scroll[1]
end
#--------------------------------------------------------------------------
# ● Update Particle
#--------------------------------------------------------------------------
def update_particle
return unless PARTICLES
@particle_bitmap.each {|sprite| sprite.update }
end
end
#==============================================================================
# ● Scene Menu
#==============================================================================
class Scene_Menu < Scene_MenuBase
include WALLPAPER_EX
#--------------------------------------------------------------------------
# ● Start
#--------------------------------------------------------------------------
alias mog_layout_ex_start start
def start
mog_layout_ex_start
set_window_opacity
end
end
#==============================================================================
# ● Scene Item
#==============================================================================
class Scene_Item < Scene_ItemBase
include WALLPAPER_EX
#--------------------------------------------------------------------------
# ● Start
#--------------------------------------------------------------------------
alias mog_layout_ex_start start
def start
mog_layout_ex_start
set_window_opacity
end
end
#==============================================================================
# ● Scene Skill
#==============================================================================
class Scene_Skill < Scene_ItemBase
include WALLPAPER_EX
#--------------------------------------------------------------------------
# ● Start
#--------------------------------------------------------------------------
alias mog_layout_ex_start start
def start
mog_layout_ex_start
set_window_opacity
end
end
#==============================================================================
# ● Scene Equip
#==============================================================================
class Scene_Equip < Scene_MenuBase
include WALLPAPER_EX
#--------------------------------------------------------------------------
# ● Start
#--------------------------------------------------------------------------
alias mog_layout_ex_start start
def start
mog_layout_ex_start
set_window_opacity
end
end
#==============================================================================
# ● Scene Status
#==============================================================================
class Scene_Status < Scene_MenuBase
include WALLPAPER_EX
#--------------------------------------------------------------------------
# ● Start
#--------------------------------------------------------------------------
alias mog_layout_ex_start start
def start
mog_layout_ex_start
set_window_opacity
end
end
#==============================================================================
# ● Scene File
#==============================================================================
class Scene_File < Scene_MenuBase
include WALLPAPER_EX
#--------------------------------------------------------------------------
# ● Start
#--------------------------------------------------------------------------
alias mog_layout_ex_start start
def start
mog_layout_ex_start
set_window_opacity
end
end
#==============================================================================
# ● Scene End
#==============================================================================
class Scene_End < Scene_MenuBase
include WALLPAPER_EX
#--------------------------------------------------------------------------
# ● Start
#--------------------------------------------------------------------------
alias mog_layout_ex_start start
def start
mog_layout_ex_start
set_window_opacity
end
end
#==============================================================================
# ● Scene Enemy Type
#==============================================================================
class Scene_EnemyType < Scene_MenuBase
include Point_Tree
include WALLPAPER_EX
#--------------------------------------------------------------------------
# ● Start
#--------------------------------------------------------------------------
alias mog_layout_ex_start start
def start
mog_layout_ex_start
set_window_opacity
end
end
#==============================================================================
# ● Scene POINT
#==============================================================================
class Scene_Point_Actor < Scene_MenuBase
include Point_Tree
include WALLPAPER_EX
#--------------------------------------------------------------------------
# ● Start
#--------------------------------------------------------------------------
alias mog_layout_ex_start start
def start
mog_layout_ex_start
set_window_opacity
end
end
#==============================================================================
# ● Scene task
#==============================================================================
class Scene_Task_Type < Scene_MenuBase
include WALLPAPER_EX
#--------------------------------------------------------------------------
# ● Start
#--------------------------------------------------------------------------
alias mog_layout_ex_start start
def start
mog_layout_ex_start
set_window_opacity
end
end#==============================================================================
# ● Window SaveFile
#==============================================================================
class Window_SaveFile < Window_Base
#--------------------------------------------------------------------------
# ● Initialize
#--------------------------------------------------------------------------
alias mog_wallpaper_initialize initialize
def initialize(height, index)
mog_wallpaper_initialize(height, index)
self.opacity = WALLPAPER_EX::WINDOW_OPACITY if can_opacity_window?
end
#--------------------------------------------------------------------------
# ● Can Opacity Window
#--------------------------------------------------------------------------
def can_opacity_window?
return true
end
end
$mog_rgss3_wallpaper_ex = true