class Scene_Item < Scene_ItemBase
def start
super
create_help_window
create_category_window
create_item_window
@menuback_sprite = Sprite.new
@menuback_sprite.bitmap = Cache.title1("book")
opacity_w
end
def opacity_w
@category_window.opacity = 0
@item_window.opacity = 0
@help_window.opacity = 0
end
end
class Scene_Skill < Scene_ItemBase
def start
super
create_help_window
create_command_window
create_status_window
create_item_window
@menuback_sprite = Sprite.new
@menuback_sprite.bitmap = Cache.title1("book")
opacity_w
end
def opacity_w
@command_window.opacity = 0
@status_window.opacity = 0
@help_window.opacity = 0
end
end
class Window_SkillList < Window_Selectable
def initialize(x, y, width, height)
super
self.opacity = 0
@actor = nil
@stype_id = 0
@data = []
end
end
class Scene_Equip < Scene_MenuBase
def start
super
create_help_window
create_status_window
create_command_window
create_slot_window
create_item_window
@menuback_sprite = Sprite.new
@menuback_sprite.bitmap = Cache.title1("book")
opacity_w
end
def opacity_w
@command_window.opacity = 0
@status_window.opacity = 0
@help_window.opacity = 0
@slot_window.opacity = 0
@item_window.opacity = 0
end
end
class Scene_Status < Scene_MenuBase
def start
super
@status_window = Window_Status.new(@actor)
@status_window.set_handler(:cancel, method(:return_scene))
@status_window.set_handler(:pagedown, method(:next_actor))
@status_window.set_handler(:pageup, method(:prev_actor))
@menuback_sprite = Sprite.new
@menuback_sprite.bitmap = Cache.title1("book")
end
end
class Window_Status < Window_Selectable
def initialize(actor)
super(0, 0, Graphics.width, Graphics.height)
self.opacity = 0
@actor = actor
refresh
activate
end
end
class Window_SaveFile < Window_Base
def initialize(height, index)
super(0, index * height, Graphics.width, height)
self.opacity = 0
@file_index = index
refresh
@selected = false
end
end
class Scene_File < Scene_MenuBase
def start
super
create_help_window
create_savefile_viewport
create_savefile_windows
init_selection
@menuback_sprite = Sprite.new
@menuback_sprite.bitmap = Cache.title1("book")
@menuback_sprite.z = -1
@help_window.opacity = 0
end
end
class Scene_End < Scene_MenuBase
def start
super
create_command_window
@menuback_sprite = Sprite.new
@menuback_sprite.bitmap = Cache.title1("book")
@command_window.opacity = 0
end
end