;;-*-Lisp-*-
(in-package goal)
(bundles "SNO.DGO" "SWA.DGO")
(require "engine/gfx/sprite/sparticle/sparticle-h.gc")
(require "engine/gfx/texture/texture-h.gc")
(require "engine/gfx/sprite/sparticle/sparticle-launcher-h.gc")

;; DECOMP BEGINS

(defpartgroup group-flut-trans-pad
  :id 120
  :bounds (static-bspherem 0 0 0 8)
  :parts
  ((sp-item 746 :fade-after (meters 160))
   (sp-item 747 :fade-after (meters 160))
   (sp-item 748 :fade-after (meters 60) :falloff-to (meters 60) :flags (is-3d))))

(defpart 746
  :init-specs
  ((:texture (bigpuff-half effects))
   (:num 0.5)
   (:y (meters 7))
   (:scale-x (meters 14) (meters 1))
   (:scale-y (meters 14))
   (:r 40.0)
   (:g 60.0 60.0)
   (:b 128.0)
   (:a 32.0 32.0)
   (:timer (seconds 0.035))
   (:flags (bit2 bit3))))

(defpart 747
  :init-specs
  ((:texture (bigpuff-half effects))
   (:num 0.5)
   (:y (meters 4))
   (:scale-x (meters 7) (meters 1))
   (:scale-y (meters 14))
   (:r 40.0)
   (:g 60.0 60.0)
   (:b 128.0)
   (:a 64.0 64.0)
   (:fade-a -8.533334)
   (:timer (seconds 0.035))
   (:flags (bit2 bit3))))

(defpart 748
  :init-specs
  ((:texture (water-ring effects))
   (:num 1.0)
   (:y (meters 0.75) (meters 0.1))
   (:scale-x (meters 0))
   (:rot-x (degrees 0) (degrees 15))
   (:rot-y (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 16.0)
   (:g 0.0 127.0)
   (:b 127.0)
   (:a 127.0)
   (:vel-y (meters 0))
   (:scalevel-x (meters 0.02))
   (:rotvel-y (degrees -0.6) (degrees 1.2))
   (:scalevel-y :copy scalevel-x)
   (:fade-a -0.21333334)
   (:accel-y (meters -0.00015))
   (:timer (seconds 1))
   (:flags (bit2 bit3))))

(defpartgroup group-flut-attack-strike-ground
  :id 121
  :duration (seconds 0.035)
  :linger-duration (seconds 1.5)
  :bounds (static-bspherem 0 0 0 2)
  :parts ((sp-item 749) (sp-item 750)))

(defpart 749
  :init-specs
  ((:texture (bigpuff effects))
   (:num 24.0)
   (:y (meters 1))
   (:scale-x (meters 1) (meters 1))
   (:rot-z (degrees 0) (degrees 360))
   (:scale-y :copy scale-x)
   (:r 128.0)
   (:g 128.0)
   (:b 128.0)
   (:a 8.0 56.0)
   (:vel-y (meters 0.13333334) (meters 0.16666667))
   (:scalevel-x (meters 0.013333334))
   (:rotvel-z (degrees -0.4) (degrees 0.8))
   (:scalevel-y :copy scalevel-x)
   (:fade-g -1.4222223)
   (:fade-a -0.35555556)
   (:accel-y (meters 0.00008333333))
   (:friction 0.7)
   (:timer (seconds 0.6))
   (:flags (bit2 bit3))
   (:next-time (seconds 0.3))
   (:next-launcher 751)
   (:conerot-x (degrees 90))
   (:conerot-y (degrees 0) (degrees 360))))

(defpart 750
  :init-specs
  ((:texture (hotdot effects))
   (:num 32.0)
   (:y (meters 1))
   (:scale-x (meters 1) (meters 0.5))
   (:scale-y :copy scale-x)
   (:r 128.0)
   (:g 128.0)
   (:b 128.0)
   (:a 64.0 8.0)
   (:vel-y (meters 0.3))
   (:scalevel-x (meters 0.0033333334))
   (:scalevel-y :copy scalevel-x)
   (:fade-g -2.8444445)
   (:fade-a -0.82222223)
   (:friction 0.7)
   (:timer (seconds 0.3))
   (:flags (bit2 bit3))
   (:next-time (seconds 0.15))
   (:next-launcher 751)
   (:conerot-x (degrees 90))
   (:conerot-y (degrees 0) (degrees 360))))
