s5 = "逃跑"
@actor_command_window = Window_Command.new(160, [s1, s2, s3, s4,s5])
when 4
# 不能逃跑的情况下
if $game_temp.battle_can_escape == false
# 演奏冻结 SE
$game_system.se_play($data_system.buzzer_se)
return
end
# 演奏确定 SE
$game_system.se_play($data_system.decision_se)
# 逃走处理
update_phase2_escape
case @actor_index
when 0
x = 300
y = 320
when 1
x = 380
y = 280
when 2
x = 460 #+向右 -向左
y = 238 #+向下 -向上
when 3
x = 550
y = 207
end
@actor_command_window.y = y - 160
@actor_command_window.x = x - 50
[Game]
Library=RGSS102J.dll
Scripts=Data\Scripts.rxdata
Title=Project13
RTP1=Standard
RTP2=
RTP3=
以下引用ONEWateR于2008-8-5 11:43:22的发言:
1.Scene_Battle 3
80 行
覆盖 @actor_command_window.x
case @actor_index
when 0
x = 300
y = 320
when 1
x = 380
y = 280
when 2
x = 460 #+向右 -向左
y = 238 #+向下 -向上
when 3
x = 550
y = 207
end
@actor_command_window.y = y - 160
@actor_command_window.x = x - 50
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |