赞 | 0 |
VIP | 0 |
好人卡 | 1 |
积分 | 0 |
经验 | 2050 |
最后登录 | 2012-11-20 |
在线时间 | 56 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 56 小时
- 注册时间
- 2011-9-22
- 帖子
- 60
|
class Window_PartyCommand < Window_Selectable
def visible=(value)
super(false)
end
def active=(value)
super(false)
end
end
class Scene_Battle
alias hzhj_old_start_phase1 start_phase1
def start_phase1
class << @actor_command_window
attr_reader :commands
def commands=(value)
@commands = value
@item_max = @commands.size
self.height = @item_max * 32 + 32
self.y = [self.y - 32, 0].max
self.contents.dispose
self.contents = Bitmap.new(width - 32, height - 32)
refresh
end
end
commands = @actor_command_window.commands
commands.push("撤退")
@actor_command_window.commands = commands
hzhj_old_start_phase1
end
alias hzhj_old_start_phase2 start_phase2
def start_phase2
hzhj_old_start_phase2
if @phase == 2
start_phase3
end
end
alias hzhj_old_update_phase3_basic_command update_phase3_basic_command
def update_phase3_basic_command
hzhj_old_update_phase3_basic_command
if Input.trigger?(13)
if @actor_command_window.index == @actor_command_window.commands.size - 1
$game_system.se_play($data_system.decision_se)
update_phase2_escape
return
end
end
end
end
就是这个了。。
这种情况怎么解决? |
|