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 Kboard.keyb($R_Key_D) == 1
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 + "rush"
Audio.se_play("Audio/SE/"+"013-Move01",80,100)
$game_temp.common_event_id = 51
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