#============================================================================= # ■ セーブテキスト変更 #----------------------------------------------------------------------------- # 状況に応じてセーブ画面上部のヘルプテキストを変えます # # *月の下の宿 # URL:http://gekkasou.shiteyattari.com/ #============================================================================= module An #セーブ時データが存在した場合 ExistAndSave ="既存ファイルに保存" #ロード時データが存在した場合 ExistOnly ="データを読み込みます" #新規にセーブする時 SaveOnly ="データを新規作成し、保存します" #データが無い時 NoSaveData ="未使用のデータです" end #============================================================================== # ■ Scene_File #============================================================================== class Scene_File < Scene_Base #-------------------------------------------------------------------------- # ● 開始処理 #-------------------------------------------------------------------------- alias an_customsavestart start def start an_customsavestart @help_window.set_text(an_help_text) end #-------------------------------------------------------------------------- # ● セーブファイル選択の更新 #-------------------------------------------------------------------------- alias an_customasavefileselection update_savefile_selection def update_savefile_selection an_customasavefileselection @help_window.set_text(an_help_text) end #-------------------------------------------------------------------------- # ● ヘルプウインドウの文字列取得 #-------------------------------------------------------------------------- def an_help_text if @savefile_windows[@index].file_exist and @saving return An::ExistAndSave elsif @savefile_windows[@index].file_exist return An::ExistOnly elsif @saving return An::SaveOnly else return An::NoSaveData end end end