;;-*-Lisp-*-
(in-package goal)
(bundles "CIT.DGO")
(require "engine/gfx/sprite/sparticle/sparticle.gc")
(require "engine/common-obs/generic-obs-h.gc")

;; DECOMP BEGINS

(deftype citb-part (part-spawner) ())


(defpartgroup group-firehose-blast-smoke
  :id 685
  :flags (use-local-clock)
  :bounds (static-bspherem 0 -8 0 8)
  :parts ((sp-item 2879) (sp-item 2880)))

(defpart 2880
  :init-specs
  ((:texture (hotdot effects))
   (:num 1.0 8.0)
   (:x (meters 0) (meters 2.5))
   (:y (meters -13))
   (:scale-x (meters 0.15) (meters 0.3))
   (:scale-y :copy scale-x)
   (:r 255.0)
   (:g 192.0 64.0)
   (:b 128.0 64.0)
   (:a 32.0 64.0)
   (:vel-y (meters 0.10666667) (meters 0.21333334))
   (:scalevel-x (meters -0.00083333335))
   (:scalevel-y :copy scalevel-x)
   (:fade-r -0.56666666)
   (:fade-g -2.8333333)
   (:fade-b -2.8333333)
   (:accel-y (meters -0.0016666667) (meters -0.00066666666))
   (:friction 0.85)
   (:timer (seconds 0.1) (seconds 0.997))
   (:flags (bit0 bit2 bit3))
   (:userdata -409600.0)
   (:func 'check-drop-level-firehose-pops)
   (:next-time (seconds 0.4) (seconds 1.997))
   (:next-launcher 2881)
   (:conerot-x (degrees 70) (degrees 10))
   (:conerot-y (degrees -1440) (degrees 2880))
   (:rotate-y (degrees 0) (degrees 360))))

(defpart 2881
  :init-specs ((:userdata 409600.0)))

(defun check-drop-level-firehose-pops ((arg0 sparticle-system) (arg1 sparticle-cpuinfo) (arg2 vector))
  (when (< (-> arg2 y) (-> arg1 user-float))
    (let ((gp-0 (new 'stack-no-clear 'vector)))
      (sp-kill-particle arg0 arg1)
      (set-vector! gp-0 (-> arg2 x) (-> arg2 y) (-> arg2 z) 1.0)
      (launch-particles (-> *part-id-table* 2882) gp-0 :rate (the-as float 1.0))
      (launch-particles (-> *part-id-table* 2883) gp-0 :rate (the-as float 1.0))))
  (none))

(defpart 2883
  :init-specs
  ((:texture (starflash effects))
   (:num 1.0)
   (:scale-x (meters 1) (meters 0.4))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 255.0)
   (:g 0.0 64.0)
   (:b 0.0)
   (:a 16.0 32.0)
   (:fade-a -1.92)
   (:timer (seconds 0.067))
   (:flags (bit2 bit3))))

(defpart 2882
  :init-specs
  ((:texture (hotdot effects))
   (:num 4.0 4.0)
   (:scale-x (meters 0.1) (meters 0.2))
   (:scale-y :copy scale-x)
   (:r 255.0)
   (:g 192.0 64.0)
   (:b 128.0 64.0)
   (:a 32.0 64.0)
   (:vel-y (meters 0.053333335) (meters 0.053333335))
   (:fade-r -1.4166666)
   (:fade-g -8.5)
   (:fade-b -8.5)
   (:accel-y (meters -0.0016666667) (meters -0.00066666666))
   (:friction 0.85)
   (:timer (seconds 0.05) (seconds 0.397))
   (:flags (bit2 bit3))
   (:conerot-x (degrees 0) (degrees 360))
   (:conerot-y (degrees 0) (degrees 360))))

(defpart 2879
  :init-specs
  ((:texture (hotdot effects))
   (:num 4.0)
   (:x (meters 0) (meters 2))
   (:y (meters -2) (meters -1))
   (:scale-x (meters 0.1) (meters 0.1))
   (:scale-y (meters 0.8) (meters 0.6))
   (:r 255.0)
   (:g 192.0 64.0)
   (:b 128.0 64.0)
   (:a 32.0 64.0)
   (:vel-y (meters -0.36666667))
   (:timer (seconds 0.1))
   (:flags (bit2 bit3))
   (:rotate-y (degrees 0) (degrees 360))))

(defpart 2541
  :init-specs
  ((:texture (bigpuff-half effects))
   (:birth-func 'birth-func-set-quat)
   (:num 1.0)
   (:y (meters -11))
   (:scale-x (meters 6) (meters 2))
   (:scale-y (meters 16) (meters 4))
   (:r 128.0 128.0)
   (:g 0.0 64.0)
   (:b 0.0)
   (:a 64.0 64.0)
   (:fade-a -8.533334)
   (:timer (seconds 0.035))
   (:flags (bit2 bit3))))

(defpartgroup group-citb-generator-mushroom-on
  :id 599
  :flags (use-local-clock)
  :bounds (static-bspherem 0 0 0 12.5)
  :parts
  ((sp-item 2408 :fade-after (meters 200) :falloff-to (meters 200))
   (sp-item 2409 :fade-after (meters 200) :falloff-to (meters 200))
   (sp-item 2410 :fade-after (meters 200) :falloff-to (meters 200))
   (sp-item 2411 :fade-after (meters 200) :falloff-to (meters 200) :binding 2407)
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))
   (sp-item 2407 :flags (bit1 start-dead launch-asap))))

(defpartgroup group-citb-generator-on
  :id 600
  :flags (use-local-clock)
  :bounds (static-bspherem 0 0 0 12.5)
  :parts
  ((sp-item 2413 :fade-after (meters 300) :falloff-to (meters 300))
   (sp-item 2414 :fade-after (meters 200) :falloff-to (meters 200) :binding 2412)
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))
   (sp-item 2412 :flags (bit1 start-dead launch-asap))))

(defpart 2411
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.15)
   (:y (meters 4.5) (meters 1))
   (:scale-x (meters 10.4) (meters 6))
   (:scale-y (meters 6.4) (meters 6))
   (:r 32.0 32.0)
   (:g 64.0)
   (:b 128.0)
   (:a 8.0 16.0)
   (:timer (seconds 2))
   (:flags (bit2 bit3 bit14))
   (:rotate-y (degrees 3.0000002))))

(defpart 2407
  :init-specs
  ((:texture (hotdot effects))
   (:num 1.0)
   (:x (meters 0) (meters 16))
   (:y (meters 0))
   (:z (meters 3.5))
   (:scale-x (meters 4.6) (meters 0.4))
   (:scale-y (meters 3) (meters 1))
   (:r 32.0 32.0)
   (:g 64.0)
   (:b 128.0)
   (:a 0.0)
   (:omega 0.0 65536.0)
   (:vel-x (meters -0.10666667) 4 (meters 0.053333335))
   (:vel-y (meters 0))
   (:vel-z (meters 0))
   (:fade-a 0.8)
   (:accel-z (meters 0))
   (:timer (seconds 2))
   (:flags (bit2 bit3 bit7 bit14))
   (:next-time (seconds 0.4))
   (:next-launcher 2415)))

(defpart 2408
  :init-specs
  ((:texture (lightning effects))
   (:num 0.2 1.0)
   (:y (meters 5))
   (:scale-x (meters 2.5) (meters 6.5))
   (:rot-x 4)
   (:rot-z (degrees 0) (degrees 180))
   (:scale-y (meters 0.4) (meters 0.2))
   (:r 64.0)
   (:g 64.0)
   (:b 128.0)
   (:a 128.0)
   (:fade-a -1.6)
   (:timer (seconds 0.3))
   (:flags (bit2 bit3 bit14))
   (:next-time (seconds 0.035))
   (:next-launcher 146)
   (:rotate-y (degrees 3.0000002))))

(defpart 2409
  :init-specs
  ((:texture (lightning effects))
   (:num 0.2 1.0)
   (:y (meters 5))
   (:scale-x (meters 2.5) (meters 5.5))
   (:rot-x 4)
   (:rot-z (degrees 20) (degrees 140))
   (:scale-y (meters 0.4) (meters 0.2))
   (:r 64.0)
   (:g 64.0)
   (:b 128.0)
   (:a 128.0)
   (:fade-a -1.6)
   (:timer (seconds 0.3))
   (:flags (bit2 bit3 bit14))
   (:next-time (seconds 0.035))
   (:next-launcher 146)
   (:rotate-y (degrees 3.0000002))))

