;;-*-Lisp-*-
(in-package goal)

;; name: ctywide-part.gc
;; name in dgo: ctywide-part
;; dgos: CWI

(define-extern *range-color-gas-flame* curve-color-fast)
(define-extern *range-alpha-gas-flame* curve2d-fast)
(define-extern *range-scale-gas-flame-x* curve2d-fast)
(define-extern *range-scale-gas-flame-y* curve2d-fast)
(define-extern *r-curve-gas-flame* curve2d-fast)
(define-extern *g-curve-gas-flame* curve2d-fast)
(define-extern *b-curve-gas-flame* curve2d-fast)
(define-extern *curve-alpha-gas-flame* curve2d-fast)
(define-extern *curve-gas-flame-x* curve2d-fast)
(define-extern *curve-gas-flame-y* curve2d-fast)
(define-extern *range-kgpickup-dust-color* curve-color-fast)
(define-extern *range-kgpickup-dust-alpha* curve2d-fast)
(define-extern *range-kgpickup-dust-scale-x* curve2d-fast)
(define-extern *range-kgpickup-dust-scale-y* curve2d-fast)
(define-extern *curve-kgpickup-dust-alpha* curve2d-fast)
(define-extern *curve-kgpickup-dust-scale-x* curve2d-fast)
(define-extern *curve-kgpickup-dust-scale-y* curve2d-fast)
(define-extern *range-kgpickup-color* curve-color-fast)
(define-extern *range-kgpickup-alpha* curve2d-fast)
(define-extern *range-kgpickup-scale-x* curve2d-fast)
(define-extern *range-kgpickup-scale-y* curve2d-fast)
(define-extern *curve-kgpickup-alpha* curve2d-fast)
(define-extern *curve-kgpickup-scale-x* curve2d-fast)
(define-extern *curve-kgpickup-scale-y* curve2d-fast)

;; DECOMP BEGINS

(defpartgroup group-ctywide-stadium-light
  :id 258
  :bounds (static-bspherem 0 0 0 64)
  :parts ((sp-item 1165 :flags (sp6) :hour-mask #b111111111110000000)
    (sp-item 1166 :flags (sp6) :hour-mask #b111111111110000000)
    )
  )

(defpart 1165
  :init-specs ((:texture (glow level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 48.5) (meters 0.1))
    (:rot-x (degrees 45))
    (:rot-z (degrees -17))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 255.0)
    (:b 255.0)
    (:a 32.0)
    (:omega (degrees 45018))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 0.0)
    )
  )

(defpart 1166
  :init-specs ((:texture (glow level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 96) (meters 0.1))
    (:rot-x (degrees 78.75))
    (:rot-z (degrees -17))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 255.0 255.0)
    (:b 255.0)
    (:a 8.0)
    (:omega (degrees 45018))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 0.0)
    )
  )

(defpartgroup group-ctywide-baron-propoganda-holo
  :id 259
  :flags (sp4)
  :bounds (static-bspherem 0 0 0 12)
  :parts ((sp-item 1173 :flags (is-3d sp6 sp7))
    (sp-item 1174 :fade-after (meters 150) :flags (sp6 sp7))
    (sp-item 1175 :binding 1167)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1168)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1169)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1170)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1171)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1172)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1168)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1169)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1170)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1171)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1172)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1168)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1169)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1170)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1171)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1172)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1168)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1169)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1170)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1171)
    (sp-item 1167 :flags (sp1 sp2 sp3) :binding 1172)
    (sp-item 1168 :flags (is-3d sp1 sp2))
    (sp-item 1169 :flags (is-3d sp1 sp2))
    (sp-item 1170 :flags (is-3d sp1 sp2))
    (sp-item 1171 :flags (is-3d sp1 sp2))
    (sp-item 1172 :flags (is-3d sp1 sp2))
    (sp-item 1168 :flags (is-3d sp1 sp2))
    (sp-item 1169 :flags (is-3d sp1 sp2))
    (sp-item 1170 :flags (is-3d sp1 sp2))
    (sp-item 1171 :flags (is-3d sp1 sp2))
    (sp-item 1172 :flags (is-3d sp1 sp2))
    (sp-item 1168 :flags (is-3d sp1 sp2))
    (sp-item 1169 :flags (is-3d sp1 sp2))
    (sp-item 1170 :flags (is-3d sp1 sp2))
    (sp-item 1171 :flags (is-3d sp1 sp2))
    (sp-item 1172 :flags (is-3d sp1 sp2))
    (sp-item 1168 :flags (is-3d sp1 sp2))
    (sp-item 1169 :flags (is-3d sp1 sp2))
    (sp-item 1170 :flags (is-3d sp1 sp2))
    (sp-item 1171 :flags (is-3d sp1 sp2))
    (sp-item 1172 :flags (is-3d sp1 sp2))
    (sp-item 1176 :flags (is-3d sp6 sp7))
    (sp-item 1177 :fade-after (meters 150) :flags (sp6))
    )
  )

(defpart 1177
  :init-specs ((:texture (glow level-default-sprite))
    (:num 0.9 0.1)
    (:y (meters 3.1))
    (:scale-x (meters 2) (meters 1))
    (:rot-x (degrees 2.25))
    (:rot-z (degrees 17) (degrees 8))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 128.0 1 128.0)
    (:b 0.0 128.0)
    (:a 16.0 16.0)
    (:omega (degrees 3386.25))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 sp-cpuinfo-flag-14 glow))
    (:userdata 2048.0)
    )
  )

(defun birth-func-ctywide-baron-propoganda-ticker-rotate ((arg0 sparticle-system)
                                                 (arg1 sparticle-cpuinfo)
                                                 (arg2 sprite-vec-data-3d)
                                                 (arg3 sparticle-launcher)
                                                 (arg4 sparticle-launch-state)
                                                 )
  (local-vars (v1-6 float) (v1-7 float))
  (rlet ((vf0 :class vf)
         (vf1 :class vf)
         (vf2 :class vf)
         )
    (init-vf0-vector)
    (let ((s5-0 (-> arg4 sprite)))
      (let ((s4-0 (new 'stack-no-clear 'quaternion)))
        (let* ((v1-0 arg2)
               (f0-0 (-> v1-0 qx-qy-qz-sy x))
               (f1-0 (-> v1-0 qx-qy-qz-sy y))
               (f2-0 (-> v1-0 qx-qy-qz-sy z))
               )
          (set! (-> s4-0 x) f0-0)
          (set! (-> s4-0 y) f1-0)
          (set! (-> s4-0 z) f2-0)
          (set! (-> s4-0 w) (sqrtf (- (- (- 1.0 (* f2-0 f2-0)) (* f1-0 f1-0)) (* f0-0 f0-0))))
          )
        (quaternion-rotate-y! s4-0 s4-0 (+ 8192.0 (-> s5-0 sprite flag-rot-sy z)))
        (let ((v1-5 arg2))
          (cond
            ((< (-> s4-0 w) 0.0)
             (.lvf vf1 (&-> v1-5 qx-qy-qz-sy quad))
             (.lvf vf2 (&-> s4-0 quad))
             (.sub.vf.xyz vf1 vf0 vf2)
             (.svf (&-> v1-5 qx-qy-qz-sy quad) vf1)
             (.mov v1-6 vf1)
             )
            (else
              (.lvf vf1 (&-> v1-5 qx-qy-qz-sy quad))
              (.lvf vf2 (&-> s4-0 quad))
              (.add.vf.xyz vf1 vf0 vf2)
              (.svf (&-> v1-5 qx-qy-qz-sy quad) vf1)
              (.mov v1-7 vf1)
              )
            )
          )
        )
      (set! (-> arg2 r-g-b-a w) (-> s5-0 sprite r-g-b-a w))
      )
    0
    (none)
    )
  )

(defpart 1175
  :init-specs ((:texture (hotdot level-default-sprite))
    (:num 0.1)
    (:y (meters 5))
    (:scale-x (meters 0.1))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 0.0)
    (:b 0.0)
    (:a 128.0)
    (:timer (seconds 2))
    (:flags (sp-cpuinfo-flag-3 sp-cpuinfo-flag-14))
    )
  )

(defpart 1167
  :init-specs ((:texture (glow-soft level-default-sprite))
    (:num 1.0)
    (:x (meters 0))
    (:y (meters 0))
    (:z (meters 2))
    (:scale-x (meters 2))
    (:scale-y :copy scale-x)
    (:r 32.0)
    (:g 32.0)
    (:b 96.0)
    (:a 0.0)
    (:omega (degrees 45))
    (:vel-x (meters 0.02))
    (:vel-y (meters 0))
    (:vel-z (meters 0))
    (:rotvel-z (degrees 0.45))
    (:fade-a 0.8)
    (:timer (seconds 2))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 ready-to-launch sp-cpuinfo-flag-14))
    (:next-time (seconds 0.267))
    (:next-launcher 1178)
    )
  )

(defpart 1178
  :init-specs ((:a 64.0) (:fade-a 0.0) (:next-time (seconds 1.467)) (:next-launcher 1179))
  )

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

(defpart 1168
  :init-specs ((:texture (ticker-a ctywide-sprite))
    (:birth-func 'birth-func-ctywide-baron-propoganda-ticker-rotate)
    (:num 1.0)
    (:y (meters 0))
    (:scale-x (meters 0.65))
    (:rot-x (degrees 90))
    (:scale-y :copy scale-x)
    (:r 64.0)
    (:g 64.0)
    (:b 64.0)
    (:a 128.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 sp-cpuinfo-flag-14))
    )
  )

(defpart 1169
  :init-specs ((:texture (ticker-b ctywide-sprite))
    (:birth-func 'birth-func-ctywide-baron-propoganda-ticker-rotate)
    (:num 1.0)
    (:y (meters 0))
    (:scale-x (meters 0.65))
    (:rot-x (degrees 90))
    (:scale-y :copy scale-x)
    (:r 64.0)
    (:g 64.0)
    (:b 64.0)
    (:a 128.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 sp-cpuinfo-flag-14))
    )
  )

(defpart 1170
  :init-specs ((:texture (ticker-c ctywide-sprite))
    (:birth-func 'birth-func-ctywide-baron-propoganda-ticker-rotate)
    (:num 1.0)
    (:y (meters 0))
    (:scale-x (meters 0.65))
    (:rot-x (degrees 90))
    (:scale-y :copy scale-x)
    (:r 64.0)
    (:g 64.0)
    (:b 64.0)
    (:a 128.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 sp-cpuinfo-flag-14))
    )
  )

(defpart 1171
  :init-specs ((:texture (ticker-d ctywide-sprite))
    (:birth-func 'birth-func-ctywide-baron-propoganda-ticker-rotate)
    (:num 1.0)
    (:y (meters 0))
    (:scale-x (meters 0.65))
    (:rot-x (degrees 90))
    (:scale-y :copy scale-x)
    (:r 64.0)
    (:g 64.0)
    (:b 64.0)
    (:a 128.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 sp-cpuinfo-flag-14))
    )
  )

(defpart 1172
  :init-specs ((:texture (ticker-e ctywide-sprite))
    (:birth-func 'birth-func-ctywide-baron-propoganda-ticker-rotate)
    (:num 1.0)
    (:y (meters 0))
    (:scale-x (meters 0.65))
    (:rot-x (degrees 90))
    (:scale-y :copy scale-x)
    (:r 0.0)
    (:g 0.0)
    (:b 0.0)
    (:a 128.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 sp-cpuinfo-flag-14))
    )
  )

(defpart 1174
  :init-specs ((:texture (glow-soft level-default-sprite))
    (:num 1.0)
    (:y (meters 6))
    (:scale-x (meters 10) (meters 0.1))
    (:rot-x (degrees 11.25))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 96.0 96.0)
    (:b :copy g)
    (:a 20.0 4.0)
    (:omega (degrees 3386.25))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 sp-cpuinfo-flag-14 glow))
    (:userdata 10240.0)
    )
  )

(defpart 1173
  :init-specs ((:texture (baron-propoganda-logo ctywide-sprite))
    (:num 1.0)
    (:y (meters 6))
    (:z (meters 0.05))
    (:scale-x (meters 4.5) (meters 0.1))
    (:rot-x (degrees 90))
    (:rot-z (degrees 0))
    (:scale-y :copy scale-x)
    (:r 192.0)
    (:g 0.0 64.0)
    (:b :copy g)
    (:a 96.0 16.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 sp-cpuinfo-flag-14 left-multiply-quat))
    (:rotate-y (degrees 0))
    )
  )

