event_inherited(); hp = 240; hitstun_duration = 0; kb_factor = 0; credit = 30; apply_collision = false; enemy_ai = boss_showerhead_ai; hitbox = enemy_create_hitboxMC(160, 160); state = "AWAIT"; attack_queue = [1, 3, 1, 3, 2, 1, 2, 3, 1, 2, 2, 3]; attack_index = irandom(array_length(attack_queue) - 1); shoot_count = 0; boss_side = -1; //1 = right, -1 = left anchor_l = 160; anchor_r = room_width - 160; x = anchor_l; idle_timer = 0; retreat_spd = 8; charge_spd = 18; death_callback = function() { global.time_scale_t = 0; global.time_scale_duration = 90; global.time_scale = 0.1; icl(oAccesscard); instance_destroy(); } animation_spd = 0;