(defpart 2410
  :init-specs
  ((:texture (lightning effects))
   (:num 0.2 1.0)
   (:y (meters 5))
   (:scale-x (meters 2.5) (meters 4.5))
   (:rot-x 4)
   (:rot-z (degrees 20) (degrees 140))
   (:scale-y (meters 0.4) (meters 0.2))
   (:r 64.0)
   (:g 64.0)
   (:b 128.0)
   (:a 128.0)
   (:fade-a -1.6)
   (:timer (seconds 0.3))
   (:flags (bit2 bit3 bit14))
   (:next-time (seconds 0.035))
   (:next-launcher 146)
   (:rotate-y (degrees 3.0000002))))

(defpart 2413
  :init-specs
  ((:texture (hotdot effects))
   (:num 1.0)
   (:y (meters 0.75))
   (:scale-x (meters 3) (meters 3))
   (:scale-y (meters 3))
   (:r 32.0)
   (:g 32.0)
   (:b 128.0)
   (:a 64.0 64.0)
   (:timer (seconds 0.067))
   (:flags (bit2 bit3 bit14))
   (:next-time (seconds 0.2))
   (:next-launcher 2415)))

(defpart 2414
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.2)
   (:y (meters 0.2) (meters 1.4))
   (:scale-x (meters 0.4))
   (:scale-y (meters 0.4))
   (:b 0.0)
   (:a 128.0)
   (:timer (seconds 2))
   (:flags (bit2 bit3 bit14))))

(defpart 2412
  :init-specs
  ((:texture (hotdot effects))
   (:num 1.0)
   (:x (meters 0) (meters 16))
   (:y (meters 0))
   (:z (meters 1) (meters 0.02))
   (:scale-x (meters 0.6) (meters 0.4))
   (:scale-y :copy scale-x)
   (:r 32.0 32.0)
   (:g 64.0)
   (:b 128.0)
   (:a 0.0)
   (:omega 0.0 65536.0)
   (:vel-x (meters -0.10666667) 4 (meters 0.053333335))
   (:vel-y (meters 0))
   (:vel-z (meters 0))
   (:fade-a 0.8)
   (:accel-z (meters 0))
   (:timer (seconds 2))
   (:flags (bit2 bit3 bit7 bit14))
   (:next-time (seconds 0.4))
   (:next-launcher 2415)))

(defpart 2415
  :init-specs ((:fade-a 0.0) (:next-time (seconds 1.2)) (:next-launcher 2416)))

(defpart 2416
  :init-specs ((:fade-a -0.8)))

(defpartgroup group-citb-generator-break
  :id 598
  :duration (seconds 2)
  :linger-duration (seconds 2)
  :flags (use-local-clock)
  :bounds (static-bspherem 0 0 0 6)
  :parts
  ((sp-item 2423 :period (seconds 2) :length (seconds 0.017))
   (sp-item 2424 :fade-after (meters 80) :falloff-to (meters 80) :period (seconds 2) :length (seconds 0.135))
   (sp-item 2425 :period (seconds 2) :length (seconds 0.067))
   (sp-item 2426 :fade-after (meters 120) :falloff-to (meters 120) :period (seconds 2) :length (seconds 0.067))))

(defpart 2424
  :init-specs
  ((:texture (hotdot effects))
   (:num 6.0)
   (:y (meters 1))
   (:scale-x (meters 0.2) (meters 0.4))
   (:scale-y :copy scale-x)
   (:r 196.0)
   (:g 128.0)
   (:b 128.0)
   (:a 32.0 96.0)
   (:vel-y (meters 0.026666667) (meters 0.10666667))
   (:scalevel-x (meters -0.0016666667))
   (:scalevel-y :copy scalevel-x)
   (:fade-r -0.42666668)
   (:fade-g -0.21333334)
   (:fade-b -0.21333334)
   (:accel-y (meters -0.00016666666) (meters -0.00016666666))
   (:friction 0.9)
   (:timer (seconds 1))
   (:flags (bit2 bit14))
   (:next-time (seconds 0.1) (seconds 0.097))
   (:next-launcher 2427)
   (:conerot-x (degrees 0) (degrees 140))
   (:conerot-y (degrees 0) (degrees 360))
   (:conerot-radius (meters 2) (meters 4))))

(defpart 2427
  :init-specs ((:fade-r 0.0) (:fade-g 0.0) (:fade-b 0.0) (:fade-a -1.4222223)))

(defpart 2426
  :init-specs
  ((:texture (hotdot effects))
   (:num 3.0)
   (:y (meters 1))
   (:scale-x (meters 0.2))
   (:rot-z (degrees 0) (degrees 180))
   (:scale-y (meters 8))
   (:r 196.0)
   (:g 128.0)
   (:b 128.0)
   (:a 32.0 64.0)
   (:scalevel-y (meters 0.42666668))
   (:fade-r -2.1333334)
   (:fade-g -1.0666667)
   (:fade-b -1.0666667)
   (:fade-a -1.6)
   (:timer (seconds 0.2))
   (:flags (bit2 bit3 bit14))))

(defpart 2423
  :init-specs
  ((:texture (starflash effects))
   (:num 1.0)
   (:y (meters 1))
   (:scale-x (meters 16))
   (:scale-y :copy scale-x)
   (:r 196.0)
   (:g 128.0)
   (:b 128.0)
   (:a 96.0)
   (:fade-r -2.3272727)
   (:fade-g -1.1636363)
   (:fade-b -1.1636363)
   (:fade-a -1.7454545)
   (:timer (seconds 0.18))
   (:flags (bit2 bit3 bit14))))

(defpart 2425
  :init-specs
  ((:texture (bigpuff effects))
   (:num 4.0)
   (:y (meters 1))
   (:scale-x (meters 2.5) (meters 1.5))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 196.0)
   (:g 128.0)
   (:b 128.0)
   (:a 64.0 64.0)
   (:vel-y (meters 0.053333335) (meters 0.013333334))
   (:scalevel-x (meters 0.013333334))
   (:rotvel-z (degrees -0.3) (degrees 0.6))
   (:scalevel-y :copy scalevel-x)
   (:fade-r -0.42666668)
   (:fade-g -0.21333334)
   (:fade-b -0.21333334)
   (:fade-a -0.42666668)
   (:accel-y (meters 0.00016666666) (meters 0.00016666666))
   (:friction 0.8)
   (:timer (seconds 1.7))
   (:flags (bit2 bit14))
   (:conerot-x (degrees 0) (degrees 110))
   (:conerot-y (degrees 0) (degrees 360))))

(defpartgroup group-citb-generator-off
  :id 597
  :flags (use-local-clock)
  :bounds (static-bspherem 0 0 0 6)
  :parts
  ((sp-item 2417 :fade-after (meters 100) :falloff-to (meters 100))
   (sp-item 2418 :fade-after (meters 60) :falloff-to (meters 60))))

(defpart 2417
  :init-specs
  ((:texture (bigpuff effects))
   (:num 0.25)
   (:x (meters -0.5) (meters 1.1))
   (:y (meters 0.75))
   (:z (meters -0.5) (meters 1.1))
   (:scale-x (meters 1.5) (meters 0.5))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 196.0)
   (:g 128.0)
   (:b 128.0)
   (:a 16.0 16.0)
   (:vel-y (meters 0.0033333334) (meters 0.006666667))
   (:scalevel-x (meters 0.006666667))
   (:rotvel-z (degrees -0.2) (degrees 0.4))
   (:scalevel-y :copy scalevel-x)
   (:fade-r -0.18962963)
   (:fade-g -0.094814815)
   (:fade-b -0.094814815)
   (:fade-a -0.047407407)
   (:accel-y (meters -0.000006666667))
   (:friction 0.99)
   (:timer (seconds 2.25))
   (:flags (bit2))))

(defpart 2418
  :init-specs
  ((:num 0.2)
   (:x (meters 0.2))
   (:y (meters 1.75))
   (:rot-x 8)
   (:r 3276.8)
   (:g 2662.4)
   (:b 2867.2)
   (:vel-x (meters 0) (meters 0.006666667))
   (:vel-y (meters 0.006666667) (meters 0.01))
   (:friction 0.99)
   (:timer (seconds 1))
   (:flags (aux-list))
   (:next-time (seconds 0.5))
   (:next-launcher 2419)
   (:rotate-y (degrees 0) (degrees 360))))

(defpart 2419
  :init-specs ((:fade-b -1.3653333)))