(defpart 1176
  :init-specs ((:texture (baron-propoganda-logo ctywide-sprite))
    (:num 1.0)
    (:y (meters 5.75))
    (:z (meters 0.05))
    (:scale-x (meters 6.5) (meters 0.5))
    (:rot-x (degrees 80) (degrees 4))
    (:rot-y (degrees 90))
    (:rot-z (degrees 90))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 32.0)
    (:b 16.0)
    (:a 32.0 16.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-4 sp-cpuinfo-flag-14 left-multiply-quat))
    (:rotate-y (degrees 0))
    )
  )

(defpartgroup group-ctywide-burning-bush-holo-on
  :id 260
  :flags (sp4)
  :bounds (static-bspherem 0 0 0 12)
  :parts ((sp-item 1180 :flags (is-3d sp6 sp7))
    (sp-item 1181 :flags (is-3d sp6 sp7))
    (sp-item 1182 :flags (is-3d sp6 sp7))
    (sp-item 1183 :fade-after (meters 150) :flags (sp6 sp7))
    )
  )

(defpart 1183
  :init-specs ((:texture (green-lightning level-default-sprite))
    (:num 2.0 4.0)
    (:x (meters -2.25) (meters 4.5))
    (:y (meters 6.1))
    (:scale-x (meters 1))
    (:rot-z (degrees 0) 1 (degrees 180))
    (:scale-y (meters 6))
    (:r 128.0 1 128.0)
    (:g 255.0)
    (:b 128.0)
    (:a 0.0)
    (:fade-a 1.6)
    (:timer (seconds 0.135))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3))
    (:next-time (seconds 0.067))
    (:next-launcher 1184)
    (:rotate-y (degrees 0) 1 (degrees 180))
    )
  )

(defpart 1184
  :init-specs ((:fade-a -1.6))
  )

(defpart 1180
  :init-specs ((:texture (baron-propoganda-logo ctywide-sprite))
    (:num 1.0)
    (:y (meters 6))
    (:z (meters -0.02))
    (:scale-x (meters 3.5) (meters 0.1))
    (:rot-x (degrees 90))
    (:rot-z (degrees 0))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 120.0)
    (:b 0.0)
    (:a 160.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 left-multiply-quat))
    (:rotate-y (degrees 0))
    )
  )

(defpart 1182
  :init-specs ((:texture (rod-of-god level-default-sprite))
    (:num 1.0)
    (:y (meters 6))
    (:z (meters 0.05))
    (:scale-x (meters 5))
    (:rot-x (degrees 90))
    (:rot-y (degrees 90))
    (:rot-z (degrees 90))
    (:scale-y (meters 6))
    (:r 32.0)
    (:g 0.0)
    (:b 255.0)
    (:a 32.0 64.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 sp-cpuinfo-flag-13 left-multiply-quat))
    (:rotate-y (degrees 0))
    )
  )

(defpart 1181
  :init-specs ((:texture (baron-propoganda-logo ctywide-sprite))
    (:num 1.0)
    (:y (meters 6))
    (:z (meters 0.02))
    (:scale-x (meters 4) (meters 0.1))
    (:rot-x (degrees 90))
    (:rot-y (degrees 90))
    (:rot-z (degrees 90))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 255.0)
    (:b 255.0)
    (:a 16.0 16.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-4 left-multiply-quat))
    (:rotate-y (degrees 0))
    )
  )

(defpartgroup group-ctywide-burning-bush-holo-off
  :id 261
  :flags (sp4)
  :bounds (static-bspherem 0 0 0 12)
  :parts ((sp-item 1185 :flags (is-3d sp6 sp7))
    (sp-item 1186 :flags (is-3d sp6 sp7))
    (sp-item 1187 :flags (is-3d sp6 sp7))
    (sp-item 1188 :flags (is-3d sp6 sp7))
    )
  )

(defpart 1185
  :init-specs ((:texture (burning-bush-off ctywide-sprite))
    (:num 1.0)
    (:y (meters 6))
    (:z (meters -0.02))
    (:scale-x (meters 4.5) (meters 0.1))
    (:rot-x (degrees 90))
    (:rot-z (degrees 0))
    (:scale-y :copy scale-x)
    (:r 128.0)
    (:g 255.0)
    (:b 255.0)
    (:a 64.0 32.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 sp-cpuinfo-flag-13 left-multiply-quat))
    (:rotate-y (degrees 0))
    )
  )

(defpart 1187
  :init-specs ((:texture (rod-of-god level-default-sprite))
    (:num 1.0)
    (:y (meters 6))
    (:z (meters 0.05))
    (:scale-x (meters 5))
    (:rot-x (degrees 90))
    (:rot-y (degrees 90))
    (:rot-z (degrees 90))
    (:scale-y (meters 6))
    (:r 64.0 64.0)
    (:g 128.0 128.0)
    (:b 255.0)
    (:a 32.0 32.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-13 left-multiply-quat))
    (:rotate-y (degrees 0))
    )
  )

(defpart 1188
  :init-specs ((:texture (common-white common))
    (:num 1.0)
    (:y (meters 6))
    (:z (meters -0.05))
    (:scale-x (meters 5))
    (:rot-x (degrees -90))
    (:rot-y (degrees 90))
    (:rot-z (degrees 90))
    (:scale-y (meters 6))
    (:r 255.0)
    (:g 128.0)
    (:b 0.0)
    (:a 0.0 8.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-4 sp-cpuinfo-flag-13 left-multiply-quat))
    (:rotate-y (degrees 0))
    )
  )

(defpart 1186
  :init-specs ((:texture (burning-bush-off ctywide-sprite))
    (:num 1.0)
    (:y (meters 6))
    (:z (meters 0.02))
    (:scale-x (meters 5) (meters 0.1))
    (:rot-x (degrees 90))
    (:rot-y (degrees 90))
    (:rot-z (degrees 90))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 255.0)
    (:b 255.0)
    (:a 16.0 8.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-4 sp-cpuinfo-flag-13 left-multiply-quat))
    (:rotate-y (degrees 0))
    )
  )

(defpartgroup group-ctywide-burning-bush-holo-red
  :id 262
  :flags (sp4)
  :bounds (static-bspherem 0 0 0 12)
  :parts ((sp-item 1189 :flags (is-3d sp6 sp7)) (sp-item 1190 :fade-after (meters 150) :flags (sp6 sp7)))
  )

(defpart 1189
  :init-specs ((:texture (rod-of-god level-default-sprite))
    (:num 1.0)
    (:y (meters 5))
    (:z (meters 0.05))
    (:scale-x (meters 5))
    (:rot-x (degrees 90))
    (:rot-y (degrees 90))
    (:rot-z (degrees 90))
    (:scale-y (meters 4))
    (:r 255.0)
    (:g 0.0)
    (:b 0.0)
    (:a 64.0 32.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 sp-cpuinfo-flag-13 left-multiply-quat))
    (:rotate-y (degrees 0))
    )
  )

(defpart 1190
  :init-specs ((:texture (lightning-darkjak level-default-sprite))
    (:num 2.0 4.0)
    (:x (meters -2.25) (meters 4.5))
    (:y (meters 4.5))
    (:scale-x (meters 1))
    (:rot-z (degrees 0) 1 (degrees 180))
    (:scale-y (meters 3) (meters 1.5))
    (:r 255.0)
    (:g 0.0)
    (:b 0.0)
    (:a 0.0)
    (:fade-a 1.6)
    (:timer (seconds 0.135))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3))
    (:next-time (seconds 0.067))
    (:next-launcher 1191)
    (:rotate-y (degrees 0) 1 (degrees 180))
    )
  )

(defpartgroup group-ctywide-palace-high-fire
  :id 263
  :flags (sp8)
  :bounds (static-bspherem 0 2 0 5)
  :parts ((sp-item 1192 :fade-after (meters 500) :falloff-to (meters 600))
    (sp-item 1193 :fade-after (meters 500) :flags (sp6))
    )
  )

