Taco Wizard - A Platformer
@Stage\n\nwhen I receive [done v]\nwait (0.7) seconds\nnext backdrop\n\nwhen I receive [end animation v]\nswitch backdrop to (backdrop7 v)\nplay sound [\[Hardcore\] - NJB - Running in the 90s \(Hardcore Rave Edit\) \[Free Download\].mp3 v] until done\n\nwhen I receive [fanimation v]\nswitch backdrop to (backdrop23 v)\nplay sound [Local Forecast \(Elevator\) - Kevin MacLeod v] until done\n\nwhen I receive [endfanimation v]\nswitch backdrop to (backdrop24 v)\n\nwhen flag clicked\nswitch backdrop to (backdrop24 v)\nforever\n    change [sine v] by (1)\nend\n\nwhen I receive [before start v]\nswitch backdrop to (backdrop1 v)\nplay sound [\[Hardcore\] - NJB - Running in the 90s \(Hardcore Rave Edit\) \[Free Download\].mp3 v] until done\n\nwhen I receive [ebossfight v]\nstop all sounds\nwait (3) seconds\nstop all sounds\nforever\n    play sound [\[Hardcore\] - NJB - Running in the 90s \(Hardcore Rave Edit\) \[Free Download\].mp3 v] until done\nend\n\nwhen I receive [sbossfight v]\nplay sound [TheFatRat - Nemesis \(DOTA 2 Music Pack\).mp3 v] until done\n\nwhen I receive [bdeath v]\nstop all sounds\nwait (1) seconds\nplay sound [TheFatRat - Nemesis \(DOTA 2 Music Pack\).mp3 v] until done\n\n@Taco wiz\n\nwhen I start as a clone\nshow\nswitch costume to (costume1 v)\nset rotation style [all around v]\nset [clone y v] to [20]\nset [clone x v] to (pick random (-5) to (5))\nrepeat (20)\n    change y by (clone y)\n    change x by (clone x)\n    change [clone y v] by (-2)\n    change [ghost v] effect by (5)\n    turn right (8) degrees\nend\nbroadcast (death v)\ndelete this clone\n\nwhen I receive [done done v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-190) y: (-50)\nshow\n\nwhen I receive [animation v]\nhide\ngo to x: (-190) y: (-200)\n\nwhen I receive [end animation v]\nwait (2) seconds\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-190) y: (-50)\nshow\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [22]> then\n        if <(x position) > [-50]> then\n            stop [other scripts in sprite v]\n            glide (1) secs to x: (0) y: (-123)\n            repeat (50)\n                change [ghost v] effect by (2)\n            end\n            stop all sounds\n            hide\n            broadcast (Fanimation v)\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [before start v]\nset [falling v] to [10]\nclear graphic effects\nshow\ngo to x: (-190) y: (-50)\npoint in direction (90)\nset [y v] to [0]\nset [x v] to [0]\nset size to (40) %\nset rotation style [left-right v]\nforever\n    if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        switch costume to (other hitbox v)\n    else\n        switch costume to (jank hitbox v)\n    end\n    change [y v] by (-1.2)\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        change [x v] by (1.5)\n        point in direction (90)\n    end\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        change [x v] by (-1.5)\n        point in direction (-90)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#c28500)?> then\n        change y by (1)\n        if <touching color (#c28500)?> then\n            change y by (1)\n            if <touching color (#c28500)?> then\n                change y by (1)\n                if <touching color (#c28500)?> then\n                    change y by (1)\n                    if <touching color (#c28500)?> then\n                        change y by (1)\n                        if <touching color (#c28500)?> then\n                            change y by (1)\n                            if <touching color (#c28500)?> then\n                                change y by (1)\n                                if <touching color (#c28500)?> then\n                                    change y by (1)\n                                    if <touching color (#c28500)?> then\n                                        change y by (-8)\n                                        change x by ((x) * (-1))\n                                        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                            set [y v] to [15]\n                                            if <([abs v] of (x) ) = (x)> then\n                                                set [x v] to [-8]\n                                            else\n                                                set [x v] to [8]\n                                            end\n                                        else\n                                            set [x v] to [0]\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <(x position) > [250]> then\n        hide\n        go to x: (-190) y: (-50)\n        broadcast (done v)\n        start sound [Magic Spell v]\n        wait (0.8) seconds\n    end\n    if <key (r v) pressed?> then\n        go to x: (-190) y: (-50)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <touching color (#c28500)?> then\n        change y by (() - (y))\n        set [y v] to [0]\n    end\n    change y by (-2)\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <touching color (#c28500)?>> then\n        set [y v] to [15]\n    end\n    change y by (2)\n    if <touching color (#8200e6)?> then\n        set [y v] to [25]\n    end\n    if <touching color (#da0000)?> then\n        hide\n        start sound [Crunch v]\n        create clone of (_myself_ v)\n        go to x: (-190) y: (-50)\n        point in direction (90)\n        switch costume to (costume1 v)\n        wait (1.7) seconds\n        set [x v] to [0]\n        set [y v] to [0]\n        show\n    end\n    if <<key (s v) pressed?> or <key (down arrow v) pressed?>> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\n@blackscreen\n\nwhen flag clicked\nclear graphic effects\nhide\nset size to (100) %\n\nwhen I receive [death v]\nclear graphic effects\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (0.3) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [done v]\nclear graphic effects\nswitch costume to (costume1 v)\nshow\ngo to x: (0) y: (500)\ncreate clone of (_myself_ v)\nset size to (99) %\ncreate clone of (_myself_ v)\nset size to (100) %\nrepeat (20)\n    change y by (((0) - (y position)) / (3))\nend\n\nwhen I start as a clone\nif <(size) = [99]> then\n    show\n    switch costume to (costume3 v)\n    go to [front v] layer\n    go to x: (-250) y: (-100)\n    repeat (10)\n        change x by (((0) - (x position)) / (3))\n    end\n    repeat (10)\n        change x by (1)\n    end\n    repeat (4)\n        change x by (((400) - (x position)) / (3))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(size) = [100]> then\n    show\n    switch costume to (costume2 v)\n    go to [front v] layer\n    go to x: (250) y: (100)\n    repeat (10)\n        change x by (((0) - (x position)) / (3))\n    end\n    repeat (10)\n        change x by (-1)\n    end\n    repeat (4)\n        change x by (((-400) - (x position)) / (3))\n    end\n    broadcast (done done v)\n    delete this clone\nend\n\nwhen I receive [done done v]\nrepeat (4)\n    change y by (((-500) - (y position)) / (3))\nend\nhide\n\nwhen I receive [animation v]\ngo to [back v] layer\nswitch costume to (costume4 v)\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\n\nwhen I receive [end animation v]\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\nset [ghost v] effect to (0)\n\nwhen I receive [bdeath v]\nclear graphic effects\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (0.3) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [sbossfight v]\nclear graphic effects\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (0.3) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nbroadcast (SSbossfight v)\n\nwhen I receive [bfightdone v]\nclear graphic effects\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nbroadcast (EBossfight v)\n\n@taco\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\nend\n\nwhen I receive [animation v]\nswitch costume to (costume1 v)\ngo to x: (250) y: (-50)\npoint in direction (90)\nwait (1) seconds\nset size to (300) %\nshow\nglide (1) secs to x: (50) y: (-50)\nset language to (en v)::tts\nset voice to (squeak v)::tts\nsay [TACO WIZARD?! Thank god you're here!]\nspeak [TACO WIZARD?! Thank god you're here!]::tts\nsay [Something crazy just happened.]\nspeak [Something crazy just happened.]::tts\nsay [Me and a LOT of other tacos were having a normal day, when some scary people came out of a truck with big nets!]\nspeak [Me and a LOT of other tacos were having a normal day, when some scary people came out of a truck with big nets.]::tts\nsay [They caught us, and I couldn't see what was happening because they put us somewhere dark. ]\nspeak [They caught us, and I couldn't see what was happening because they put us somewhere dark.]::tts\nswitch costume to (costume2 v)\nsay [We tried to resist, but they were too strong.]\nspeak [We tried to resist, but they were too strong.]::tts\nswitch costume to (costume1 v)\nsay [From there, I heard the scary people say, "Nice work, Cena John! You get a promotion!" and then rumbling, as if we were moving.]\nspeak [From there, I heard the scary people say, "Nice work, Cena John! You get a promotion!" and then rumbling, as if we were moving.]::tts\nbroadcast (next part v)\nglide (0.5) secs to x: (140) y: (-50)\nsay []\n\nwhen I receive [animation2 v]\nsay [Me and some other tacos were-]\nset language to (en v)::tts\nset voice to (squeak v)::tts\nspeak [Me and some other tacos were-]::tts\nsay []\nbroadcast (animation3 v)\n\nwhen I receive [animation4 v]\nset voice to (squeak v)::tts\nsay [I was going to tell you that until you...]\nspeak [I was going to tell you that until you]::tts\nswitch costume to (costume2 v)\nsay [rudely interrupted me.]\nspeak [rudely interrupted me.]::tts\nbroadcast (shake v)\nsay []\nplay sound [wrong number v] until done\nwait (1) seconds\nswitch costume to (costume1 v)\nsay [Anyway, after that, I don't remember much, but I think I managed to slip out somehow. ]\nspeak [Anyway, after that, I don't remember much, but I think I managed to slip out somehow. ]::tts\nsay []\nbroadcast (animation5 v)\n\nwhen I receive [shake v]\npoint in direction (90)\nrepeat (80)\n    go to x: (pick random (140) to (100)) y: (pick random (-30) to (-70))\n    point in direction (pick random (80) to (100))\nend\npoint in direction (90)\ngo to x: (120) y: (-50)\n\nwhen I receive [end animation v]\nsay [What? They say that?]\nspeak [What? They say that?]::tts\nglide (1) secs to x: (300) y: (-50)\nhide\n\nwhen I receive [before start v]\npoint in direction (90)\nswitch costume to (costume1 v)\nset size to (100) %\nhide\ngo to x: (142) y: (-116)\nforever\n    if <(backdrop [number v]) = [6]> then\n        show\n        wait until <touching (taco wiz v)?>\n        stop all sounds\n        hide\n        broadcast (animation v)\n        stop [this script v]\n    end\nend\n\n@next animation part\n\nwhen flag clicked\npoint in direction (90)\nhide\nset size to (140) %\n\nwhen I receive [next part v]\ngo to x: (-300) y: (-50)\nshow\nglide (1) secs to x: (-120) y: (-50)\nset language to (de v)::tts\nset voice to (giant v)::tts\nsay [What?!]\nspeak [What?!]::tts\nbroadcast (animation2 v)\nsay []\n\nwhen I receive [animation3 v]\nset voice to (giant v)::tts\nset language to (en v)::tts\nsay [That's not what I meant.]\nspeak [That's not what I meant.]::tts\nsay [I meant that it was surprising.]\nspeak [I meant that it was surprising.]::tts\nsay [But what happened after that? ]\nspeak [But what happened after that?]::tts\nsay []\nbroadcast (animation4 v)\n\nwhen I receive [shake v]\npoint in direction (90)\nrepeat (80)\n    go to x: (pick random (-140) to (-100)) y: (pick random (-30) to (-70))\n    point in direction (pick random (80) to (100))\nend\npoint in direction (90)\ngo to x: (-120) y: (-50)\n\nwhen I receive [shake v]\nwait (2) seconds\nsay [That's gonna leave a mark.]\nspeak [that's gonna leave a mark.]::tts\nsay []\n\nwhen I receive [animation5 v]\nsay [Well, as they say, "another taco saved, another taco saved."]\nspeak [well as they say, "another taco saved, another taco saved."]::tts\nsay []\nbroadcast (end animation v)\nglide (1) secs to x: (300) y: (-50)\nhide\n\n@achievement for lolz\n\nwhen I receive [end animation v]\nshow\ngo to x: (0) y: (200)\nglide (1) secs to x: (0) y: (130)\nstart sound [Collect v]\nwait (1) seconds\nglide (1) secs to x: (0) y: (180)\nhide\n\nwhen flag clicked\nhide\n\n@Fanimation\n\nwhen flag clicked\nhide\n\nwhen I receive [fanimation v]\nstop all sounds\nswitch costume to (costume1 v)\nshow\ngo to x: (-235) y: (0)\nwait (0.5) seconds\nglide (1) secs to x: (-96) y: (0)\nswitch costume to (costume2 v)\nstart sound [Bite v]\nwait (1) seconds\nswitch costume to (costume3 v)\nplay sound [Baa v] until done\nsay [Excuse me.]\nset voice to (alto v)::tts\nspeak [Excuse me.]::tts\nsay []\nstop all sounds\nswitch costume to (costume4 v)\nstart sound [Dun Dun Dunnn v]\nbroadcast (Fanimation2 v)\n\nwhen I receive [fanimation3 v]\nshow\nswitch costume to (costume5 v)\nset voice to (alto v)::tts\nsay [WAIT!!!]\nspeak [WAIT!!!!]::tts\nsay []\nwait (1) seconds\nswitch costume to (costume6 v)\nsay [Dang it.]\nspeak [dang it.]::tts\nsay []\nwait (1) seconds\nhide\nbroadcast (endFanimation v)\n\nwhen I receive [boss fight v]\nsay [STOP RIGHT THERE!!!]\nspeak [STOP RIGHT THERE!!!]::tts\nsay []\nswitch costume to (costume5 v)\nbroadcast (Sbossfight v)\nhide\n\nwhen I receive [ebossfight v]\nshow\n\n@More Fanimation\n\nwhen flag clicked\nhide\n\nwhen I receive [fanimation v]\nset size to (100) %\ngo to x: (175) y: (-55)\npoint in direction (90)\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [fanimation2 v]\ngo to x: (175) y: (-55)\nstart sound [Door Creak v]\nwait (1) seconds\nswitch costume to (costume2 v)\ncreate clone of (_myself_ v)\nwait (2) seconds\nswitch costume to (costume1 v)\nwait (3) seconds\nset size to (100) %\nswitch costume to (costume2 v)\nwait (0.5) seconds\ngo to [front v] layer\nswitch costume to (costume1 v)\n\nwhen I start as a clone\nif <(size) = [100]> then\n    show\n    point in direction (90)\n    set size to (40) %\n    switch costume to (costume3 v)\n    go to x: (175) y: (-130)\n    wait (1) seconds\n    go to [front v] layer\n    wait (0.5) seconds\n    set rotation style [left-right v]\n    point in direction (-90)\n    wait (1) seconds\n    glide (1) secs to x: (0) y: (20)\n    broadcast (boss fight v)\nend\n\nwhen I receive [endfanimation v]\nhide\n\nwhen I receive [ebossfight v]\nset size to (39) %\ncreate clone of (_myself_ v)\ngo to x: (0) y: (20)\nswitch costume to (costume3 v)\nset size to (40) %\nshow\nset voice to (giant v)::tts\nsay [Well I'll be off!]\nspeak [Well I'll be off!]::tts\nsay []\nbroadcast (Fanimation3 v)\npoint in direction (90)\nstart sound [Ricochet v]\nglide (0.1) secs to x: (175) y: (-130)\nswitch costume to (costume3 v)\nhide\n\nwhen I receive [sbossfight v]\nhide\ndelete this clone\n\nwhen I start as a clone\nif <(size) = [39]> then\n    go to [front v] layer\n    set size to (99) %\n    switch costume to (costume1 v)\n    go to x: (175) y: (-55)\n    show\n    wait (1.5) seconds\n    switch costume to (costume2 v)\n    wait (0.1) seconds\n    switch costume to (costume1 v)\n    wait (3.5) seconds\n    delete this clone\nend\n\n@more more fanimation\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [fanimation v]\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [ebossfight v]\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [sbossfight v]\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [fanimation3 v]\ngo to x: (0) y: (0)\nhide\n\n@Boss fight\n\nwhen flag clicked\nhide variable [boss hp v]\nhide variable [your hp v]\nhide\nforever\n    go to [back v] layer\nend\n\nwhen I receive [ssbossfight v]\nset [boss hp v] to [1500]\nset [your hp v] to [100]\nshow variable [your hp v]\nshow variable [boss hp v]\nswitch costume to (costume2 v)\ngo to x: (-180) y: (0)\nshow\ngo to [front v] layer\nforever\n    if <(Boss HP) < [1]> then\n        stop [other scripts in sprite v]\n        broadcast (Bfightdone v)\n        wait (0.7) seconds\n        hide\n        stop [this script v]\n    end\n    change y by ((([y position v] of [bossfightguy v]) - (y position)) / (10))\nend\n\nwhen I receive [ssbossfight v]\nwait (1) seconds\nforever\n    wait (0.5) seconds\n    switch costume to (costume1 v)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\n    switch costume to (costume2 v)\nend\n\nwhen I start as a clone\nchange y by (10)\nshow\ngo to (boss fight v)\nswitch costume to (costume3 v)\nrepeat until <<touching (_edge_ v)?> or <touching color (#ffbf00)?>>\n    change x by (20)\nend\nif <touching color (#ffbf00)?> then\n    change [your hp v] by (-10)\nend\ndelete this clone\n\nwhen I receive [bdeath v]\nhide\nstop [other scripts in sprite v]\nwait (0.7) seconds\ngo to x: (-180) y: (0)\nshow\nbroadcast (ugen v)\n\nwhen I receive [ugen v]\nwait (1) seconds\nforever\n    wait (0.5) seconds\n    switch costume to (costume1 v)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\n    switch costume to (costume2 v)\nend\n\nwhen I receive [ugen v]\nforever\n    change y by ((([y position v] of [bossfightguy v]) - (y position)) / (10))\n    if <(Boss HP) < [1]> then\n        stop [other scripts in sprite v]\n        broadcast (Bfightdone v)\n        wait (0.7) seconds\n        hide\n        stop [this script v]\n    end\nend\n\n@Bossfightguy\n\nwhen flag clicked\nhide\n\nwhen I receive [ssbossfight v]\nshow\nswitch costume to (costume1 v)\nset [yy v] to [0]\nset size to (60) %\ngo to x: (180) y: (0)\nforever\n    if on edge, bounce\n    point in direction (90)\n    if <key (up arrow v) pressed?> then\n        change [yy v] by (1.5)\n    end\n    if <key (down arrow v) pressed?> then\n        change [yy v] by (-1.5)\n    end\n    change y by (yy)\n    set [yy v] to ((yy) * (0.9))\n    if <(Your HP) < [1]> then\n        hide\n        broadcast (Bdeath v)\n        hide variable [boss hp v]\n        hide variable [your hp v]\n        wait (1) seconds\n        show variable [boss hp v]\n        show variable [your hp v]\n        show\n        set [your hp v] to [100]\n        set [boss hp v] to [1500]\n    end\nend\n\nwhen I start as a clone\nstart sound [Pew v]\ngo to (bossfightguy v)\nswitch costume to (costume2 v)\nset size to (40) %\nrepeat until <<touching (_edge_ v)?> or <touching (boss fight v)?>>\n    change x by (-30)\nend\nif <touching (boss fight v)?> then\n    change [boss hp v] by (-10)\nend\ndelete this clone\n\nwhen I receive [ssbossfight v]\nforever\n    if <key (space v) pressed?> then\n        create clone of (_myself_ v)\n        wait () seconds\n    end\nend\n\nwhen I receive [bfightdone v]\nstop [other scripts in sprite v]\nhide variable [boss hp v]\nhide variable [your hp v]\nwait (0.7) seconds\nhide\ndelete this clone\n\n@Shade\n\nwhen flag clicked\nhide\n\nwhen I receive [endfanimation v]\nset size to (100) %\ncreate clone of (_myself_ v)\nset size to (99) %\ncreate clone of (_myself_ v)\nforever\n    set size to (100) %\n    switch costume to (costume1 v)\n    point in direction (90)\n    go to x: (0) y: (0)\n    show\n    set [ghost v] effect to (80)\nend\n\nwhen I start as a clone\nset [sine v] to [0]\nshow\nif <(size) = [99]> then\n    switch costume to (costume2 v)\n    forever\n        go to x: (0) y: (20)\n        show\n        set size to (100) %\n        point in direction ((90) + (([sin v] of ((sine) * (3)) ) * (3)))\n    end\nend\nif <(size) = [100]> then\n    switch costume to (costume3 v)\n    forever\n        go to x: (0) y: (-100)\n        show\n        set size to (100) %\n        point in direction ((90) + (([sin v] of ((sine) * (5)) ) * (3)))\n    end\nend\n\n@thumbnail\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    show\nend\n\n@Intro\n\nwhen I start as a clone\nif <(introCloneID) = [2]> then\n    go to x: (0) y: (10)\n    switch costume to (name v)\n    set [ghost v] effect to (100)\n    set size to (100) %\n    go to [front v] layer\n    show\n    repeat (5)\n        change [ghost v] effect by (-20)\n    end\n    wait (0.5) seconds\n    repeat (10)\n        wait (0) seconds\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen flag clicked\nwait until <mouse down?>\nwait until <not <mouse down?>>\nstop all sounds\nstart sound [Skip v]\nhide\nbroadcast (before start v)\nstop [other scripts in sprite v]\n\nwhen flag clicked\ngo to x: (-240) y: (0)\npoint in direction (-150)\nswitch costume to (icon v)\nset [ghost v] effect to (100)\ngo to [front v] layer\nset size to (30) %\nshow\nstart sound [IntroMusic v]\nset [introvel v] to [30]\nrepeat (15)\n    change x by (introVel)\n    turn right (introVel) degrees\n    change [ghost v] effect by ((introVel) * (-0.5))\n    change size by ((introVel) / (6))\n    change [introvel v] by (-2)\nend\nset [introcloneid v] to [1]\ncreate clone of (_myself_ v)\nset [introcloneid v] to [2]\ncreate clone of (_myself_ v)\nset [introbounce v] to [0]\nrepeat (15)\n    set [introbounce v] to (((introBounce) * (0.7)) + ((80) - (size)))\n    change size by (introBounce)\nend\nset size to (80) %\nwait (0.2) seconds\nset [introsine v] to [0]\nrepeat (15)\n    point in direction ((90) + (([tan v] of ((introSine) * (8)) ) * (10)))\nend\nset [introsizevel v] to [18]\nrepeat (9)\n    change [introsizevel v] by (-2)\n    change size by (introSizeVel)\n    turn left ((introSizeVel) * (4)) degrees\nend\nrepeat until <(x position) < [0]>\n    set x to (([tan v] of ((introSine) * (8)) ) * (20))\n    turn right (([tan v] of ((introSine) * (8)) ) * (20)) degrees\nend\nrepeat until <(x position) > [0]>\n    set x to (([tan v] of ((introSine) * (8)) ) * (20))\n    turn right (((90) - (direction)) / (3)) degrees\nend\nrepeat (9)\n    change [introsizevel v] by (-2)\n    change size by ((introSizeVel) * (0.8))\n    turn left ((introSizeVel) * (4)) degrees\nend\ngo to x: (0) y: (0)\npoint in direction (90)\nwait (0.5) seconds\nset [introcloneid v] to [3]\ncreate clone of (_myself_ v)\nwait (0.9) seconds\nhide\nwait (0.9) seconds\nbroadcast (before start v)\nstop [other scripts in sprite v]\n\nwhen I start as a clone\nif <(introCloneID) = [3]> then\n    set [introclonesizevel v] to [30]\n    go to x: (0) y: (0)\n    set size to (30) %\n    go to [front v] layer\n    show\n    repeat (30)\n        switch costume to (sizebypass v)\n        change size by (introCloneSizeVel)\n        switch costume to (disappeareffect v)\n        change [introclonesizevel v] by (-1)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(introCloneID) = [1]> then\n    set size to (100) %\n    go to [front v] layer\n    switch costume to (poof-1 v)\n    repeat (9)\n        wait (0.05) seconds\n        next costume\n    end\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    change [introsine v] by (1)\nend\n\nwhen I start as a clone\nforever\n    if <mouse down?> then\n        wait until <not <mouse down?>>\n        delete this clone\n    end\nend\n\n
[Arrow Keys] or [WASD] - Move\n[Up/Down Arrow Keys] - Control your guy at the boss fight. \n[Space] - Shoot at the boss fight