Step_0.gml 204 B

123456789101112131415
  1. if check_hitstop() || is_dead
  2. exit;
  3. image_index += animation_spd;
  4. enemy_ai();
  5. x = clamp(x, 200, 1920 - 200 - 64);
  6. if state != "IDLE"
  7. {
  8. oCamera.x_to = 0;
  9. oCamera.y_to = 0;
  10. oCamera.follow = noone;
  11. }