(defun birth-func-random-rot ((arg0 sparticle-system) (arg1 sparticle-cpuinfo) (arg2 matrix))
  (local-vars (v1-5 float) (v1-6 float))
  (rlet ((vf0 :class vf)
         (vf1 :class vf)
         (vf2 :class vf))
    (init-vf0-vector)
    (let ((s3-0 (new 'stack-no-clear 'matrix))
          (f30-0 (rand-vu-float-range (-> arg1 user-float) (+ 65536.0 (-> arg1 user-float))))
          (s2-0 (new 'stack-no-clear 'vector)))
      (set! (-> s2-0 x) 116940.8)
      (set! (-> s2-0 y) 0.0)
      (set! (-> s2-0 z) 0.0)
      (set! (-> s2-0 w) 1.0)
      (let ((s5-0 (new 'stack-no-clear 'vector)))
        (matrix-rotate-y! s3-0 f30-0)
        (vector-matrix*! s2-0 s2-0 s3-0)
        (+! (-> arg2 vector 0 x) (-> s2-0 x))
        (+! (-> arg2 vector 0 y) (-> s2-0 y))
        (+! (-> arg2 vector 0 z) (-> s2-0 z))
        (vector3s-rotate*! (the-as vector3s (-> arg1 vel-sxvel)) (the-as vector3s (-> arg1 vel-sxvel)) s3-0)
        (vector3s-rotate*! (the-as vector3s (-> arg1 acc)) (the-as vector3s (-> arg1 acc)) s3-0)
        (let* ((v1-3 s5-0)
               (a0-6 arg2)
               (f0-13 (-> a0-6 vector 1 x))
               (f1-4 (-> a0-6 vector 1 y))
               (f2-0 (-> a0-6 vector 1 z)))
          (set! (-> v1-3 x) f0-13)
          (set! (-> v1-3 y) f1-4)
          (set! (-> v1-3 z) f2-0)
          (set! (-> v1-3 w) (sqrtf (- (- (- 1.0 (* f2-0 f2-0)) (* f1-4 f1-4)) (* f0-13 f0-13)))))
        (quaternion-rotate-y! (the-as quaternion s5-0) (the-as quaternion s5-0) (+ 16384.0 f30-0))
        (cond
          ((< (-> s5-0 w) 0.0)
           (.lvf vf1 (&-> arg2 vector 1 quad))
           (.lvf vf2 (&-> s5-0 quad))
           (.sub.vf.xyz vf1 vf0 vf2)
           (.svf (&-> arg2 vector 1 quad) vf1)
           (.mov v1-5 vf1))
          (else
           (.lvf vf1 (&-> arg2 vector 1 quad))
           (.lvf vf2 (&-> s5-0 quad))
           (.add.vf.xyz vf1 vf0 vf2)
           (.svf (&-> arg2 vector 1 quad) vf1)
           (.mov v1-6 vf1)))))
    0
    (none)))

(defpartgroup group-citb-robotboss-shield
  :id 601
  :flags (use-local-clock)
  :bounds (static-bspherem 0 23 0 34)
  :parts ((sp-item 2420 :fade-after (meters 220) :falloff-to (meters 250) :flags (is-3d))))

(defpart 2420
  :init-specs
  ((:texture (citadel-shield effects))
   (:birth-func 'birth-func-random-rot)
   (:num 4.0)
   (:y (meters 23))
   (:scale-x (meters 6) (meters 6))
   (:rot-x (degrees 90))
   (:scale-y (meters 31))
   (:r 24.0 32.0)
   (:g 0.0)
   (:b 96.0 128.0)
   (:a 0.0)
   (:fade-a 0.85333335)
   (:timer (seconds 2))
   (:flags (bit2 bit3 bit14 left-multiply-quat))
   (:userdata 0.0)
   (:next-time (seconds 0.25))
   (:next-launcher 2421)))

(defpart 2421
  :init-specs ((:g 32.0 32.0) (:a 96.0) (:fade-a 0.0) (:next-time (seconds 0.017)) (:next-launcher 2422)))

(defpart 2422
  :init-specs ((:g 0.0 32.0) (:a 64.0) (:fade-a -0.85333335)))

(defpartgroup group-citb-coil-glow
  :id 596
  :flags (use-local-clock)
  :bounds (static-bspherem 0 3 0 4)
  :parts
  ((sp-item 2429 :fade-after (meters 100) :falloff-to (meters 100) :flags (is-3d))
   (sp-item 2430 :fade-after (meters 100) :falloff-to (meters 100) :flags (is-3d))
   (sp-item 2431 :fade-after (meters 100) :falloff-to (meters 100) :flags (is-3d))
   (sp-item 2432 :fade-after (meters 100) :falloff-to (meters 100) :flags (is-3d))
   (sp-item 2433 :fade-after (meters 100) :falloff-to (meters 100) :flags (is-3d))
   (sp-item 2434 :fade-after (meters 100) :falloff-to (meters 100) :flags (is-3d))
   (sp-item 2435 :fade-after (meters 100) :falloff-to (meters 100))
   (sp-item 2436 :fade-after (meters 100) :falloff-to (meters 100))
   (sp-item 2437 :fade-after (meters 100) :falloff-to (meters 100))
   (sp-item 2438 :fade-after (meters 100) :falloff-to (meters 100) :binding 2428)
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))
   (sp-item 2428 :flags (bit1 start-dead launch-asap))))

(defpart 2434
  :init-specs
  ((:texture (p-white effects))
   (:num 1.0)
   (:x (meters -0.1))
   (:y (meters 1.0025))
   (:z (meters 2.3))
   (:scale-x (meters 4.1))
   (:rot-x (degrees 75))
   (:rot-y (degrees -80))
   (:scale-y (meters 3))
   (:r 32.0 32.0)
   (:g 64.0)
   (:b 128.0)
   (:a 0.0 64.0)
   (:timer (seconds 0.017))
   (:flags (bit2 bit3 bit14))
   (:rotate-y (degrees -72))))

(defpart 2433
  :init-specs
  ((:texture (p-white effects))
   (:num 1.0)
   (:x (meters -0.1))
   (:y (meters 3.9))
   (:z (meters 2.3))
   (:scale-x (meters 4.1))
   (:rot-x (degrees 105))
   (:rot-y (degrees -80))
   (:scale-y (meters 3))
   (:r 32.0 32.0)
   (:g 64.0)
   (:b 128.0)
   (:a 0.0 64.0)
   (:timer (seconds 0.017))
   (:flags (bit2 bit3 bit14))
   (:rotate-y (degrees -72))))

(defpart 2432
  :init-specs
  ((:texture (p-white effects))
   (:num 1.0)
   (:x (meters 0))
   (:y (meters 3.2897))
   (:z (meters 2.485))
   (:scale-x (meters 3.1))
   (:rot-x (degrees 105))
   (:rot-y (degrees 67))
   (:scale-y (meters 2.9))
   (:r 32.0 32.0)
   (:g 64.0)
   (:b 128.0)
   (:a 0.0 64.0)
   (:timer (seconds 0.017))
   (:flags (bit2 bit3 bit14))
   (:rotate-y (degrees 72))))

(defpart 2431
  :init-specs
  ((:texture (p-white effects))
   (:num 1.0)
   (:x (meters 0))
   (:y (meters 0.8025))
   (:z (meters 2.4))
   (:scale-x (meters 3.1))
   (:rot-x (degrees 75))
   (:rot-y (degrees 67))
   (:scale-y (meters 2.25))
   (:r 32.0 32.0)
   (:g 64.0)
   (:b 128.0)
   (:a 0.0 64.0)
   (:timer (seconds 0.017))
   (:flags (bit2 bit3 bit14))
   (:rotate-y (degrees 72))))

(defpart 2430
  :init-specs
  ((:texture (p-white effects))
   (:num 1.0)
   (:x (meters -0.2))
   (:y (meters 0.8025))
   (:z (meters 2.8))
   (:scale-x (meters 3.1))
   (:rot-x (degrees 75))
   (:rot-y (degrees 10))
   (:scale-y (meters 3))
   (:r 32.0 32.0)
   (:g 64.0)
   (:b 128.0)
   (:a 0.0 64.0)
   (:timer (seconds 0.017))
   (:flags (bit2 bit3 bit14))))

(defpart 2429
  :init-specs
  ((:texture (p-white effects))
   (:num 1.0)
   (:x (meters -0.2))
   (:y (meters 3.7))
   (:z (meters 2.8))
   (:scale-x (meters 3.1))
   (:rot-x (degrees 105))
   (:rot-y (degrees 10))
   (:scale-y (meters 3))
   (:r 32.0 32.0)
   (:g 64.0)
   (:b 128.0)
   (:a 0.0 64.0)
   (:timer (seconds 0.017))
   (:flags (bit2 bit3 bit14))))

