赞 | 0 |
VIP | 0 |
好人卡 | 25 |
积分 | 20 |
经验 | 70413 |
最后登录 | 2024-8-14 |
在线时间 | 1871 小时 |
Lv3.寻梦者
- 梦石
- 0
- 星屑
- 2019
- 在线时间
- 1871 小时
- 注册时间
- 2009-8-17
- 帖子
- 256
|
开关199号打开为禁止物品,200号为禁止特技。- #==============================================================================
- # ■ Scene_Menu
- #------------------------------------------------------------------------------
- # 处理菜单画面的类。
- #==============================================================================
- class Scene_Menu < Scene_Base
-
-
- #--------------------------------------------------------------------------
- # ● 更新命令窗口
- #--------------------------------------------------------------------------
- def update_command_selection
- if Input.trigger?(Input::B)
- Sound.play_cancel
- $scene = Scene_Map.new
- elsif Input.trigger?(Input::C)
- if $game_party.members.size == 0 and @command_window.index < 4
- Sound.play_buzzer
- return
- elsif $game_system.save_disabled and @command_window.index == 4
- Sound.play_buzzer
- return
- end
- Sound.play_decision
- case @command_window.index
- when 0 # 物品
- if $game_switches[199] == true
- Sound.play_buzzer
- else
- $scene = Scene_Item.new
- end
- when 1 # 技能
- if $game_switches[200] == true
- Sound.play_buzzer
- else
- start_actor_selection
- end
- when 2,3 # 装备、状态
- start_actor_selection
- when 4 # 存档
- $scene = Scene_File.new(true, false, false)
- when 5 # 结束游戏
- $scene = Scene_End.new
- end
- end
- end
- end
- #==============================================================================
- # ■ Scene_Battle
- #------------------------------------------------------------------------------
- # 处理战斗画面的类。
- #==============================================================================
- class Scene_Battle < Scene_Base
-
-
- #--------------------------------------------------------------------------
- # ● 更新角色命令选择
- #--------------------------------------------------------------------------
- def update_actor_command_selection
- if Input.trigger?(Input::B)
- Sound.play_cancel
- prior_actor
- elsif Input.trigger?(Input::C)
- case @actor_command_window.index
- when 0 # 攻击
- Sound.play_decision
- @active_battler.action.set_attack
- start_target_enemy_selection
- when 1 # 技能
- if $game_switches[200] == true
- Sound.play_buzzer
- else
- Sound.play_decision
- start_skill_selection
- end
- when 2 # 防御
- Sound.play_decision
- @active_battler.action.set_guard
- next_actor
- when 3 # 物品
- if $game_switches[199] == true
- Sound.play_buzzer
- else
- Sound.play_decision
- start_item_selection
- end
- end
- end
- end
- end
复制代码 |
|