赞 | 287 |
VIP | 11 |
好人卡 | 74 |
积分 | 226 |
经验 | 281171 |
最后登录 | 2024-11-14 |
在线时间 | 9413 小时 |
Lv5.捕梦者 (暗夜天使) 只有笨蛋才会看到
- 梦石
- 1
- 星屑
- 21621
- 在线时间
- 9413 小时
- 注册时间
- 2012-6-19
- 帖子
- 7118
|
本帖最后由 喵呜喵5 于 2014-9-6 23:38 编辑
- module M520140906M
-
- X1 = 0
-
- # 状态窗口X位置
-
- Y1 = 296
-
- # 状态窗口Y位置
-
- HEIGHT = 96 + 24
-
- # 状态窗口高度
-
- DATA = 152
-
- # 状态窗口HP位置
-
- X2 = 96 + 12
-
- # 选项窗口X位置
-
- Y2 = 308
-
- # 选项窗口Y位置
-
- end
- class Window_MenuStatus
- alias m5_20140906_initialize initialize
- def initialize(x, y)
- m5_20140906_initialize(x, y)
- self.x = M520140906M::X1
- self.y = M520140906M::Y1
- self.z -= 1
- end
- def window_width
- Graphics.width
- end
- def window_height
- M520140906M::HEIGHT
- end
- def draw_actor_simple_status(actor, x, y)
- x += M520140906M::DATA
- draw_actor_name(actor, x, y)
- draw_actor_hp(actor, x, y + line_height * 1)
- end
- alias m5_20140906_draw_item draw_item
- def draw_item(index)
- return unless index == 0
- m5_20140906_draw_item(index)
- end
- end
- class Window_MenuCommand
- alias m5_20140906_initialize initialize
- def initialize
- m5_20140906_initialize
- self.x = M520140906M::X2
- self.y = M520140906M::Y2
- self.opacity = 0
- end
- def window_width
- return 160
- end
- def visible_line_number
- item_max
- end
- def add_main_commands
- add_command(Vocab::item, :item, main_commands_enabled)
- end
- def add_formation_command
- end
- def add_save_command
- add_command(Vocab::continue, :save)
- end
- end
- class Scene_Menu
- def create_gold_window
- end
- def command_save
- SceneManager.call(Scene_Load)
- end
- end
复制代码 |
评分
-
查看全部评分
|