if Input.dir4 > 0
if XAS_SYSTEM::PLAYER_DIAGONAL_MOVEMENT
player_diagonal_move_by_input
# update_sprite_diagonal
update_return_direction
return
end
move_straight(Input.dir4)
reset_move_path
else
@move_speed = 4
@move_frequency = 6
move_by_mouse
end
end
end