close, you got the basics down, but you also need to change this
case @command_window.index
when 0 # アイテãƒ
# 決定 SE ã‚’æ¼”å¥
$game_system.se_play($data_system.decision_se)
# アイテム画é¢ã«åˆ‡ã‚Šæ›¿ãˆ
$scene = Scene_Item.new
when 1 # スã‚ル
# 決定 SE ã‚’æ¼”å¥
$game_system.se_play($data_system.decision_se)
# ステータスウィンドウをアクティブã«ã™ã‚‹
@command_window.active = false
@status_window.active = true
@status_window.index = 0
when 2 # 装備
# 決定 SE ã‚’æ¼”å¥
$game_system.se_play($data_system.decision_se)
# ステータスウィンドウをアクティブã«ã™ã‚‹
@command_window.active = false
@status_window.active = true
@status_window.index = 0
when 3 # ステータス
# 決定 SE ã‚’æ¼”å¥
$game_system.se_play($data_system.decision_se)
# ステータスウィンドウをアクティブã«ã™ã‚‹
@command_window.active = false
@status_window.active = true
@status_window.index = 0
when 4 # セーブ
# セーブç¦æ¢ã®å ´åˆ
if $game_system.save_disabled
# ブザー SE ã‚’æ¼”å¥
$game_system.se_play($data_system.buzzer_se)
return
end
# 決定 SE ã‚’æ¼”å¥
$game_system.se_play($data_system.decision_se)
# セーブ画é¢ã«åˆ‡ã‚Šæ›¿ãˆ
$scene = Scene_Save.new
when 5 # ゲーム終了
# 決定 SE ã‚’æ¼”å¥
$game_system.se_play($data_system.decision_se)
# ゲーム終了画é¢ã«åˆ‡ã‚Šæ›¿ãˆ
$scene = Scene_End.new
end
to this
case @command_window.index
when 0 # アイテãƒ
# 決定 SE ã‚’æ¼”å¥
$game_system.se_play($data_system.decision_se)
# アイテム画é¢ã«åˆ‡ã‚Šæ›¿ãˆ
$scene = Scene_Item.new
when 1 # スã‚ル
# 決定 SE ã‚’æ¼”å¥
$game_system.se_play($data_system.decision_se)
# ステータスウィンドウをアクティブã«ã™ã‚‹
@command_window.active = false
@status_window.active = true
@status_window.index = 0
when 2 # 装備
# 決定 SE ã‚’æ¼”å¥
$game_system.se_play($data_system.decision_se)
# ステータスウィンドウをアクティブã«ã™ã‚‹
@command_window.active = false
@status_window.active = true
@status_window.index = 0
when 3 # ステータス
# 決定 SE ã‚’æ¼”å¥
$game_system.se_play($data_system.decision_se)
# ステータスウィンドウをアクティブã«ã™ã‚‹
@command_window.active = false
@status_window.active = true
@status_window.index = 0
when 4 # ゲーム終了
# 決定 SE ã‚’æ¼”å¥
$game_system.se_play($data_system.decision_se)
# ゲーム終了画é¢ã«åˆ‡ã‚Šæ›¿ãˆ
$scene = Scene_End.new
end
nontice the difference? :wink:
you also need to go into the Scene_End script, and everywhere you see this line
$scene = Scene_Menu.new[5]
replace the number in the brackets with "4", so that it looks like this-
$scene = Scene_Menu.new[4]
otherwise, when you exit back into the menu, it will select the 6th option which no longer exists.