if Input.trigger?(Input::B)
w = Window_Command.new(128,["物品","装备","存档","退出"])
w.x = 320
w.y = 240
w.z = 100
loop do
Graphics.update
Input.update
w.update
if Input.press?(Input::C)
$game_system.se_play($data_system.decision_se)
case w.index
when 0
$scene = Scene_Item.new
w.dispose
w = nil
return
when 1
w2 = Window_Target.new
w2.x = 0;w2.y = 0; w2.z = 200
loop do
Graphics.update
Input.update
w2.update
end
$scene = Scene_Equip.new
w.dispose
w = nil
return
when 2
$scene = Scene_Save.new
w.dispose
w = nil
return
when 3
exit
end
end
end
end