| 赞 | 274 |
| VIP | |
| 好人卡 | |
| 积分 | 496 |
| 经验 | |
| 最后登录 | 2024-6-21 |
| 在线时间 | 1919 小时 |
- 梦石
- 10
- 星屑
- 39550
- 在线时间
- 1919 小时
- 注册时间
- 2010-11-14
- 回帖
- 3214

|
发表于 2020-1-25 11:36:18
|
显示全部楼层
[pre lang="ruby"]class Scene_Title
alias create_command_window_fro_alignment create_command_window
def create_command_window
create_command_window_fro_alignment
class << @command_window
def draw_item(index, enabled = true)
rect = item_rect(index)
rect.x += 4
rect.width -= 8
self.contents.clear_rect(rect)
self.contents.font.color = normal_color
self.contents.font.color.alpha = enabled ? 255 : 128
self.contents.draw_text(rect, @commands[index], 1)
end
end
@command_window.refresh
end
end[/pre]
插入默认脚本之下、Main之上
|
评分
-
查看全部评分
|