Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Scene_Menu
- SKIP_SKILL = true
- SKIP_EQUIP = true
- SKIP_STATUS = true
- def update_command_selection
- if Input.trigger?(Input::B)
- Sound.play_cancel
- $scene = Scene_Map.new
- elsif Input.trigger?(Input::C)
- if $game_party.members.size == 0 and @command_window.index < 4
- Sound.play_buzzer
- return
- elsif $game_system.save_disabled and @command_window.index == 4
- Sound.play_buzzer
- return
- end
- Sound.play_decision
- case @command_window.index
- when 0 # Item
- $scene = Scene_Item.new
- when 1 # Skill
- SKIP_SKILL ? $scene = Scene_Skill.new(0) : start_actor_selection
- when 2 # Equip
- SKIP_EQUIP ? $scene = Scene_Equip.new(0) : start_actor_selection
- when 3 # Status
- SKIP_STATUS ? $scene = Scene_Status.new(0) : start_actor_selection
- when 4 # Save
- $scene = Scene_File.new(true, false, false)
- when 5 # End Game
- $scene = Scene_End.new
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment