| 赞 | 164 |
| VIP | |
| 好人卡 | |
| 积分 | 301 |
| 经验 | |
| 最后登录 | 2026-11-12 |
| 在线时间 | 5741 小时 |
- 梦石
- 0
- 星屑
- 30103
- 在线时间
- 5741 小时
- 注册时间
- 2016-3-8
- 回帖
- 1662
|
发表于 2020-8-7 14:27:05
|
显示全部楼层
本帖最后由 alexncf125 于 2020-8-7 21:37 编辑
未测试
- class Scene_Save < Scene_File
- alias old_on_savefile_ok on_savefile_ok
- def on_savefile_ok
- if @index == 0
- Sound.play_buzzer
- return
- else
- old_on_savefile_ok
- end
- end
- alias old_first_savefile_index first_savefile_index first_savefile_index
- def first_savefile_index
- old_first_savefile_index
- DataManager.last_savefile_index == 0 ? 1 : DataManager.last_savefile_index
- end
- alias old_cursor_down cursor_down
- def cursor_down(wrap)
- old_cursor_down(wrap)
- if @index == 0
- @index = 1
- end
- ensure_cursor_visible
- end
- alias old_cursor_up cursor_up
- def cursor_up(wrap)
- old_cursor_up(wrap)
- if @index == 0
- @index = 1
- end
- ensure_cursor_visible
- end
- alias old_cursor_pagedown cursor_pagedown
- def cursor_pagedown
- old_cursor_pagedown
- if @index == 0
- @index = 1
- end
- end
- alias old_cursor_pageup cursor_pageup
- def cursor_pageup
- old_cursor_pageup
- if @index == 0
- @index = 1
- end
- end
- end
复制代码
看楼主旧帖,好像对用脚本绘制方面颇有研究,能帮我看看这个么
https://rpg.blue/thread-482783-1-1.html |
|