CODE
class Scene_Menu < Scene_Base
alias ability_option_create create_command_window
def create_command_window
return ability_option_create if !WLTR::ABILITY_SETUP::MENU
s1 = Vocab::item
s2 = Vocab::skill
s3 = Vocab::equip
s4 = Vocab::status
s5 = N02::ATB_CUSTOMIZE_NAME if defined?(N02) and N02::ATB_CUSTOMIZE
s6 = Vocab::save
s7 = Vocab::game_end
s8 = WLTR::ABILITY_SETUP::ABILITY_TERM
if defined?(N02) and N02::ATB_CUSTOMIZE
@command_window = Window_Command.new(160, [s1, s2, s8, s3, s4, s5, s7])
else
@command_window = Window_Command.new(160, [s1, s2, s8, s3, s4, s7])
end
@command_window.index = @menu_index
if $game_party.members.size == 0 # ƒ‘ƒƒ†‚人•Œ 0 人の場ˆ
@command_window.draw_item(0, false) # ‚‚ƒ†ƒ‚’„ŠŒ–
@command_window.draw_item(1, false) # ‚‚ƒ‚’„ŠŒ–
@command_window.draw_item(2, false) # …‚™‚’„ŠŒ–
@command_window.draw_item(4, false) # ‚ƒ†ƒ‚‚‚’„ŠŒ–
end
if $game_system.save_disabled
if N02::ATB_CUSTOMIZE# ‚ƒƒ–禁止の場ˆ
@command_window.draw_item(6, false) # ‚ƒƒ–‚’„ŠŒ–
else
@command_window.draw_item(5, false)
end
end
end
#--------------------------------------------------------------------------
# — ‚ƒžƒƒ‰選Šžの›–
#--------------------------------------------------------------------------
alias update_command_selection_n02 update_command_selection
def update_command_selection
return update_command_selection_n02 if !WLTR::ABILITY_SETUP::MENU
if defined?(N02) and N02::ATB_CUSTOMIZE
update_command_atb
else
update_command_normal
end
end
def update_command_atb
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 < 6
Sound.play_buzzer
return
elsif $game_system.save_disabled and @command_window.index == 6
Sound.play_buzzer
return
end
Sound.play_decision
case @command_window.index
when 0 # ‚‚ƒ†ƒ
$scene = Scene_Item.new
when 1,2,3,4 # ‚‚ƒ€…‚™€‚ƒ†ƒ‚‚
start_actor_selection
when 5 # ATB設š
$scene = Scene_ATB.new
when 6 # ‚ƒƒ–
$scene = Scene_File.new(true, false, false)
when 7 # ‚ƒƒ‚†
$scene = Scene_End.new
end
end
end
This script is part of my menu script.. I'm needing help to remove the save option from it.. Any tips here?
Any help would be much appreciated
(If more of the script is needed, I'd be happy to post it all... But i think i got all the menu)
This post has been edited by Demonata09: Oct 12 2011, 02:48 PM