(defpart 2438
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.2)
   (:y (meters 0.5) (meters 4))
   (:scale-x (meters 0.4))
   (:scale-y (meters 0.4))
   (:b 0.0)
   (:a 128.0)
   (:timer (seconds 2))
   (:flags (bit2 bit3 bit14))))

(defpart 2428
  :init-specs
  ((:texture (hotdot effects))
   (:num 1.0)
   (:x (meters 0) (meters 16))
   (:y (meters 0))
   (:z (meters 2.2) (meters 0.2))
   (:scale-x (meters 0.6) (meters 0.4))
   (:scale-y :copy scale-x)
   (:r 32.0 32.0)
   (:g 64.0)
   (:b 128.0)
   (:a 0.0)
   (:omega 0.0 65536.0)
   (:vel-x (meters -0.10666667) 4 (meters 0.053333335))
   (:vel-y (meters 0))
   (:vel-z (meters 0))
   (:fade-a 0.8)
   (:accel-z (meters 0))
   (:timer (seconds 2))
   (:flags (bit2 bit3 bit7 bit14))
   (:next-time (seconds 0.4))
   (:next-launcher 2439)))

(defpart 2439
  :init-specs ((:fade-a 0.0) (:next-time (seconds 1.2)) (:next-launcher 2440)))

(defpart 2440
  :init-specs ((:fade-a -0.8)))

(defpart 2437
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.2 0.5)
   (:y (meters 0.5) (meters 4))
   (:scale-x (meters 6) (meters 2.5))
   (:rot-z (degrees 0) 1 (degrees 180))
   (:scale-y (meters 8.4) (meters 0.2))
   (:r 64.0)
   (:g 64.0)
   (:b 128.0)
   (:a 128.0)
   (:fade-a -1.4)
   (:timer (seconds 0.3))
   (:flags (bit2 bit3 bit14))
   (:next-time (seconds 0.035))
   (:next-launcher 146)))

(defpart 2435
  :init-specs
  ((:texture (lightning effects))
   (:num 0.2 1.0)
   (:y (meters 0.5) (meters 4))
   (:scale-x (meters 3) (meters 0.5))
   (:rot-x 4)
   (:rot-z (degrees 0) 1 (degrees 180))
   (:scale-y (meters 0.4) (meters 0.2))
   (:r 64.0)
   (:g 64.0)
   (:b 128.0)
   (:a 128.0)
   (:fade-a -1.4)
   (:timer (seconds 0.3))
   (:flags (bit2 bit3 bit14))
   (:next-time (seconds 0.035))
   (:next-launcher 146)))

(defpart 2436
  :init-specs
  ((:texture (lightning2 effects))
   (:num 0.2 1.0)
   (:y (meters 0.5) (meters 4))
   (:scale-x (meters 3) (meters 0.5))
   (:rot-x 4)
   (:rot-z (degrees 0) 1 (degrees 180))
   (:scale-y (meters 0.4) (meters 0.2))
   (:r 64.0)
   (:g 64.0)
   (:b 128.0)
   (:a 128.0)
   (:fade-a -1.4)
   (:timer (seconds 0.3))
   (:flags (bit2 bit3 bit14))
   (:next-time (seconds 0.035))
   (:next-launcher 146)))

(defpartgroup group-citb-coil-off
  :id 602
  :flags (use-local-clock)
  :bounds (static-bspherem 0 6 0 8)
  :parts
  ((sp-item 2441 :fade-after (meters 120) :falloff-to (meters 120))
   (sp-item 2442 :fade-after (meters 120) :falloff-to (meters 120))))

(defpart 2442
  :init-specs
  ((:texture (bigpuff effects))
   (:num 0.06125)
   (:x (meters 1.5) (meters 0.5))
   (:y (meters 4.5))
   (:scale-x (meters 2.5) (meters 0.5))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 196.0)
   (:g 128.0)
   (:b 128.0)
   (:a 16.0 32.0)
   (:vel-y (meters 0.011666667) (meters 0.0033333334))
   (:scalevel-x (meters 0.0023333333))
   (:rotvel-z (degrees -0.2) (degrees 0.4))
   (:scalevel-y :copy scalevel-x)
   (:fade-r -0.21333334)
   (:fade-g -0.10666667)
   (:fade-b -0.10666667)
   (:fade-a -0.026666667)
   (:accel-y (meters 0.000006666667))
   (:friction 0.99)
   (:timer (seconds 5))
   (:flags (bit2))
   (:next-time (seconds 2))
   (:next-launcher 2443)
   (:conerot-x (degrees 90))
   (:conerot-y (degrees 0) (degrees 360))
   (:rotate-y (degrees 0) (degrees 360))))

(defpart 2443
  :init-specs
  ((:fade-r 0.0)
   (:fade-g 0.0)
   (:fade-b 0.0)
   (:fade-a -0.035555556)
   (:accel-y (meters 0.00016666666) (meters 0.00016666666))))

(defpart 2441
  :init-specs
  ((:texture (bigpuff effects))
   (:num 0.5)
   (:x (meters 1.5) (meters 0.5))
   (:y (meters 0) (meters 3))
   (:scale-x (meters 1.5) (meters 0.5))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 196.0)
   (:g 128.0)
   (:b 128.0)
   (:a 16.0 16.0)
   (:vel-y (meters 0.006666667) (meters 0.01))
   (:scalevel-x (meters 0.006666667))
   (:rotvel-z (degrees -0.2) (degrees 0.4))
   (:scalevel-y :copy scalevel-x)
   (:fade-r -0.18962963)
   (:fade-g -0.094814815)
   (:fade-b -0.094814815)
   (:fade-a -0.047407407)
   (:accel-y (meters -0.000006666667))
   (:friction 0.99)
   (:timer (seconds 2.25))
   (:flags (bit2))
   (:rotate-y (degrees 0) (degrees 360))))

(defpartgroup group-citb-blue-sage-beam
  :id 603
  :flags (use-local-clock)
  :bounds (static-bspherem 0 0 0 34)
  :parts
  ((sp-item 2447 :fade-after (meters 140) :falloff-to (meters 140) :binding 2444)
   (sp-item 2444 :flags (bit1 start-dead launch-asap) :binding 2445)
   (sp-item 2444 :flags (bit1 start-dead launch-asap) :binding 2446)
   (sp-item 2444 :flags (bit1 start-dead launch-asap) :binding 2445)
   (sp-item 2444 :flags (bit1 start-dead launch-asap) :binding 2446)
   (sp-item 2444 :flags (bit1 start-dead launch-asap) :binding 2445)
   (sp-item 2444 :flags (bit1 start-dead launch-asap) :binding 2446)
   (sp-item 2444 :flags (bit1 start-dead launch-asap) :binding 2445)
   (sp-item 2444 :flags (bit1 start-dead launch-asap) :binding 2446)
   (sp-item 2444 :flags (bit1 start-dead launch-asap) :binding 2445)
   (sp-item 2444 :flags (bit1 start-dead launch-asap) :binding 2446)
   (sp-item 2445 :flags (bit1 start-dead))
   (sp-item 2446 :flags (bit1 start-dead))
   (sp-item 2445 :flags (bit1 start-dead))
   (sp-item 2446 :flags (bit1 start-dead))
   (sp-item 2445 :flags (bit1 start-dead))
   (sp-item 2446 :flags (bit1 start-dead))
   (sp-item 2445 :flags (bit1 start-dead))
   (sp-item 2446 :flags (bit1 start-dead))
   (sp-item 2445 :flags (bit1 start-dead))
   (sp-item 2446 :flags (bit1 start-dead))
   (sp-item 2445 :flags (bit1 start-dead))
   (sp-item 2448)
   (sp-item 2449)
   (sp-item 2450)))

(defpartgroup group-citb-blue-sage-beam-impact
  :id 607
  :flags (use-local-clock)
  :bounds (static-bspherem 0 0 0 10)
  :parts ((sp-item 2451 :flags (is-3d))))

(defpart 2451
  :init-specs
  ((:texture (starflash effects))
   (:num 1.0)
   (:scale-x (meters 12) (meters 24))
   (:rot-x (degrees 90))
   (:rot-y (degrees 25.000002) (degrees 20))
   (:rot-z (degrees 180))
   (:scale-y :copy scale-x)
   (:r 0.0)
   (:g 16.0 64.0)
   (:b 128.0 128.0)
   (:a 128.0)
   (:fade-a -5.12)
   (:timer (seconds 0.067))
   (:flags (bit2 bit3 bit14))))

