| 
 
| 赞 | 295 |  
| VIP | 11 |  
| 好人卡 | 74 |  
| 积分 | 233 |  
| 经验 | 281171 |  
| 最后登录 | 2025-10-30 |  
| 在线时间 | 9469 小时 |  
 Lv5.捕梦者 (暗夜天使)   只有笨蛋才会看到 
	梦石1 星屑22284 在线时间9469 小时注册时间2012-6-19帖子7126  
 | 
| 本帖最后由 喵呜喵5 于 2013-8-22 23:56 编辑 
 
 ![]() 复制代码=begin
===============================================================================
 
  通关存档 By喵呜喵5
===============================================================================
【说明】
在存档界面查看存档时,已经通关的存档会在名字后面显示一个特殊的图标
=end
module M5Save
#==============================================================================
#  设定部分
#==============================================================================
  
  SWI = 1 #这里设置通关后打开的开关,通关以后请打开这个开关
  
  ICO = 125 #这里设置已经通关的存档在存档名之后显示的图标
  
#==============================================================================
#  设定结束
#==============================================================================
#==============================================================================
#  脚本部分
#==============================================================================
  
end
module DataManager  
  def self.make_save_header
    header = {}
    header[:characters] = $game_party.characters_for_savefile
    header[:playtime_s] = $game_system.playtime_s
    header[:clear] = $game_switches[M5Save::SWI]
    header
  end  
end
class Window_SaveFile < Window_Base
  def refresh
    header = DataManager.load_header(@file_index)
    contents.clear
    change_color(normal_color)    
    name = Vocab::File + " #{@file_index + 1}"
    draw_text(4, 0, 200, line_height, name)
    @name_width = text_size(name).width
    if header != nil and header[:clear]
      draw_icon(M5Save::ICO,8+@name_width,-1)
    end
    draw_party_characters(152, 58)
    draw_playtime(0, contents.height - line_height, contents.width - 4, 2)
  end
end
 | 
 |