赞 | 0 |
VIP | 0 |
好人卡 | 1 |
积分 | 1 |
经验 | 8269 |
最后登录 | 2020-5-5 |
在线时间 | 61 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 60
- 在线时间
- 61 小时
- 注册时间
- 2006-9-15
- 帖子
- 946
|
class Game_Player
#--------------------------------------------------------------------------
# ● フレーム更新
#--------------------------------------------------------------------------
alias old_update update
def update
unless $game_system.map_interpreter.running? or
@move_route_forcing or $game_temp.message_window_showing
if Input.press?(Input::SHIFT)
if @move_speed != 6
@move_speed = 6
move_route = RPG::MoveRoute.new
move_route.repeat = false
move_route.list.clear
move_command = RPG::MoveCommand.new
move_command.code = @direction / 2
5.times{move_route.list.push(move_command.clone)}
move_command.code = 0
move_route.list.push(move_command)
force_move_route(move_route)
@character_name_run = @character_name
@character_name = @character_name + "run"
Audio.se_play("Audio/SE/"+"013-Move01",80,100)
end
else
if @move_speed != 4
@move_speed = 4
@character_name = @character_name_run
end
end
end
old_update
if @move_route_forcing
if not @move_route.skippable and not moving? and not jumping?
@move_route_index = @move_route.list.size - 1
return
end
end
end
end |
|