(defpart 2447
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.025)
   (:scale-x (meters 3) (meters 1.5))
   (:scale-y :copy scale-x)
   (:r 0.0)
   (:g 0.0)
   (:b 128.0 128.0)
   (:a 32.0 32.0)
   (:vel-y (meters 0.019444445))
   (:scalevel-x (meters -0.0033333334))
   (:scalevel-y :copy scalevel-x)
   (:timer (seconds 6))
   (:flags (bit2 bit3 bit14))
   (:conerot-x (degrees 102))
   (:conerot-y (degrees -90))
   (:conerot-radius (meters 0) (meters 0.5))))

(defpart 2444
  :init-specs
  ((:texture (hotdot effects))
   (:num 1.0)
   (:x (meters 0) (meters 16))
   (:y (meters 0) (meters 16))
   (:z (meters 1) (meters 0.5))
   (:scale-x (meters 2.2) (meters 0.4))
   (:scale-y :copy scale-x)
   (:r 0.0)
   (:g 0.0)
   (:b 128.0 128.0)
   (:a 128.0)
   (:omega 0.0 65536.0)
   (:vel-x (meters -0.026666667) 1 (meters 0.053333335))
   (:vel-y (meters 0) (meters 0.053333335))
   (:vel-z (meters 0))
   (:accel-z (meters 0))
   (:timer (seconds 6))
   (:flags (bit2 bit3 bit7 bit14))))

(defpart 2445
  :init-specs
  ((:texture (lightning effects))
   (:num 0.2 1.0)
   (:scale-x (meters 0.5) (meters 3.5))
   (:rot-x 4)
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y (meters 0.4) (meters 0.2))
   (:r 64.0)
   (:g 64.0)
   (:b 128.0)
   (:a 128.0)
   (:fade-a -1.0)
   (:timer (seconds 0.3))
   (:flags (bit2 bit3 bit14))
   (:next-time (seconds 0.035))
   (:next-launcher 146)))

(defpart 2446
  :init-specs
  ((:texture (lightning effects))
   (:num 0.2 1.0)
   (:scale-x (meters 0.5) (meters 3.5))
   (:rot-x 4)
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y (meters 0.4) (meters 0.2))
   (:r 64.0)
   (:g 64.0)
   (:b 128.0)
   (:a 128.0)
   (:fade-a -1.0)
   (:timer (seconds 0.3))
   (:flags (bit2 bit3 bit14))
   (:next-time (seconds 0.035))
   (:next-launcher 146)))

(defpart 2448
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.8)
   (:scale-x (meters 2) (meters 0.5))
   (:scale-y (meters 0.6) (meters 0.8))
   (:r 16.0 48.0)
   (:g 16.0 48.0)
   (:b 128.0)
   (:a 128.0)
   (:vel-y (meters 0.11666667))
   (:scalevel-x (meters 0.005))
   (:scalevel-y :copy scalevel-x)
   (:timer (seconds 1))
   (:flags (bit2 bit3 bit14))
   (:conerot-x (degrees 102))
   (:conerot-y (degrees -90))
   (:conerot-radius (meters 0) (meters 0.5))))

(defpart 2450
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.8)
   (:scale-x (meters 3) (meters 1.5))
   (:scale-y :copy scale-x)
   (:r 0.0)
   (:g 0.0)
   (:b 128.0 128.0)
   (:a 32.0 32.0)
   (:vel-y (meters 0.058333334))
   (:scalevel-x (meters 0.0016666667))
   (:scalevel-y :copy scalevel-x)
   (:timer (seconds 2))
   (:flags (bit2 bit3 bit14))
   (:conerot-x (degrees 102))
   (:conerot-y (degrees -90))
   (:conerot-radius (meters 0) (meters 0.5))))

(defpart 2449
  :init-specs
  ((:texture (starflash effects))
   (:num 0.75)
   (:scale-x (meters 2) (meters 4))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 0.0 128.0)
   (:g 0.0 64.0)
   (:b 255.0)
   (:a 128.0)
   (:fade-a -5.12)
   (:timer (seconds 0.067))
   (:flags (bit2 bit3 bit14))))

(defpartgroup group-citb-red-sage-beam
  :id 604
  :flags (use-local-clock)
  :bounds (static-bspherem 0 23 0 34)
  :parts
  ((sp-item 2454 :fade-after (meters 140) :falloff-to (meters 140) :binding 2452)
   (sp-item 2452 :flags (bit1 start-dead launch-asap) :binding 2453)
   (sp-item 2452 :flags (bit1 start-dead launch-asap) :binding 2453)
   (sp-item 2452 :flags (bit1 start-dead launch-asap) :binding 2453)
   (sp-item 2452 :flags (bit1 start-dead launch-asap) :binding 2453)
   (sp-item 2452 :flags (bit1 start-dead launch-asap) :binding 2453)
   (sp-item 2452 :flags (bit1 start-dead launch-asap) :binding 2453)
   (sp-item 2452 :flags (bit1 start-dead launch-asap) :binding 2453)
   (sp-item 2452 :flags (bit1 start-dead launch-asap) :binding 2453)
   (sp-item 2452 :flags (bit1 start-dead launch-asap) :binding 2453)
   (sp-item 2452 :flags (bit1 start-dead launch-asap) :binding 2453)
   (sp-item 2453 :flags (bit1 start-dead))
   (sp-item 2453 :flags (bit1 start-dead))
   (sp-item 2453 :flags (bit1 start-dead))
   (sp-item 2453 :flags (bit1 start-dead))
   (sp-item 2453 :flags (bit1 start-dead))
   (sp-item 2453 :flags (bit1 start-dead))
   (sp-item 2453 :flags (bit1 start-dead))
   (sp-item 2453 :flags (bit1 start-dead))
   (sp-item 2453 :flags (bit1 start-dead))
   (sp-item 2453 :flags (bit1 start-dead))
   (sp-item 2453 :flags (bit1 start-dead))
   (sp-item 2455)
   (sp-item 2456)
   (sp-item 2457)))

(defpartgroup group-citb-red-sage-beam-impact
  :id 608
  :flags (use-local-clock)
  :bounds (static-bspherem 0 0 0 10)
  :parts ((sp-item 2458 :flags (is-3d))))

(defpart 2458
  :init-specs
  ((:texture (starflash effects))
   (:num 1.0)
   (:scale-x (meters 12) (meters 24))
   (:rot-x (degrees 90))
   (:rot-y (degrees -20) (degrees 40))
   (:rot-z (degrees 68))
   (:scale-y :copy scale-x)
   (:r 255.0)
   (:g 0.0 192.0)
   (:b 0.0)
   (:a 128.0)
   (:fade-a -5.12)
   (:timer (seconds 0.067))
   (:flags (bit2 bit3 bit14))))

(defpart 2454
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.05)
   (:scale-x (meters 6) (meters 3))
   (:scale-y :copy scale-x)
   (:r 128.0 128.0)
   (:g 0.0 64.0)
   (:b 0.0)
   (:a 64.0 32.0)
   (:vel-y (meters 0.062222224))
   (:scalevel-x (meters -0.0033333334))
   (:scalevel-y :copy scalevel-x)
   (:timer (seconds 3))
   (:flags (bit2 bit3 bit14))
   (:conerot-x (degrees 100.00001))
   (:conerot-y (degrees -90))))

(defpart 2452
  :init-specs
  ((:texture (hotdot effects))
   (:num 1.0)
   (:x (meters 0) (meters 16))
   (:y (meters 0) (meters 16))
   (:z (meters 1.25) (meters 0.5))
   (:scale-x (meters 1.3) (meters 0.2))
   (:scale-y :copy scale-x)
   (:r 255.0)
   (:g 128.0)
   (:b 0.0)
   (:a 127.0)
   (:omega 0.0 65536.0)
   (:vel-x (meters -0.026666667) 1 (meters 0.053333335))
   (:vel-y (meters 0) (meters 0.053333335))
   (:vel-z (meters 0))
   (:accel-z (meters 0))
   (:timer (seconds 3))
   (:flags (bit2 bit3 bit7 bit14))))

