Create_0.gml 527 B

123456789101112131415161718192021222324252627
  1. event_inherited();
  2. hp = 200;
  3. hitstun_max = 0;
  4. kb_factor = 0;
  5. credit = 30;
  6. apply_collision = false;
  7. enemy_ai = boss_showerhead_ai;
  8. hitbox = enemy_create_hitboxMC(192, 192);
  9. state = "SPAWN";
  10. attack_queue = [1, 3, 1, 3, 2, 1, 2, 3, 1, 2, 2, 3];
  11. attack_index = irandom(array_length(attack_queue) - 1);
  12. phase = 1;
  13. shoot_count = 0;
  14. boss_side = 1;
  15. anchor_l = 128;
  16. anchor_r = room_width - 128;
  17. idle_timer = 0;
  18. retreat_spd = 8; // 后撤速度,较慢
  19. charge_spd = 18; // 冲刺速度,要有压迫感