Advertisement
roninator2

MOG Save file fix

Nov 3rd, 2020 (edited)
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 2.25 KB | Source Code | 0 0
  1. # ╔═════════════════════════════════════╦════════════════════╗
  2. # ║ Title: MOG Save file fix            ║  Version: 1.00     ║
  3. # ║ Author: Roninator2                  ║                    ║
  4. # ╠═════════════════════════════════════╬════════════════════╣
  5. # ║ Function:                           ║   Date Created     ║
  6. # ║ MOG Scene File A                    ╠════════════════════╣
  7. # ║ Corrects save slot number           ║    01 Nov 2020     ║
  8. # ╚═════════════════════════════════════╩════════════════════╝
  9. # ╔══════════════════════════════════════════════════════════╗
  10. # ║ If you find in your game that the save slot number       ║
  11. # ║ is not accurate or there are errors, then try this       ║
  12. # ║ to correct the save slot index position.                 ║
  13. # ╚══════════════════════════════════════════════════════════╝
  14. # ╔═════════════════════════════════════╗
  15. # ║ Terms of use:                       ║
  16. # ║ Follow the Original Authors terms   ║
  17. # ╚═════════════════════════════════════╝
  18. class Scene_File
  19.   include MOG_SCENE_FILE
  20.   def initialize
  21.       @saving = $game_temp.scene_save
  22.       @file_max = FILES_MAX
  23.       @file_max = 1 if FILES_MAX < 1
  24.       execute_dispose
  25.       create_layout
  26.       create_savefile_windows
  27.       @index = DataManager.last_savefile_index
  28.       @check_prev_index = true
  29.       if ADIK::QUICK::INDEX > FILES_MAX
  30.         @index = 0
  31.       end
  32.       @savefile_windows[@index].selected = true
  33.   end
  34. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement