sQueenHeadUp 0 0 -30 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 canhit = 1; canbehit = 1; 1 603 7 0 0 -1 2 self 0 0 1 if (oQueen.state != 100) with (other) event_user(0); 1 603 7 0 0 -1 2 self 0 0 1 if (oQueen.state != 100) { if (canbehit) { if (other.smissile == 0) { with (oQueenHead) event_user(1); } else with (oQueenHead) event_user(2); with (other) event_user(0); } else with (other) event_user(1); } 1 603 7 0 0 -1 2 self 0 0 1 if (oQueen.state != 100) with (other) { event_user(1); instance_destroy(); } 1 603 7 0 0 -1 2 self 0 0 1 if (oQueen.state != 100) { if (canbehit && other.image_index == 1) { with (oQueenHead) event_user(4); if (oQueen.state == 10) { bld = instance_create(other.x + random_range(-4, 4), other.y + random_range(-4, 4), oFXAnimSpark); bld.sprite_index = sMGammaBlood1; bld.image_speed = 0.5; bld.image_alpha = 0.6; bld.image_angle = random(360); bld.depth = -100; } } } 1 603 7 0 0 -1 2 self 0 0 1 if (canhit) { if (other.state != 52 && other.state != 39 && other.state != 40) { if (oQueenHead.push == 0) { damage_player(oQueenHead.damage, oQueenHead.hpush, oQueenHead.vpush, 0, 0); } else damage_player_push(oQueenHead.damage, 1, 90, 0, 4); } } 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 -1