赞 | 159 |
VIP | 0 |
好人卡 | 0 |
积分 | 263 |
经验 | 0 |
最后登录 | 2024-11-16 |
在线时间 | 5355 小时 |
Lv5.捕梦者
- 梦石
- 0
- 星屑
- 26264
- 在线时间
- 5355 小时
- 注册时间
- 2016-3-8
- 帖子
- 1655
|
我错了...
应该写到Scene里去...
- module COMMAND_HELP
- Command_Help = {}
- Command_Help[:item] = "物品"
- Command_Help[:skill] = "技能"
- Command_Help[:equip] = "装备"
- Command_Help[:status] = "状态"
- Command_Help[:formation] = "整队"
- Command_Help[:save] = "存档"
- Command_Help[:game_end] = "退出"
- end
-
- class Scene_Menu < Scene_MenuBase
-
- include COMMAND_HELP
-
- alias command_help_start start
- def start
- command_help_start
- create_help_window
- end
-
- def create_help_window
- @command_help_window = Window_Help.new
- end
- alias command_help_update update
- def update
- command_help_update
- help_text = Command_Help[@command_window.current_symbol]
- @command_help_window.set_text(help_text) if @command_help_window
- end
-
- end
复制代码 |
|