- Joined
- Dec 14, 2015
- Messages
- 16
- Reaction score
- 1
- First Language
- English
- Primarily Uses
I want to just get straight to the equipment like VX without the command list.
class Scene_Equip < Scene_MenuBase
alias activate_win8826 start
def start
activate_win8826
command_equip
end
def create_command_window
# Removed!
end
def create_slot_window
wx = @status_window.width
wy = @help_window.y + @help_window.height
ww = Graphics.width - @status_window.width
@slot_window = Window_EquipSlot.new(wx, wy, ww)
@slot_window.viewport = @viewport
@slot_window.help_window = @help_window
@slot_window.status_window = @status_window
@slot_window.actor = @actor
@slot_window.set_handler(:ok, method(:on_slot_ok))
@slot_window.set_handler(:cancel, method(:on_slot_cancel))
@slot_window.set_handler(:pagedown, method(:next_actor))
@slot_window.set_handler(:pageup, method(:prev_actor))
@slot_window.y += @status_window.height - @slot_window.height
end
def on_slot_cancel
return_scene
end
def on_actor_change
@status_window.actor = @actor
@slot_window.actor = @actor
@item_window.actor = @actor
@slot_window.activate
end
end