Upside Down || A Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (circles v)\nbroadcast (\[Intro\] start v)\n\nwhen I receive [start v]\nswitch backdrop to (backdrop.. duh v)\n\nwhen I receive [\[intro\] over v]\nbroadcast (start v)\n\n@Credits\n\n@Trampolines\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\ngo to [back v] layer\n\nwhen I receive [start v]\nshow\nforever\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\nswitch costume to (not touching v)\n\nswitch costume to (Level)\n\nwhen flag clicked\n\nwhen I receive [start v]\nshow\nforever\n    if <(Level) = [1]> then\n        hide\n    end\n    if <(Level) = [2]> then\n        hide\n    end\n    if <(Level) = [3]> then\n        hide\n    end\nend\n\nwhen I receive [start v]\nset [i v] to [0]\n\nforever\n    if <(Level) = [3]> then\n        hide\n        repeat (3)\n            change [i v] by (1)\n            create clone of (_myself_ v)\n        end\n        stop [this script v]\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching (player v)?> then\n        repeat (3)\n            next costume\n            wait (.1) seconds\n        end\n    end\nend\n\ngo to x: (5) y: (-85)\n\nwhen I start as a clone\nshow\nforever\n    if <(Level) = [6]> then\n        if <(i) = [1]> then\n            go to x: (-140) y: (25)\n            if <touching (player v)?> then\n                start sound [Basketball Bounce v]\n                repeat (3)\n                    next costume\n                    wait (.1) seconds\n                end\n            end\n            if <(Level) = [7]> then\n                delete this clone\n            end\n        end\n        if <(i) = [2]> then\n            go to x: (-15) y: (25)\n            if <touching (player v)?> then\n                start sound [Basketball Bounce v]\n                repeat (3)\n                    next costume\n                    wait (.1) seconds\n                end\n                if <(Level) = [7]> then\n                    delete this clone\n                end\n            end\n        end\n        if <(i) = [3]> then\n            go to x: (110) y: (25)\n            if <touching (player v)?> then\n                start sound [Basketball Bounce v]\n                repeat (3)\n                    next costume\n                    wait (.1) seconds\n                end\n                if <(Level) = [7]> then\n                    delete this clone\n                end\n            end\n            if <(Level) = [7]> then\n                delete this clone\n            end\n        end\n    end\n    if <(Level) = [7]> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\n\nforever\n\nstart sound [Basketball Bounce v]\n\nif <touching (player v)?> then\n    if <(Level) = [1]> then\nend\n\nif <touching (player v)?> then\n\nif <touching (player v)?> then\n    clear graphic effects\n    set size to (100) %\nend\nif <touching (player v)?> then\n    if <(i) = [1]> then\n        start sound [Basketball Bounce v]\n    end\nend\nif <touching (player v)?> then\n    if <(i) = [2]> then\n        start sound [Basketball Bounce v]\n    end\nend\nif <touching (player v)?> then\n    if <(i) = [3]> then\n        start sound [Basketball Bounce v]\n    end\nend\n\nplay sound [Basketball Bounce v] until done\nstop [this script v]\n\nwhen I receive [start v]\nforever\n    if <(Level) = [4]> then\n        set [i v] to [0]\n        hide\n        repeat (2)\n            change [i v] by (1)\n            create clone of (_myself_ v)\n        end\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    if <(Level) = [4]> then\n        if <(i) = [1]> then\n            go to x: (-155) y: (25)\n            if <touching (player v)?> then\n                start sound [Basketball Bounce v]\n                repeat (3)\n                    next costume\n                    wait (.1) seconds\n                end\n            end\n        end\n        if <(i) = [2]> then\n            go to x: (-75) y: (25)\n            if <touching (player v)?> then\n                start sound [Basketball Bounce v]\n                repeat (3)\n                    next costume\n                    wait (.1) seconds\n                end\n            end\n        end\n        if <(i) = [3]> then\n            go to x: (110) y: (-86)\n            if <touching (player v)?> then\n                start sound [Basketball Bounce v]\n                repeat (3)\n                    next costume\n                    wait (.1) seconds\n                end\n            end\n        end\n    end\n    if <(Level) = [5]> then\n        delete this clone\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(Level) = [6]> then\n        set [i v] to [0]\n        hide\n        repeat (3)\n            change [i v] by (1)\n            create clone of (_myself_ v)\n        end\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    if <(Level) = [13]> then\n        if <(i) = [1]> then\n            go to x: (-150) y: (-86)\n            if <touching (player v)?> then\n                start sound [Basketball Bounce v]\n                repeat (3)\n                    next costume\n                    wait (.1) seconds\n                end\n            end\n        end\n    end\n    if <(Level) = [14]> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    if <(Level) = [18]> then\n        if <(i) = [1]> then\n            go to x: (-130) y: (65)\n            if <touching (player v)?> then\n                start sound [Basketball Bounce v]\n                repeat (3)\n                    next costume\n                    wait (.1) seconds\n                end\n            end\n        end\n    end\n    if <(Level) = [19]> then\n        delete this clone\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(Level) = [18]> then\n        set [i v] to [0]\n        hide\n        repeat (1)\n            change [i v] by (1)\n            create clone of (_myself_ v)\n        end\n        stop [this script v]\n    end\nend\n\n@Clouds\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nrepeat (10)\n    go to [front v] layer\nend\nforever\n    create clone of (_myself_ v)\n    wait (4) seconds\nend\n\nwhen I start as a clone\nshow\nforever\n    go to x: (-300) y: (pick random (-190) to (-200))\n    switch costume to (pick random (1) to (4))\n    set size to (pick random (90) to (100)) %\n    go to [back v] layer\n    set [ghost v] effect to (pick random (20) to (30))\n    repeat (310)\n        change x by (2)\n    end\n    delete this clone\nend\n\n@Player\n\nwhen I start as a clone\n\nwhen flag clicked\nset size to (100) %\n\nwhen I receive [start v]\nshow\nforever\n    if <<<(x position) > [220]> and <touching (_edge_ v)?>> and <(Level) = [20]>> then\n        show\n    end\nend\n\nwhen I receive [start v]\nforever\n    Death\nend\n\nwhen I receive [start v]\nforever\n\nwhen I receive [start v]\ngo to [front v] layer\nswitch costume to (straight v)\nshow\nset [x veloicity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-210) y: (-30)\nforever\n    if <<not <touching (danger v)?>> and <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>>> then\n        change [x veloicity v] by (1)\n    end\n    if <<not <touching (danger v)?>> and <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>>> then\n        change [x veloicity v] by (-1)\n    end\n    set [x veloicity v] to ((x veloicity) * (.9))\n    change x by (x veloicity)\n    if <touching (level v)?> then\n        change y by (-1)\n        if <touching (level v)?> then\n            change y by (-1)\n        end\n        if <touching (level v)?> then\n            change y by (-1)\n            if <touching (level v)?> then\n                change y by (-1)\n                if <touching (level v)?> then\n                    change y by (-1)\n                    if <touching (level v)?> then\n                        change x by ((x veloicity) * (-1))\n                        change y by (5)\n                        if <<not <touching (danger v)?>> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>>> then\n                            if <(x veloicity) > [0]> then\n                                set [x veloicity v] to [-5]\n                            else\n                                set [x veloicity v] to [5]\n                            end\n                            set [y velocity v] to [-10]\n                        else\n                            set [x veloicity v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (1)\n    change y by (y velocity)\n    if <touching (level v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (1)\n    if <touching (level v)?> then\n        if <<not <touching (danger v)?>> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) > (mouse y)>>>>> then\n            change [y velocity v] by (-15)\n        end\n    end\n    change y by (-1)\n    if <<not <touching (danger v)?>> and <(x position) > [230]>> then\n        broadcast (Transition v) and wait\n        set [x veloicity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\nwhen I receive [start v]\nswitch costume to (normal v)\nforever\n    repeat until <<<key (up arrow v) pressed?> or <<key (a v) pressed?> or <<key (d v) pressed?> or <key (w v) pressed?>>>> or <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>>>\n        switch costume to (normal v)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (right v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (left v)\n    end\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        switch costume to (up v)\n    end\n    if <<<key (up arrow v) pressed?> and <key (left arrow v) pressed?>> or <<key (w v) pressed?> and <key (a v) pressed?>>> then\n        switch costume to (up-left v)\n    end\n    if <<<key (up arrow v) pressed?> and <key (right arrow v) pressed?>> or <<key (w v) pressed?> and <key (d v) pressed?>>> then\n        switch costume to (up-right v)\n    end\nend\n\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-7)\nend\ndelete this clone\n\ncreate clone of (_myself_ v)\n\ndefine Death\nif <touching (danger v)?> then\n    clear graphic effects\n    set size to (100) %\n    start sound [Death v]\n    go to x: (-205) y: (25)\nend\nif <(y position) > [180]> then\n    clear graphic effects\n    set size to (100) %\n    start sound [Death v]\n    go to x: (-205) y: (25)\nend\n\nwhen flag clicked\nhide\n\nbroadcast (start v)\n\nwhen I receive [start v]\nforever\n    if <touching (trampolines v)?> then\n        set [y velocity v] to [-20]\n    end\nend\n\nif <touching (trampolines v)?> then\n    clear graphic effects\n    set size to (100) %\n    start sound [Basketball Bounce v]\nend\n\nwhen I receive [start v]\nforever\n    if <(username) = [joshuamaier]> then\n        if <key (s v) pressed?> then\n            change [level v] by (1)\n            go to x: (-205) y: (-30)\n            wait (.5) seconds\n        end\n    end\n    if <key (r v) pressed?> then\n        go to x: (-205) y: (-30)\n    end\nend\n\ndefine Audio\n\ndefine Go To Mouse\nif <(username) = [joshuamaier]> then\n    if <key (t v) pressed?> then\n        go to (mouse-pointer v)\n    end\nend\n\nwhen I receive [start v]\nforever\n    Go To Mouse\nend\n\nbroadcast (You win!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! v)\n\nset volume to (100) %\n\nplay sound [Vexento - Pixel Party v] until done\n\nwhen I receive [start v]\nforever\n    if <not <(username) = [joshuamaier]>> then\n        if <key (s v) pressed?> then\n            if <not <<(Level) = [20]> or <(Level) = [21]>>> then\n                change [level v] by (1)\n                go to x: (-205) y: (-30)\n                stop [this script v]\n            end\n        end\n    end\nend\n\ngo to x: (104) y: (183)\n\nwhen I receive [start v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset size to (100) %\nswitch costume to (trail v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-7)\nend\ndelete this clone\n\nwhen I receive [transition v]\ngo to x: (-205) y: (25)\nhide\nwait (.74) seconds\nshow\n\nwhen I receive [transition v]\nwait (.5) seconds\nchange [level v] by (1)\n\nchange [level v] by (1)\n\ngo to x: (-205) y: (0)\n\n@Danger\n\nwhen flag clicked\nhide\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\n\nset [i v] to [0]\nrepeat (2)\n    change [i v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [start v]\nforever\n    if <(Level) = [14]> then\n        go to x: (40) y: (-100)\n        repeat until <not <(Level) = [14]>>\n            turn right (5) degrees\n        end\n    end\n    if <(Level) = [15]> then\n        point in direction (90)\n        go to x: (0) y: (0)\n    end\nend\n\nwhen I receive [start v]\npoint in direction (90)\ngo to x: (0) y: (0)\nforever\n    if <not <<(Level) = [13]> or <<(Level) = [14]> or <<(Level) = [5]> or <<(Level) = [7]> or <(Level) = []>>>>>> then\n        go to x: (0) y: (0)\n    end\n    if <(Level) = [13]> then\n        go to x: (0) y: (100)\n        repeat until <not <(Level) = [13]>>\n            turn right (5) degrees\n        end\n    end\nend\n\nwhen I receive [start v]\nshow\n\nwhen I receive [start v]\nforever\n    if <(Level) = [5]> then\n        go to x: (0) y: (140)\n        repeat until <not <(Level) = [5]>>\n            repeat (5)\n                change y by (2)\n            end\n            repeat (5)\n                change y by (1)\n            end\n            repeat (5)\n                change y by (-1)\n            end\n            repeat (5)\n                change y by (-2)\n            end\n        end\n    end\n    if <(Level) = [6]> then\n        point in direction (90)\n        go to x: (0) y: (0)\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(Level) = [7]> then\n        go to x: (0) y: (140)\n        repeat until <not <(Level) = [7]>>\n            repeat (5)\n                change y by (2)\n            end\n            repeat (5)\n                change y by (1)\n            end\n            repeat (5)\n                change y by (-1)\n            end\n            repeat (5)\n                change y by (-2)\n            end\n        end\n    end\n    if <(Level) = [8]> then\n        point in direction (90)\n        go to x: (0) y: (0)\n    end\nend\n\nif <(Level) = [14]> then\n    point in direction (90)\n    go to x: (0) y: (0)\nend\n\n@Level\n\nwhen flag clicked\nhide\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [start v]\nshow\n\nwhen I receive [start v]\nforever\n    if <(username) = [joshuamaier]> then\n        if <key (space v) pressed?> then\n            ask [What Level?] and wait\n            set [level v] to (answer)\n        end\n    end\nend\n\n@Art\n\nwhen flag clicked\nhide\ngo to [back v] layer\nwait (0) seconds\ngo to [back v] layer\nwait (0) seconds\ngo to [back v] layer\nwait (0) seconds\ngo to [back v] layer\nwait (0) seconds\ngo to [back v] layer\nwait (0) seconds\ngo to [back v] layer\nwait (0) seconds\ngo to [back v] layer\n\nwhen I receive [start v]\nshow\nswitch costume to (costume1 v)\nforever\n    switch costume to (Level)\nend\n\n@thumbnail\n\nwhen flag clicked\nswitch costume to (upside down v)\nset [ghost v] effect to (100)\ngo to [front v] layer\n\n@detector\n\nwhen flag clicked\nhide\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (0.5) seconds\nshow\ngo to x: (0) y: (-100)\nreset timer\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            wait (0.2) seconds\n            if <touching (mouse-pointer v)?> then\n                set [loved__ v] to [1]\n            end\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            wait (0.2) seconds\n            if <touching (mouse-pointer v)?> then\n                set [faved___ v] to [1]\n            end\n        end\n    end\nend\n\n@Music\n\nwhen I receive [start v]\nforever\n    if <key (m v) pressed?> then\n        change [m v] by (1)\n        wait (.5) seconds\n    end\nend\n\nwhen I receive [start v]\nset volume to (100) %\nset [m v] to [1]\nforever\n    repeat until <key (m v) pressed?>\n        play sound (m) until done\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <key (m v) pressed?> then\n        stop all sounds\n    end\nend\n\nwait (0) seconds\nplay sound (m) until done\nwait (0) seconds\n\nrepeat until <key (m v) pressed?>\n    play sound (m) until done\nend\n\nstop all sounds\n\nwhen I receive [start v]\nforever\n\nif <key (n v) pressed?> then\n\nwait (0) seconds\n\nrepeat until <key (n v) pressed?>\n\nstop all sounds\n\n@Particles\n\nwhen flag clicked\nset [speed y v] to [0]\nhide\n\nwhen I receive [start v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(Level) = [21]> then\n    show\n    go to x: (pick random (-200) to (200)) y: (-230)\n    set size to (pick random (70) to (105)) %\n    set [brightness v] effect to (pick random (0) to (75))\n    set [color v] effect to (pick random (0) to (1000))\n    point in direction (pick random (-180) to (180))\n    repeat until <<touching (_edge_ v)?> and <(y position) > [-175]>>\n        change [speed y v] by (1)\n    end\n    delete this clone\nelse\n    show\n    go to x: (pick random (-200) to (200)) y: (-230)\n    set size to (pick random (70) to (105)) %\n    set [brightness v] effect to (pick random (0) to (75))\n    set [color v] effect to (pick random (50) to (55))\n    point in direction (pick random (-180) to (180))\n    repeat until <<touching (_edge_ v)?> and <(y position) > [-175]>>\n        change [speed y v] by (1)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    set [speed y v] to ((speed y) * (.9))\n    change y by (speed y)\nend\n\nwhen I start as a clone\nforever\n    if <(over) = [1]> then\n        go to [back v] layer\n        hide\n        delete this clone\n    end\nend\n\n@Transition\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [transition v]\nshow\ngo to [front v] layer\ngo to x: (0) y: (1000)\nrepeat (40)\n    change y by (((0) - (y position)) / (5))\nend\nset y to (-1)\nrepeat (8)\n    change y by (y position)\nend\nhide\n\n@Love fave\n\nwhen flag clicked\ngo to [front v] layer\nset [costume v] to [0]\nhide\n\nwhen I receive [start v]\nforever\n    if <not <<(LOVED__) = [1]> and <(FAVED___) = [1]>>> then\n        wait (pick random (15) to (20)) seconds\n        switch costume to (follow! v)\n        go to x: (0) y: (-50)\n        show\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (6)\n        end\n        repeat (5)\n            change y by (-3)\n        end\n        repeat (5)\n            change y by (1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (-7)\n        end\n        hide\n    end\n    if <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@Intro\n\ndefine 🎥 Disable from Cam Control? <disable?>\nif <disable?> then\n    set [enabled? v] to [0]\nelse\n    set [enabled? v] to [1]\nend\n\ndefine Play Intro\nSet size to [100] %\npoint in direction (90)\ngo to x: (0) y: (0)\nset rotation style [all around v]\nhide\ndelete all of [\[intro\] cam x/y/z/r v]\nrepeat (4)\n    add [0] to [\[intro\] cam x/y/z/r v]\nend\nset [costume v] to [blank]\nset [\[intro\] color v] to ((pick random (1) to (10)) * (20))\nset [\[intro\] keyframe v] to [1]\n🎥 Move cam to [0] [0] [0] [0]\n🎥 Transition x/y/z/s/r [0] [0] [1] [100] [90] speed: [1]\n🎥 Disable from Cam Control? \n🖼 Set effects c/b/g [0] [0] [0]\nClone same sprite [controller] spec: [0] [0] [0]\nClone sprites [1] [1]\nClone same sprite [4] [2]\nClone sprites [2] [1]\nset [_v1 v] to [90]\nrepeat (4)\n    Clone same sprite [3] [10]\n    change [_v1 v] by (90)\nend\nClone same sprite [5] [20]\nClone sprites [6] [1]\nClone same sprite [7] [3]\nClone same sprite [101] [1]\nClone same sprite [100] [21]\nClone same sprite [8] [20]\nClone same sprite [102] [1]\nswitch costume to (text v)\nClone same sprite [SF] spec: [0] [0] [100]\nbroadcast (\[Intro\] listen for keyframes v)\nreset timer\nclear sound effects\nplay sound [ROY KNOX - Shining \[NCS Release\] v] until done\nbroadcast (\[Intro\] delete clones v)\nwait (1) seconds\nbroadcast (\[Intro\] over v)\nstop [other scripts in sprite v]\n\ndefine Set pos zrot: (x) (y) rot: (r) trans: (tx) (ty) scalar: (c)\nset [x v] to ((tx) + ((c) * ((([cos v] of (r) ) * (x)) - (([sin v] of (r) ) * (y)))))\nset [y v] to ((ty) + ((c) * ((([sin v] of (r) ) * (x)) + (([cos v] of (r) ) * (y)))))\n\ndefine 🎥 Cam set x/y/z/r (item) to: (val)\nreplace item (item) of [\[intro\] cam x/y/z/r v] with (val)\n\ndefine ⏱ Keyframe (keyframe)\nif <(\[Intro\] Keyframe) > (keyframe)> then\n\ndefine 🎥 Transition x/y/z/s/r (x) (y) (z) (s) (r) speed: (t)\nchange [x v] by (((round (x)) - (round (x))) / (t))\nchange [y v] by (((round (y)) - (round (y))) / (t))\nchange [z v] by (((round (z)) - (round (z))) / (t))\nchange [size v] by (((round (s)) - (round (size))) / (t))\nTransition direction (r) speed: (t)\n\nwhen I start as a clone\nif <(clone_id) = [controller]> then\n    🖼 Set effects c/b/g [0] [0] [100]\n    set [_v1 v] to [0]\n    set [_v2 v] to [0]\n    set [_v3 v] to [0]\n    set [_v4 v] to [8]\n    \n        🎥 Cam set x/y/z/r [1] to: ((_v1) * ([sin v] of (_v2) ))\n        🎥 Cam set x/y/z/r [2] to: ((_v1) * ([cos v] of (_v3) ))\n        🎥 Cam set x/y/z/r [3] to: ((_v5) * (.4))\n        set [_v1 v] to ((_v1) * (.85))\n        change [_v2 v] by (40)\n        change [_v3 v] by (30)\n        change [_v5 v] by ((((_v1) / (2)) - (_v5)) / (4))\n    end\nend\n\nwhen I receive [\[intro\] start v]\nSetup\nPlay Intro\n\ndefine Clone sprites (id) (count)\nset [clone_id v] to (id)\nrepeat (count)\n    create clone of (_myself_ v)\n    change [clone_id v] by (1)\nend\nset [clone_id v] to [0]\n\ndefine Clone same sprite (id) (count)\nset [clone_val v] to [1]\nset [clone_id v] to (id)\nrepeat (count)\n    create clone of (_myself_ v)\n    change [clone_val v] by (1)\nend\nset [clone_id v] to [0]\n\nwhen I receive [\[intro\] keyframe signal v]\nif <(clone_id) = [controller]> then\n    set [_v1 v] to [5]\nend\n\nwhen I receive [\[intro\] listen for keyframes v]\nif <(clone_id) = [0]> then\n    repeat until <(\[Intro\] Keyframe) > (length of [keyframes v])>\n        wait until <(timer) > ((-.1) + (item (\[Intro\] Keyframe) of [keyframes v]))>\n        broadcast (\[Intro\] keyframe signal v)\n        change [\[intro\] keyframe v] by (1)\n    end\nend\n\ndefine 💥 Gradient shockwave\nClone same sprite [GS] [1]\n\ndefine 💥 Shockwave (x) (y) (s) (speed)\nset [_v1 v] to (s)\nset [_v3 v] to (speed)\nClone same sprite [S] spec: (x) (y) [0]\n\nwhen I start as a clone\nif <(clone_id) = [SF]> then\n    set [_v1 v] to [0]\n    \n        🖼 Set effects c/b/g [0] [100] ((100) - (_v1))\n        set [_v1 v] to ((_v1) * (.85))\n    end\nend\n\nwhen I receive [\[intro\] keyframe signal v]\nif <(clone_id) = [SF]> then\n    switch costume to (screen v)\n    Transition positions [0] [0] [100] speed: [1]\n    Transition direction [90] speed: [1]\n    go to [front v] layer\n    set [_v1 v] to [30]\nend\n\ndefine 🎥 Move cam to (x) (y) (z) (r)\nreplace item (1) of [\[intro\] cam x/y/z/r v] with (x)\nreplace item (2) of [\[intro\] cam x/y/z/r v] with (y)\nreplace item (3) of [\[intro\] cam x/y/z/r v] with (z)\nreplace item (4) of [\[intro\] cam x/y/z/r v] with (r)\n\nwhen I start as a clone\nif <(clone_id) = [SW]> then\n    Transition direction (direction) speed: [1]\n    Set size to [5000] %\n    switch costume to (join [shockwave1/] ((360) / (_v2)))\n    Transition positions (x) (y) (size) speed: [1]\n    set [_v1 v] to [0]\n    repeat (((3.2) * (costume)) + ((-8) * <[360] > (_v2)>))\n        Transition positions (x) (y) (_v5) speed: (_v3)\n        Transition direction ((direction) + (_v4)) speed: (_v3)\n        set [fisheye v] effect to ((200) * (round ((([ceiling v] of (([tan v] of (_v1) ) * (68.6)) ) * (_v1)) / (200))))\n        change [_v1 v] by ((25) / (costume))\n    end\n    repeat (((.8) * (costume)) + ((8) * <[360] > (_v2)>))\n        Transition positions (x) (y) (_v5) speed: (_v3)\n        Transition direction ((direction) + (_v4)) speed: (_v3)\n        change [ghost v] effect by (((5) * (costume)) + ((-20) * <[360] > (_v2)>))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone_id) = [CE]> then\n    switch costume to (circle v)\n    set [_v2 v] to [0]\n    repeat ((3.6) * (costume))\n        Transition positions ((x) + ((_v2) * ([sin v] of (direction) ))) ((y) + ((_v2) * ([cos v] of (direction) ))) (size) speed: [1]\n        Transition direction ((_v4) + (direction)) speed: (_v3)\n        change [_v2 v] by (((_v5) - (_v2)) / (_v3))\n        change [size v] by (((0) - (size)) / ((1.7) * (_v3)))\n    end\n    repeat ((.8) * (costume))\n        Transition positions ((x) + ((_v2) * ([sin v] of (direction) ))) ((y) + ((_v2) * ([cos v] of (direction) ))) (size) speed: [1]\n        Transition direction ((_v4) + (direction)) speed: (_v3)\n        change [_v2 v] by (((_v5) - (_v2)) / (_v3))\n        change [size v] by (((0) - (size)) / (_v3))\n        change [ghost v] effect by ((125) / (_v3))\n    end\n    delete this clone\nend\n\ndefine Change size by: (s) costume ph: (ph)\nSet size to ((size) + (s)) %\nswitch costume to (ph)\n\nwhen I start as a clone\nhide\ngo to [front v] layer\nif <(clone_id) = ((clone_id) * (1))> then\n    forever\n        if <(enabled?) = [1]> then\n            Set size to [99999999999] %\n            set x to (((x) - (item (1) of [\[intro\] cam x/y/z/r v])) * (((item (3) of [\[intro\] cam x/y/z/r v]) / (z)) + (1)))\n            set y to (((y) - (item (2) of [\[intro\] cam x/y/z/r v])) * (((item (3) of [\[intro\] cam x/y/z/r v]) / (z)) + (1)))\n            Set size to ((size) * (((item (3) of [\[intro\] cam x/y/z/r v]) / (z)) + (1))) %\n            switch costume to (costume)\n        else\n            Set size to [99999999999] %\n            set x to (x)\n            set y to (y)\n            Set size to (size) %\n            switch costume to (costume)\n        end\n        🖼 Set effects c/b/g (color) (brightness) (ghost)\n        set [color v] effect to ((color) + (\[Intro\] Color))\n    end\nelse\n    Transition positions (x) (y) (size) speed: [1]\n    Transition direction (direction) speed: [1]\n    🖼 Set effects c/b/g (color) (brightness) (ghost)\n    🎥 Disable from Cam Control? \n    go [backward v] (2) layers\n    show\nend\n\ndefine Transition direction (r) speed: (t)\nturn right (((round (r)) - (round (direction))) / (t)) degrees\n\ndefine Set size to (size) %\nif <[100] > (size)> then\n    switch costume to (screen v)\nelse\n    switch costume to (blank v)\nend\nset size to (size) %\nswitch costume to (screen v)\n\ndefine Clone same sprite (id) spec: (x) (y) (s)\nset [clone_id v] to (id)\nset [x v] to (x)\nset [y v] to (y)\nset [size v] to (s)\ncreate clone of (_myself_ v)\nset [clone_id v] to [0]\n\ndefine 💥 Line explosion (x) (y) (s) (r) (zrot) (spread) (speed) (framespeed) (rot) (count)\nset [_v5 v] to (r)\nset [direction v] to (zrot)\nset [_v4 v] to (rot)\nset [_v3 v] to (speed)\nset [costume v] to (framespeed)\nrepeat (count)\n    Clone same sprite [LE] spec: (x) (y) (s)\n    change [direction v] by ((spread) / (count))\nend\n\nwhen I start as a clone\nif <(clone_id) = [LE]> then\n    set [_v1 v] to [1]\n    set [_v2 v] to [0]\n    repeat ((3.6) * (costume))\n        switch costume to (join [lineexplosion] (round (_v1)))\n        Transition positions ((x) + ((_v2) * ([sin v] of (direction) ))) ((y) + ((_v2) * ([cos v] of (direction) ))) (size) speed: [1]\n        Transition direction ((_v4) + (direction)) speed: (_v3)\n        change [_v2 v] by (((_v5) - (_v2)) / (_v3))\n        change [_v1 v] by ((2.5) / (costume))\n    end\n    repeat ((.8) * (costume))\n        switch costume to (join [lineexplosion] (round (_v1)))\n        Transition positions ((x) + ((_v2) * ([sin v] of (direction) ))) ((y) + ((_v2) * ([cos v] of (direction) ))) (size) speed: [1]\n        Transition direction ((_v4) + (direction)) speed: (_v3)\n        change [_v2 v] by (((_v5) - (_v2)) / (_v3))\n        change [_v1 v] by ((2.5) / (costume))\n        change [ghost v] effect by ((125) / (_v3))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone_id) = [RE]> then\n    set [_v1 v] to [1]\n    set [_v2 v] to [0]\n    repeat until <(round (_v1)) = [23]>\n        switch costume to (join [rectexplosion] (round (_v1)))\n        Transition direction ((_v4) + (direction)) speed: (_v3)\n        Transition positions ((x) + ((_v2) * ([sin v] of (direction) ))) ((y) + ((_v2) * ([cos v] of (direction) ))) (size) speed: [1]\n        change [_v1 v] by ((2.5) / (costume))\n        change [_v2 v] by ((((_v5) - (_v2)) / (_v3)) + (1))\n    end\n    delete this clone\nend\n\ndefine 💥 Rect explosion (x) (y) (s) (r) (zrot) (spread) (speed) (framespeed) (rot) (count)\nset [_v5 v] to (r)\nset [direction v] to (zrot)\nset [_v4 v] to (rot)\nset [_v3 v] to (speed)\nset [costume v] to (framespeed)\nrepeat (count)\n    Clone same sprite [RE] spec: (x) (y) (s)\n    change [direction v] by ((spread) / (count))\nend\n\nwhen I start as a clone\nif <(clone_id) = [SE]> then\n    set [_v1 v] to [1]\n    set [_v2 v] to [0]\n    repeat until <(round (_v1)) = [22]>\n        switch costume to (join [splineexplosion] (round (_v1)))\n        Transition positions ((x) + ((_v2) * ([sin v] of (direction) ))) ((y) + ((_v2) * ([cos v] of (direction) ))) (size) speed: [1]\n        Transition direction ((_v4) + (direction)) speed: (_v3)\n        change [_v1 v] by ((5) / (costume))\n        change [_v2 v] by (((_v5) - (_v2)) / (_v3))\n    end\n    delete this clone\nend\n\ndefine 💥 Spline explosion (x) (y) (s) (r) (zrot) (spread) (speed) (framespeed) (rot) (count)\nset [_v5 v] to (r)\nset [direction v] to (zrot)\nset [_v4 v] to (rot)\nset [_v3 v] to (speed)\nset [costume v] to (framespeed)\nrepeat (count)\n    Clone same sprite [SE] spec: (x) (y) ((s) / (5))\n    change [direction v] by ((spread) / (count))\nend\n\ndefine 🖼 Set effects c/b/g (c) (b) (g)\nset [color v] to (c)\nset [brightness v] to (b)\nset [ghost v] to (g)\nset [color v] effect to (color)\nset [brightness v] effect to (brightness)\nset [ghost v] effect to (ghost)\n\ndefine 💥 Circle explosion (x) (y) (s) (r) (zrot) (spread) (speed) (framespeed) (rot) (count)\nset [_v5 v] to (r)\nset [direction v] to (zrot)\nset [_v4 v] to (rot)\nset [_v3 v] to (speed)\nset [costume v] to (framespeed)\nrepeat (count)\n    Clone same sprite [CE] spec: (x) (y) (s)\n    change [direction v] by ((spread) / (count))\nend\n\ndefine Transition positions (x) (y) (z) speed: (t)\nchange x by (((round (x)) - (round (x position))) / (t))\nchange y by (((round (y)) - (round (y position))) / (t))\nChange size by: (((round (z)) - (round (size))) / (t)) costume ph: (costume [name v])\n\ndefine 💥 Shockwave (x) (y) (s) (r) (zrot) (spread) (speed) (framespeed) (rot) (count)\nset [_v5 v] to (r)\nset [direction v] to (zrot)\nset [_v4 v] to (rot)\nset [_v3 v] to (speed)\nset [_v2 v] to (spread)\nset [costume v] to (framespeed)\nClone same sprite [SW] spec: (x) (y) (s)\n\nwhen I start as a clone\nif <(clone_id) = [GS]> then\n    🖼 Set effects c/b/g (color) [50] [0]\n    Transition positions [0] [0] [0] speed: [1]\n    switch costume to (gradientshock v)\n    repeat (25)\n        change [ghost v] effect by (4)\n        Transition positions [0] [0] [575] speed: [7]\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone_id) = [S]> then\n    switch costume to (shock v)\n    repeat until <(ghost) > [99]>\n        set [ghost v] effect to (ghost)\n        change [ghost v] by (((100) - (round (ghost))) / (_v3))\n        Transition positions (x) (y) (_v1) speed: (_v3)\n    end\n    delete this clone\nend\n\ndefine 💥 Sparkle explosion (x) (y) (s) (r) (zrot) (spread) (speed) (framespeed) (rot) (count)\nrepeat (count)\n    set [_v3 v] to (pick random (5) to (speed))\n    set [_v4 v] to (pick random (20) to (40))\n    set [costume v] to (pick random (10) to (30))\n    Clone same sprite [SP] spec: (pick random ((0) - (x)) to (x)) (pick random ((0) - (y)) to (y)) (pick random ((s) / (2.5)) to ((s) * (1.1)))\nend\n\nwhen I start as a clone\nif <(clone_id) = [SP]> then\n    Transition positions [0] [0] (size) speed: [1]\n    Transition direction [90] speed: [1]\n    switch costume to (sparkle v)\n    set [_v1 v] to [10]\n    set [_v2 v] to [0]\n    set [_v5 v] to [0]\n    set [z v] to [.9]\n    repeat until <[1] > (_v1)>\n        set [fisheye v] effect to ((5) * (round (((-45) + ((-45) * ([abs v] of ([sin v] of (_v2) ) ))) / (5))))\n        change [_v1 v] by (((0) - (round (_v1))) / (costume))\n        change [_v2 v] by (_v4)\n        Transition positions (x) (y) (((size) / (100)) * (((50) * ([sin v] of (_v2) )) + ([abs v] of (([sin v] of (_v2) ) * ((_v1) * (costume))) ))) speed: (_v3)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone_id) = [100]> then\n    🎥 Transition x/y/z/s/r [0] [0] [1] [0] [90] speed: [1]\n    🎥 Disable from Cam Control? <>\n    if <[21] > (clone_val)> then\n        🖼 Set effects c/b/g [0] [100] [0]\n    else\n        🖼 Set effects c/b/g [0] [0] [0]\n    end\n    set [costume v] to [text]\n    set [direction v] to [0]\n    ⏱ Keyframe [1]\n    show\n    repeat until <(\[Intro\] Keyframe) > [11]>\n        change [size v] by (((round (90)) - (round (size))) / (5))\n    end\n    repeat until <(\[Intro\] Keyframe) > [18]>\n        change [direction v] by (((360) - (direction)) / (8))\n    end\n    set [_v1 v] to [0]\n    set [_v2 v] to [0]\n    repeat (17)\n        🎥 Transition x/y/z/s/r (x) (y) [1] ((100) - (_v1)) [90] speed: [1]\n        change [_v1 v] by (_v2)\n        change [_v2 v] by (1)\n    end\n    delete this clone\nend\n\nwhen I receive [\[intro\] over v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I start as a clone\nif <(clone_id) = [8]> then\n    🖼 Set effects c/b/g [0] [100] [0]\n    ⏱ Keyframe [1]\n    \n        🎥 Transition x/y/z/s/r [0] [0] [1] [80] (pick random (1) to (360)) speed: [1]\n        🎥 Disable from Cam Control? \n        set [costume v] to [lightray22]\n        wait (pick random (0) to (.9999)) seconds\n        show\n        set [_v3 v] to (pick random (90) to (200))\n        set [_v4 v] to [300]\n        set [_v1 v] to [1]\n        set [_v2 v] to [0]\n        repeat until <(round (_v1)) = [22]>\n            set [costume v] to (join [lightray] (round (_v1)))\n            change [_v1 v] by (1)\n            change [_v4 v] by (((_v3) - (_v4)) / (5))\n            Set pos zrot: (_v4) [0] rot: ((90) - (direction)) trans: [0] [0] scalar: [1]\n        end\n        repeat until <(round (_v1)) = [22]>\n            set [costume v] to (join [lightray] (round (_v1)))\n            change [_v1 v] by (1)\n            change [_v4 v] by (((_v3) - (_v4)) / (5))\n            Set pos zrot: (_v4) [0] rot: ((90) - (direction)) trans: [0] [0] scalar: [1]\n        end\n        hide\n    end\nend\n\nwhen I receive [\[intro\] listen for keyframes v]\nif <(clone_id) = [0]> then\n    wait (.3) seconds\n    set [_v1 v] to [0]\n    repeat until <(\[Intro\] Keyframe) > [1]>\n        🖼 Set effects c/b/g [0] [100] [0]\n        💥 Sparkle explosion [150] [150] [100] [0] [0] [0] [20] [30] [0] [2]\n    end\n    ⏱ Keyframe [1]\n    🖼 Set effects c/b/g [0] [100] [0]\n    💥 Sparkle explosion [240] [180] [150] [0] [0] [0] [20] [30] [0] [20]\n    🖼 Set effects c/b/g [0] [-100] [90]\n    💥 Line explosion [5] [-5] [70] [120] [0] [360] [5] [7] [0] [18]\n    🖼 Set effects c/b/g [0] [100] [0]\n    💥 Line explosion [0] [0] [70] [120] [20] [360] [5] [7] [0] [18]\n    🖼 Set effects c/b/g (\[Intro\] Color) [0] [0]\n    💥 Gradient shockwave\n    ⏱ Keyframe [2]\n    🖼 Set effects c/b/g [0] [100] [0]\n    💥 Shockwave [0] [0] [350] [8]\n    ⏱ Keyframe [3]\n    🖼 Set effects c/b/g [0] [-100] [90]\n    💥 Shockwave [5] [-5] [50] [200] [0] [90] [8] [10] [0] [1]\n    💥 Shockwave [5] [-5] [50] [200] [180] [90] [8] [10] [0] [1]\n    🖼 Set effects c/b/g [110] [100] [0]\n    💥 Shockwave [0] [0] [50] [200] [0] [90] [8] [10] [0] [1]\n    💥 Shockwave [0] [0] [50] [200] [180] [90] [8] [10] [0] [1]\n    ⏱ Keyframe [4]\n    🖼 Set effects c/b/g [0] [-100] [90]\n    💥 Shockwave [5] [-5] [50] [200] [90] [90] [8] [10] [0] [1]\n    💥 Shockwave [5] [-5] [50] [200] [270] [90] [8] [10] [0] [1]\n    🖼 Set effects c/b/g [110] [100] [0]\n    💥 Shockwave [0] [0] [50] [200] [90] [90] [8] [10] [0] [1]\n    💥 Shockwave [0] [0] [50] [200] [270] [90] [8] [10] [0] [1]\n    ⏱ Keyframe [5]\n    🖼 Set effects c/b/g [0] [100] [0]\n    💥 Shockwave [0] [0] [350] [8]\n    ⏱ Keyframe [6]\n    🖼 Set effects c/b/g [0] [-100] [90]\n    💥 Circle explosion [5] [-5] [400] [150] [0] [360] [6] [7] [-5] [12]\n    💥 Circle explosion [5] [-5] [400] [100] [0] [360] [5] [5] [10] [8]\n    🖼 Set effects c/b/g (\[Intro\] Color) [30] [0]\n    💥 Circle explosion [0] [0] [400] [150] [0] [360] [6] [7] [-5] [12]\n    🖼 Set effects c/b/g [0] [100] [0]\n    💥 Circle explosion [0] [0] [400] [100] [0] [360] [5] [5] [10] [8]\n    🖼 Set effects c/b/g (\[Intro\] Color) [0] [0]\n    💥 Gradient shockwave\n    ⏱ Keyframe [7]\n    🖼 Set effects c/b/g [0] [100] [0]\n    💥 Shockwave [0] [0] [350] [7]\n    ⏱ Keyframe [8]\n    🖼 Set effects c/b/g [0] [-100] [90]\n    💥 Line explosion [-130] [25] [45] [30] [0] [360] [5] [5] [0] [4]\n    🖼 Set effects c/b/g [0] [100] [0]\n    💥 Line explosion [-135] [30] [45] [30] [0] [360] [5] [5] [0] [4]\n    ⏱ Keyframe [9]\n    🖼 Set effects c/b/g [0] [-100] [90]\n    💥 Line explosion [125] [-15] [45] [30] [0] [360] [5] [5] [0] [4]\n    🖼 Set effects c/b/g [0] [100] [0]\n    💥 Line explosion [120] [-10] [45] [30] [0] [360] [5] [5] [0] [4]\n    ⏱ Keyframe [10]\n    🖼 Set effects c/b/g [0] [100] [0]\n    💥 Shockwave [0] [0] [350] [7]\n    ⏱ Keyframe [11]\n    🖼 Set effects c/b/g [0] [100] [0]\n    💥 Sparkle explosion [240] [180] [150] [0] [0] [0] [20] [30] [0] [25]\n    🖼 Set effects c/b/g [0] [-100] [90]\n    💥 Line explosion [5] [-5] [70] [100] [12] [360] [5] [7] [0] [12]\n    🖼 Set effects c/b/g [0] [100] [0]\n    💥 Line explosion [0] [0] [70] [100] [12] [360] [5] [7] [0] [12]\n    🖼 Set effects c/b/g (\[Intro\] Color) [0] [0]\n    💥 Gradient shockwave\n    ⏱ Keyframe [12]\n    🖼 Set effects c/b/g [0] [100] [0]\n    💥 Shockwave [0] [0] [350] [7]\n    ⏱ Keyframe [13]\n    🖼 Set effects c/b/g (\[Intro\] Color) [100] [0]\n    💥 Shockwave [-315] [-105] [50] [170] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [-105] [-105] [50] [170] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [105] [-105] [50] [170] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [315] [-105] [50] [170] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [-315] [105] [50] [170] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [-105] [105] [50] [170] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [105] [105] [50] [170] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [315] [105] [50] [170] [0] [360] [6] [7] [0] [1]\n    ⏱ Keyframe [14]\n    🖼 Set effects c/b/g (\[Intro\] Color) [0] [0]\n    💥 Shockwave [-220] [-220] [50] [180] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [0] [-220] [50] [180] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [220] [-220] [50] [180] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [-220] [0] [50] [180] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [0] [0] [50] [180] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [220] [0] [50] [180] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [-220] [220] [50] [180] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [0] [220] [50] [180] [0] [360] [6] [7] [0] [1]\n    💥 Shockwave [220] [220] [50] [180] [0] [360] [6] [7] [0] [1]\n    ⏱ Keyframe [15]\n    🖼 Set effects c/b/g [0] [100] [0]\n    💥 Shockwave [0] [0] [350] [7]\n    ⏱ Keyframe [16]\n    🖼 Set effects c/b/g [0] [-100] [90]\n    💥 Shockwave [5] [-5] [150] [320] [0] [360] [7] [8] [0] [1]\n    🖼 Set effects c/b/g [0] [100] [0]\n    💥 Shockwave [0] [0] [150] [320] [0] [360] [7] [8] [0] [1]\n    💥 Scattered shockwave explosion\n    ⏱ Keyframe [17]\n    🖼 Set effects c/b/g (\[Intro\] Color) [0] [0]\n    💥 Gradient shockwave\nend\n\nwhen I start as a clone\nif <(clone_id) = [1]> then\n    🎥 Transition x/y/z/s/r [0] [0] [1] [100] [90] speed: [1]\n    🎥 Disable from Cam Control? \n    🖼 Set effects c/b/g [0] [0] [0]\n    set [costume v] to [screen]\n    wait (.6) seconds\n    show\nend\n\nwhen I start as a clone\nif <(clone_id) = [3]> then\n    🎥 Transition x/y/z/s/r [0] [0] [1] ((190) - (((clone_val) - (1)) * (20))) (_v1) speed: [1]\n    🎥 Disable from Cam Control? \n    🖼 Set effects c/b/g [0] (((100) * <(round ((clone_val) / (2))) = ((clone_val) / (2))>) + ([abs v] of ((30) * ([sin v] of (_v1) )) )) [0]\n    wait (0) seconds\n    set [costume v] to [transition1]\n    wait (((clone_val) - (1)) / (15)) seconds\n    show\n    set [_v1 v] to [1]\n    repeat until <(round (_v1)) > [25]>\n        set [costume v] to (join [transition] (round (_v1)))\n        change [_v1 v] by (1)\n    end\n    delete this clone\nend\n\nwhen I receive [\[intro\] delete clones v]\ndelete this clone\n\ndefine Setup\nstop [other scripts in sprite v]\nrepeat (1)\n    delete this clone\nend\n🖼 Set effects c/b/g [0] [0] [100]\nshow\nreset timer\nTransition positions [-500000] [0] [5000] speed: [1]\nswitch costume to (round (90))\nrepeat until <(costume [number v]) = [1]>\n    next costume\nend\nhide\n\nwhen I start as a clone\nif <(clone_id) = [2]> then\n    🎥 Transition x/y/z/s/r [0] [0] [1] [200] [-45] speed: [1]\n    🎥 Disable from Cam Control? \n    🖼 Set effects c/b/g [0] [0] [0]\n    set [costume v] to [linegrid]\n    wait (.6) seconds\n    show\nend\n\nwhen I start as a clone\nif <(clone_id) = [5]> then\n    🖼 Set effects c/b/g [0] [0] [0]\n    wait (0) seconds\n    ⏱ Keyframe [1]\n    \n        hide\n        set [costume v] to [particle1]\n        🎥 Transition x/y/z/s/r (pick random (-240) to (240)) (pick random (-200) to (200)) [1] (pick random (40) to (130)) [90] speed: [1]\n        🎥 Disable from Cam Control? \n        show\n        repeat until <(round (y)) > (round (200))>\n            change [y v] by ((size) / (20))\n        end\n    end\nend\n\nwhen I start as a clone\nif <(clone_id) = [6]> then\n    🎥 Transition x/y/z/s/r [0] [0] [10] [200] [90] speed: [1]\n    🎥 Disable from Cam Control? <>\n    🖼 Set effects c/b/g [0] [30] [0]\n    set [costume v] to [linegrid]\n    wait (0) seconds\n    ⏱ Keyframe [1]\n    show\n    set [_v1 v] to [0]\n    \n        Transition direction (_v1) speed: [1]\n        change [_v1 v] by (3)\n    end\nend\n\nwhen I start as a clone\nif <<(clone_id) = [100]> or <(clone_id) = [101]>> then\n    set [_v5 v] to [0]\n    \n        point in direction ((item (4) of [\[intro\] cam x/y/z/r v]) + ((direction) + ((90) + ((2) * ([sin v] of (_v5) )))))\n        change [_v5 v] by (15)\n        if <[21] > (clone_val)> then\n            Set pos zrot: ((5) - ((20) * <(clone_id) = [101]>)) [0] rot: (((18) * ((clone_val) - (1))) + ((item (4) of [\[intro\] cam x/y/z/r v]) + ((direction) + ((90) + ((2) * ([sin v] of (_v5) )))))) trans: [0] [0] scalar: ((size) / (90))\n        end\n    end\nend\n\nwhen I start as a clone\nif <(clone_id) = [7]> then\n    🎥 Transition x/y/z/s/r [0] [0] [5] (((clone_val) * (150)) - (50)) [90] speed: [1]\n    🎥 Disable from Cam Control? <>\n    🖼 Set effects c/b/g [0] [0] [0]\n    set [costume v] to [diamond]\n    set [direction v] to [0]\n    ⏱ Keyframe [1]\n    show\n    \n        change [size v] by (5)\n        if <(size) > [420]> then\n            set [size v] to [20]\n        end\n    end\nend\n\nwhen I start as a clone\nif <(clone_id) = [4]> then\n    🎥 Transition x/y/z/s/r [0] [0] [1] [0] [90] speed: [1]\n    🎥 Disable from Cam Control? \n    🖼 Set effects c/b/g [0] [100] [0]\n    set [costume v] to [shockwave1/1]\n    set [_v1 v] to [0]\n    wait (.7) seconds\n    show\n    repeat ((3.6) * (8))\n        🎥 Transition x/y/z/s/r [0] [0] [1] ((50) + ((clone_val) * (150))) [90] speed: [7]\n        set [fisheye v] effect to (([ceiling v] of (([tan v] of (_v1) ) * (68.6)) ) * (_v1))\n        change [_v1 v] by ((25) / (15))\n    end\n    repeat ((.8) * (8))\n        🎥 Transition x/y/z/s/r [0] [0] [1] ((50) + ((clone_val) * (100))) [90] speed: [7]\n        change [ghost v] effect by ((5) * (8))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone_id) = [101]> then\n    🎥 Transition x/y/z/s/r [0] [-20] [1] [0] [90] speed: [1]\n    🎥 Disable from Cam Control? <>\n    🖼 Set effects c/b/g [0] [0] [0]\n    set [costume v] to [textshadow]\n    set [direction v] to [0]\n    ⏱ Keyframe [1]\n    show\n    repeat until <(\[Intro\] Keyframe) > [11]>\n        change [size v] by (((round (90)) - (round (size))) / (5))\n    end\n    repeat until <(\[Intro\] Keyframe) > [18]>\n        change [direction v] by (((360) - (direction)) / (8))\n    end\n    set [_v1 v] to [0]\n    set [_v2 v] to [0]\n    repeat (17)\n        🎥 Transition x/y/z/s/r (x) (y) [1] ((100) - (_v1)) [90] speed: [1]\n        change [_v1 v] by (_v2)\n        change [_v2 v] by (1)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone_id) = [7]> then\n    ⏱ Keyframe [11]\n    \n        change [direction v] by (((360) - (direction)) / (8))\n        point in direction ((90) + (direction))\n    end\nend\n\nwhen I start as a clone\nif <(clone_id) = [102]> then\n    🎥 Transition x/y/z/s/r [0] [0] [1] [155] [90] speed: [1]\n    🎥 Disable from Cam Control? \n    🖼 Set effects c/b/g [0] [-100] [0]\n    set [costume v] to [bars]\n    set [direction v] to [0]\n    wait (.7) seconds\n    show\n    repeat until <(\[Intro\] Keyframe) > [18]>\n        🎥 Transition x/y/z/s/r [0] [0] [1] [115] [90] speed: [8]\n        go to [front v] layer\n    end\n    \n        🎥 Transition x/y/z/s/r [0] [0] [1] [160] [90] speed: [3.5]\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\n⏱ Keyframe [18]\nif <(\[Intro\] Keyframe) > [18]> then\n    if <not <(clone_id) = [100]>> then\n        repeat (6)\n            change [ghost v] by (17)\n        end\n    end\nend\n\ndefine 💥 Scattered shockwave explosion\nrepeat (10)\n    💥 Shockwave [0] [0] [50] (pick random (190) to (280)) (pick random (-180) to (180)) [45] (pick random (5) to (7)) (pick random (7) to (10)) [0] [1]\nend\n\n