(defpart 1192
  :init-specs ((:texture (explosion-nebula level-default-sprite))
    (:birth-func 'birth-func-texture-group)
    (:num 1.0)
    (:x (meters 0) (meters 1.5))
    (:y (meters 0) (meters 2))
    (:scale-x (meters 4) (meters 2))
    (:scale-y (meters 4) (meters 2))
    (:r 128.0 64.0)
    (:g 64.0 64.0)
    (:b 0.0 32.0)
    (:a 32.0 32.0)
    (:vel-x (meters 0) (meters -0.0033333334))
    (:scalevel-x (meters -0.009375))
    (:rotvel-z (degrees -0.2) (degrees 0.4))
    (:scalevel-y :copy scalevel-x)
    (:fade-g -0.7111111)
    (:fade-a -0.1 -0.1)
    (:accel-y (meters 0.00083333335) (meters 0.00066666666))
    (:timer (seconds 0.535) (seconds 0.165))
    (:flags (sp-cpuinfo-flag-3))
    (:userdata :data (new 'static 'boxed-array :type int32 40 1 0 #x400000 #x400000 #x400700))
    (:conerot-x (degrees 0) (degrees 360))
    (:conerot-y (degrees 0) (degrees 360))
    (:rotate-y (degrees 0) (degrees 3600))
    (:conerot-radius (meters 0) (meters 0.05))
    )
  )

(defpart 1193
  :init-specs ((:texture (glow-soft level-default-sprite))
    (:num 0.5)
    (:y (meters 4))
    (:scale-x (meters 16) (meters 0.5))
    (:rot-x (degrees 0.225))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 128.0 64.0)
    (:g 64.0 64.0)
    (:b 0.0 32.0)
    (:a 16.0 16.0)
    (:scalevel-x (meters -0.0016666667))
    (:scalevel-y :copy scalevel-x)
    (:fade-g -0.7111111)
    (:fade-a -1.0666667)
    (:timer (seconds 0.085))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:conerot-x (degrees 0) (degrees 360))
    (:conerot-y (degrees 0) (degrees 360))
    (:conerot-radius (meters 0) (meters 0.05))
    )
  )

(defpartgroup group-ctywide-misc-citylights-red-1
  :id 264
  :flags (sp0)
  :bounds (static-bspherem 0 0 0 16)
  :parts ((sp-item 1194 :flags (sp6) :period (seconds 5.335) :length (seconds 0.017) :hour-mask #b111111111110000000))
  )

(defpartgroup group-ctywide-misc-citylights-red-2
  :id 265
  :flags (sp0)
  :bounds (static-bspherem 0 0 0 16)
  :parts ((sp-item 1194 :flags (sp6) :period (seconds 5.335) :length (seconds 0.017) :offset 400 :hour-mask #b111111111110000000)
    )
  )

(defpartgroup group-ctywide-misc-citylights-red-3
  :id 266
  :flags (sp0)
  :bounds (static-bspherem 0 0 0 16)
  :parts ((sp-item 1194 :flags (sp6) :period (seconds 5.335) :length (seconds 0.017) :offset 800 :hour-mask #b111111111110000000)
    )
  )

(defpartgroup group-ctywide-misc-citylights-red-4
  :id 267
  :flags (sp0)
  :bounds (static-bspherem 0 0 0 16)
  :parts ((sp-item 1194 :flags (sp6) :period (seconds 5.335) :length (seconds 0.017) :offset 1200 :hour-mask #b111111111110000000)
    )
  )

(defpart 1194
  :init-specs ((:texture (glow level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 3.5))
    (:rot-x (degrees 11.25))
    (:scale-y (meters 3))
    (:r 255.0)
    (:g 40.0 32.0)
    (:b 0.0)
    (:a 8.0)
    (:omega (degrees 67515.75))
    (:scalevel-x (meters 0.035))
    (:scalevel-y (meters 0.03))
    (:fade-a 0.08)
    (:timer (seconds 4))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 2048.0)
    (:next-time (seconds 0.335))
    (:next-launcher 1195)
    )
  )

(defpart 1195
  :init-specs ((:scale-y (meters 6))
    (:a 16.0)
    (:scalevel-x (meters 0))
    (:scalevel-y (meters 0))
    (:fade-a 0.0)
    (:next-time (seconds 2))
    (:next-launcher 1196)
    )
  )

(defpart 1196
  :init-specs ((:scalevel-x (meters -0.035))
    (:scalevel-y (meters -0.03))
    (:fade-a -0.08)
    (:next-time (seconds 0.335))
    (:next-launcher 1197)
    )
  )

(defpart 1197
  :init-specs ((:scale-y (meters 3)) (:a 8.0) (:scalevel-x (meters 0)) (:scalevel-y (meters 0)) (:fade-a 0.0))
  )

(defpartgroup group-ctywide-misc-citylights-blue-1
  :id 268
  :flags (sp0)
  :bounds (static-bspherem 0 0 0 16)
  :parts ((sp-item 1198 :flags (sp6) :period (seconds 4) :length (seconds 0.017) :hour-mask #b111111111110000000))
  )

(defpartgroup group-ctywide-misc-citylights-blue-2
  :id 269
  :flags (sp0)
  :bounds (static-bspherem 0 0 0 16)
  :parts ((sp-item 1198 :flags (sp6) :period (seconds 4) :length (seconds 0.017) :offset 400 :hour-mask #b111111111110000000)
    )
  )

(defpartgroup group-ctywide-misc-citylights-blue-3
  :id 270
  :flags (sp0)
  :bounds (static-bspherem 0 0 0 16)
  :parts ((sp-item 1198 :flags (sp6) :period (seconds 4) :length (seconds 0.017) :offset 800 :hour-mask #b111111111110000000)
    )
  )

(defpart 1198
  :init-specs ((:texture (glow level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 8))
    (:rot-x (degrees 11.25))
    (:scale-y (meters 8))
    (:r 0.0)
    (:g 128.0 32.0)
    (:b 255.0)
    (:a 4.0)
    (:omega (degrees 67515.75))
    (:scalevel-x (meters 0.0005))
    (:scalevel-y (meters 0.0005))
    (:fade-a 0.04)
    (:timer (seconds 4))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 2048.0)
    (:next-time (seconds 0.335))
    (:next-launcher 1199)
    )
  )

(defpartgroup group-ctywide-cable-lights
  :id 271
  :bounds (static-bspherem 0 0 0 16)
  :parts ((sp-item 1200 :fade-after (meters 3000) :flags (sp6) :hour-mask #b111111111110000000))
  )

(defpart 1200
  :init-specs ((:texture (glow level-default-sprite))
    (:num 1.0)
    (:y (meters 2))
    (:scale-x (meters 12) (meters 4))
    (:rot-x (degrees 56.25))
    (:rot-z (degrees 17))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 196.0 64.0)
    (:b 64.0)
    (:a 20.0 8.0)
    (:omega (degrees 67515.75))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 2048.0)
    )
  )

(defpartgroup group-slums-seal-of-mar-glow
  :id 272
  :flags (sp6)
  :bounds (static-bspherem 0 0 0 2)
  :rotate ((degrees 90) (degrees 0) (degrees 90))
  :parts ((sp-item 1201) (sp-item 1202) (sp-item 1203 :flags (sp7)))
  )

(defpart 1201
  :init-specs ((:texture (glow level-default-sprite))
    (:num 0.5)
    (:z (meters -0.05))
    (:scale-x (meters 0.9) (meters 0.25))
    (:rot-x (degrees 2.25))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 96.0 32.0)
    (:g 64.0 16.0)
    (:b 12.0 4.0)
    (:a 16.0 16.0)
    (:fade-a -1.1)
    (:timer (seconds 0.167))
    (:flags (sp-cpuinfo-flag-2 glow))
    (:userdata 2048.0)
    )
  )

(defpart 1202
  :init-specs ((:texture (glow level-default-sprite))
    (:num 0.5)
    (:z (meters 0.05))
    (:scale-x (meters 0.5) (meters 0.25))
    (:rot-x (degrees 2.25))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 96.0 32.0)
    (:g 64.0 16.0)
    (:b 12.0 4.0)
    (:a 12.0 12.0)
    (:fade-a -0.48)
    (:timer (seconds 0.167))
    (:flags (sp-cpuinfo-flag-2 glow))
    (:userdata 2048.0)
    )
  )

(defpart 1203
  :init-specs ((:texture (glow level-default-sprite))
    (:num 4.0 2.0)
    (:x (meters 0.2))
    (:scale-x (meters 0.01) (meters 0.0025))
    (:scale-y :copy scale-x)
    (:r 196.0 32.0)
    (:g :copy r)
    (:b :copy g)
    (:a 128.0 128.0)
    (:vel-x (meters 0.02) (meters 0.02))
    (:fade-a -0.42666668 -0.42666668)
    (:timer (seconds 2))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3))
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpartgroup group-ctywide-chimney
  :id 273
  :flags (sp8)
  :bounds (static-bspherem 0 0 -10 64)
  :parts ((sp-item 1204 :fade-after (meters 600) :falloff-to (meters 600))
    (sp-item 1205 :fade-after (meters 600) :flags (sp6))
    )
  )

(defpart 1205
  :init-specs ((:texture (glow level-default-sprite))
    (:num 1.0)
    (:y (meters 1))
    (:scale-x (meters 24) (meters 1.1))
    (:rot-x (degrees 11.25))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 240.0)
    (:b 100.0)
    (:a 12.0 4.0)
    (:omega (degrees 13513.499))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 16384.0)
    )
  )

(defpart 1204
  :init-specs ((:texture (bigpuff level-default-sprite))
    (:birth-func 'birth-func-texture-group)
    (:num 0.0 0.3)
    (:scale-x (meters 2) (meters 1))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 255.0)
    (:b 255.0)
    (:a 32.0 32.0)
    (:vel-y (meters 0.03) (meters 0.01))
    (:scalevel-x (meters 0.053333335) (meters 0.053333335))
    (:rotvel-z (degrees -0.2) (degrees 0.4))
    (:scalevel-y :copy scalevel-x)
    (:fade-r 0.0)
    (:fade-g -0.36)
    (:fade-b -4.24)
    (:fade-a -0.053333335 -0.053333335)
    (:accel-x (meters -0.001) (meters -0.00033333333))
    (:accel-y (meters 0.0001) (meters 0.0001))
    (:friction 0.96)
    (:timer (seconds 8))
    (:flags (sp-cpuinfo-flag-2))
    (:userdata :data (new 'static 'boxed-array :type int32 40 1 0 #x400000 #x400000 #x400700))
    (:next-time (seconds 0.085) (seconds 0.015))
    (:next-launcher 1206)
    )
  )

(defpart 1206
  :init-specs ((:fade-r 0.0) (:fade-g 0.0) (:fade-b 0.0) (:next-time (seconds 0.035) (seconds 0.13)) (:next-launcher 1207))
  )

(defpart 1207
  :init-specs ((:scalevel-x (meters 0.026666667) (meters 0.026666667))
    (:scalevel-y :copy scalevel-x)
    (:fade-r -0.14666666)
    (:fade-g -0.7866667)
    (:fade-b -0.88)
    (:next-time (seconds 0.35) (seconds 0.147))
    (:next-launcher 1208)
    )
  )

(defpart 1208
  :init-specs ((:scalevel-x (meters 0.013333334) (meters 0.013333334))
    (:scalevel-y :copy scalevel-x)
    (:fade-r -1.2944444)
    (:fade-g -0.7111111)
    (:fade-b -0.094444446)
    (:next-time (seconds 0.5) (seconds 0.097))
    (:next-launcher 1209)
    )
  )

(defpart 1209
  :init-specs ((:fade-r 0.0) (:fade-g 0.0) (:fade-b 0.0) (:fade-a -0.024))
  )

(defpartgroup group-ctywide-chimney-smoke
  :id 274
  :flags (sp8)
  :bounds (static-bspherem 0 0 -12 48)
  :parts ((sp-item 1210 :fade-after (meters 950) :falloff-to (meters 1200)))
  )

(defpart 1210
  :init-specs ((:texture (bigpuff level-default-sprite))
    (:birth-func 'birth-func-texture-group)
    (:num 0.0 0.5)
    (:scale-x (meters 2) (meters 1))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 0.0 128.0)
    (:g :copy r)
    (:b :copy g)
    (:a 24.0 24.0)
    (:vel-y (meters 0.03) (meters 0.01))
    (:scalevel-x (meters 0.026666667) (meters 0.026666667))
    (:rotvel-z (degrees -0.2) (degrees 0.4))
    (:scalevel-y :copy scalevel-x)
    (:fade-r -0.21333334)
    (:fade-g -0.21333334)
    (:fade-b -0.21333334)
    (:fade-a -0.026666667 -0.026666667)
    (:accel-x (meters -0.001) (meters -0.00033333333))
    (:accel-y (meters 0.0001) (meters 0.0001))
    (:friction 0.96)
    (:timer (seconds 6))
    (:flags (sp-cpuinfo-flag-2))
    (:userdata :data (new 'static 'boxed-array :type int32 40 1 0 #x400000 #x400000 #x400700))
    (:next-time (seconds 0.25) (seconds 0.015))
    (:next-launcher 1211)
    )
  )

(defpart 1211
  :init-specs ((:scalevel-x (meters 0.026666667) (meters 0.026666667))
    (:scalevel-y :copy scalevel-x)
    (:next-time (seconds 0.35) (seconds 0.147))
    (:next-launcher 1212)
    )
  )

(defpart 1212
  :init-specs ((:scalevel-x (meters 0.026666667) (meters 0.026666667)) (:scalevel-y :copy scalevel-x))
  )

(defpartgroup group-ctyind-sparks
  :id 275
  :flags (sp0 sp4)
  :bounds (static-bspherem 0 0 0 40)
  :parts ((sp-item 1213 :fade-after (meters 100) :falloff-to (meters 200) :flags (sp7) :period (seconds 1) :length (seconds 0.017))
    (sp-item 1214 :fade-after (meters 100) :falloff-to (meters 200) :flags (sp7))
    (sp-item 1214 :fade-after (meters 100) :falloff-to (meters 200) :flags (sp7))
    )
  )

(defpart 1213
  :init-specs ((:texture (gun-blue-hit-spek level-default-sprite))
    (:num 10.0)
    (:scale-x (meters 0.05) (meters 0.1))
    (:rot-x 4)
    (:scale-y :copy scale-x)
    (:r 128.0)
    (:g 128.0)
    (:b 128.0 128.0)
    (:a 128.0 128.0)
    (:omega (degrees 0.0675))
    (:vel-z (meters 0.033333335) (meters 0.06666667))
    (:accel-y (meters -0.0016666667))
    (:friction 0.96 0.02)
    (:timer (seconds 1.667))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 launch-along-z left-multiply-quat))
    (:func 'sparticle-motion-blur)
    (:next-time (seconds 1))
    (:next-launcher 1215)
    (:conerot-y (degrees -30) (degrees 60))
    (:rotate-z (degrees 0) (degrees 3600))
    )
  )

(defpart 1215
  :init-specs ((:fade-a -0.85333335 -0.85333335))
  )

(defpart 1214
  :init-specs ((:texture (colorflash level-default-sprite))
    (:num 0.1)
    (:x (meters -0.5) (meters 1))
    (:y (meters -0.5) (meters 1))
    (:z (meters 1))
    (:scale-x (meters 1) (meters 3))
    (:rot-x (degrees 2.25))
    (:scale-y :copy scale-x)
    (:r 128.0)
    (:g 128.0)
    (:b 128.0)
    (:a -512.0 5 128.0)
    (:scalevel-x (meters -0.033333335))
    (:scalevel-y :copy scalevel-x)
    (:timer (seconds 0.05))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 409.6)
    (:rotate-y (degrees 0))
    (:rotate-z (degrees 0) (degrees 3600))
    )
  )

(defpartgroup group-ctyind-hot-gas
  :id 276
  :flags (sp0 sp4)
  :bounds (static-bspherem 0 0 0 40)
  :parts ((sp-item 1216 :falloff-to (meters 60) :flags (sp7))
    (sp-item 1217 :fade-after (meters 100) :falloff-to (meters 200) :flags (sp7))
    )
  )

(defpart 1216
  :init-specs ((:num 1.0)
    (:rot-x 5)
    (:rot-z (degrees 0) (degrees 360))
    (:r 8192.0)
    (:g 3276.8 1638.4)
    (:b 4096.0)
    (:vel-z (meters 0.1))
    (:timer (seconds 0.417))
    (:flags (distort))
    (:conerot-x (degrees -10) (degrees 20))
    (:rotate-y (degrees 0))
    (:rotate-z (degrees 0) (degrees 3600))
    )
  )

(defpart 1217
  :init-specs ((:texture (dirtpuff01 level-default-sprite))
    (:birth-func 'birth-func-curve)
    (:num 1.0)
    (:z (meters 1))
    (:scale-x (meters 1))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 64.0)
    (:g 64.0)
    (:b 200.0)
    (:a 0.0)
    (:vel-z (meters 0.1))
    (:timer (seconds 0.005))
    (:flags (sp-cpuinfo-flag-3))
    (:userdata 0.0)
    (:func 'live-func-curve)
    (:conerot-x (degrees -10) (degrees 20))
    (:rotate-y (degrees 0))
    (:rotate-z (degrees 0) (degrees 3600))
    )
  )

(if #t
    (set! *range-color-gas-flame* (new 'static 'curve-color-fast
                                    :xs (new 'static 'vector :y -1.0 :z -2.0 :w -3.0)
                                    :ys (new 'static 'inline-array vector 4
                                      (new 'static 'vector :x 255.0 :y 255.0 :z 255.0 :w 128.0)
                                      (new 'static 'vector :x 255.0 :y 255.0 :z 255.0 :w 128.0)
                                      (new 'static 'vector :x 255.0 :y 255.0 :z 255.0 :w 128.0)
                                      (new 'static 'vector :x 255.0 :y 255.0 :z 255.0 :w 128.0)
                                      )
                                    :one-over-x-deltas (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0)
                                    )
          )
    )

(if #t
    (set! *range-alpha-gas-flame* (new 'static 'curve2d-fast
                                    :xs (new 'static 'vector :y -1.0 :z -2.0 :w -3.0)
                                    :ys (new 'static 'vector :x 64.0 :y 128.0 :z 129.0 :w 130.0)
                                    :one-over-x-deltas (new 'static 'vector :x 64.0 :y 1.0 :z 1.0 :w 1.0)
                                    )
          )
    )

(if #t
    (set! *range-scale-gas-flame-x* (new 'static 'curve2d-fast
                                      :xs (new 'static 'vector :y -1.0 :z -2.0 :w -3.0)
                                      :ys (new 'static 'vector :x 3.0 :y 5.0 :z 6.0 :w 7.0)
                                      :one-over-x-deltas (new 'static 'vector :x 2.0 :y 1.0 :z 1.0 :w 1.0)
                                      )
          )
    )

(if #t
    (set! *range-scale-gas-flame-y* (new 'static 'curve2d-fast
                                      :xs (new 'static 'vector :y -1.0 :z -2.0 :w -3.0)
                                      :ys (new 'static 'vector :x 3.0 :y 5.0 :z 6.0 :w 7.0)
                                      :one-over-x-deltas (new 'static 'vector :x 2.0 :y 1.0 :z 1.0 :w 1.0)
                                      )
          )
    )

(if #t
    (set! *r-curve-gas-flame* (new 'static 'curve2d-fast
                                :xs (new 'static 'vector :y -0.4 :z -0.45 :w -1.0)
                                :ys (new 'static 'vector :x 1.0 :y 1.0 :w 0.2)
                                :one-over-x-deltas (new 'static 'vector :y -20.000008 :z 0.36363637 :w 1.0)
                                )
          )
    )

(if #t
    (set! *g-curve-gas-flame* (new 'static 'curve2d-fast
                                :xs (new 'static 'vector :y -0.45 :z -0.5 :w -1.0)
                                :ys (new 'static 'vector :x 1.0 :y 1.0 :z 0.1)
                                :one-over-x-deltas (new 'static 'vector :y -17.999996 :z -0.2 :w 1.0)
                                )
          )
    )

(if #t
    (set! *b-curve-gas-flame* (new 'static 'curve2d-fast
                                :xs (new 'static 'vector :y -0.5 :z -0.6 :w -1.0)
                                :ys (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0)
                                :one-over-x-deltas (new 'static 'vector :w 1.0)
                                )
          )
    )

(if #t
    (set! *curve-alpha-gas-flame* (new 'static 'curve2d-fast
                                    :xs (new 'static 'vector :y -0.3 :z -0.4 :w -1.0)
                                    :ys (new 'static 'vector :z 1.0 :w 1.0)
                                    :one-over-x-deltas (new 'static 'vector :y 10.000001 :w 1.0)
                                    )
          )
    )

(if #t
    (set! *curve-gas-flame-x* (new 'static 'curve2d-fast
                                :xs (new 'static 'vector :y -0.5 :z -1.0 :w -2.0)
                                :ys (new 'static 'vector :y 0.8 :z 1.0 :w 2.0)
                                :one-over-x-deltas (new 'static 'vector :x 1.6 :y 0.39999998 :z 1.0 :w 1.0)
                                )
          )
    )

(if #t
    (set! *curve-gas-flame-y* (new 'static 'curve2d-fast
                                :xs (new 'static 'vector :y -0.5 :z -1.0 :w -2.0)
                                :ys (new 'static 'vector :y 0.8 :z 1.0 :w 2.0)
                                :one-over-x-deltas (new 'static 'vector :x 1.6 :y 0.39999998 :z 1.0 :w 1.0)
                                )
          )
    )

(define *part-ctyind-hot-gas-curve-settings* (new 'static 'particle-curve-settings
                                               :lifetime-base (seconds 0.1)
                                               :lifetime-offset (seconds 0.1)
                                               :flags (particle-curve-flags pcf0 pcf1)
                                               )
        )

(set! (-> *part-id-table* 1217 init-specs 14 initial-valuef)
      (the-as float *part-ctyind-hot-gas-curve-settings*)
      )

(set! (-> *part-ctyind-hot-gas-curve-settings* color-start) *range-color-gas-flame*)

(set! (-> *part-ctyind-hot-gas-curve-settings* alpha-start) *range-alpha-gas-flame*)

(set! (-> *part-ctyind-hot-gas-curve-settings* scale-x-start) *range-scale-gas-flame-x*)

(set! (-> *part-ctyind-hot-gas-curve-settings* scale-y-start) *range-scale-gas-flame-y*)

(set! (-> *part-ctyind-hot-gas-curve-settings* r-scalar) *r-curve-gas-flame*)

(set! (-> *part-ctyind-hot-gas-curve-settings* g-scalar) *g-curve-gas-flame*)

(set! (-> *part-ctyind-hot-gas-curve-settings* b-scalar) *b-curve-gas-flame*)

(set! (-> *part-ctyind-hot-gas-curve-settings* a-scalar) *curve-alpha-gas-flame*)

(set! (-> *part-ctyind-hot-gas-curve-settings* scale-x-scalar) *curve-gas-flame-x*)

(set! (-> *part-ctyind-hot-gas-curve-settings* scale-y-scalar) *curve-gas-flame-y*)

(defpartgroup group-ctyind-rubble-smoke
  :id 277
  :flags (sp0 sp4)
  :bounds (static-bspherem 0 0 0 60)
  :parts ((sp-item 1218 :fade-after (meters 100) :falloff-to (meters 200) :flags (sp7)))
  )

(defpart 1218
  :init-specs ((:texture (topglow level-default-sprite))
    (:num 0.1)
    (:z (meters 0) (meters 6))
    (:scale-x (meters 4) (meters 4))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 128.0)
    (:g 128.0)
    (:b 128.0)
    (:a 0.0)
    (:vel-y (meters 0.033333335))
    (:scalevel-x (meters 0.006666667) (meters 0.006666667))
    (:rotvel-z (degrees -0.13333334) (degrees 0.26666668))
    (:scalevel-y :copy scalevel-x)
    (:fade-a 0.21333334 0.21333334)
    (:accel-y (meters 0.00066666666))
    (:friction 0.96 0.02)
    (:timer (seconds 5.167))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-13 launch-along-z))
    (:next-time (seconds 1))
    (:next-launcher 1219)
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpart 1219
  :init-specs ((:fade-a -0.11636364))
  )

(defpartgroup group-ctyind-electric-arc
  :id 278
  :flags (sp0 sp4)
  :bounds (static-bspherem 0 0 0 60)
  :parts ((sp-item 1220 :fade-after (meters 100) :falloff-to (meters 200) :flags (is-3d sp7)))
  )

(defpart 1220
  :init-specs ((:texture (lightning-anim-01 level-default-sprite))
    (:num 0.01 0.05)
    (:scale-x (meters 5.8))
    (:rot-x (degrees 0) 1 (degrees 180))
    (:rot-z (degrees -90) 1 (degrees 180))
    (:scale-y (meters 2))
    (:r 128.0)
    (:g 128.0)
    (:b 128.0)
    (:a 255.0)
    (:vel-z (meters 0.033333335))
    (:scalevel-x (meters 0.01))
    (:rotvel-x (degrees 0.6))
    (:rotvel-y (degrees -0.033333335) (degrees 0.06666667))
    (:scalevel-y :copy scalevel-x)
    (:timer (seconds 0.017) (seconds 0.415))
    (:flags (sp-cpuinfo-flag-3))
    (:userdata :data (new 'static 'boxed-array :type int32 10 1 0 #x405700 #x405800 #x405900))
    (:func 'sparticle-texture-animate)
    (:rotate-y (degrees 30))
    )
  )

(defpartgroup group-ctyslum-red-wall-light
  :id 279
  :flags (sp0 sp4)
  :bounds (static-bspherem 0 0 0 4)
  :parts ((sp-item 1221 :fade-after (meters 80) :flags (sp6 sp7) :hour-mask #b111111111111000000))
  )

(defpart 1221
  :init-specs ((:texture (colorflash level-default-sprite))
    (:num 1.0)
    (:x (meters 0))
    (:y (meters 0))
    (:z (meters 0))
    (:scale-x (meters 5) (meters 0.1))
    (:rot-x (degrees 2.25))
    (:rot-z (degrees 0))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 30.0)
    (:b 0.0)
    (:a 20.0 2.0)
    (:omega (degrees 2261.25))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 4096.0)
    (:rotate-y (degrees 0))
    )
  )

(defpartgroup group-ctyslum-blue-wall-light
  :id 280
  :flags (sp0 sp4)
  :bounds (static-bspherem 0 0 0 4)
  :parts ((sp-item 1222 :fade-after (meters 200) :flags (sp6 sp7) :hour-mask #b111111111111000000))
  )

(defpart 1222
  :init-specs ((:texture (colorflash level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 5.5) (meters 0.1))
    (:rot-x (degrees 11.25))
    (:scale-y :copy scale-x)
    (:r 20.0)
    (:g 20.0)
    (:b 255.0)
    (:a 30.0 2.0)
    (:omega (degrees 4511.25))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 2048.0)
    (:rotate-y (degrees 0))
    )
  )

(defpartgroup group-ctyslum-long-blue-light
  :id 281
  :flags (sp0 sp4)
  :bounds (static-bspherem 0 0 0 4)
  :parts ((sp-item 1223 :flags (sp6 sp7) :hour-mask #b111111111111000000))
  )

(defpart 1223
  :init-specs ((:texture (glow-soft level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 20))
    (:rot-x (degrees 11.25))
    (:rot-z (degrees 90))
    (:scale-y (meters 5))
    (:r 20.0)
    (:g 20.0)
    (:b 255.0)
    (:a 30.0 2.0)
    (:omega (degrees 4511.25))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-3 glow))
    (:userdata 2048.0)
    (:rotate-y (degrees 0))
    )
  )

(defpartgroup group-ctyslum-long-blue-lightb
  :id 282
  :flags (sp0 sp4)
  :bounds (static-bspherem 0 0 0 4)
  :parts ((sp-item 1224 :flags (sp6 sp7) :hour-mask #b111111111111000000))
  )

(defpart 1224
  :init-specs ((:texture (glow-soft level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 20))
    (:rot-x (degrees 11.25))
    (:rot-z (degrees 0))
    (:scale-y (meters 5))
    (:r 20.0)
    (:g 20.0)
    (:b 255.0)
    (:a 30.0 2.0)
    (:omega (degrees 4511.25))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-3 glow))
    (:userdata 2048.0)
    (:rotate-y (degrees 0))
    )
  )

(defpartgroup group-ctyslum-streetlight
  :id 283
  :bounds (static-bspherem 0 0 0 8)
  :parts ((sp-item 1225 :fade-after (meters 120) :flags (sp6) :hour-mask #b111111111111000000)
    (sp-item 1226 :fade-after (meters 120) :flags (sp6) :hour-mask #b111111111111000000)
    (sp-item 1227 :fade-after (meters 120) :flags (sp6) :hour-mask #b111111111111000000)
    )
  )

(defpart 1225
  :init-specs ((:texture (colorflash level-default-sprite))
    (:num 1.0)
    (:y (meters 0.1))
    (:scale-x (meters 3) (meters 0.1))
    (:rot-x (degrees 4.5))
    (:rot-z (degrees -17))
    (:scale-y :copy scale-x)
    (:r 128.0)
    (:g 128.0)
    (:b 128.0)
    (:a 40.0)
    (:omega (degrees 2715.75))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 409.6)
    )
  )

(defpart 1226
  :init-specs ((:texture (glow level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 20) (meters 0.1))
    (:rot-x (degrees 11.25))
    (:rot-z (degrees -17))
    (:scale-y :copy scale-x)
    (:r 128.0)
    (:g 128.0)
    (:b 128.0)
    (:a 30.0 10.0)
    (:omega (degrees 2715.75))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 409.6)
    )
  )

(defpart 1227
  :init-specs ((:texture (rainbow-halo level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 10) (meters 0.1))
    (:rot-x (degrees 22.5))
    (:rot-z (degrees -17))
    (:scale-y :copy scale-x)
    (:r 128.0)
    (:g 128.0)
    (:b 128.0)
    (:a 10.0 10.0)
    (:omega (degrees 2715.75))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 409.6)
    )
  )

(defpartgroup group-ctyslum-lamp-glow
  :id 284
  :flags (sp0 sp4)
  :bounds (static-bspherem 0 0 0 4)
  :parts ((sp-item 1228 :fade-after (meters 200) :flags (sp6 sp7) :hour-mask #b111111111111000000))
  )

(defpart 1228
  :init-specs ((:texture (colorflash level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 7) (meters 0.1))
    (:rot-x (degrees 45))
    (:scale-y :copy scale-x)
    (:r 120.0)
    (:g 60.0)
    (:b 20.0)
    (:a 30.0 2.0)
    (:omega (degrees 4511.25))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 8192.0)
    (:rotate-y (degrees 0))
    )
  )

(defpartgroup group-ctyslum-yellow-light
  :id 285
  :flags (sp0 sp4)
  :bounds (static-bspherem 0 0 0 4)
  :parts ((sp-item 1229 :fade-after (meters 200) :flags (sp6 sp7) :hour-mask #b111111111111000000))
  )

(defpart 1229
  :init-specs ((:texture (colorflash level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 6) (meters 0.1))
    (:rot-x (degrees 45))
    (:scale-y :copy scale-x)
    (:r 120.0)
    (:g 100.0)
    (:b 20.0)
    (:a 30.0 2.0)
    (:omega (degrees 4511.25))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 8192.0)
    (:rotate-y (degrees 0))
    )
  )

(defpartgroup group-ctyslum-steam-vent
  :id 286
  :flags (sp0 sp4)
  :bounds (static-bspherem 0 0 0 6)
  :parts ((sp-item 1230 :fade-after (meters 100) :falloff-to (meters 140) :flags (sp7)))
  )

(defpart 1230
  :init-specs ((:texture (dirtpuff01 level-default-sprite))
    (:birth-func 'birth-func-texture-group)
    (:num 0.0 0.1)
    (:x (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 :copy r)
    (:b :copy g)
    (:a 0.0)
    (:vel-z (meters 0.0033333334) (meters 0.0033333334))
    (:scalevel-x (meters 0.0016666667) (meters 0.0016666667))
    (:rotvel-z (degrees -0.1) (degrees 0.2))
    (:scalevel-y :copy scalevel-x)
    (:fade-a 0.53333336)
    (:accel-y (meters 0.00006666667))
    (:timer (seconds 4))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-13 launch-along-z left-multiply-quat))
    (:userdata :data (new 'static 'boxed-array :type int32 40 1 0 #x405c00 #x400000))
    (:next-time (seconds 0.5))
    (:next-launcher 1231)
    (:conerot-y (degrees -10) (degrees 20))
    (:rotate-y (degrees 0))
    )
  )

(defpart 1231
  :init-specs ((:fade-a -0.07619048 -0.07619048))
  )

(defpartgroup group-ctyport-bulb-orange-glow
  :id 287
  :bounds (static-bspherem 0 0 0 3)
  :parts ((sp-item 1232 :fade-after (meters 2400) :flags (sp6)))
  )

(defpart 1232
  :init-specs ((:texture (glow-soft level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 40) (meters 5))
    (:rot-x (degrees 22.5))
    (:rot-z (degrees -17))
    (:scale-y :copy scale-x)
    (:r 200.0)
    (:g 90.0)
    (:b 20.0)
    (:a 8.0 4.0)
    (:omega (degrees 20270.25))
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 40960.0)
    )
  )

(defpartgroup group-ctywide-green-chimney-smoke
  :id 288
  :flags (sp0 sp4)
  :bounds (static-bspherem 0 0 0 48)
  :parts ((sp-item 1233 :fade-after (meters 1800) :falloff-to (meters 2000)))
  )

(defpart 1233
  :init-specs ((:texture (dirtpuff01 level-default-sprite))
    (:num 0.1 0.1)
    (:scale-x (meters 8) (meters 1))
    (:rot-z (degrees -20) (degrees 40))
    (:scale-y :copy scale-x)
    (:r 20.0 10.0)
    (:g 80.0 20.0)
    (:b 20.0 10.0)
    (:a 0.0)
    (:vel-y (meters 0.006666667) (meters 0.0033333334))
    (:scalevel-x (meters 0.00033333333) (meters 0.00033333333))
    (:rotvel-z (degrees -0.033333335) (degrees 0.06666667))
    (:scalevel-y :copy scalevel-x)
    (:fade-a 2.56)
    (:accel-x (meters -0.0005) (meters 0.000033333334))
    (:accel-y (meters 0.00006666667) (meters 0.000016666667))
    (:accel-z (meters -0.00006666667) (meters 0.000033333334))
    (:friction 0.99)
    (:timer (seconds 10))
    (:flags (sp-cpuinfo-flag-2))
    (:next-time (seconds 0.167))
    (:next-launcher 1234)
    (:conerot-x (degrees -10) (degrees 20))
    (:conerot-z (degrees -10) (degrees 20))
    (:rotate-y (degrees 20))
    )
  )

(defpart 1234
  :init-specs ((:scalevel-x (meters 0.001))
    (:fade-r -0.06666667)
    (:fade-g -0.06666667)
    (:fade-b -0.04)
    (:fade-a -0.042666666 -0.042666666)
    )
  )

(defpartgroup group-ctyslum-heater-haze
  :id 289
  :flags (sp0 sp4)
  :bounds (static-bspherem 0 0 0 6)
  :parts ((sp-item 1235 :fade-after (meters 100) :falloff-to (meters 140) :flags (sp7)))
  )

(defpart 1235
  :init-specs ((:num 1.0)
    (:x (meters -3) (meters 6))
    (:z (meters -4) (meters 8))
    (:rot-x 8)
    (:r 12288.0)
    (:g 4096.0)
    (:b 4096.0)
    (:fade-g 1.3653333)
    (:accel-y (meters 0.00066666666) (meters 0.00033333333))
    (:friction 0.97)
    (:timer (seconds 1))
    (:flags (distort launch-along-z))
    (:next-time (seconds 0.5))
    (:next-launcher 1236)
    )
  )

(defpart 1236
  :init-specs ((:fade-g -1.3653333))
  )

(defpartgroup group-ctyslum-fan-haze
  :id 290
  :flags (sp0 sp4)
  :bounds (static-bspherem 0 0 0 6)
  :parts ((sp-item 1237 :fade-after (meters 100) :falloff-to (meters 140) :flags (sp7))
    (sp-item 1238 :flags (is-3d sp6 sp7))
    )
  )

(defpart 1237
  :init-specs ((:num 1.0)
    (:x (meters 0) (meters 8))
    (:rot-x 8)
    (:r 12288.0)
    (:g 4096.0)
    (:b 4096.0)
    (:vel-z (meters 0.16666667))
    (:fade-g 1.3653333)
    (:accel-y (meters 0.00066666666) (meters 0.00033333333))
    (:friction 0.97)
    (:timer (seconds 1))
    (:flags (distort launch-along-z))
    (:next-time (seconds 0.5))
    (:next-launcher 1239)
    (:rotate-y (degrees 0))
    (:rotate-z (degrees 0) (degrees 3600))
    )
  )

(defpart 1239
  :init-specs ((:fade-g -1.3653333))
  )

(defpart 1238
  :init-specs ((:texture (middot level-default-sprite))
    (:num 1.0)
    (:z (meters -4))
    (:scale-x (meters 15))
    (:rot-x (degrees 90))
    (:scale-y :copy scale-x)
    (:r 0.0)
    (:g 20.0)
    (:b 255.0)
    (:a 40.0 20.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3))
    (:rotate-y (degrees 0))
    )
  )

(defpartgroup group-ctyslum-small-fountain
  :id 291
  :flags (sp0)
  :bounds (static-bspherem 0 0 0 60)
  :parts ((sp-item 1240 :fade-after (meters 80) :falloff-to (meters 140) :flags (is-3d sp7))
    (sp-item 1241 :fade-after (meters 80) :falloff-to (meters 140) :flags (sp7))
    (sp-item 1242 :fade-after (meters 80) :falloff-to (meters 100) :flags (sp7))
    (sp-item 1243 :fade-after (meters 80) :falloff-to (meters 100) :flags (sp7))
    (sp-item 1244 :fade-after (meters 40) :falloff-to (meters 120) :flags (is-3d sp7))
    )
  )

(defpart 1240
  :init-specs ((:texture (wave-foam ctywide-sprite))
    (:num 1.5)
    (:scale-x (meters 0.2) (meters 1))
    (:scale-y (meters 0.1))
    (:r 128.0)
    (:g 128.0)
    (:b 128.0)
    (:a 32.0 32.0)
    (:vel-y (meters 0.011333333))
    (:accel-z (meters 0))
    (:friction 0.98)
    (:timer (seconds 1.335))
    (:flags (sp-cpuinfo-flag-13 launch-along-z left-multiply-quat))
    (:func 'spt-func-turn-to-vel-radial)
    (:next-time (seconds 0.5))
    (:next-launcher 1245)
    (:conerot-x (degrees -90))
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpart 1245
  :init-specs ((:scalevel-x (meters -0.0033333334) (meters 0.006666667))
    (:scalevel-y (meters 0.006666667) (meters 0.02))
    (:accel-z (meters -0.0016666667))
    (:friction 0.9)
    )
  )

(defpart 1241
  :init-specs ((:texture (tinyspeck level-default-sprite))
    (:num 3.0)
    (:scale-x (meters 0.3) (meters 0.3))
    (:scale-y (meters 1) (meters 1))
    (:r 128.0)
    (:g 128.0)
    (:b 128.0)
    (:a 32.0 32.0)
    (:vel-y (meters 0.011666667))
    (:accel-z (meters 0))
    (:friction 0.98)
    (:timer (seconds 1.335))
    (:flags (sp-cpuinfo-flag-13 launch-along-z left-multiply-quat))
    (:next-time (seconds 0.5))
    (:next-launcher 1246)
    (:conerot-x (degrees -90))
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpart 1246
  :init-specs ((:scalevel-y (meters 0.006666667))
    (:accel-z (meters -0.0016666667))
    (:friction 0.9 0.05)
    (:next-time (seconds 0.085) (seconds 0.665))
    (:next-launcher 1247)
    )
  )

(defpart 1247
  :init-specs ((:r 50.0 100.0)
    (:g 50.0 100.0)
    (:b 50.0 100.0)
    (:a 128.0 128.0)
    (:next-time (seconds 0.017) (seconds 0.015))
    (:next-launcher 1248)
    )
  )

(defpart 1248
  :init-specs ((:a 32.0 32.0) (:next-time (seconds 0.167) (seconds 0.665)) (:next-launcher 1247))
  )

(defpart 1242
  :init-specs ((:texture (dirtpuff01 level-default-sprite))
    (:num 5.0)
    (:x (meters 1.6) (meters 0.1))
    (:y (meters -4.3))
    (:scale-x (meters 0.1) (meters 0.1))
    (:scale-y :copy scale-x)
    (:r 160.0)
    (:g 160.0)
    (:b 160.0)
    (:a 128.0)
    (:scalevel-x (meters 0.006666667) (meters 0.01))
    (:scalevel-y (meters 0.0033333334) (meters 0.006666667))
    (:timer (seconds 0.135))
    (:flags (sp-cpuinfo-flag-0 sp-cpuinfo-flag-13 left-multiply-quat))
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpart 1243
  :init-specs ((:texture (tinyspeck level-default-sprite))
    (:num 10.0)
    (:x (meters 1.6) (meters 0.1))
    (:y (meters -4.3))
    (:scale-x (meters 0.3) (meters 0.3))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 200.0)
    (:g 220.0)
    (:b 255.0)
    (:a 64.0 64.0)
    (:vel-y (meters 0.006666667) (meters 0.02))
    (:rotvel-z (degrees -4) (degrees 8))
    (:accel-y (meters -0.0016666667))
    (:timer (seconds 0.267))
    (:flags (sp-cpuinfo-flag-0 sp-cpuinfo-flag-13 left-multiply-quat))
    (:conerot-x (degrees -20) (degrees 40))
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpart 1244
  :init-specs ((:texture (laser-hit2 level-default-sprite))
    (:birth-func 'birth-func-texture-group)
    (:num 0.5)
    (:y (meters -4.3))
    (:scale-x (meters 5) (meters 0.3))
    (:rot-x (degrees 0))
    (:rot-y (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 160.0)
    (:g 160.0)
    (:b 160.0)
    (:a 40.0)
    (:scalevel-x (meters 0.016666668))
    (:scalevel-y :copy scalevel-x)
    (:timer (seconds 0.335))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-13 left-multiply-quat))
    (:userdata :data (new 'static 'boxed-array :type int32 5 0 0 #x406400 #x408200))
    (:next-time (seconds 0.167))
    (:next-launcher 1249)
    )
  )

(defpart 1249
  :init-specs ((:scalevel-x (meters 0.016666668))
    (:scalevel-y :copy scalevel-x)
    (:fade-a -2.56 -2.56)
    (:next-time (seconds 0.085))
    (:next-launcher 1250)
    )
  )

(defpart 1250
  :init-specs ((:scalevel-x (meters 0.006666667)) (:scalevel-y :copy scalevel-x))
  )

(defpartgroup group-ctyslum-big-fountain
  :id 292
  :flags (sp0)
  :bounds (static-bspherem 0 0 0 60)
  :parts ((sp-item 1251 :fade-after (meters 80) :falloff-to (meters 140) :flags (sp7)))
  )

(defpart 1251
  :init-specs ((:texture (tinyspeck level-default-sprite))
    (:num 3.0)
    (:scale-x (meters 0.5) (meters 0.8))
    (:scale-y :copy scale-x)
    (:r 128.0)
    (:g 128.0)
    (:b 128.0)
    (:a 32.0 32.0)
    (:vel-y (meters 0.05) (meters 0.016666668))
    (:accel-y (meters -0.0016666667))
    (:timer (seconds 1.335))
    (:flags (launch-along-z left-multiply-quat))
    (:conerot-x (degrees 0) (degrees 3.0000002))
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpartgroup group-ctyslum-big-fountain-top
  :id 293
  :flags (sp0)
  :bounds (static-bspherem 0 0 0 60)
  :parts ((sp-item 1252 :fade-after (meters 80) :falloff-to (meters 140) :flags (sp7) :hour-mask #b111111000000000000111111)
    (sp-item 1253 :fade-after (meters 80) :falloff-to (meters 140) :flags (sp7) :hour-mask #b111111111111000000)
    (sp-item 1254 :fade-after (meters 80) :falloff-to (meters 140) :flags (sp7) :hour-mask #b111111111111000000)
    (sp-item 1255 :fade-after (meters 80) :falloff-to (meters 140) :flags (sp7))
    )
  )

(defpart 1252
  :init-specs ((:texture (water-drops level-default-sprite))
    (:num 0.5)
    (:scale-x (meters 0.2) (meters 0.5))
    (:rot-z (degrees 0) 1 (degrees 180))
    (:scale-y (meters 8))
    (:r 180.0)
    (:g 180.0)
    (:b 180.0)
    (:a 128.0)
    (:vel-y (meters 0.13333334) (meters 0.016666668))
    (:scalevel-x (meters 0.006666667))
    (:scalevel-y (meters -0.026666667))
    (:fade-a -0.19692308 -0.19692308)
    (:accel-y (meters -0.0016666667))
    (:friction 0.98)
    (:timer (seconds 2))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-13 launch-along-z left-multiply-quat))
    (:next-time (seconds 0.835) (seconds 0.08))
    (:next-launcher 1256)
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpart 1256
  :init-specs ((:scalevel-y (meters 0.026666667)) (:fade-a -0.09846154))
  )

(defpart 1257
  :init-specs ((:texture (water-drops level-default-sprite))
    (:num 0.5)
    (:scale-x (meters 8))
    (:rot-z (degrees 90) 1 (degrees 180))
    (:scale-y (meters 0.2) (meters 0.5))
    (:r 180.0)
    (:g 180.0)
    (:b 180.0)
    (:a 128.0)
    (:vel-y (meters 0.13333334) (meters 0.016666668))
    (:scalevel-x (meters -0.026666667))
    (:scalevel-y (meters 0.006666667))
    (:fade-a -0.19692308 -0.19692308)
    (:accel-y (meters -0.0016666667))
    (:friction 0.98)
    (:timer (seconds 2))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-13 launch-along-z left-multiply-quat))
    (:next-time (seconds 0.835) (seconds 0.08))
    (:next-launcher 1258)
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpart 1258
  :init-specs ((:scalevel-x (meters 0.026666667)) (:fade-a -0.09846154))
  )

(defpart 1253
  :init-specs ((:texture (water-drops level-default-sprite))
    (:num 0.5)
    (:scale-x (meters 0.2) (meters 0.5))
    (:rot-z (degrees 0) 1 (degrees 180))
    (:scale-y (meters 8))
    (:r 0.0 40.0)
    (:g 100.0 20.0)
    (:b 128.0)
    (:a 128.0)
    (:vel-y (meters 0.13333334) (meters 0.016666668))
    (:scalevel-x (meters 0.006666667))
    (:scalevel-y (meters -0.026666667))
    (:fade-r 0.12923077)
    (:fade-g 0.03076923)
    (:fade-a -0.19692308 -0.19692308)
    (:accel-y (meters -0.0016666667))
    (:friction 0.98)
    (:timer (seconds 2))
    (:flags (sp-cpuinfo-flag-2 launch-along-z left-multiply-quat))
    (:next-time (seconds 0.835) (seconds 0.08))
    (:next-launcher 1259)
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpart 1259
  :init-specs ((:scalevel-y (meters 0.026666667)) (:fade-a -0.09846154))
  )

(defpart 1254
  :init-specs ((:texture (water-drops level-default-sprite))
    (:num 0.5)
    (:scale-x (meters 8))
    (:rot-z (degrees 90) 1 (degrees 180))
    (:scale-y (meters 0.2) (meters 0.5))
    (:r 0.0 40.0)
    (:g 100.0 20.0)
    (:b 128.0)
    (:a 128.0)
    (:vel-y (meters 0.13333334) (meters 0.016666668))
    (:scalevel-x (meters -0.026666667))
    (:scalevel-y (meters 0.006666667))
    (:fade-r 0.12923077)
    (:fade-g 0.03076923)
    (:fade-a -0.19692308 -0.19692308)
    (:accel-y (meters -0.0016666667))
    (:friction 0.98)
    (:timer (seconds 2))
    (:flags (sp-cpuinfo-flag-2 launch-along-z left-multiply-quat))
    (:next-time (seconds 0.835) (seconds 0.08))
    (:next-launcher 1260)
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpart 1260
  :init-specs ((:scalevel-x (meters 0.026666667)) (:fade-a -0.09846154))
  )

(defpart 1255
  :init-specs ((:texture (water-drops level-default-sprite))
    (:num 2.0)
    (:y (meters -1))
    (:scale-x (meters 1) (meters 3))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 220.0)
    (:g 220.0)
    (:b 220.0)
    (:a 64.0 64.0)
    (:vel-y (meters 0.033333335))
    (:scalevel-x (meters -0.0016666667))
    (:scalevel-y :copy scalevel-x)
    (:fade-a -0.42666668 -0.42666668)
    (:accel-y (meters -0.0016666667))
    (:friction 0.98)
    (:timer (seconds 1))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-13 launch-along-z left-multiply-quat))
    (:conerot-x (degrees 40))
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpartgroup group-ctyslum-big-fountain-top-light
  :id 294
  :flags (sp0)
  :bounds (static-bspherem 0 0 0 60)
  :parts ((sp-item 1261 :flags (is-3d sp6 sp7) :hour-mask #b111111111111000000))
  )

(defpart 1261
  :init-specs ((:texture (light-burst level-default-sprite))
    (:num 1.0)
    (:y (meters -2))
    (:scale-x (meters 200))
    (:rot-z (degrees 90))
    (:scale-y (meters 5))
    (:r 0.0 40.0)
    (:g 100.0 20.0)
    (:b 128.0)
    (:a 60.0 4.0)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-3 launch-along-z left-multiply-quat))
    (:func 'sparticle-3d-rotate-xz-to-camera)
    (:rotate-y (degrees 0))
    )
  )

(defpartgroup group-ctyslum-barrel-fire
  :id 295
  :bounds (static-bspherem 0 3 0 4)
  :parts ((sp-item 1263 :fade-after (meters 50) :falloff-to (meters 80))
    (sp-item 1264 :fade-after (meters 60) :falloff-to (meters 90) :period (seconds 0.335) :length (seconds 0.167))
    (sp-item 1265 :fade-after (meters 20) :falloff-to (meters 20) :period (seconds 0.4) :length (seconds 0.185) :offset 20)
    (sp-item 1266 :fade-after (meters 40) :falloff-to (meters 40) :period (seconds 0.535) :length (seconds 0.1) :offset 35)
    (sp-item 1264 :fade-after (meters 20) :falloff-to (meters 20) :period (seconds 0.85) :length (seconds 0.2) :offset 65)
    (sp-item 1265 :fade-after (meters 40) :falloff-to (meters 40) :period (seconds 1.25) :length (seconds 0.135) :offset 15)
    (sp-item 1266 :fade-after (meters 60) :falloff-to (meters 90) :period (seconds 1.435) :length (seconds 0.167) :offset 85)
    (sp-item 1264 :fade-after (meters 40) :falloff-to (meters 40) :period (seconds 2) :length (seconds 0.235) :offset 100)
    (sp-item 1265 :fade-after (meters 20) :falloff-to (meters 20) :period (seconds 4.167) :length (seconds 0.15) :offset 450)
    (sp-item 1266 :fade-after (meters 60) :falloff-to (meters 90) :period (seconds 5) :length (seconds 0.085) :offset 115)
    (sp-item 1264 :fade-after (meters 20) :falloff-to (meters 20) :period (seconds 7) :length (seconds 0.185) :offset 80)
    (sp-item 1267 :fade-after (meters 20) :falloff-to (meters 10) :binding 1262)
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1262 :flags (sp1 sp2 sp3))
    (sp-item 1268 :fade-after (meters 50) :falloff-to (meters 50))
    (sp-item 1269 :fade-after (meters 30) :falloff-to (meters 30))
    (sp-item 1270 :fade-after (meters 70) :flags (sp6))
    )
  )

(defpart 1270
  :init-specs ((:texture (glow-soft level-default-sprite))
    (:num 1.0)
    (:y (meters 0.5))
    (:scale-x (meters 5) (meters 0.1))
    (:rot-x (degrees 45))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 0.0 128.0)
    (:b 0.0)
    (:a 12.0)
    (:fade-a -0.4)
    (:timer (seconds 0.017))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 10240.0)
    )
  )

(defpart 1267
  :init-specs ((:texture (middot level-default-sprite))
    (:num 0.0 0.8)
    (:sound (static-sound-spec "fire-pop" :group 0 :volume 10000.0))
    (:x (meters -0.3) (meters 0.6))
    (:scale-x (meters 0.1))
    (:scale-y :copy scale-x)
    (:r 256.0)
    (:g 0.0)
    (:b 0.0)
    (:a 0.0)
    (:vel-y (meters 0.013333334) (meters 0.026666667))
    (:accel-y (meters -0.000033333334) (meters -0.00006666667))
    (:friction 0.96)
    (:timer (seconds 1))
    (:flags (sp-cpuinfo-flag-1 sp-cpuinfo-flag-3))
    (:conerot-x (degrees -20) (degrees 40))
    (:conerot-y (degrees 0) (degrees 360))
    (:rotate-y (degrees 0) (degrees 360))
    )
  )

(defpart 1262
  :init-specs ((:texture (hotdot level-default-sprite))
    (:num 1.0)
    (:x (meters 0) (meters 16))
    (:y (meters 0) (meters 16))
    (:z (meters 0.1) (meters 0.3))
    (:scale-x (meters 0.1))
    (:scale-y :copy scale-x)
    (:r 256.0)
    (:g 128.0)
    (:b 128.0)
    (:a 96.0 32.0)
    (:omega (degrees 0) (degrees 360))
    (:vel-x (meters -0.026666667) (meters 0.053333335))
    (:vel-y (meters 0))
    (:vel-z (meters -0.0013333333) (meters 0.0026666666))
    (:fade-r 0.0)
    (:fade-g -0.7111111)
    (:fade-b -0.7111111)
    (:fade-a -0.42666668)
    (:timer (seconds 1))
    (:flags (sp-cpuinfo-flag-1 sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 ready-to-launch))
    (:next-time (seconds 0.6))
    (:next-launcher 1271)
    )
  )

(defpart 1271
  :init-specs ((:fade-r -1.0666667) (:fade-g 1.0666667) (:fade-b 1.0666667))
  )

(defpart 1264
  :init-specs ((:texture (explosion-nebula level-default-sprite))
    (:birth-func 'birth-func-texture-group)
    (:num 4.0 6.0)
    (:x (meters 0) (meters -0.25))
    (:y (meters -0.8))
    (:scale-x (meters 0.3) (meters 0.2))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 240.0 15.0)
    (:g 200.0 16.0)
    (:b 160.0 16.0)
    (:a 32.0 32.0)
    (:vel-x (meters 0.00033333333))
    (:vel-y (meters 0.006666667) (meters 0.006666667))
    (:rotvel-z (degrees -0.4) (degrees 0.8))
    (:fade-r -2.1333334 -1.0666667)
    (:fade-g -4.266667 -2.1333334)
    (:fade-b -5.3333335)
    (:accel-y (meters -0.0001))
    (:timer (seconds 0.535) (seconds 0.265))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3))
    (:userdata :data (new 'static 'boxed-array :type int32 40 1 0 #x400000 #x400000 #x400700))
    (:next-time (seconds 0.1) (seconds 0.03))
    (:next-launcher 1272)
    (:conerot-x (degrees -8) 4 (degrees 4))
    (:conerot-y (degrees -180) (degrees 360))
    (:rotate-y (degrees 0) (degrees 87))
    (:conerot-radius (meters 0) (meters 0.5))
    )
  )

(defpart 1265
  :init-specs ((:texture (explosion-nebula level-default-sprite))
    (:birth-func 'birth-func-texture-group)
    (:num 4.0 6.0)
    (:x (meters 0) (meters -0.25))
    (:y (meters -0.8))
    (:scale-x (meters 0.3) (meters 0.2))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 240.0 15.0)
    (:g 200.0 16.0)
    (:b 160.0 16.0)
    (:a 32.0 32.0)
    (:vel-x (meters 0.00033333333))
    (:vel-y (meters 0.006666667) (meters 0.006666667))
    (:rotvel-z (degrees -0.4) (degrees 0.8))
    (:fade-r -2.1333334 -1.0666667)
    (:fade-g -4.266667 -2.1333334)
    (:fade-b -5.3333335)
    (:accel-y (meters -0.0001))
    (:timer (seconds 0.535) (seconds 0.265))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3))
    (:userdata :data (new 'static 'boxed-array :type int32 40 1 0 #x400000 #x400000 #x400700))
    (:next-time (seconds 0.1) (seconds 0.03))
    (:next-launcher 1272)
    (:conerot-x (degrees -8) 4 (degrees 4))
    (:conerot-y (degrees -180) (degrees 360))
    (:rotate-y (degrees 120) (degrees 90))
    (:conerot-radius (meters 0) (meters 0.5))
    )
  )

(defpart 1266
  :init-specs ((:texture (explosion-nebula level-default-sprite))
    (:birth-func 'birth-func-texture-group)
    (:num 4.0 6.0)
    (:x (meters 0) (meters -0.25))
    (:y (meters -0.8))
    (:scale-x (meters 0.3) (meters 0.2))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 240.0 15.0)
    (:g 200.0 16.0)
    (:b 160.0 16.0)
    (:a 32.0 32.0)
    (:vel-x (meters 0.00033333333))
    (:vel-y (meters 0.006666667) (meters 0.006666667))
    (:rotvel-z (degrees -0.4) (degrees 0.8))
    (:fade-r -2.1333334 -1.0666667)
    (:fade-g -4.266667 -2.1333334)
    (:fade-b -5.3333335)
    (:accel-y (meters -0.0001))
    (:timer (seconds 0.535) (seconds 0.265))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3))
    (:userdata :data (new 'static 'boxed-array :type int32 40 1 0 #x400000 #x400000 #x400700))
    (:next-time (seconds 0.1) (seconds 0.03))
    (:next-launcher 1272)
    (:conerot-x (degrees -8) 4 (degrees 4))
    (:conerot-y (degrees -180) (degrees 360))
    (:rotate-y (degrees 240) (degrees 110))
    (:conerot-radius (meters 0) (meters 0.5))
    )
  )

(defpart 1272
  :init-specs ((:b 0.0)
    (:fade-r 0.0)
    (:fade-g 0.0)
    (:fade-b 0.0)
    (:fade-a -0.4 -0.2)
    (:next-time (seconds 0.135) (seconds 0.03))
    (:next-launcher 1273)
    )
  )

(defpart 1273
  :init-specs ((:fade-r -0.125) (:fade-g 0.4) (:fade-b 0.4))
  )

(defpart 1263
  :init-specs ((:texture (explosion-nebula level-default-sprite))
    (:birth-func 'birth-func-texture-group)
    (:num 1.0 4.0)
    (:x (meters 0) (meters -0.25))
    (:y (meters -0.8))
    (:scale-x (meters 0.5) (meters 0.3))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 32.0)
    (:g 128.0)
    (:b 128.0)
    (:a 16.0 16.0)
    (:vel-x (meters 0.00033333333))
    (:vel-y (meters 0.006666667) (meters 0.006666667))
    (:rotvel-z (degrees -0.4) (degrees 0.8))
    (:fade-a -0.16 -0.16)
    (:accel-y (meters -0.0001))
    (:timer (seconds 1))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-4))
    (:userdata :data (new 'static 'boxed-array :type int32 40 1 0 #x400000 #x400000 #x400700))
    (:conerot-x (degrees -8) 4 (degrees 4))
    (:conerot-y (degrees -180) (degrees 360))
    (:rotate-y (degrees 0) (degrees 360))
    (:conerot-radius (meters 0) (meters 0.5))
    )
  )

(defpart 1268
  :init-specs ((:texture (bigpuff level-default-sprite))
    (:num 0.4)
    (:x (meters -0.25) (meters 0.5))
    (:scale-x (meters 1) (meters 0.5))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 196.0)
    (:g 128.0)
    (:b 128.0)
    (:a 8.0 8.0)
    (:vel-y (meters 0.01) (meters 0.01))
    (:scalevel-x (meters 0.006666667))
    (:rotvel-z (degrees -0.2) (degrees 0.4))
    (:scalevel-y :copy scalevel-x)
    (:fade-r -0.64)
    (:fade-g -0.32)
    (:fade-b -0.32)
    (:fade-a -0.017777778 -0.026666667)
    (:accel-y (meters -0.000006666667))
    (:friction 0.99)
    (:timer (seconds 2))
    (:flags (sp-cpuinfo-flag-2))
    (:next-time (seconds 0.5) (seconds 0.165))
    (:next-launcher 1274)
    (:rotate-y (degrees 0) (degrees 360))
    )
  )

(defpart 1274
  :init-specs ((:fade-r 0.0) (:fade-g 0.0) (:fade-b 0.0))
  )

(defpart 1269
  :init-specs ((:num 0.4)
    (:x (meters 0) (meters 0.2))
    (:rot-x 8)
    (:r 1638.4)
    (:g 1331.2)
    (:b 1433.6)
    (:vel-x (meters 0) (meters 0.006666667))
    (:vel-y (meters 0.02) (meters 0.013333334))
    (:friction 0.96)
    (:timer (seconds 1))
    (:flags (distort))
    (:next-time (seconds 0.5))
    (:next-launcher 1275)
    (:rotate-y (degrees 0) (degrees 360))
    )
  )

(defpart 1275
  :init-specs ((:fade-b -0.68266666))
  )

(defpartgroup group-hijack-kgpickup-explode
  :id 296
  :duration (seconds 4)
  :flags (sp0 sp5)
  :bounds (static-bspherem 0 0 0 15)
  :parts ((sp-item 1277 :flags (sp3) :period (seconds 30) :length (seconds 0.017))
    (sp-item 1278 :period (seconds 30) :length (seconds 0.035))
    (sp-item 1279 :flags (sp3) :period (seconds 30) :length (seconds 0.017))
    (sp-item 1280 :period (seconds 30) :length (seconds 0.035))
    (sp-item 1281 :period (seconds 30) :length (seconds 0.035))
    (sp-item 1282 :flags (sp3) :period (seconds 30) :length (seconds 0.017))
    (sp-item 1283 :period (seconds 30) :length (seconds 0.167))
    (sp-item 1284 :period (seconds 30) :length (seconds 0.5))
    (sp-item 1285 :flags (sp3) :binding 1276)
    (sp-item 1285 :flags (sp3) :binding 1276)
    (sp-item 1285 :flags (sp3) :binding 1276)
    (sp-item 1285 :flags (sp3) :binding 1276)
    (sp-item 1285 :flags (sp3) :binding 1276)
    (sp-item 1276 :flags (sp2) :period (seconds 4) :length (seconds 2))
    (sp-item 1276 :flags (sp2) :period (seconds 4) :length (seconds 2))
    (sp-item 1276 :flags (sp2) :period (seconds 4) :length (seconds 2))
    (sp-item 1276 :flags (sp2) :period (seconds 4) :length (seconds 2))
    (sp-item 1276 :flags (sp2) :period (seconds 4) :length (seconds 2))
    )
  )

(defpart 1277
  :init-specs ((:texture (glow-soft level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 20))
    (:rot-x (degrees 225))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 128.0)
    (:b 40.0)
    (:a 64.0)
    (:fade-a -0.21333334)
    (:timer (seconds 1))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 40960.0)
    )
  )

(defpart 1278
  :init-specs ((:texture (hotdot level-default-sprite))
    (:num 10.0 10.0)
    (:scale-x (meters 0.8) (meters 1.2))
    (:rot-y (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 128.0)
    (:g 80.0 20.0)
    (:b 30.0)
    (:a 128.0)
    (:vel-y (meters 0.16666667) (meters 0.33333334))
    (:scalevel-x (meters -0.0016666667))
    (:scalevel-y :copy scalevel-x)
    (:fade-g -0.17777778)
    (:fade-b -0.06666667)
    (:fade-a -0.28444445 -0.28444445)
    (:friction 0.9)
    (:timer (seconds 1.5))
    (:flags (sp-cpuinfo-flag-0 sp-cpuinfo-flag-3))
    (:conerot-x (degrees 0) (degrees 360))
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpart 1279
  :init-specs ((:texture (explosion-nebula level-default-sprite))
    (:num 30.0)
    (:scale-x (meters 3) (meters 2))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 160.0)
    (:b 40.0)
    (:a 128.0)
    (:vel-y (meters 0) (meters 0.06666667))
    (:scalevel-x (meters 0.016666668))
    (:scalevel-y :copy scalevel-x)
    (:fade-g -0.22857143)
    (:fade-b -0.08571429)
    (:fade-a -0.36571428 -0.36571428)
    (:friction 0.93)
    (:timer (seconds 1.167))
    (:flags (sp-cpuinfo-flag-3))
    (:conerot-x (degrees 0) (degrees 360))
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpart 1280
  :init-specs ((:texture (explosion-edge level-default-sprite))
    (:num 5.0)
    (:scale-x (meters 3) (meters 2))
    (:rot-y (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 8.0 8.0)
    (:g :copy r)
    (:b :copy r)
    (:a 64.0)
    (:vel-y (meters 0.33333334) (meters 0.13333334))
    (:scalevel-x (meters 0.06666667))
    (:scalevel-y :copy scalevel-x)
    (:fade-a -0.10666667 -0.10666667)
    (:friction 0.7)
    (:timer (seconds 1))
    (:flags (sp-cpuinfo-flag-0 sp-cpuinfo-flag-2 sp-cpuinfo-flag-13))
    (:func 'sparticle-2d-spline-align-instant)
    (:conerot-x (degrees 0) (degrees 360))
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpart 1281
  :init-specs ((:texture (explosion-nebula level-default-sprite))
    (:birth-func 'birth-func-curve)
    (:num 30.0)
    (:scale-x (meters 1))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 1.0)
    (:g 1.0)
    (:b 128.0)
    (:a 128.0)
    (:vel-y (meters 0.05))
    (:friction 0.97)
    (:timer (seconds 2))
    (:flags (sp-cpuinfo-flag-13))
    (:userdata 0.0)
    (:func 'live-func-curve)
    (:conerot-x (degrees 0) (degrees 360))
    (:conerot-z (degrees 0) (degrees 360))
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(if #t
    (set! *range-kgpickup-dust-color* (new 'static 'curve-color-fast
                                        :xs (new 'static 'vector :y -1.0 :z -2.0 :w -3.0)
                                        :ys (new 'static 'inline-array vector 4
                                          (new 'static 'vector :x 70.0 :y 70.0 :z 70.0 :w 128.0)
                                          (new 'static 'vector :x 40.0 :y 40.0 :z 40.0 :w 128.0)
                                          (new 'static 'vector :x 40.0 :y 40.0 :z 40.0 :w 128.0)
                                          (new 'static 'vector :x 40.0 :y 40.0 :z 40.0 :w 128.0)
                                          )
                                        :one-over-x-deltas (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0)
                                        )
          )
    )

(if #t
    (set! *range-kgpickup-dust-alpha* (new 'static 'curve2d-fast
                                        :xs (new 'static 'vector :y -1.0 :z -2.0 :w -3.0)
                                        :ys (new 'static 'vector :x 64.0 :y 32.0 :z 33.0 :w 34.0)
                                        :one-over-x-deltas (new 'static 'vector :x -32.0 :y 1.0 :z 1.0 :w 1.0)
                                        )
          )
    )

(if #t
    (set! *range-kgpickup-dust-scale-x* (new 'static 'curve2d-fast
                                          :xs (new 'static 'vector :y -1.0 :z -2.0 :w -3.0)
                                          :ys (new 'static 'vector :x 8.0 :y 20.0 :z 21.0 :w 22.0)
                                          :one-over-x-deltas (new 'static 'vector :x 12.0 :y 1.0 :z 1.0 :w 1.0)
                                          )
          )
    )

(if #t
    (set! *range-kgpickup-dust-scale-y* (new 'static 'curve2d-fast
                                          :xs (new 'static 'vector :y -1.0 :z -2.0 :w -3.0)
                                          :ys (new 'static 'vector :x 8.0 :y 20.0 :z 21.0 :w 22.0)
                                          :one-over-x-deltas (new 'static 'vector :x 12.0 :y 1.0 :z 1.0 :w 1.0)
                                          )
          )
    )

(if #t
    (set! *curve-kgpickup-dust-alpha* (new 'static 'curve2d-fast
                                        :xs (new 'static 'vector :y -0.7 :z -1.0 :w -2.0)
                                        :ys (new 'static 'vector :y 1.0 :w 1.0)
                                        :one-over-x-deltas (new 'static 'vector :x 1.4285715 :y -3.3333333 :z 1.0 :w 1.0)
                                        )
          )
    )

(if #t
    (set! *curve-kgpickup-dust-scale-x* (new 'static 'curve2d-fast
                                          :xs (new 'static 'vector :y -0.5 :z -1.0 :w -2.0)
                                          :ys (new 'static 'vector :x 0.2 :y 0.8 :z 1.2 :w 2.2)
                                          :one-over-x-deltas (new 'static 'vector :x 1.2 :y 0.8000001 :z 1.0 :w 1.0)
                                          )
          )
    )

(if #t
    (set! *curve-kgpickup-dust-scale-y* (new 'static 'curve2d-fast
                                          :xs (new 'static 'vector :y -0.5 :z -1.0 :w -2.0)
                                          :ys (new 'static 'vector :x 0.2 :y 0.8 :z 1.2 :w 2.2)
                                          :one-over-x-deltas (new 'static 'vector :x 1.2 :y 0.8000001 :z 1.0 :w 1.0)
                                          )
          )
    )

(define *part-hijack-kgpickup-explosion-dust-in-curve-settings* (new 'static 'particle-curve-settings
                                                                  :lifetime-base (seconds 0.5)
                                                                  :lifetime-offset (seconds 1)
                                                                  :flags (particle-curve-flags pcf0)
                                                                  )
        )

(set! (-> *part-id-table* 1281 init-specs 14 initial-valuef)
      (the-as float *part-hijack-kgpickup-explosion-dust-in-curve-settings*)
      )

(set! (-> *part-hijack-kgpickup-explosion-dust-in-curve-settings* color-start) *range-kgpickup-dust-color*)

(set! (-> *part-hijack-kgpickup-explosion-dust-in-curve-settings* alpha-start) *range-kgpickup-dust-alpha*)

(set! (-> *part-hijack-kgpickup-explosion-dust-in-curve-settings* scale-x-start)
      *range-kgpickup-dust-scale-x*
      )

(set! (-> *part-hijack-kgpickup-explosion-dust-in-curve-settings* scale-y-start)
      *range-kgpickup-dust-scale-y*
      )

(set! (-> *part-hijack-kgpickup-explosion-dust-in-curve-settings* r-scalar) #f)

(set! (-> *part-hijack-kgpickup-explosion-dust-in-curve-settings* g-scalar) #f)

(set! (-> *part-hijack-kgpickup-explosion-dust-in-curve-settings* b-scalar) #f)

(set! (-> *part-hijack-kgpickup-explosion-dust-in-curve-settings* a-scalar) *curve-kgpickup-dust-alpha*)

(set! (-> *part-hijack-kgpickup-explosion-dust-in-curve-settings* scale-x-scalar)
      *curve-kgpickup-dust-scale-x*
      )

(set! (-> *part-hijack-kgpickup-explosion-dust-in-curve-settings* scale-y-scalar)
      *curve-kgpickup-dust-scale-y*
      )

(defpart 1283
  :init-specs ((:texture (explosion-edge level-default-sprite))
    (:num 5.0)
    (:scale-x (meters 3) (meters 2))
    (:rot-y (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 128.0)
    (:g 80.0 20.0)
    (:b 30.0)
    (:a 128.0)
    (:vel-y (meters 0.33333334) (meters 0.13333334))
    (:scalevel-x (meters 0.033333335))
    (:scalevel-y :copy scalevel-x)
    (:fade-g -0.17777778)
    (:fade-b -0.06666667)
    (:fade-a -0.28444445 -0.28444445)
    (:friction 0.7)
    (:timer (seconds 1.5))
    (:flags (sp-cpuinfo-flag-0 sp-cpuinfo-flag-3))
    (:func 'sparticle-2d-spline-align-instant)
    (:conerot-x (degrees 0) (degrees 360))
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpart 1284
  :init-specs ((:texture (explo-texture level-default-sprite))
    (:birth-func 'birth-func-curve)
    (:num 8.0)
    (:x (meters -1) (meters 2))
    (:y (meters 0) (meters 2))
    (:scale-x (meters 1))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 128.0)
    (:g 128.0)
    (:b 128.0)
    (:a 128.0)
    (:vel-y (meters 0.06666667) (meters 0.033333335))
    (:friction 0.9)
    (:timer (seconds 1))
    (:flags ())
    (:userdata 0.0)
    (:func 'live-func-curve)
    (:conerot-x (degrees 20) (degrees 90))
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(if #t
    (set! *range-kgpickup-color* (new 'static 'curve-color-fast
                                   :xs (new 'static 'vector :y -1.0 :z -2.0 :w -3.0)
                                   :ys (new 'static 'inline-array vector 4
                                     (new 'static 'vector :x 255.0 :y 255.0 :z 255.0 :w 128.0)
                                     (new 'static 'vector :x 255.0 :y 255.0 :z 255.0 :w 128.0)
                                     (new 'static 'vector :x 255.0 :y 255.0 :z 255.0 :w 128.0)
                                     (new 'static 'vector :x 255.0 :y 255.0 :z 255.0 :w 128.0)
                                     )
                                   :one-over-x-deltas (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0)
                                   )
          )
    )

(if #t
    (set! *range-kgpickup-alpha* (new 'static 'curve2d-fast
                                   :xs (new 'static 'vector :y -1.0 :z -2.0 :w -3.0)
                                   :ys (new 'static 'vector :x 128.0 :y 128.0 :z 129.0 :w 130.0)
                                   :one-over-x-deltas (new 'static 'vector :y 1.0 :z 1.0 :w 1.0)
                                   )
          )
    )

(if #t
    (set! *range-kgpickup-scale-x* (new 'static 'curve2d-fast
                                     :xs (new 'static 'vector :y -1.0 :z -2.0 :w -3.0)
                                     :ys (new 'static 'vector :x 3.0 :y 5.0 :z 6.0 :w 7.0)
                                     :one-over-x-deltas (new 'static 'vector :x 2.0 :y 1.0 :z 1.0 :w 1.0)
                                     )
          )
    )

(if #t
    (set! *range-kgpickup-scale-y* (new 'static 'curve2d-fast
                                     :xs (new 'static 'vector :y -1.0 :z -2.0 :w -3.0)
                                     :ys (new 'static 'vector :x 3.0 :y 5.0 :z 6.0 :w 7.0)
                                     :one-over-x-deltas (new 'static 'vector :x 2.0 :y 1.0 :z 1.0 :w 1.0)
                                     )
          )
    )

(if #t
    (set! *curve-kgpickup-alpha* (new 'static 'curve2d-fast
                                   :xs (new 'static 'vector :y -0.05 :z -0.7 :w -1.0)
                                   :ys (new 'static 'vector :y 1.0 :z 0.8)
                                   :one-over-x-deltas (new 'static 'vector :x 20.0 :y -0.3076923 :z -2.6666665 :w 1.0)
                                   )
          )
    )

(if #t
    (set! *curve-kgpickup-scale-x* (new 'static 'curve2d-fast
                                     :xs (new 'static 'vector :y -0.8 :z -1.0 :w -2.0)
                                     :ys (new 'static 'vector :y 1.0 :z 1.5 :w 2.5)
                                     :one-over-x-deltas (new 'static 'vector :x 1.25 :y 2.5000002 :z 1.0 :w 1.0)
                                     )
          )
    )

(if #t
    (set! *curve-kgpickup-scale-y* (new 'static 'curve2d-fast
                                     :xs (new 'static 'vector :y -0.8 :z -1.0 :w -2.0)
                                     :ys (new 'static 'vector :y 1.0 :z 1.5 :w 2.5)
                                     :one-over-x-deltas (new 'static 'vector :x 1.25 :y 2.5000002 :z 1.0 :w 1.0)
                                     )
          )
    )

(define *part-hijack-kgpickup-explosion-texture-curve-settings* (new 'static 'particle-curve-settings
                                                                  :lifetime-base (seconds 0.1)
                                                                  :lifetime-offset (seconds 0.6)
                                                                  :flags (particle-curve-flags pcf0)
                                                                  )
        )

(set! (-> *part-id-table* 1284 init-specs 16 initial-valuef)
      (the-as float *part-hijack-kgpickup-explosion-texture-curve-settings*)
      )

(set! (-> *part-hijack-kgpickup-explosion-texture-curve-settings* color-start) *range-kgpickup-color*)

(set! (-> *part-hijack-kgpickup-explosion-texture-curve-settings* alpha-start) *range-kgpickup-alpha*)

(set! (-> *part-hijack-kgpickup-explosion-texture-curve-settings* scale-x-start) *range-kgpickup-scale-x*)

(set! (-> *part-hijack-kgpickup-explosion-texture-curve-settings* scale-y-start) *range-kgpickup-scale-y*)

(set! (-> *part-hijack-kgpickup-explosion-texture-curve-settings* r-scalar) #f)

(set! (-> *part-hijack-kgpickup-explosion-texture-curve-settings* g-scalar) #f)

(set! (-> *part-hijack-kgpickup-explosion-texture-curve-settings* b-scalar) #f)

(set! (-> *part-hijack-kgpickup-explosion-texture-curve-settings* a-scalar) *curve-kgpickup-alpha*)

(set! (-> *part-hijack-kgpickup-explosion-texture-curve-settings* scale-x-scalar) *curve-kgpickup-scale-x*)

(set! (-> *part-hijack-kgpickup-explosion-texture-curve-settings* scale-y-scalar) *curve-kgpickup-scale-y*)

(defpart 1282
  :init-specs ((:texture (starflash level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 20))
    (:rot-x (degrees 2.25))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 128.0)
    (:g 80.0)
    (:b 40.0)
    (:a 128.0)
    (:omega (degrees 6767.9995))
    (:scalevel-x (meters -0.33333334))
    (:scalevel-y :copy scalevel-x)
    (:timer (seconds 0.135))
    (:flags (sp-cpuinfo-flag-2 sp-cpuinfo-flag-3 glow))
    (:userdata 4096.0)
    )
  )

(defpart 1285
  :init-specs ((:texture (hotdot level-default-sprite))
    (:num 1.0)
    (:scale-x (meters 4) (meters 4))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 255.0)
    (:b 200.0)
    (:a 128.0)
    (:vel-y (meters 0.06666667) (meters 0.06666667))
    (:scalevel-x (meters -0.033333335) (meters -0.033333335))
    (:scalevel-y :copy scalevel-x)
    (:accel-y (meters -0.00066666666) (meters -0.00066666666))
    (:timer (seconds 2))
    (:flags (sp-cpuinfo-flag-0 sp-cpuinfo-flag-3))
    (:conerot-x (degrees 0) (degrees 170))
    (:rotate-y (degrees 0) (degrees 3600))
    )
  )

(defpart 1276
  :init-specs ((:texture (explo-texture level-default-sprite))
    (:birth-func 'birth-func-inherit-size)
    (:num 1.0)
    (:scale-x (meters 0.00024414062) (meters 0.00012207031))
    (:rot-z (degrees 0) (degrees 360))
    (:scale-y :copy scale-x)
    (:r 255.0)
    (:g 128.0)
    (:b 32.0)
    (:a 128.0)
    (:fade-a -0.36571428 -0.36571428)
    (:accel-y (meters 0) (meters -0.00033333333))
    (:timer (seconds 1.167))
    (:flags (sp-cpuinfo-flag-3))
    )
  )
