Create_0.gml 633 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // 1: Right, -1: Left
  2. state = state_free;
  3. facing = 1;
  4. x_spd = 0;
  5. y_spd = 0;
  6. can_dash = true;
  7. _on_ground = 0;
  8. _on_wall = 0;
  9. _on_solid = 0;
  10. walk_spd = 6;
  11. jump_spd = -15;
  12. move_lock_timer = 0;
  13. coyote_timer = 0;
  14. coyote_max = 10;
  15. dash_timer = 0;
  16. dash_cooldown = 0;
  17. dash_buffer = 0;
  18. dash_buffer_max = 10;
  19. jump_max = 2;
  20. jump_cnt = 0;
  21. attack_timer = 0;
  22. attack_buffer = 0;
  23. attack_buffer_max = 10;
  24. dodge_timer = 0;
  25. dodge_phase = undefined;
  26. marked_target = noone;
  27. is_marked = false;
  28. is_perfect = false;
  29. is_invincible = false;
  30. debug_hitbox_x1 = 0;
  31. debug_hitbox_y1 = 0;
  32. debug_hitbox_x2 = 0;
  33. debug_hitbox_y2 = 0;
  34. tp_lastsafe = false;