Blast Raccoon 3_ a platformer V.1.2  #all #trending #popular #games #music #animation

Instructions: <Glitches may occur><Warning to those with epilepsy>\nGAME STILL BEING UPDATED!!!\n1.Skippable intro is now in! \n2.Working on make the game entirely pixelated!\n3.add a hoverboard animation when moving left/right!\n4.unique sound effects!\n5.Any suggestions? Any rude comments will be ignored!\nI really hope you enjoy and thanks for checking it out!\n\nBlast Raccoon is back in an epic journey that is filled with all kinds of unique levels while feeling like a retro 16-bit video game! COntrols are in game and I hope you have fun!  who knows, it may be a top loved!THANKS FOR ALL THE SUPPORT!!!\n\n\n\n\n\nDid you know that Blast Raccoon is a raccoon? I didn't know either. XD

@Stage\n\nwhen [m v] key pressed\nset [mouse v] to (join ((mouse x) + (SCROLL X)) (join [, ] ((mouse y) + (SCROLL Y))))\nshow variable [mouse v]\n\nwhen I receive [changebackdrop v]\nif <(LEVEL) = [1]> then\n    switch backdrop to (tranquil resort v)\nend\nif <(LEVEL) = [4]> then\n    switch backdrop to (radical coaster v)\nend\nif <(LEVEL) = [7]> then\n    switch backdrop to (melody mountain v)\nend\nif <(LEVEL) = [10]> then\n    switch backdrop to (tranquil resort v)\nend\nif <(LEVEL) = [13]> then\n    switch backdrop to (radical coaster v)\nend\nif <(LEVEL) = [16]> then\n    switch backdrop to (saphire mines v)\nend\nif <(LEVEL) = [19]> then\n    switch backdrop to (disaster city v)\nend\nif <(LEVEL) = [22]> then\n    switch backdrop to (asteroid factory v)\nend\n\nwhen flag clicked\n\nwhen I receive [play game v]\nset [level v] to [1]\nswitch backdrop to (tranquil resort v)\n\n@Laggy\n\n@Player\n\nwhen I receive [green flag v]\nhide\ngo to [front v] layer\n\nwhen I receive [play game v]\nset [activate rock trap v] to [N]\nforever\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Game On\n    repeat until <(EXIT) > []>\n        Tick\n        broadcast (Tick v) and wait\n    end\n    if <(EXIT) = [Win]> then\n        Game-Win\n    else\n        Game-Die\n        set [activate rock trap v] to [N]\n        change [deaths v] by (1)\n    end\nend\n\ndefine Game On\nset [x v] to [0]\nset [y v] to [150]\nset [sy v] to [0]\nset [in air v] to [0]\nset [sx v] to [0]\nset [exit v] to []\nset [scroll x v] to [0]\nset [scroll y v] to [0]\nset size to (50) %\nset [ghost v] effect to (0)\nshow\n\ndefine Tick\nif <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    switch costume to (costume2 v)\n    change [sx v] by (-2.2)\nend\nif <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n    switch costume to (costume1 v)\n    change [sx v] by (2.2)\nend\nset [sx v] to ((sx) * (0.8))\nif <([abs v] of (sx) ) > [0.9]> then\n    Change Player X By (round (sx))\nend\nif <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <(In Air) < [4]> then\n        set [sy v] to [16]\n    end\nend\nif <(sy) > [-20]> then\n    change [sy v] by (-2)\nend\nChange Player Y By (sy)\nTrap-Die\nset [scroll x v] to (x)\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nPosition\nif <(y) < [-180]> then\n    set [exit v] to [Die]\nend\nchange [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nPosition\nif <(y) < [-180]> then\n    set [exit v] to [Die]\nend\nif <(ACTIVATE ROCK TRAP) = [N]> then\n    if <<(LEVEL) = [3]> and <(x) > [590]>> then\n        set [activate rock trap v] to [Y]\n    end\n    if <<(LEVEL) = [5]> and <(x) > [170]>> then\n        set [activate rock trap v] to [Y]\n    end\nend\nif <key (r v) pressed?> then\n    broadcast (Player Die v)\nend\n\ndefine Change Player Y By (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nrepeat until <not <touching (platforms v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\nif <touching (exit v)?> then\n    switch costume to (new piskel-3 v)\nend\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\ndefine Change Player X By (sx)\nchange [x v] by (sx)\nchange [in air v] by (1)\nPosition\nif <touching (platforms v)?> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <touching (platforms v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <(sx) > [0]> then\n            set [sx v] to [-16]\n        else\n            set [sx v] to [16]\n        end\n        set [in air v] to [0]\n    else\n        set [sx v] to [0]\n    end\n    repeat until <not <touching (platforms v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Game-Die\nset [exit v] to []\nrepeat (5)\n    hide\n    wait (0.1) seconds\n    show\n    wait (0.1) seconds\nend\nhide\nwait (0.5) seconds\n\ndefine Trap-Die\nif <touching (danger v)?> then\n    set [exit v] to [Die]\n    start sound [crunch v]\nend\n\ndefine Game-Win\nrepeat (50)\n    change [ghost v] effect by (0)\nend\nhide\nchange [level v] by (1)\nset [activate rock trap v] to [N]\nwait (1) seconds\nbroadcast (changeBackdrop v) and wait\n\nchange size by (-1)\n\nmove ((distance to [exit v]) / (2)) steps\nturn right (65) degrees\npoint towards (exit v)\n\nwhen I receive [player die v]\nset [exit v] to [Die]\n\nwhen [timer v] > (STOP TIMER)\nhide\n\nwhen I receive [start game v]\npoint in direction (90)\nset rotation style [all around v]\nswitch costume to (costume1 v)\nset [deaths v] to [0]\nbroadcast (changeBackdrop v) and wait\nbroadcast (Green Flag v) and wait\nbroadcast (Play Game v) and wait\n\nwhen I receive [bounce v]\nset [sy v] to [30]\nChange Player Y By (sy)\nrepeat (8)\n    wait (0.05) seconds\n    turn right (45) degrees\nend\n\nwhen I receive [reset v]\npoint in direction (90)\n\nwhen I receive [boost v]\nchange [sx v] by (50)\n\nchange [sx v] by (-2.2)\n\nwhen I receive [reset v]\nswitch costume to (costume1 v)\n\nwhen I receive [play game v]\nforever\n    if <<touching (exit v)?> and <(RUBYS) = [7]>> then\n        broadcast (All Collected! v) and wait\n    end\nend\n\nask [Got em' all!] and wait\n\nforever\n\n@Platforms\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nset [x v] to [0]\nset [y v] to [0]\nhide\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nend\nif <(LEVEL) = [2]> then\n    switch costume to (level 2 1 v)\n    Clone at x: [590] y: [0]\n    Clone at x: [590] y: [0]\n    Clone at x: [500] y: [0]\n    Clone at x: [360] y: [0]\nend\nif <(LEVEL) = [3]> then\n    switch costume to (level 3 1 v)\n    Clone at x: [590] y: [0]\n    Clone at x: [590] y: [0]\n    Clone at x: [500] y: [0]\n    Clone at x: [500] y: [0]\nend\nif <(LEVEL) = [4]> then\n    switch costume to (level 4 1 v)\n    Clone at x: [590] y: [-50]\n    Clone at x: [590] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\nend\nif <(LEVEL) = [5]> then\n    switch costume to (level 5 1 v)\n    Clone at x: [590] y: [-50]\n    Clone at x: [590] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\nend\nif <(LEVEL) = [6]> then\n    switch costume to (level 6 1 v)\n    Clone at x: [590] y: [-50]\n    Clone at x: [590] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\nend\nif <(LEVEL) = [7]> then\n    switch costume to (level 7 1 v)\n    Clone at x: [590] y: [-50]\n    Clone at x: [590] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\nend\nif <(LEVEL) = [8]> then\n    switch costume to (level 8 1 v)\n    Clone at x: [590] y: [-50]\n    Clone at x: [590] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\nend\nif <(LEVEL) = [9]> then\n    switch costume to (level 9 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [50]\n    Clone at x: [480] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [600] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\nend\nif <(LEVEL) = [10]> then\n    switch costume to (level 10 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [11]> then\n    switch costume to (level 11 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [12]> then\n    switch costume to (level 12 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [13]> then\n    switch costume to (level 13 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [14]> then\n    switch costume to (level 14 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [15]> then\n    switch costume to (level 15 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [16]> then\n    switch costume to (level 16 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [17]> then\n    switch costume to (level 17 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [18]> then\n    switch costume to (level 18 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [19]> then\n    switch costume to (level 19 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [20]> then\n    switch costume to (level 20 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [21]> then\n    switch costume to (level 21 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [22]> then\n    switch costume to (level 22 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [23]> then\n    switch costume to (level 23 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [24]> then\n    switch costume to (level 24 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\nset [pixelate v] effect to (0)\n\nClone at x: [150] y: [200]\nClone at x: [360] y: [100]\n\nClone at x: [590] y: [0]\nClone at x: [590] y: [0]\nClone at x: [500] y: [0]\nClone at x: [360] y: [0]\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\n\nClone at x: [590] y: [-50]\nClone at x: [590] y: [-50]\nClone at x: [500] y: [-50]\nClone at x: [500] y: [-50]\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [145]\nClone at x: [360] y: [200]\nClone at x: [360] y: [100]\nClone at x: [360] y: [50]\n\nClone at x: [590] y: [-50]\nClone at x: [590] y: [-50]\nClone at x: [500] y: [-50]\nClone at x: [500] y: [-50]\nClone at x: [500] y: [-50]\nClone at x: [500] y: [-50]\nClone at x: [500] y: [-50]\n\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nend\n\n@Platforms2\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nset [x v] to [0]\nset [y v] to [0]\nhide\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nend\nif <(LEVEL) = [2]> then\n    switch costume to (level 2 1 v)\n    Clone at x: [590] y: [0]\n    Clone at x: [590] y: [0]\n    Clone at x: [500] y: [0]\n    Clone at x: [360] y: [0]\nend\nif <(LEVEL) = [3]> then\n    switch costume to (level 3 1 v)\n    Clone at x: [590] y: [0]\n    Clone at x: [590] y: [0]\n    Clone at x: [500] y: [0]\n    Clone at x: [500] y: [0]\nend\nif <(LEVEL) = [4]> then\n    switch costume to (level 4 1 v)\n    Clone at x: [590] y: [-50]\n    Clone at x: [590] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\nend\nif <(LEVEL) = [5]> then\n    switch costume to (level 5 1 v)\n    Clone at x: [590] y: [-50]\n    Clone at x: [590] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\nend\nif <(LEVEL) = [6]> then\n    switch costume to (level 6 1 v)\n    Clone at x: [590] y: [-50]\n    Clone at x: [590] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\nend\nif <(LEVEL) = [7]> then\n    switch costume to (level 7 1 v)\n    Clone at x: [590] y: [-50]\n    Clone at x: [590] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\nend\nif <(LEVEL) = [8]> then\n    switch costume to (level 8 1 v)\n    Clone at x: [590] y: [-50]\n    Clone at x: [590] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\nend\nif <(LEVEL) = [9]> then\n    switch costume to (level 9 1 v)\n    Clone at x: [590] y: [-50]\n    Clone at x: [480] y: [50]\n    Clone at x: [480] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [600] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\nend\nif <(LEVEL) = [10]> then\n    switch costume to (level 10 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [11]> then\n    switch costume to (level 11 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [12]> then\n    switch costume to (level 12 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [13]> then\n    switch costume to (level 13 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [14]> then\n    switch costume to (level 14 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [15]> then\n    switch costume to (level 15 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [16]> then\n    switch costume to (level 16 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [17]> then\n    switch costume to (level 17 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [18]> then\n    switch costume to (level 18 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [19]> then\n    switch costume to (level 19 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [20]> then\n    switch costume to (level 20 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [21]> then\n    switch costume to (level 21 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [22]> then\n    switch costume to (level 22 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [23]> then\n    switch costume to (level 23 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\nif <(LEVEL) = [24]> then\n    switch costume to (level 24 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [green flag v]\ngo to [back v] layer\n\nforever\n\nClone at x: [150] y: [200]\nClone at x: [360] y: [100]\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\n\nswitch costume to (level 1 1 v)\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [145]\nClone at x: [360] y: [200]\nClone at x: [360] y: [100]\nClone at x: [360] y: [50]\n\n@Danger\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nset [x v] to [0]\nset [y v] to [0]\nhide\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nend\nif <(LEVEL) = [2]> then\n    switch costume to (level 2 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nend\nif <(LEVEL) = [3]> then\n    switch costume to (level 3 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nend\nif <(LEVEL) = [4]> then\n    switch costume to (level 4 1 v)\n    Clone at x: [360] y: [0]\nend\nif <(LEVEL) = [5]> then\n    switch costume to (level 5 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [1175] y: [-160]\n    Clone at x: [360] y: [145]\n    Clone at x: [360] y: [200]\n    Clone at x: [360] y: [100]\n    Clone at x: [360] y: [50]\nend\nif <(LEVEL) = [6]> then\n    switch costume to (level 6 1 v)\nend\nif <(LEVEL) = [7]> then\n    switch costume to (level 7 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [1175] y: [-160]\n    Clone at x: [360] y: [145]\n    Clone at x: [360] y: [200]\n    Clone at x: [360] y: [-100]\nend\nif <(LEVEL) = [8]> then\n    switch costume to (level 8 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nend\nif <(LEVEL) = [9]> then\n    switch costume to (level 9 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [2200] y: [0]\nend\nif <(LEVEL) = [10]> then\n    switch costume to (level 10 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nend\nif <(LEVEL) = [11]> then\n    switch costume to (level 11 1 v)\n    Clone at x: [2000] y: [0]\n    Clone at x: [1000] y: [-100]\nend\nif <(LEVEL) = [12]> then\n    switch costume to (level 12 1 v)\n    Clone at x: [2000] y: [0]\n    Clone at x: [1000] y: [-100]\nend\nif <(LEVEL) = [13]> then\n    switch costume to (level 13 1 v)\n    Clone at x: [1000] y: [-100]\n    Clone at x: [500] y: [0]\n    Clone at x: [1000] y: [100]\nend\nif <(LEVEL) = [14]> then\n    switch costume to (level 14 1 v)\n    Clone at x: [1000] y: [-100]\n    Clone at x: [500] y: [0]\n    Clone at x: [1000] y: [100]\nend\nif <(LEVEL) = [15]> then\n    switch costume to (level 15 1 v)\n    Clone at x: [1000] y: [0]\n    Clone at x: [500] y: [0]\n    Clone at x: [900] y: [100]\nend\nif <(LEVEL) = [16]> then\n    switch costume to (level 16 1 v)\n    Clone at x: [1000] y: [0]\n    Clone at x: [1500] y: [200]\nend\nif <(LEVEL) = [17]> then\n    switch costume to (level 17 1 v)\n    Clone at x: [1000] y: [0]\n    Clone at x: [500] y: [0]\nend\nif <(LEVEL) = [18]> then\n    switch costume to (level 18 1 v)\n    Clone at x: [2000] y: [100]\n    Clone at x: [500] y: [0]\n    Clone at x: [500] y: [0]\nend\nif <(LEVEL) = [23]> then\n    switch costume to (level 23 1 v)\n    Clone at x: [2000] y: [-100]\n    Clone at x: [2000] y: [0]\n    Clone at x: [500] y: [0]\nend\nset [x v] to [-99999999999]\n\nClone at x: [360] y: [0]\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nClone at x: [150] y: [200]\nClone at x: [360] y: [100]\n\nClone at x: [360] y: [50]\n\nif <(LEVEL) = [2]> then\n    switch costume to (level 2 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nend\n\nswitch costume to (level 9 1 v)\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [2200] y: [0]\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\n\nClone at x: [500] y: [0]\n\n@Colectables\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    change [rubys v] by (1)\n    start sound [collect v]\n    if <(RUBYS) = (COINS)> then\n        broadcast (Open Portal v)\n    end\n    delete this clone\nend\n\nwhen I receive [setup v]\nhide\nset [rubys v] to [0]\nset [coins v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [800] y: [200]\n    Clone at x: [200] y: [-10]\n    Clone at x: [525] y: [-15]\n    Clone at x: [650] y: [100]\n    Clone at x: [700] y: [150]\n    Clone at x: [875] y: [150]\n    Clone at x: [1200] y: [75]\nend\nif <(LEVEL) = [2]> then\n    Clone at x: [580] y: [200]\n    Clone at x: [220] y: [-10]\n    Clone at x: [1733] y: [350]\n    Clone at x: [1300] y: [-30]\n    Clone at x: [2000] y: [150]\n    Clone at x: [1500] y: [150]\n    Clone at x: [1200] y: [75]\nend\nif <(LEVEL) = [3]> then\n    Clone at x: [100] y: [-15]\n    Clone at x: [300] y: [0]\n    Clone at x: [500] y: [-15]\n    Clone at x: [1150] y: [0]\n    Clone at x: [1515] y: [-50]\n    Clone at x: [1610] y: [25]\n    Clone at x: [2000] y: [125]\nend\nif <(LEVEL) = [4]> then\n    Clone at x: [100] y: [-5]\n    Clone at x: [200] y: [-5]\n    Clone at x: [400] y: [125]\n    Clone at x: [550] y: [-5]\n    Clone at x: [1800] y: [-100]\n    Clone at x: [1250] y: [75]\n    Clone at x: [2100] y: [-5]\nend\nif <(LEVEL) = [5]> then\n    Clone at x: [100] y: [-5]\n    Clone at x: [250] y: [150]\n    Clone at x: [400] y: [100]\n    Clone at x: [1525] y: [10]\n    Clone at x: [1850] y: [150]\n    Clone at x: [1250] y: [75]\n    Clone at x: [2925] y: [-5]\nend\nif <(LEVEL) = [6]> then\n    Clone at x: [-200] y: [-5]\n    Clone at x: [200] y: [-5]\n    Clone at x: [2600] y: [-10]\n    Clone at x: [550] y: [0]\n    Clone at x: [1800] y: [50]\n    Clone at x: [1465] y: [75]\n    Clone at x: [2250] y: [90]\nend\nif <(LEVEL) = [7]> then\n    Clone at x: [200] y: [20]\n    Clone at x: [2600] y: [10]\n    Clone at x: [2000] y: [90]\n    Clone at x: [550] y: [-20]\n    Clone at x: [1500] y: [100]\n    Clone at x: [1250] y: [75]\n    Clone at x: [2250] y: [10]\nend\nif <(LEVEL) = [8]> then\n    Clone at x: [200] y: [20]\n    Clone at x: [1200] y: [175]\n    Clone at x: [1700] y: [-80]\n    Clone at x: [550] y: [0]\n    Clone at x: [1700] y: [100]\n    Clone at x: [640] y: [0]\n    Clone at x: [900] y: [125]\nend\nif <(LEVEL) = [9]> then\n    Clone at x: [350] y: [20]\n    Clone at x: [1200] y: [175]\n    Clone at x: [1360] y: [0]\n    Clone at x: [2240] y: [50]\n    Clone at x: [1400] y: [0]\n    Clone at x: [2730] y: [50]\n    Clone at x: [900] y: [125]\nend\nif <(LEVEL) = [10]> then\n    Clone at x: [176] y: [-25]\n    Clone at x: [600] y: [-135]\n    Clone at x: [650] y: [-135]\n    Clone at x: [700] y: [200]\n    Clone at x: [800] y: [200]\n    Clone at x: [1675] y: [150]\n    Clone at x: [1250] y: [-25]\nend\nif <(LEVEL) = [11]> then\n    Clone at x: [500] y: [-50]\n    Clone at x: [950] y: [-50]\n    Clone at x: [890] y: [-50]\n    Clone at x: [825] y: [-50]\n    Clone at x: [2000] y: [150]\n    Clone at x: [1250] y: [0]\n    Clone at x: [3300] y: [-30]\nend\nif <(LEVEL) = [12]> then\n    Clone at x: [500] y: [100]\n    Clone at x: [1450] y: [0]\n    Clone at x: [1575] y: [125]\n    Clone at x: [825] y: [0]\n    Clone at x: [1955] y: [115]\n    Clone at x: [1250] y: [0]\n    Clone at x: [2800] y: [250]\nend\nif <(LEVEL) = [13]> then\n    Clone at x: [975] y: [225]\n    Clone at x: [2800] y: [325]\n    Clone at x: [1575] y: [-75]\n    Clone at x: [840] y: [125]\n    Clone at x: [1575] y: [100]\n    Clone at x: [1365] y: [0]\n    Clone at x: [1150] y: [345]\nend\nif <(LEVEL) = [14]> then\n    Clone at x: [935] y: [100]\n    Clone at x: [2700] y: [100]\n    Clone at x: [1800] y: [100]\n    Clone at x: [840] y: [100]\n    Clone at x: [2300] y: [100]\n    Clone at x: [2500] y: [100]\n    Clone at x: [1150] y: [100]\nend\nif <(LEVEL) = [15]> then\n    Clone at x: [1100] y: [30]\n    Clone at x: [2700] y: [225]\n    Clone at x: [1800] y: [30]\n    Clone at x: [840] y: [30]\n    Clone at x: [2275] y: [200]\n    Clone at x: [2550] y: [200]\n    Clone at x: [1250] y: [250]\nend\nif <(LEVEL) = [16]> then\n    Clone at x: [965] y: [-50]\n    Clone at x: [2700] y: [125]\n    Clone at x: [1900] y: [100]\n    Clone at x: [-200] y: [250]\n    Clone at x: [2275] y: [100]\n    Clone at x: [2550] y: [125]\n    Clone at x: [1250] y: [150]\nend\nif <(LEVEL) = [17]> then\n    Clone at x: [-100] y: [50]\n    Clone at x: [950] y: [100]\n    Clone at x: [1350] y: [150]\n    Clone at x: [1900] y: [280]\n    Clone at x: [2275] y: [280]\n    Clone at x: [2345] y: [280]\n    Clone at x: [2800] y: [280]\nend\nif <(LEVEL) = [18]> then\n    Clone at x: [-200] y: [0]\n    Clone at x: [950] y: [-15]\n    Clone at x: [1350] y: [35]\n    Clone at x: [1900] y: [280]\n    Clone at x: [2400] y: [205]\n    Clone at x: [2400] y: [100]\n    Clone at x: [2800] y: [115]\nend\nif <(LEVEL) = [19]> then\n    Clone at x: [-200] y: [100]\n    Clone at x: [1050] y: [-75]\n    Clone at x: [1350] y: [100]\n    Clone at x: [1975] y: [-75]\n    Clone at x: [2400] y: [100]\n    Clone at x: [2400] y: [50]\n    Clone at x: [2800] y: [115]\nend\nif <(LEVEL) = [20]> then\n    Clone at x: [-200] y: [100]\n    Clone at x: [1050] y: [100]\n    Clone at x: [1350] y: [100]\n    Clone at x: [1975] y: [180]\n    Clone at x: [2500] y: [75]\n    Clone at x: [2600] y: [75]\n    Clone at x: [2815] y: [-75]\nend\nif <(LEVEL) = [21]> then\n    Clone at x: [-200] y: [-80]\n    Clone at x: [1050] y: [375]\n    Clone at x: [1350] y: [150]\n    Clone at x: [1975] y: [0]\n    Clone at x: [2500] y: [-45]\n    Clone at x: [2700] y: [-45]\n    Clone at x: [3000] y: [-45]\nend\nif <(LEVEL) = [22]> then\n    Clone at x: [-200] y: [0]\n    Clone at x: [1050] y: [100]\n    Clone at x: [1600] y: [100]\n    Clone at x: [1975] y: [0]\n    Clone at x: [2500] y: [0]\n    Clone at x: [2700] y: [0]\n    Clone at x: [3000] y: [0]\nend\nif <(LEVEL) = [23]> then\n    Clone at x: [-200] y: [0]\n    Clone at x: [500] y: [150]\n    Clone at x: [3700] y: [100]\n    Clone at x: [1975] y: [0]\n    Clone at x: [2850] y: [250]\n    Clone at x: [2700] y: [0]\n    Clone at x: [3000] y: [0]\nend\nif <(LEVEL) = [24]> then\n    Clone at x: [-200] y: [0]\n    Clone at x: [965] y: [300]\n    Clone at x: [3700] y: [100]\n    Clone at x: [1700] y: [-100]\n    Clone at x: [5750] y: [250]\n    Clone at x: [2700] y: [0]\n    Clone at x: [3000] y: [0]\nend\nset [x v] to [-999999999]\n\nset [x v] to [-999999999]\n\nClone at x: [-200] y: [-5]\nClone at x: [200] y: [-5]\nClone at x: [2600] y: [-10]\nClone at x: [550] y: [0]\nClone at x: [1800] y: [50]\nClone at x: [1465] y: [75]\nClone at x: [2250] y: [90]\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nset size to (10) %\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    next costume\nelse\n    hide\nend\n\nwait (0.00001) seconds\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nchange [coins v] by (1)\nset size to (20) %\ncreate clone of (_myself_ v)\n\nwhen flag clicked\n\nforever\n\nClone at x: [-79] y: [-76]\nClone at x: [166] y: [232]\nClone at x: [226] y: [232]\nClone at x: [191] y: [270]\nClone at x: [428] y: [339]\nClone at x: [543] y: [396]\nClone at x: [635] y: [481]\n\nClone at x: [500] y: [200]\nClone at x: [175] y: [-10]\nClone at x: [575] y: [-15]\nClone at x: [600] y: [100]\nClone at x: [700] y: [150]\nClone at x: [875] y: [150]\nClone at x: [1200] y: [75]\n\nClone at x: [-90] y: [0]\nClone at x: [370] y: [220]\nClone at x: [340] y: [-35]\nClone at x: [810] y: [130]\nClone at x: [1470] y: [460]\nClone at x: [1920] y: [530]\nClone at x: [2295] y: [480]\n\nClone at x: [100] y: [-5]\nClone at x: [250] y: [150]\nClone at x: [400] y: [100]\nClone at x: [1525] y: [10]\nClone at x: [1850] y: [150]\nClone at x: [1250] y: [75]\nClone at x: [2925] y: [-5]\n\nset [x v] to [-999999999]\n\nif <(LEVEL) = [11]> then\n    Clone at x: [500] y: [-50]\n    Clone at x: [950] y: [-50]\n    Clone at x: [890] y: [-50]\n    Clone at x: [825] y: [-50]\n    Clone at x: [2000] y: [150]\n    Clone at x: [1250] y: [0]\n    Clone at x: [3300] y: [-30]\nend\n\nwhen I receive [play game v]\n\nif <(RUBYS) = [7]> then\n    broadcast (All Collected! v) and wait\nend\n\n@Exit\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <<(costume [name v]) = [Open Portal]> and <touching (player v)?>> then\n    start sound [portal v]\n    set [exit v] to [Win]\nend\n\nwhen I receive [setup v]\nhide\nset [rubys v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) < [30]> then\n    if <(LEVEL) = [1]> then\n        switch costume to (open portal v)\n        Clone at x: [1990] y: [-12]\n    end\n    if <(LEVEL) = [2]> then\n        switch costume to (open portal v)\n        Clone at x: [2500] y: [150]\n    end\n    if <(LEVEL) = [3]> then\n        switch costume to (open portal v)\n        Clone at x: [2500] y: [90]\n    end\n    if <(LEVEL) = [4]> then\n        switch costume to (open portal v)\n        Clone at x: [2350] y: [0]\n    end\n    if <(LEVEL) = [5]> then\n        switch costume to (open portal v)\n        Clone at x: [3400] y: [-30]\n    end\n    if <(LEVEL) = [6]> then\n        switch costume to (open portal v)\n        Clone at x: [2850] y: [-30]\n    end\n    if <(LEVEL) = [7]> then\n        switch costume to (open portal v)\n        Clone at x: [3100] y: [20]\n    end\n    if <(LEVEL) = [8]> then\n        switch costume to (open portal v)\n        Clone at x: [2800] y: [-65]\n    end\n    if <(LEVEL) = [9]> then\n        switch costume to (open portal v)\n        Clone at x: [3200] y: [100]\n    end\n    if <(LEVEL) = [10]> then\n        switch costume to (open portal v)\n        Clone at x: [2500] y: [120]\n    end\n    if <(LEVEL) = [11]> then\n        switch costume to (open portal v)\n        Clone at x: [3500] y: [-5]\n    end\n    if <(LEVEL) = [12]> then\n        switch costume to (open portal v)\n        Clone at x: [3500] y: [220]\n    end\n    if <(LEVEL) = [13]> then\n        switch costume to (open portal v)\n        Clone at x: [3000] y: [80]\n    end\n    if <(LEVEL) = [14]> then\n        switch costume to (open portal v)\n        Clone at x: [3050] y: [90]\n    end\n    if <(LEVEL) = [15]> then\n        switch costume to (open portal v)\n        Clone at x: [3050] y: [225]\n    end\n    if <(LEVEL) = [16]> then\n        switch costume to (open portal v)\n        Clone at x: [3050] y: [120]\n    end\n    if <(LEVEL) = [17]> then\n        switch costume to (open portal v)\n        Clone at x: [3500] y: [275]\n    end\n    if <(LEVEL) = [18]> then\n        switch costume to (open portal v)\n        Clone at x: [3000] y: [90]\n    end\n    if <(LEVEL) = [19]> then\n        switch costume to (open portal v)\n        Clone at x: [3575] y: [10]\n    end\n    if <(LEVEL) = [20]> then\n        switch costume to (open portal v)\n        Clone at x: [4500] y: [-50]\n    end\n    if <(LEVEL) = [21]> then\n        switch costume to (open portal v)\n        Clone at x: [4000] y: [50]\n    end\n    if <(LEVEL) = [22]> then\n        switch costume to (open portal v)\n        Clone at x: [4150] y: [70]\n    end\n    if <(LEVEL) = [23]> then\n        switch costume to (open portal v)\n        Clone at x: [4850] y: [15]\n    end\n    if <(LEVEL) = [24]> then\n        switch costume to (open portal v)\n        Clone at x: [7400] y: [15]\n    end\n    if <(LEVEL) = [25]> then\n        switch costume to (open portal v)\n        Clone at x: [7400] y: [15]\n    end\nelse\n    set [x v] to [-9999999999]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\n\nwhen I receive [open portal v]\nswitch costume to (open portal v)\n\nClone at x: [709] y: [541]\n\n@Saw\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    set size to (50) %\n    go to [front v] layer\n    turn right (12) degrees\nelse\n    hide\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <<touching (player v)?> and <(PLAYER DYING) = [N]>> then\n    set [player dying v] to [Y]\n    broadcast (Player Die v) and wait\n    set [player dying v] to [N]\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (download \(3\) v)\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nset [pixelate v] effect to (60)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [player dying v] to [N]\nif <(LEVEL) = [2]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [1735] y: [260]\nend\nif <(LEVEL) = [3]> then\n    switch costume to (download \(3\) v)\nend\nif <(LEVEL) = [4]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [1250] y: [0]\nend\nif <(LEVEL) = [5]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2925] y: [-70]\nend\nif <(LEVEL) = [6]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [1465] y: [-20]\n    Clone at x: [1465] y: [170]\nend\nif <(LEVEL) = [9]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2240] y: [-55]\nend\nif <(LEVEL) = [17]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2090] y: [375]\n    Clone at x: [2300] y: [340]\n    Clone at x: [2375] y: [340]\n    Clone at x: [2450] y: [340]\nend\nif <(LEVEL) = [22]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [180] y: [135]\n    Clone at x: [370] y: [135]\n    Clone at x: [2860] y: [135]\n    Clone at x: [3700] y: [-175]\nend\nif <(LEVEL) = [23]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [585] y: [100]\n    Clone at x: [635] y: [100]\n    Clone at x: [2860] y: [135]\n    Clone at x: [2900] y: [95]\nend\nif <(LEVEL) = [24]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [4070] y: [85]\n    Clone at x: [1176] y: [-25]\n    Clone at x: [1475] y: [25]\n    Clone at x: [2850] y: [45]\n    Clone at x: [5665] y: [275]\n    Clone at x: [5920] y: [275]\nend\nset [x v] to [-999999999]\n\nClone at x: [830] y: [70]\n\nwhen I start as a clone\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nClone at x: [-63] y: [-85]\n\nClone at x: [2075] y: [-25]\n\nwhen I receive [play game v]\n\nClone at x: [1465] y: [-20]\n\n@Saw2\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    set size to (50) %\n    go to [back v] layer\n    next costume\nelse\n    hide\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nset [pixelate v] effect to (30)\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (saw1 v)\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [player dying v] to [N]\nif <(LEVEL) = [2]> then\n    switch costume to (saw v)\nend\nif <(LEVEL) = [3]> then\n    switch costume to (saw v)\nend\nif <(LEVEL) = [4]> then\n    switch costume to (saw v)\n    Clone at x: [700] y: [0]\nend\nif <(LEVEL) = [5]> then\n    switch costume to (saw v)\n    Clone at x: [830] y: [-50]\nend\nif <(LEVEL) = [6]> then\n    switch costume to (saw v)\n    Clone at x: [875] y: [0]\nend\nif <(LEVEL) = [7]> then\n    switch costume to (saw v)\nend\nif <(LEVEL) = [8]> then\n    switch costume to (saw v)\n    Clone at x: [-3000] y: [0]\nend\nif <(LEVEL) = [12]> then\n    Clone at x: [1800] y: [125]\n    Clone at x: [2100] y: [125]\nend\nif <(LEVEL) = [21]> then\n    Clone at x: [3600] y: [-50]\nend\nset [x v] to [-999999999]\n\nwhen I start as a clone\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nset [player dying v] to [Y]\nbroadcast (Player Die v) and wait\nset [player dying v] to [N]\n\nClone at x: [0] y: [130]\n\nturn right (1) degrees\n\nwait (1) seconds\n\nswitch costume to (saw v)\n\nif <(LEVEL) = [17]> then\n\nClone at x: [2700] y: [280]\n\n@Play\n\nwhen flag clicked\nhide\nset size to (0) %\ngo to x: (0) y: (-90)\nwait (7) seconds\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (3))\n        set [ghost v] effect to (30)\n    else\n        change size by (((100) - (size)) / (3))\n        set [ghost v] effect to (-10)\n    end\nend\n\nwhen flag clicked\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nstart sound [pop v]\nhide\nbroadcast (Intro v)\n\nwait (70) seconds\n\nbroadcast (Start Game v)\n\nstop [this script v]\n\n@Words\n\nwhen flag clicked\nswitch costume to (costume3 v)\ngo to [back v] layer\nset size to (100) %\ngo to x: (-6) y: (70)\nshow\nwait (2) seconds\nrepeat (10)\n    next costume\n    wait (0.12) seconds\nend\nwait (2) seconds\nnext costume\nwait (0.25) seconds\nnext costume\nwait (0.25) seconds\nnext costume\nwait (1) seconds\nnext costume\nwait (1) seconds\nnext costume\n\nwait (1) seconds\nnext costume\n\nwhen I receive [start game v]\nhide\nset [ghost v] effect to (0)\n\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (3))\n        set [ghost v] effect to (30)\n    else\n        change size by (((100) - (size)) / (3))\n        set [ghost v] effect to (-10)\n    end\nend\n\nnext costume\n\nwhen I receive [play game v]\nhide\nset [ghost v] effect to (0)\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo [forward v] (99) layers\nhide\nset [stop timer v] to [0.1]\nforever\n    set [stop timer v] to ((timer) + (0.1))\nend\n\nwhen [timer v] > (STOP TIMER)\nhide variable [level v]\nhide variable [timer v]\nhide variable [deaths v]\nhide variable [control menu v]\nhide variable [rubys v]\ngo to x: (0) y: (300)\nshow\nglide (0.5) secs to x: (0) y: (0)\n\nwhen I receive [start game v]\nshow variable [level v]\nshow variable [control menu v]\nshow variable [rubys v]\n\nshow variable [deaths v]\n\nwhen flag clicked\nforever\n    set [control menu v] to [Z]\nend\n\n@Trampoline\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [600] y: [-35]\nend\nif <(LEVEL) = [2]> then\n    Clone at x: [580] y: [-35]\n    Clone at x: [1350] y: [-35]\n    Clone at x: [1650] y: [125]\nend\nif <(LEVEL) = [3]> then\n    Clone at x: [539] y: [-75]\nend\nif <(LEVEL) = [4]> then\n    Clone at x: [300] y: [-40]\nend\nif <(LEVEL) = [5]> then\n    Clone at x: [250] y: [-50]\n    Clone at x: [1850] y: [-50]\n    Clone at x: [1075] y: [220]\nend\nif <(LEVEL) = [6]> then\n    Clone at x: [2180] y: [-60]\nend\nif <(LEVEL) = [7]> then\n    Clone at x: [1400] y: [-110]\n    Clone at x: [1950] y: [-170]\nend\nif <(LEVEL) = [8]> then\n    Clone at x: [875] y: [-115]\n    Clone at x: [975] y: [20]\nend\nif <(LEVEL) = [9]> then\n    Clone at x: [2725] y: [-35]\nend\nif <(LEVEL) = [10]> then\n    Clone at x: [100] y: [-52]\n    Clone at x: [1600] y: [-52]\nend\nif <(LEVEL) = [11]> then\n    Clone at x: [1976] y: [-35]\n    Clone at x: [2715] y: [-32]\nend\nif <(LEVEL) = [12]> then\n    Clone at x: [1580] y: [-103]\n    Clone at x: [1400] y: [-103]\n    Clone at x: [1200] y: [-103]\n    Clone at x: [2715] y: [-32]\nend\nif <(LEVEL) = [13]> then\n    Clone at x: [795] y: [-15]\n    Clone at x: [930] y: [45]\n    Clone at x: [1070] y: [126]\n    Clone at x: [2800] y: [65]\nend\nif <(LEVEL) = [14]> then\n    Clone at x: [200] y: [0]\nend\nif <(LEVEL) = [15]> then\n    Clone at x: [1900] y: [5]\n    Clone at x: [2200] y: [5]\n    Clone at x: [2475] y: [5]\nend\nif <(LEVEL) = [16]> then\n    Clone at x: [-210] y: [10]\nend\nif <(LEVEL) = [17]> then\n    Clone at x: [125] y: [0]\n    Clone at x: [450] y: [6]\n    Clone at x: [1210] y: [10]\n    Clone at x: [1650] y: [30]\n    Clone at x: [2000] y: [243]\nend\nif <(LEVEL) = [18]> then\n    Clone at x: [1760] y: [60]\nend\nif <(LEVEL) = [19]> then\n    Clone at x: [375] y: [-13]\n    Clone at x: [1125] y: [-13]\nend\nif <(LEVEL) = [21]> then\n    Clone at x: [320] y: [55]\nend\nif <(LEVEL) = [22]> then\n    Clone at x: [100] y: [-10]\n    Clone at x: [3775] y: [-140]\n    Clone at x: [275] y: [-10]\n    Clone at x: [2760] y: [-10]\nend\nif <(LEVEL) = [23]> then\n    Clone at x: [750] y: [-10]\n    Clone at x: [3775] y: [-50]\n    Clone at x: [475] y: [-10]\n    Clone at x: [2760] y: [-10]\n    Clone at x: [2120] y: [-155]\nend\nif <(LEVEL) = [24]> then\n    Clone at x: [3825] y: [88]\n    Clone at x: [2750] y: [-110]\n    Clone at x: [2310] y: [-130]\n    Clone at x: [1250] y: [160]\nend\nset [x v] to [-999999999]\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (springboardup v)\ncreate clone of (_myself_ v)\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <touching (player v)?> then\n        broadcast (Bounce v)\n        start sound [boing v]\n        repeat (2)\n            next costume\n            wait (0.1) seconds\n        end\n        switch costume to (springboardup v)\n    end\nend\n\nClone at x: [250] y: [-50]\nClone at x: [1075] y: [220]\n\nClone at x: [930] y: [45]\n\nif <(LEVEL) = [13]> then\n    Clone at x: [795] y: [-15]\n    Clone at x: [930] y: [45]\n    Clone at x: [1070] y: [126]\n    Clone at x: [2800] y: [65]\nend\n\nClone at x: [450] y: [6]\nClone at x: [1210] y: [10]\n\nClone at x: [2000] y: [243]\n\nClone at x: [1125] y: [-13]\n\n@Trampoline2\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [450] y: [-45]\nend\nif <(LEVEL) = [2]> then\n    Clone at x: [650] y: [30]\nend\nif <(LEVEL) = [3]> then\n    Clone at x: [539] y: [-75]\nend\nif <(LEVEL) = [4]> then\n    Clone at x: [300] y: [-40]\nend\nif <(LEVEL) = [5]> then\n    Clone at x: [250] y: [-50]\n    Clone at x: [400] y: [-90]\n    Clone at x: [1075] y: [220]\nend\nif <(LEVEL) = [7]> then\n    Clone at x: [2100] y: [-15]\nend\nif <(LEVEL) = [8]> then\n    Clone at x: [1900] y: [-115]\n    Clone at x: [1950] y: [-115]\nend\nif <(LEVEL) = [11]> then\n    Clone at x: [780] y: [-70]\n    Clone at x: [3150] y: [-40]\nend\nif <(LEVEL) = [12]> then\n    Clone at x: [900] y: [-112]\n    Clone at x: [1200] y: [-100]\n    Clone at x: [1400] y: [-100]\nend\nif <(LEVEL) = [13]> then\n    Clone at x: [400] y: [-25]\n    Clone at x: [1320] y: [-105]\n    Clone at x: [2000] y: [15]\nend\nif <(LEVEL) = [14]> then\n    Clone at x: [750] y: [75]\n    Clone at x: [2000] y: [15]\nend\nif <(LEVEL) = [15]> then\n    Clone at x: [1700] y: [-7]\nend\nif <(LEVEL) = [17]> then\n    Clone at x: [275] y: [5]\n    Clone at x: [2200] y: [250]\nend\nif <(LEVEL) = [18]> then\n    Clone at x: [800] y: [-75]\n    Clone at x: [1350] y: [10]\n    Clone at x: [1170] y: [-19]\n    Clone at x: [970] y: [-50]\nend\nif <(LEVEL) = [22]> then\n    Clone at x: [500] y: [-19]\n    Clone at x: [2600] y: [-19]\n    Clone at x: [1170] y: [-19]\n    Clone at x: [2900] y: [-19]\nend\nif <(LEVEL) = [24]> then\n    Clone at x: [-75] y: [-19]\n    Clone at x: [2600] y: [-19]\n    Clone at x: [5000] y: [-19]\n    Clone at x: [5585] y: [-19]\n    Clone at x: [5825] y: [-19]\nend\nset [x v] to [-999999999]\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (dash up v)\ncreate clone of (_myself_ v)\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <touching (player v)?> then\n        broadcast (Boost v)\n        repeat (2)\n            next costume\n            wait (0.1) seconds\n        end\n        switch costume to (dash up v)\n    end\nend\n\nstart sound [boing v]\n\nClone at x: [400] y: [-25]\n\n@Rule sheet\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nforever\n    go to [front v] layer\nend\n\nwhen I receive [play game v]\nforever\n    if <key (z v) pressed?> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\n\nwhen I receive [play game v]\nset [control menu v] to [Z]\nforever\n    if <key (z v) pressed?> then\n        set [control menu v] to [open]\n    else\n        set [control menu v] to [Z]\n    end\nend\n\n@Saw3\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    turn right (5) degrees\n    set size to (200) %\n    go to [front v] layer\nelse\n    hide\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nset [pixelate v] effect to (30)\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (saw1 v)\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [player dying v] to [N]\nif <(LEVEL) = [2]> then\n    switch costume to (saw v)\nend\nif <(LEVEL) = [3]> then\n    switch costume to (saw v)\nend\nif <(LEVEL) = [4]> then\n    switch costume to (saw v)\nend\nif <(LEVEL) = [5]> then\n    switch costume to (saw v)\nend\nif <(LEVEL) = [6]> then\n    switch costume to (saw v)\nend\nif <(LEVEL) = [7]> then\n    switch costume to (saw v)\nend\nif <(LEVEL) = [8]> then\n    switch costume to (saw v)\nend\nif <(LEVEL) = [9]> then\n    switch costume to (saw v)\nend\nif <(LEVEL) = [10]> then\n    switch costume to (saw v)\n    Clone at x: [472] y: [10]\n    Clone at x: [942] y: [25]\n    Clone at x: [2035] y: [260]\n    Clone at x: [2275] y: [260]\nend\nif <(LEVEL) = [11]> then\n    switch costume to (saw v)\n    Clone at x: [53] y: [125]\n    Clone at x: [453] y: [125]\n    Clone at x: [925] y: [125]\n    Clone at x: [2375] y: [-25]\nend\nif <(LEVEL) = [12]> then\n    switch costume to (saw v)\n    Clone at x: [-80] y: [160]\n    Clone at x: [460] y: [160]\n    Clone at x: [1900] y: [-50]\n    Clone at x: [2340] y: [-50]\n    Clone at x: [3235] y: [375]\nend\nset [x v] to [-999999999]\n\nwhen I start as a clone\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nset [player dying v] to [Y]\nbroadcast (Player Die v) and wait\nset [player dying v] to [N]\n\nClone at x: [0] y: [130]\n\nwait (1) seconds\n\nClone at x: [700] y: [0]\n\nClone at x: [830] y: [-50]\n\nClone at x: [-3000] y: [0]\n\nnext costume\n\nif <(LEVEL) = [19]> then\n    switch costume to (saw v)\n    Clone at x: [-80] y: [160]\n    Clone at x: [460] y: [160]\n    Clone at x: [1900] y: [-50]\n    Clone at x: [2340] y: [-50]\n    Clone at x: [3235] y: [375]\nend\n\n@Water\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    set size to (100) %\n    go to [front v] layer\nelse\n    hide\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (download \(3\) v)\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [player dying v] to [N]\nif <(LEVEL) = [13]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [1500] y: [100]\nend\nset [x v] to [-999999999999]\n\nClone at x: [830] y: [70]\n\nwhen I start as a clone\n\nClone at x: [-63] y: [-85]\n\nClone at x: [2075] y: [-25]\n\nwhen I receive [play game v]\n\nClone at x: [1465] y: [-20]\n\nforever\n    next costume\n    wait (0.05) seconds\nend\n\n@Water2\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    set size to (100) %\n    go to [front v] layer\nelse\n    hide\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (download \(3\) v)\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nhide\nset [brightness v] effect to (10)\nset [x v] to [0]\nset [y v] to [0]\nset [player dying v] to [N]\nif <(LEVEL) = [16]> then\n    switch costume to (new piskel \(12\)4 v)\n    Clone at x: [1500] y: [100]\nend\nif <(LEVEL) = [18]> then\n    switch costume to (new piskel \(12\)4 v)\n    Clone at x: [-100] y: [25]\n    Clone at x: [500] y: [25]\n    Clone at x: [200] y: [25]\nend\nset [x v] to [-999999999999]\n\nClone at x: [830] y: [70]\n\nwhen I start as a clone\n\nClone at x: [-63] y: [-85]\n\nClone at x: [2075] y: [-25]\n\nwhen I receive [play game v]\n\nClone at x: [1465] y: [-20]\n\nforever\n    next costume\n    wait (0.05) seconds\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nforever\nend\n\nif  then\nelse\nend\n\nwait (1) seconds\n\nwhen I receive [all collected! v]\nshow\ngo to [front v] layer\nrepeat (50)\n    change [color v] effect by (5)\nend\nwait (1) seconds\nhide\n\n@Saw4\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    set size to (50) %\n    go to [front v] layer\n    turn left (2) degrees\nelse\n    hide\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <<touching (player v)?> and <(PLAYER DYING) = [N]>> then\n    set [player dying v] to [Y]\n    broadcast (Player Die v) and wait\n    set [player dying v] to [N]\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (download \(3\) v)\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nset [pixelate v] effect to (60)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [player dying v] to [N]\nif <(LEVEL) = [18]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2400] y: [75]\nend\nif <(LEVEL) = [19]> then\n    switch costume to (download \(3\) v)\nend\nif <(LEVEL) = [24]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [5050] y: [0]\n    Clone at x: [4850] y: [0]\n    Clone at x: [5250] y: [0]\n    Clone at x: [6200] y: [0]\n    Clone at x: [6500] y: [0]\nend\nset [x v] to [-999999999]\n\nwhen I start as a clone\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen I receive [play game v]\n\nClone at x: [1465] y: [-20]\n\nif <(LEVEL) = [3]> then\n    switch costume to (download \(3\) v)\nend\nif <(LEVEL) = [4]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [1250] y: [0]\nend\nif <(LEVEL) = [5]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2925] y: [-70]\nend\nif <(LEVEL) = [6]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [1465] y: [-20]\n    Clone at x: [1465] y: [170]\nend\nif <(LEVEL) = [9]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2240] y: [-55]\nend\nif <(LEVEL) = [17]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2090] y: [375]\n    Clone at x: [2300] y: [340]\n    Clone at x: [2375] y: [340]\n    Clone at x: [2450] y: [340]\nend\n\n@Saw6\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    set size to (60) %\n    go to [back v] layer\n    next costume\nelse\n    hide\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <<touching (player v)?> and <(PLAYER DYING) = [N]>> then\n    set [player dying v] to [Y]\n    broadcast (Player Die v) and wait\n    set [player dying v] to [N]\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (download \(3\) v)\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nset [pixelate v] effect to (60)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [player dying v] to [N]\nif <(LEVEL) = [19]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [525] y: [-100]\n    Clone at x: [1000] y: [-100]\n    Clone at x: [800] y: [-100]\n    Clone at x: [1900] y: [-100]\n    Clone at x: [3650] y: [-100]\nend\nif <(LEVEL) = [20]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [1500] y: [-100]\n    Clone at x: [1300] y: [-100]\n    Clone at x: [1800] y: [-100]\n    Clone at x: [2000] y: [-100]\n    Clone at x: [2900] y: [-100]\n    Clone at x: [4600] y: [-100]\n    Clone at x: [3850] y: [-100]\nend\nif <(LEVEL) = [21]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [800] y: [200]\n    Clone at x: [1500] y: [-100]\n    Clone at x: [1300] y: [-100]\n    Clone at x: [1800] y: [-100]\n    Clone at x: [2000] y: [-100]\n    Clone at x: [2900] y: [-100]\n    Clone at x: [4600] y: [-100]\n    Clone at x: [3850] y: [-100]\nend\nset [x v] to [-999999999]\n\nClone at x: [830] y: [70]\n\nwhen I start as a clone\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nClone at x: [-63] y: [-85]\n\nClone at x: [2075] y: [-25]\n\nwhen I receive [play game v]\n\nClone at x: [1465] y: [-20]\n\nif <(LEVEL) = [17]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2090] y: [375]\n    Clone at x: [2300] y: [340]\n    Clone at x: [2375] y: [340]\n    Clone at x: [2450] y: [340]\nend\nset [x v] to [-999999999]\n\nturn right (12) degrees\n\nif <(LEVEL) = [3]> then\n    switch costume to (download \(3\) v)\nend\nif <(LEVEL) = [4]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [1250] y: [0]\nend\nif <(LEVEL) = [5]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2925] y: [-70]\nend\nif <(LEVEL) = [6]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [1465] y: [-20]\n    Clone at x: [1465] y: [170]\nend\nif <(LEVEL) = [9]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2240] y: [-55]\nend\nif <(LEVEL) = [17]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2090] y: [375]\n    Clone at x: [2300] y: [340]\n    Clone at x: [2375] y: [340]\n    Clone at x: [2450] y: [340]\nend\n\n@Water3\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    set size to (100) %\n    go to [front v] layer\nelse\n    hide\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (download \(3\) v)\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nhide\nset [brightness v] effect to (20)\nset [x v] to [0]\nset [y v] to [0]\nset [player dying v] to [N]\nif <(LEVEL) = [19]> then\n    switch costume to (new piskel \(12\)4 v)\n    Clone at x: [2075] y: [-25]\nend\nif <(LEVEL) = [20]> then\n    switch costume to (new piskel \(12\)4 v)\n    Clone at x: [4000] y: [-85]\nend\nif <(LEVEL) = [21]> then\n    switch costume to (new piskel \(12\)4 v)\n    Clone at x: [3200] y: [-90]\nend\nset [x v] to [-999999999999]\n\nClone at x: [-100] y: [25]\nClone at x: [500] y: [25]\nClone at x: [200] y: [25]\nClone at x: [-63] y: [-85]\n\nClone at x: [830] y: [70]\n\nwhen I start as a clone\n\nwhen I receive [play game v]\n\nClone at x: [1465] y: [-20]\n\nforever\n    next costume\n    wait (0.05) seconds\nend\n\n@Saw5\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    turn right (1) degrees\n    set size to (200) %\n    go to [front v] layer\nelse\n    hide\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nset [pixelate v] effect to (30)\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (saw1 v)\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [player dying v] to [N]\nif <(LEVEL) = [22]> then\n    switch costume to (saw v)\n    Clone at x: [2000] y: [-50]\n    Clone at x: [1100] y: [250]\n    Clone at x: [-200] y: [-50]\nend\nif <(LEVEL) = [23]> then\n    switch costume to (saw v)\n    Clone at x: [3800] y: [175]\n    Clone at x: [1350] y: [157]\n    Clone at x: [3200] y: [-50]\nend\nif <(LEVEL) = [24]> then\n    switch costume to (saw v)\n    Clone at x: [3500] y: [325]\n    Clone at x: [1800] y: [325]\n    Clone at x: [-250] y: [-50]\n    Clone at x: [3400] y: [-50]\nend\nset [x v] to [-999999999999]\n\nwhen I start as a clone\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nset [player dying v] to [Y]\nbroadcast (Player Die v) and wait\nset [player dying v] to [N]\n\nClone at x: [0] y: [130]\n\nwait (1) seconds\n\nClone at x: [-3000] y: [0]\n\nnext costume\n\nif <(LEVEL) = [19]> then\n    switch costume to (saw v)\n    Clone at x: [-80] y: [160]\n    Clone at x: [460] y: [160]\n    Clone at x: [1900] y: [-50]\n    Clone at x: [2340] y: [-50]\n    Clone at x: [3235] y: [375]\nend\n\n@Saw7\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    go to [front v] layer\n    set size to (50) %\n    next costume\nelse\n    hide\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nset [pixelate v] effect to (30)\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (saw1 v)\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [player dying v] to [N]\nif <(LEVEL) = [22]> then\n    switch costume to (saw v)\n    Clone at x: [1700] y: [-12]\n    Clone at x: [1800] y: [-12]\n    Clone at x: [1600] y: [-12]\nend\nif <(LEVEL) = [24]> then\n    switch costume to (saw v)\n    Clone at x: [7000] y: [-10]\n    Clone at x: [7100] y: [-10]\n    Clone at x: [7200] y: [-10]\nend\nset [x v] to [-999999999]\n\nwhen I start as a clone\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nset [player dying v] to [Y]\nbroadcast (Player Die v) and wait\nset [player dying v] to [N]\n\nturn right (1) degrees\n\nwait (1) seconds\n\nswitch costume to (saw v)\n\nif <(LEVEL) = [17]> then\n\nClone at x: [2700] y: [280]\n\nif <(LEVEL) = [3]> then\n    switch costume to (saw v)\nend\nif <(LEVEL) = [4]> then\n    switch costume to (saw v)\n    Clone at x: [700] y: [0]\nend\nif <(LEVEL) = [5]> then\n    switch costume to (saw v)\n    Clone at x: [830] y: [-50]\nend\nif <(LEVEL) = [6]> then\n    switch costume to (saw v)\n    Clone at x: [875] y: [0]\nend\nif <(LEVEL) = [7]> then\n    switch costume to (saw v)\nend\nif <(LEVEL) = [8]> then\n    switch costume to (saw v)\n    Clone at x: [-3000] y: [0]\nend\nif <(LEVEL) = [12]> then\n    Clone at x: [1800] y: [125]\n    Clone at x: [2100] y: [125]\nend\nif <(LEVEL) = [21]> then\n    Clone at x: [3600] y: [-50]\nend\n\n@Saw9\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    set size to (60) %\n    go to [back v] layer\n    next costume\nelse\n    hide\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <<touching (player v)?> and <(PLAYER DYING) = [N]>> then\n    set [player dying v] to [Y]\n    broadcast (Player Die v) and wait\n    set [player dying v] to [N]\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (download \(3\) v)\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nset [pixelate v] effect to (60)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [player dying v] to [N]\nif <(LEVEL) = [19]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [525] y: [-100]\n    Clone at x: [1000] y: [-100]\n    Clone at x: [800] y: [-100]\n    Clone at x: [1900] y: [-100]\n    Clone at x: [3650] y: [-100]\nend\nif <(LEVEL) = [20]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [1500] y: [-100]\n    Clone at x: [1300] y: [-100]\n    Clone at x: [1800] y: [-100]\n    Clone at x: [2000] y: [-100]\n    Clone at x: [2900] y: [-100]\n    Clone at x: [4600] y: [-100]\n    Clone at x: [3850] y: [-100]\nend\nif <(LEVEL) = [21]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [800] y: [200]\n    Clone at x: [1500] y: [-100]\n    Clone at x: [1300] y: [-100]\n    Clone at x: [1800] y: [-100]\n    Clone at x: [2000] y: [-100]\n    Clone at x: [2900] y: [-100]\n    Clone at x: [4600] y: [-100]\n    Clone at x: [3850] y: [-100]\nend\nset [x v] to [-999999999]\n\nClone at x: [830] y: [70]\n\nwhen I start as a clone\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nClone at x: [-63] y: [-85]\n\nClone at x: [2075] y: [-25]\n\nwhen I receive [play game v]\n\nClone at x: [1465] y: [-20]\n\nif <(LEVEL) = [17]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2090] y: [375]\n    Clone at x: [2300] y: [340]\n    Clone at x: [2375] y: [340]\n    Clone at x: [2450] y: [340]\nend\nset [x v] to [-999999999]\n\nturn right (12) degrees\n\nif <(LEVEL) = [3]> then\n    switch costume to (download \(3\) v)\nend\nif <(LEVEL) = [4]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [1250] y: [0]\nend\nif <(LEVEL) = [5]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2925] y: [-70]\nend\nif <(LEVEL) = [6]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [1465] y: [-20]\n    Clone at x: [1465] y: [170]\nend\nif <(LEVEL) = [9]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2240] y: [-55]\nend\nif <(LEVEL) = [17]> then\n    switch costume to (download \(3\) v)\n    Clone at x: [2090] y: [375]\n    Clone at x: [2300] y: [340]\n    Clone at x: [2375] y: [340]\n    Clone at x: [2450] y: [340]\nend\n\n@Sprite2\n\nwhen I receive [intro v]\nswitch costume to (new piskel \(22\)7 v)\ngo to [front v] layer\nshow\nrepeat (7)\n    wait (10) seconds\n    next costume\nend\nbroadcast (Start Game v)\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n\nwhen I receive [intro v]\nforever\n    if <key (1 v) pressed?> then\n        hide\n        broadcast (Start Game v)\n        broadcast (Play Game v)\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\n@You Win2\n\nwhen I receive [start game v]\ngo to x: (0) y: (0)\nwait (2) seconds\nwait until <(LEVEL) = [25]>\nwait (1) seconds\nshow\nhide variable [level v]\nhide variable [rubys v]\nhide variable [control menu v]\nbroadcast (Stop Timer v)\n\nwhen I receive [start game v]\nset [timer v] to [0]\nreset timer\nforever\n    set [timer v] to (timer)\nend\n\nwhen I receive [stop timer v]\nstop [other scripts in sprite v]\nswitch costume to (new piskel \(23\)2 v)\ngo to [front v] layer\nwait (10) seconds\nrepeat (11)\n    next costume\n    wait (10) seconds\nend\n\nwhen flag clicked\nhide\nhide variable [timer v]\nhide variable [deaths v]\nhide variable [fps v]\n\n@Sprite3\n\nwhen flag clicked\nforever\n    if <<(LEVEL) = [1]> or <<(LEVEL) = [2]> or <(LEVEL) = [3]>>> then\n        play sound [Tranquil Resort BR3 v] until done\n    end\nend\n\nwhen I receive [reset v]\nstop all sounds\n\nwhen flag clicked\nforever\n    if <<(LEVEL) = [4]> or <<(LEVEL) = [5]> or <(LEVEL) = [6]>>> then\n        play sound [Radical Coaster BR3 v] until done\n    end\n    if <<(LEVEL) = [7]> or <<(LEVEL) = [8]> or <(LEVEL) = [9]>>> then\n        play sound [Melody Mountain BR3 v] until done\n    end\n    if <<(LEVEL) = [10]> or <<(LEVEL) = [11]> or <(LEVEL) = [12]>>> then\n        play sound [Sky Port BR3 v] until done\n    end\n    if <<(LEVEL) = [13]> or <<(LEVEL) = [14]> or <(LEVEL) = [15]>>> then\n        play sound [Mossy Ruin BR3 v] until done\n    end\n    if <<(LEVEL) = [16]> or <<(LEVEL) = [17]> or <(LEVEL) = [18]>>> then\n        play sound [Saphire Mines BR3 v] until done\n    end\n    if <<(LEVEL) = [19]> or <<(LEVEL) = [20]> or <(LEVEL) = [21]>>> then\n        play sound [Disaster City BR3 v] until done\n    end\n    if <<(LEVEL) = [22]> or <<(LEVEL) = [23]> or <(LEVEL) = [24]>>> then\n        play sound [Asteroid Factory BR3 v] until done\n    end\n    if <(LEVEL) = [25]> then\n        play sound [Ending Scene and Credits BR3 v] until done\n    end\nend\n\n