(defpart 2453
  :init-specs
  ((:texture (bigpuff effects))
   (:num 1.0)
   (:scale-x (meters 1) (meters 0.5))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 100.0 28.0)
   (:g 64.0 64.0)
   (:b 0.0)
   (:a 64.0 32.0)
   (:vel-y (meters 0.0033333334) (meters 0.006666667))
   (:scalevel-x (meters -0.005555555))
   (:rotvel-z (degrees -1.2) (degrees 2.4))
   (:scalevel-y :copy scalevel-x)
   (:fade-g -2.0)
   (:fade-a -0.22857143)
   (:accel-y (meters 0.000100000005) (meters 0.00015))
   (:timer (seconds 0.14))
   (:flags (bit2 bit3 bit14))
   (:next-time (seconds 0.8))
   (:next-launcher 171)))

(defpart 2455
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.75)
   (:scale-x (meters 6) (meters 1))
   (:scale-y (meters 1.5) (meters 0.75))
   (:r 128.0 128.0)
   (:g 16.0 32.0)
   (:b 0.0)
   (:a 128.0)
   (:vel-y (meters 0.18666667))
   (:scalevel-x (meters 0.005))
   (:scalevel-y :copy scalevel-x)
   (:timer (seconds 1))
   (:flags (bit2 bit3 bit14))
   (:conerot-x (degrees 100.00001))
   (:conerot-y (degrees -90))
   (:conerot-radius (meters 0) (meters 0.5))))

(defpart 2457
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.4)
   (:scale-x (meters 6) (meters 3))
   (:scale-y :copy scale-x)
   (:r 128.0 128.0)
   (:g 0.0 64.0)
   (:b 0.0)
   (:a 32.0 32.0)
   (:vel-y (meters 0.093333334))
   (:scalevel-x (meters -0.0033333334))
   (:scalevel-y :copy scalevel-x)
   (:timer (seconds 2))
   (:flags (bit2 bit3 bit14))
   (:conerot-x (degrees 100.00001))
   (:conerot-y (degrees -90))))

(defpart 2456
  :init-specs
  ((:texture (starflash effects))
   (:num 1.0)
   (:scale-x (meters 2) (meters 4))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 255.0)
   (:g 0.0 192.0)
   (:b 0.0)
   (:a 128.0)
   (:fade-a -5.12)
   (:timer (seconds 0.067))
   (:flags (bit2 bit3 bit14))))

(defpartgroup group-citb-yellow-sage-beam
  :id 605
  :flags (use-local-clock)
  :bounds (static-bspherem 0 0 0 34)
  :parts
  ((sp-item 2461 :fade-after (meters 140) :falloff-to (meters 140) :binding 2459)
   (sp-item 2459 :flags (bit1 start-dead launch-asap) :binding 2460)
   (sp-item 2459 :flags (bit1 start-dead launch-asap) :binding 2460)
   (sp-item 2459 :flags (bit1 start-dead launch-asap) :binding 2460)
   (sp-item 2459 :flags (bit1 start-dead launch-asap) :binding 2460)
   (sp-item 2459 :flags (bit1 start-dead launch-asap) :binding 2460)
   (sp-item 2459 :flags (bit1 start-dead launch-asap) :binding 2460)
   (sp-item 2459 :flags (bit1 start-dead launch-asap) :binding 2460)
   (sp-item 2459 :flags (bit1 start-dead launch-asap) :binding 2460)
   (sp-item 2459 :flags (bit1 start-dead launch-asap) :binding 2460)
   (sp-item 2459 :flags (bit1 start-dead launch-asap) :binding 2460)
   (sp-item 2459 :flags (bit1 start-dead launch-asap) :binding 2460)
   (sp-item 2459 :flags (bit1 start-dead launch-asap) :binding 2460)
   (sp-item 2460 :flags (bit1 start-dead))
   (sp-item 2460 :flags (bit1 start-dead))
   (sp-item 2460 :flags (bit1 start-dead))
   (sp-item 2460 :flags (bit1 start-dead))
   (sp-item 2460 :flags (bit1 start-dead))
   (sp-item 2460 :flags (bit1 start-dead))
   (sp-item 2460 :flags (bit1 start-dead))
   (sp-item 2460 :flags (bit1 start-dead))
   (sp-item 2460 :flags (bit1 start-dead))
   (sp-item 2460 :flags (bit1 start-dead))
   (sp-item 2460 :flags (bit1 start-dead))
   (sp-item 2460 :flags (bit1 start-dead))
   (sp-item 2460 :flags (bit1 start-dead))
   (sp-item 2462)
   (sp-item 2463)
   (sp-item 2464)))

(defpartgroup group-citb-yellow-sage-beam-impact
  :id 609
  :flags (use-local-clock)
  :bounds (static-bspherem 0 0 0 10)
  :parts ((sp-item 2465 :flags (is-3d))))

(defpart 2465
  :init-specs
  ((:texture (starflash effects))
   (:num 1.0)
   (:scale-x (meters 12) (meters 24))
   (:rot-x (degrees 90))
   (:rot-y (degrees -20) (degrees 40))
   (:rot-z (degrees 115))
   (:scale-y :copy scale-x)
   (:r 100.0 28.0)
   (:g 64.0 64.0)
   (:b 0.0)
   (:a 128.0)
   (:fade-a -5.12)
   (:timer (seconds 0.067))
   (:flags (bit2 bit3 bit14))))

(defpart 2461
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.025)
   (:scale-x (meters 3) (meters 1.5))
   (:scale-y :copy scale-x)
   (:r 100.0 28.0)
   (:g 64.0 64.0)
   (:b 0.0)
   (:a 32.0 32.0)
   (:vel-y (meters 0.031111112))
   (:scalevel-x (meters -0.0033333334))
   (:scalevel-y :copy scalevel-x)
   (:timer (seconds 6))
   (:flags (bit2 bit3 bit14))
   (:conerot-x (degrees 85))
   (:conerot-y (degrees -90))
   (:conerot-radius (meters 0) (meters 0.5))))

(defpart 2459
  :init-specs
  ((:texture (hotdot effects))
   (:num 1.0)
   (:x (meters 0) (meters 16))
   (:y (meters 0) (meters 16))
   (:z (meters 1.25) (meters 0.5))
   (:scale-x (meters 1.2) (meters 0.4))
   (:scale-y :copy scale-x)
   (:r 100.0 28.0)
   (:g 64.0 64.0)
   (:b 0.0)
   (:a 96.0)
   (:omega 0.0 65536.0)
   (:vel-x (meters -0.026666667) 1 (meters 0.053333335))
   (:vel-y (meters 0) (meters 0.053333335))
   (:vel-z (meters 0))
   (:accel-z (meters 0))
   (:timer (seconds 6))
   (:flags (bit2 bit3 bit7 bit14))))

(defpart 2460
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.1 1.0)
   (:scale-x (meters 1) (meters 0.4))
   (:scale-y :copy scale-x)
   (:r 100.0 28.0)
   (:g 64.0 64.0)
   (:b 0.0)
   (:a 32.0 32.0)
   (:scalevel-x (meters -0.005))
   (:scalevel-y :copy scalevel-x)
   (:fade-g -0.4)
   (:fade-a -0.17777778)
   (:accel-y (meters -0.000100000005) (meters -0.00015))
   (:timer (seconds 0.1) (seconds 0.997))
   (:flags (bit2 bit3 bit14))))

(defpart 2462
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.8)
   (:scale-x (meters 2) (meters 0.5))
   (:scale-y (meters 0.6) (meters 0.8))
   (:r 100.0 28.0)
   (:g 64.0 64.0)
   (:b 0.0)
   (:a 128.0)
   (:vel-y (meters 0.18666667))
   (:scalevel-x (meters 0.005))
   (:scalevel-y :copy scalevel-x)
   (:timer (seconds 1))
   (:flags (bit2 bit3 bit14))
   (:conerot-x (degrees 85))
   (:conerot-y (degrees -90))
   (:conerot-radius (meters 0) (meters 0.5))))

(defpart 2464
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.75)
   (:scale-x (meters 3) (meters 1.5))
   (:scale-y :copy scale-x)
   (:r 100.0 28.0)
   (:g 64.0 64.0)
   (:b 0.0)
   (:a 32.0 32.0)
   (:vel-y (meters 0.093333334))
   (:scalevel-x (meters -0.0033333334))
   (:scalevel-y :copy scalevel-x)
   (:timer (seconds 2))
   (:flags (bit2 bit3 bit14))
   (:conerot-x (degrees 85))
   (:conerot-y (degrees -90))
   (:conerot-radius (meters 0) (meters 0.5))))

