class Game_Player < Game_Character
def move_by_input;return if !movable? || $game_map.interpreter.running?
move_straight(Input.dir8) if Input.dir8 % 2 == 0
move_diagonal(Input.dir8+3 , 2) if Input.dir8 == 1||Input.dir8 == 3
move_diagonal(Input.dir8-3 , 8) if Input.dir8 == 7||Input.dir8 == 9;end;end
class Game_Player < Game_Character
def move_by_input;return if !movable? || $game_map.interpreter.running?
move_straight(Input.dir8) if Input.dir8 % 2 == 0
move_diagonal(Input.dir8+3 , 2) if Input.dir8 == 1||Input.dir8 == 3
move_diagonal(Input.dir8-3 , 8) if Input.dir8 == 7||Input.dir8 == 9;end;end