(defpart 2463
  :init-specs
  ((:texture (starflash effects))
   (:num 1.0)
   (:scale-x (meters 2) (meters 4))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 100.0 28.0)
   (:g 64.0 64.0)
   (:b 0.0)
   (:a 128.0)
   (:fade-a -5.12)
   (:timer (seconds 0.067))
   (:flags (bit2 bit3 bit14))))

(defpartgroup group-citb-green-sage-beam
  :id 606
  :flags (use-local-clock)
  :bounds (static-bspherem 0 0 0 34)
  :parts
  ((sp-item 2468 :binding 2466)
   (sp-item 2466 :flags (bit1 start-dead launch-asap) :binding 2467)
   (sp-item 2466 :flags (bit1 start-dead launch-asap) :binding 2467)
   (sp-item 2466 :flags (bit1 start-dead launch-asap) :binding 2467)
   (sp-item 2466 :flags (bit1 start-dead launch-asap) :binding 2467)
   (sp-item 2466 :flags (bit1 start-dead launch-asap) :binding 2467)
   (sp-item 2466 :flags (bit1 start-dead launch-asap) :binding 2467)
   (sp-item 2466 :flags (bit1 start-dead launch-asap) :binding 2467)
   (sp-item 2466 :flags (bit1 start-dead launch-asap) :binding 2467)
   (sp-item 2466 :flags (bit1 start-dead launch-asap) :binding 2467)
   (sp-item 2466 :flags (bit1 start-dead launch-asap) :binding 2467)
   (sp-item 2466 :flags (bit1 start-dead launch-asap) :binding 2467)
   (sp-item 2466 :flags (bit1 start-dead launch-asap) :binding 2467)
   (sp-item 2467 :flags (bit1 start-dead))
   (sp-item 2467 :flags (bit1 start-dead))
   (sp-item 2467 :flags (bit1 start-dead))
   (sp-item 2467 :flags (bit1 start-dead))
   (sp-item 2467 :flags (bit1 start-dead))
   (sp-item 2467 :flags (bit1 start-dead))
   (sp-item 2467 :flags (bit1 start-dead))
   (sp-item 2467 :flags (bit1 start-dead))
   (sp-item 2467 :flags (bit1 start-dead))
   (sp-item 2467 :flags (bit1 start-dead))
   (sp-item 2467 :flags (bit1 start-dead))
   (sp-item 2467 :flags (bit1 start-dead))
   (sp-item 2467 :flags (bit1 start-dead))
   (sp-item 2469)
   (sp-item 2470)
   (sp-item 2471)))

(defpartgroup group-citb-green-sage-beam-impact
  :id 610
  :flags (use-local-clock)
  :bounds (static-bspherem 0 0 0 10)
  :parts ((sp-item 2472 :flags (is-3d))))

(defpart 2472
  :init-specs
  ((:texture (starflash effects))
   (:num 1.0)
   (:scale-x (meters 12) (meters 24))
   (:rot-x (degrees 90))
   (:rot-y (degrees -20) (degrees 40))
   (:rot-z (degrees 180))
   (:scale-y :copy scale-x)
   (:r 0.0)
   (:g 128.0 128.0)
   (:b 0.0)
   (:a 128.0)
   (:fade-a -5.12)
   (:timer (seconds 0.067))
   (:flags (bit2 bit3 bit14))))

(defpart 2468
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.025)
   (:scale-x (meters 3) (meters 1.5))
   (:scale-y :copy scale-x)
   (:r 0.0)
   (:g 128.0 128.0)
   (:b 0.0)
   (:a 32.0 32.0)
   (:vel-y (meters 0.027777778))
   (:scalevel-x (meters -0.0033333334))
   (:scalevel-y :copy scalevel-x)
   (:timer (seconds 3))
   (:flags (bit2 bit3 bit14))
   (:conerot-x (degrees 100.00001))
   (:conerot-y (degrees -90))
   (:conerot-radius (meters 0) (meters 0.5))))

(defpart 2466
  :init-specs
  ((:texture (hotdot effects))
   (:num 1.0)
   (:x (meters 0) (meters 16))
   (:y (meters 0) (meters 16))
   (:z (meters 1.25) (meters 0.5))
   (:scale-x (meters 1.2) (meters 0.4))
   (:scale-y :copy scale-x)
   (:r 0.0)
   (:g 128.0 128.0)
   (:b 0.0)
   (:a 96.0)
   (:omega 0.0 65536.0)
   (:vel-x (meters -0.026666667) 1 (meters 0.053333335))
   (:vel-y (meters 0) (meters 0.053333335))
   (:vel-z (meters 0))
   (:accel-z (meters 0))
   (:timer (seconds 6))
   (:flags (bit2 bit7 bit14))))

(defpart 2467
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.1 1.0)
   (:scale-x (meters 1) (meters 0.4))
   (:scale-y :copy scale-x)
   (:r 0.0)
   (:g 128.0 128.0)
   (:b 0.0)
   (:a 32.0 32.0)
   (:scalevel-x (meters -0.005))
   (:scalevel-y :copy scalevel-x)
   (:fade-a -0.17777778)
   (:accel-y (meters -0.000100000005) (meters -0.00015))
   (:timer (seconds 0.1) (seconds 0.997))
   (:flags (bit2 bit14))))

(defpart 2469
  :init-specs
  ((:texture (hotdot effects))
   (:num 1.0)
   (:scale-x (meters 2) (meters 0.5))
   (:scale-y (meters 0.6) (meters 0.8))
   (:r 32.0 32.0)
   (:g 128.0 128.0)
   (:b 0.0)
   (:a 128.0)
   (:vel-y (meters 0.16666667))
   (:scalevel-x (meters 0.005))
   (:scalevel-y :copy scalevel-x)
   (:timer (seconds 0.5))
   (:flags (bit2 bit3 bit14))
   (:conerot-x (degrees 100.00001))
   (:conerot-y (degrees -90))
   (:conerot-radius (meters 0) (meters 0.5))))

(defpart 2471
  :init-specs
  ((:texture (hotdot effects))
   (:num 1.0)
   (:scale-x (meters 3) (meters 1.5))
   (:scale-y :copy scale-x)
   (:r 0.0)
   (:g 128.0 128.0)
   (:b 0.0)
   (:a 32.0 32.0)
   (:vel-y (meters 0.083333336))
   (:scalevel-x (meters -0.0033333334))
   (:scalevel-y :copy scalevel-x)
   (:timer (seconds 1))
   (:flags (bit2 bit14))
   (:conerot-x (degrees 100.00001))
   (:conerot-y (degrees -90))
   (:conerot-radius (meters 0) (meters 0.5))))

(defpart 2470
  :init-specs
  ((:texture (starflash effects))
   (:num 1.0)
   (:scale-x (meters 2) (meters 4))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 0.0)
   (:g 128.0 128.0)
   (:b 0.0)
   (:a 128.0)
   (:fade-a -5.12)
   (:timer (seconds 0.067))
   (:flags (bit2 bit3 bit14))))

(defpart 2473
  :init-specs
  ((:texture (citadel-shield effects))
   (:birth-func 'birth-func-set-quat)
   (:num 1.0 1.0)
   (:scale-x (meters 0.4) (meters 0.25))
   (:scale-y (meters 5.6))
   (:r 24.0 32.0)
   (:g 0.0)
   (:b 96.0 128.0)
   (:a 128.0)
   (:timer (seconds 0.017))
   (:flags (bit2 bit3 bit14 left-multiply-quat))))

(defpartgroup group-citadel-warpgate
  :id 662
  :bounds (static-bspherem 0 0 0 8)
  :parts
  ((sp-item 2689 :fade-after (meters 60) :falloff-to (meters 60))
   (sp-item 2690 :fade-after (meters 60) :falloff-to (meters 100) :binding 2687)
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2687 :flags (bit1 start-dead launch-asap))
   (sp-item 2691 :fade-after (meters 60) :falloff-to (meters 100) :binding 2688)
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2688 :flags (bit1 start-dead launch-asap))
   (sp-item 2692 :fade-after (meters 100) :flags (is-3d))))

(defpart 2692
  :init-specs
  ((:texture (harddot effects))
   (:num 0.5)
   (:x (meters 0))
   (:scale-x (meters 5))
   (:rot-x (degrees 90))
   (:rot-z (degrees 82))
   (:scale-y :copy scale-x)
   (:r 0.0 32.0)
   (:g 255.0 32.0)
   (:b 64.0 64.0)
   (:a 0.0 64.0)
   (:timer (seconds 0.035))
   (:flags (bit3 bit14))))

(defpart 2691
  :init-specs
  ((:texture (hotdot effects))
   (:num 0.25)
   (:x (meters -2))
   (:scale-x (meters 0.25))
   (:scale-y :copy scale-x)
   (:g 128.0)
   (:a 0.0)
   (:vel-x (meters 0.0033333334))
   (:timer (seconds 2))
   (:flags (bit3 bit14))
   (:rotate-y (degrees -35))))

(defpart 2688
  :init-specs
  ((:texture (middot effects))
   (:num 1.0)
   (:x (meters 4.3555555))
   (:y (meters 4))
   (:z (meters 5.4) (meters 1))
   (:scale-x (meters 0.2) (meters 0.1))
   (:scale-y :copy scale-x)
   (:r 0.0 32.0)
   (:g 0.0 32.0)
   (:b 64.0 196.0)
   (:a 0.0)
   (:omega 0.0 65536.0)
   (:vel-x (meters 0))
   (:vel-z (meters 0))
   (:fade-a 0.16)
   (:accel-x (meters 0.0002962963))
   (:accel-z (meters -0.00018333334))
   (:timer (seconds 2))
   (:flags (bit2 bit3 bit7 bit14))))

(defpart 2689
  :init-specs
  ((:num 3.0 3.0)
   (:x (meters -0.5))
   (:rot-x 5)
   (:r 4096.0)
   (:g 3481.6)
   (:b 3481.6)
   (:vel-y (meters -0.026666667) (meters -0.02))
   (:fade-b 2.968116)
   (:timer (seconds 0.23))
   (:flags (aux-list))
   (:conerot-x (degrees 0) (degrees 360))
   (:conerot-radius (meters 4) (meters 3))
   (:rotate-y (degrees 6.0000005))))

(defpart 2690
  :init-specs
  ((:texture (hotdot effects))
   (:num 1.0)
   (:scale-x (meters 0.25))
   (:scale-y :copy scale-x)
   (:g 128.0)
   (:a 0.0)
   (:accel-x (meters 0.000016666667))
   (:timer (seconds 2.3))
   (:flags (bit3 bit14))
   (:rotate-y (degrees 0))))

(defpart 2687
  :init-specs
  ((:texture (bigpuff effects))
   (:num 1.0)
   (:x (meters 4.3555555))
   (:y (meters 4))
   (:z (meters 2.2))
   (:scale-x (meters 1.1) (meters 0.6))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 0.0 32.0)
   (:g 0.0 32.0)
   (:b 64.0 64.0)
   (:a 8.0 32.0)
   (:omega 0.0 65536.0)
   (:vel-x (meters -0.0044444446))
   (:vel-z (meters -0.0033333334))
   (:rotvel-z (degrees 0) (degrees 1.2))
   (:fade-a 0.21333334)
   (:accel-x (meters 0.0010370371))
   (:timer (seconds 2.3))
   (:flags (bit2 bit3 bit7 bit14))))

(defpartgroup group-part-citadel-torch
  :id 683
  :bounds (static-bspherem 0 3 0 4)
  :parts
  ((sp-item 2832 :fade-after (meters 180) :falloff-to (meters 200))
   (sp-item 2833 :fade-after (meters 120) :falloff-to (meters 120))
   (sp-item 2834 :fade-after (meters 50) :falloff-to (meters 50) :period (seconds 2) :length (seconds 0.3))
   (sp-item 2835 :fade-after (meters 50) :falloff-to (meters 50) :period (seconds 1.23) :length (seconds 0.23))
   (sp-item 2836 :fade-after (meters 40) :falloff-to (meters 40) :period (seconds 2.367) :length (seconds 0.17))
   (sp-item 2837 :fade-after (meters 50) :falloff-to (meters 50))))

(defpart 2837
  :init-specs
  ((:num 0.3)
   (:x (meters 0.2))
   (:y (meters 1) (meters 1))
   (:rot-x 5)
   (:r 4096.0)
   (:g 2867.2)
   (:b 3276.8)
   (:vel-x (meters 0) (meters 0.006666667))
   (:vel-y (meters 0.026666667))
   (:timer (seconds 0.6))
   (:flags (aux-list))
   (:next-time (seconds 0.4))
   (:next-launcher 2838)
   (:rotate-y (degrees 0) (degrees 360))))

(defpart 2838
  :init-specs ((:fade-b -6.826667)))

(defpart 2832
  :init-specs
  ((:texture (bigpuff effects))
   (:num 1.5 1 1.0)
   (:x (meters -0.35) (meters 0.7))
   (:z (meters -0.35) (meters 0.7))
   (:scale-x (meters 0.6) (meters 0.3))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 128.0 128.0)
   (:g 0.0 60.0)
   (:a 0.0)
   (:vel-y (meters 0.016666668) (meters 0.013333334))
   (:rotvel-z (degrees -0.1) (degrees 0.2))
   (:fade-a 13.066667)
   (:accel-y (meters -0.0002))
   (:timer (seconds 0.25))
   (:flags (bit2 bit3 bit14))
   (:next-time (seconds 0.05))
   (:next-launcher 2839)))

(defpart 2839
  :init-specs ((:fade-a -1.3333334)))

(defpart 2834
  :init-specs
  ((:texture (bigpuff effects))
   (:num 1.5)
   (:x (meters -0.4) (meters 0.8))
   (:y (meters 1))
   (:z (meters -0.4) (meters 0.8))
   (:scale-x (meters 0.6) (meters 0.3))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 128.0 128.0)
   (:g 0.0 60.0)
   (:a 0.0)
   (:vel-y (meters 0.02) (meters 0.006666667))
   (:rotvel-z (degrees -0.1) (degrees 0.2))
   (:fade-a 13.066667)
   (:accel-y (meters -0.0002))
   (:timer (seconds 0.35))
   (:flags (bit2 bit3 bit14))
   (:next-time (seconds 0.05))
   (:next-launcher 2839)))

(defpart 2835
  :init-specs
  ((:texture (bigpuff effects))
   (:num 1.5)
   (:x (meters -0.2) (meters 0.6))
   (:y (meters 0.5))
   (:z (meters 0) (meters 0.4))
   (:scale-x (meters 0.6) (meters 0.3))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 128.0 128.0)
   (:g 0.0 60.0)
   (:a 0.0)
   (:vel-y (meters 0.018333333) (meters 0.0033333334))
   (:rotvel-z (degrees -0.1) (degrees 0.2))
   (:fade-a 13.066667)
   (:accel-y (meters -0.0002))
   (:timer (seconds 0.35))
   (:flags (bit2 bit3 bit14))
   (:next-time (seconds 0.05))
   (:next-launcher 2839)))

(defpart 2836
  :init-specs
  ((:texture (bigpuff effects))
   (:num 2.0)
   (:x (meters 0) (meters 0.2))
   (:y (meters 0.6))
   (:z (meters -0.6) (meters 0.6))
   (:scale-x (meters 0.7) (meters 0.4))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 128.0 128.0)
   (:g 0.0 60.0)
   (:a 0.0)
   (:vel-y (meters 0.018333333) (meters 0.005))
   (:rotvel-z (degrees -0.1) (degrees 0.2))
   (:fade-a 13.066667)
   (:accel-y (meters -0.0002))
   (:timer (seconds 0.35))
   (:flags (bit2 bit3 bit14))
   (:next-time (seconds 0.05))
   (:next-launcher 2839)))

(defpart 2833
  :init-specs
  ((:texture (bigpuff effects))
   (:num 0.4)
   (:x (meters -0.5) (meters 1))
   (:y (meters 0.3))
   (:z (meters -0.5) (meters 1))
   (:scale-x (meters 1) (meters 0.5))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 128.0)
   (:g 96.0)
   (:b 96.0)
   (:a 16.0 32.0)
   (:vel-y (meters 0.01))
   (:scalevel-x (meters 0.0005))
   (:rotvel-z (degrees -0.26666668) 1 (degrees 0.53333336))
   (:scalevel-y :copy scalevel-x)
   (:fade-r -0.10666667)
   (:fade-g -0.053333335)
   (:fade-b -0.053333335)
   (:fade-a -0.08)
   (:accel-x (meters 0.00006666667))
   (:accel-y (meters 0.000033333334))
   (:friction 0.9975)
   (:timer (seconds 2))
   (:flags (bit2 bit14))
   (:conerot-x (degrees 0) (degrees 5))
   (:conerot-y (degrees 0) (degrees 360))))
