Dark World's Bright Cube #games #all #Platformer
@Stage\n\nwhen I receive [next level  v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (backdrop7 v) and wait\n\nwhen I receive [start v]\nswitch backdrop to (1 v)\n\nwhen I receive [out v]\nswitch backdrop to (backdrop5 v) and wait\n\nwhen I receive [end intro v]\nswitch backdrop to (menu screen v) and wait\n\nwhen I receive [show your stars given v]\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [keper die v]\nswitch backdrop to (win screen v)\n\nwhen backdrop switches to [menu screen v]\nwait (3) seconds\nbroadcast (Main menu v)\n\nwhen I receive [show characters changing button v]\nswitch backdrop to (characters changing bg v)\n\nwhen I receive [outro 33 v]\nswitch backdrop to (15 v)\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nnext backdrop\n\n@Player\n\nwhen I receive [makeplayerfollowhitbox v]\ngo to (hitbox v)\n\nwhen flag clicked\nhide\n\nwhen I receive [next level  v]\nnext costume\n\nwhen I receive [start v]\nshow\nswitch costume to (normal v)\nset rotation style [left-right v]\npoint in direction (90)\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (right v)\n        point in direction (90)\n    else\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            switch costume to (right v)\n            point in direction (-90)\n        else\n            switch costume to (normal v)\n        end\n        if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n            switch costume to (up v)\n        end\n    end\n    wait (0.04) seconds\n    if <key (w v) pressed?> then\n        switch costume to (normal v)\n    end\n    if <touching (coin v)?> then\n        broadcast (COIN WILL COLLECT v)\n    end\n    if <touching (coin2 v)?> then\n        broadcast (COIN 2 WILL COLLECT v)\n    end\n    if <touching (coin3 v)?> then\n        broadcast (COIN 3 WILL COLLECT v)\n    end\nend\n\nwhen I receive [out v]\nhide\n\nwhen I receive [game stoped v]\nhide\n\nwhen I receive [out v]\nhide\n\nwhen flag clicked\nhide variable [level v]\n\nwhen flag clicked\nhide variable [deths v]\n\nwhen I receive [show your stars given v]\nshow variable [deths v]\n\nwhen I receive [intro over v]\nforever\n\nwhen flag clicked\n\nwhen flag clicked\nhide variable [coins v]\n\nwhen I receive [start v]\n\nshow variable [coins v]\n\nwhen backdrop switches to [1 v]\nset [level v] to [1]\n\nwhen backdrop switches to [2 v]\nset [level v] to [2]\n\nwhen backdrop switches to [3 v]\nset [level v] to [3]\n\nwhen backdrop switches to [4 v]\nset [level v] to [4]\n\nwhen backdrop switches to [5 v]\nset [level v] to [5]\n\nwhen backdrop switches to [6 v]\nset [level v] to [6]\n\nwhen backdrop switches to [7 v]\nset [level v] to [7]\n\nwhen backdrop switches to [8 v]\nset [level v] to [8]\n\nwhen backdrop switches to [9 v]\nset [level v] to [9]\n\nwhen backdrop switches to [10 v]\nset [level v] to [10]\n\nwhen backdrop switches to [11 v]\nset [level v] to [11]\n\nwhen backdrop switches to [12 v]\nset [level v] to [12]\n\nwhen backdrop switches to [13 v]\nset [level v] to [13]\n\nwhen backdrop switches to [14 v]\nset [level v] to [14]\n\nwhen backdrop switches to [15 v]\nset [level v] to [15]\n\nwhen backdrop switches to [win screen v]\nhide variable [level v]\n\nwhen backdrop switches to [win screen v]\nhide variable [deths v]\n\nwhen backdrop switches to [win screen v]\nhide variable [coins v]\n\nwhen backdrop switches to [win screen v]\nhide\n\nwhen I receive [out v]\nhide variable [level v]\n\nwhen I receive [out v]\nhide variable [deths v]\n\nwhen I receive [out v]\nhide variable [coins v]\n\nwhen I receive [-1 life v]\nplay sound [explode_11 v] until done\n\nwhen I receive [intro over v]\nforever\n    wait (1) seconds\n    change [timer v] by (1)\nend\n\nwhen flag clicked\nset [timer v] to [0]\n\nwhen flag clicked\nhide variable [timer v]\n\nwhen I receive [show your stars given v]\nshow variable [timer v]\n\nswitch costume to ((costume [number v]) + (1))\n\nswitch costume to ((costume [number v]) - (1))\n\nwhen I receive [changing characters v]\nset [color v] effect to (140)\n\nwhen flag clicked\nset [color v] effect to (0)\n\nwhen I receive [change -1 characters v]\nset [color v] effect to (0)\n\nwhen backdrop switches to [16 v]\nset [level v] to [16]\n\nwhen backdrop switches to [16 v]\nhide\n\nwhen flag clicked\nset [coins v] to [0]\n\nwhen backdrop switches to [16 v]\nset volume to (0) %\n\nwhen flag clicked\nset volume to (100) %\n\nwhen backdrop switches to [1 v]\nhide\n\nwhen I receive [give brigt power v]\nshow\n\n@Hitbox\n\nwhen flag clicked\nhide\n\ndefine Up/Down Movement (jump height) (fall speed)\nchange y by (yVelocity)\nif <<touching (level v)?> or <<touching (sprite15 . danger v)?> or <<touching (sprite15 . danger2 v)?> or <<touching (bg 1 lv v)?> or <<touching (saw with .... 1 v)?> or <<touching (saw with...2 v)?> or <<touching (dangeros v)?> or <<touching (sprite1 v)?> or <touching (saw with...3 v)?>>>>>>>>> then\n    ChekTouchingLava\n    repeat ([ceiling v] of ([abs v] of (yVelocity) ) )\n        if <<touching (level v)?> or <<touching (sprite15 . danger v)?> or <<touching (sprite15 . danger2 v)?> or <<touching (bg 1 lv v)?> or <<touching (saw with .... 1 v)?> or <<touching (saw with...2 v)?> or <<touching (dangeros v)?> or <touching (saw with...3 v)?>>>>>>>> then\n            change y by (((yVelocity) / ([abs v] of (yVelocity) )) * (-1))\n        end\n    end\n    if <<not <(yVelocity) > [0]>> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [yvelocity v] to (jump height)\n    else\n        set [yvelocity v] to [0]\n    end\nelse\n    change [yvelocity v] by (fall speed)\nend\n\ndefine Right/Left Movement (move speed) (drag)\nchange x by (xVelocity)\nif <<touching (level v)?> or <<touching (sprite15 . danger v)?> or <<touching (sprite15 . danger2 v)?> or <<touching (bg 1 lv v)?> or <<touching (saw with .... 1 v)?> or <<touching (saw with...2 v)?> or <<touching (dangeros v)?> or <touching (saw with...3 v)?>>>>>>>> then\n    ChekTouchingLava\n    repeat ([ceiling v] of ([abs v] of (xVelocity) ) )\n        if <<touching (level v)?> or <<touching (sprite15 . danger v)?> or <<touching (sprite15 . danger2 v)?> or <<touching (bg 1 lv v)?> or <<touching (saw with .... 1 v)?> or <<touching (saw with...2 v)?> or <<touching (dangeros v)?> or <touching (saw with...3 v)?>>>>>>>> then\n            change x by (((xVelocity) / ([abs v] of (xVelocity) )) * (-1))\n        end\n    end\n    set [xvelocity v] to [0]\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    set [xvelocity v] to (move speed)\nelse\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        set [xvelocity v] to ((move speed) * (-1))\n    end\nend\nset [xvelocity v] to ((xVelocity) * (drag))\nif <touching (springboarddown\( v)?> then\n    set [yvelocity v] to [22.1]\n    broadcast (sprin v)\nend\nif <touching color (#e86a17)?> then\n    broadcast (sprin v)\nend\nif <touching (spring 2 :1 v)?> then\n    broadcast (new sprin v)\n    set [yvelocity v] to [25]\nend\nif <touching (spring 2 :2 v)?> then\n    broadcast (new sprin 2 v)\n    set [yvelocity v] to [25]\nend\nif <touching (spring 2 :3 v)?> then\n    broadcast (new sprin 3 v)\n    set [yvelocity v] to [25]\nend\nif <touching (rocket bg 10 v)?> then\n    broadcast (rocket touched v)\n    set [yvelocity v] to [10]\nend\nif <touching (spring for 15 v)?> then\n    broadcast (15 sprin touched v)\n    set [yvelocity v] to [25]\nend\nif <touching (lava ball v)?> then\n    broadcast (Lava bll touched , then? v)\nend\nif <touching (star v)?> then\n    broadcast (keper die v)\nend\n\ndefine CheckNextLevel\nif <(x position) > [235]> then\n    broadcast (Next Level  v)\n    go to x: (SpawnX) y: (SpawnY)\nend\n\ndefine ChekTouchingLava\nif <<touching color (#f90000)?> or <<touching (acid v)?> or <<touching (saw v)?> or <<touching (saw2 v)?> or <<touching (saw3 v)?> or <<touching (saw4 v)?> or <<touching (sprite15 . danger v)?> or <<touching (quick bright v)?> or <<touching (sprite15 . danger2 v)?> or <<touching (dangeros v)?> or <<touching (saw with .... 1 v)?> or <<touching (saw with...2 v)?> or <<touching (moving saw for lv 11 v)?> or <touching (saw with...3 v)?>>>>>>>>>>>>>> then\n    broadcast (-1 life v)\n    go to x: (SpawnX) y: (SpawnY)\n    change [deths v] by (1)\n    if <(Deths) = [-10]> then\n        switch backdrop to (backdrop5 v)\n        broadcast (OUT v)\n    end\nend\nif <touching (only for level 2 v)?> then\n    go to x: (SpawnX) y: (SpawnY)\n    change [deths v] by (1)\n    broadcast (Lv 2 da...... touched v)\nend\n\ndefine CheckFallOffScreen\nif <(y position) < [-170]> then\n    go to x: (SpawnX) y: (SpawnY)\n    change [deths v] by (1)\n    broadcast (-1 life v)\n    if <(Deths) = [-10]> then\n        switch backdrop to (backdrop5 v)\n        broadcast (OUT v)\n    end\nend\n\nwhen I receive [start v]\nshow\nset size to (50) %\nset [spawnx v] to [-203]\nset [spawny v] to [-71]\ngo to x: (SpawnX) y: (SpawnY)\nset rotation style [left-right v]\nset [xvelocity v] to [0]\nset [yvelocity v] to [0]\nset [ghost v] effect to (100)\nforever\n    broadcast (MakePlayerFollowHitbox v)\n    Up/Down Movement [12] [-1]\n    Right/Left Movement [10] [0.6]\n    CheckNextLevel\n    CheckFallOffScreen\nend\n\nwhen I receive [out v]\nhide\n\nwhen I receive [game stoped v]\nhide\n\nwhen backdrop switches to [win screen v]\nhide\n\nwhen flag clicked\nset [deths v] to [0]\n\nwhen I receive [hide hitboxxx v]\nhide\n\nwhen I receive [outro 33 v]\ngo to x: (SpawnX) y: (SpawnY)\n\nwhen backdrop switches to [1 v]\ngo to x: (-204) y: (118)\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\ngo to x: (SpawnX) y: (SpawnY)\n\n@Level\n\nwhen flag clicked\nhide\n\nwhen I receive [next level  v]\nnext costume\nchange [level v] by (1)\n\nwhen I receive [start v]\nshow\nset [level v] to [0]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [out v]\nhide\n\nwhen backdrop switches to [win screen v]\nswitch costume to (costume16 v)\n\nwhen I receive [outro 33 v]\nswitch costume to (costume15 v)\n\nwhen I receive [text bar v]\ngo to [back v] layer\n\nwhen I receive [close box v]\ngo to [front v] layer\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nnext costume\n\n@springboardDown(\n\nwhen flag clicked\nswitch costume to (springboarddown v)\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [14 v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [sprin v]\nswitch costume to (springboardup v)\nwait (0.5) seconds\nswitch costume to (springboarddown v)\n\nwhen I receive [next level  v]\nhide\n\nwhen backdrop switches to [4 v]\n\ngo to x: (-146) y: (-115)\nshow\n\nwhen backdrop switches to [6 v]\nhide\n\nwhen backdrop switches to [9 v]\ngo to x: (-183) y: (-109)\n\nwhen backdrop switches to [9 v]\n\ngo to x: (67) y: (-108)\nshow\n\nwhen I receive [sprin v]\nplay sound [Spring-Boing v] until done\n\nwhen I receive [new sprin v]\nplay sound [Spring-Boing v] until done\n\nwhen I receive [new sprin 2 v]\nplay sound [Spring-Boing v] until done\n\nwhen I receive [new sprin 3 v]\nplay sound [Spring-Boing v] until done\n\nwhen I receive [15 sprin touched v]\nplay sound [Spring-Boing v] until done\n\nwhen I receive [out v]\nhide\n\nwhen I receive [game stoped v]\nhide\n\nwhen backdrop switches to [10 v]\nshow\ngo to x: (-151) y: (-100)\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\n@Button2\n\nwhen this sprite clicked\nplay sound [mouse v] until done\nbroadcast (START v)\nhide\n\nwhen flag clicked\ngo to x: (111) y: (-55)\nset size to (100) %\nhide\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (125) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [end intro v]\nwait (0.6) seconds\nshow\n\nwhen flag clicked\nset size to (100) %\n\nwhen backdrop switches to [characters changing bg v]\ngo to x: (1) y: (-130)\n\n@TM\n\nwhen [timer v] > (0.01)\nbroadcast (hide hitboxxx v)\nshow\ngo to [front v] layer\nset [pixelate v] effect to (100)\nset [ghost v] effect to (100)\nrepeat (20)\n    change [pixelate v] effect by (-5)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\nforever\n    reset timer\nend\n\nwhen I receive [hide hitboxxx v]\nhide variable [level v]\n\n@Acid\n\nwhen flag clicked\nset [ghost v] effect to (20)\nforever\n    go to [back v] layer\n    repeat (7)\n        change y by (1)\n    end\n    repeat (14)\n        change y by (-1)\n    end\n    repeat (7)\n        change y by (1)\n    end\n    go to x: (-10) y: (-16)\nend\n\nwhen backdrop switches to [3 v]\ngo to x: (-10) y: (-10)\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\n@LEVEL ....\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nswitch costume to (level 1 v)\n\nwhen I receive [next level  v]\nnext costume\n\nwhen I receive [outro 33 v]\nswitch costume to (level 15 v)\n\nwhen backdrop switches to [16 v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nnext costume\n\n@Transition1\n\ndefine Setup\ngo to x: (0) y: (0)\nswitch costume to (1 v)\nset rotation style [all around v]\npoint in direction (90)\ngo to [front v] layer\nset size to (200) %\nshow\n\nwhen I receive [start v]\nforever\n    go to [front v] layer\n    go [backward v] (2) layers\nend\n\nwhen flag clicked\nSetup\nswitch costume to (big v)\nhide\n\nwhen I receive [connected'''' v]\nset [mode v] to [Transition]\nSetup\nset [brightness v] effect to (-100)\nrepeat (33)\n    switch costume to ((costume [number v]) + (1))\nend\nif <(LEVEL) > (MAX LEVEL)> then\n    wait (1) seconds\n    set [mode v] to [End]\n    stop [other scripts in sprite v]\n    stop [this script v]\nend\nwait (0.2) seconds\npoint in direction (-90)\nrepeat (33)\n    switch costume to ((costume [number v]) - (1))\nend\nset [mode v] to [Game]\nhide\nswitch costume to (big v)\n\n@Sprite10\n\nwhen flag clicked\nhide\n\nstop [all v]\n\nwhen I receive [outro neww v]\nshow\nwait (5) seconds\n\n@Bright\n\nwhen flag clicked\ngo to x: (212) y: (120)\nhide\n\nwhen I receive [give brigt power v]\nshow\ngo to [front v] layer\nglide (1) secs to (player v)\nforever\n    go to (player v)\nend\n\nwhen I receive [give brigt power v]\nwait (1) seconds\nforever\n    go to [back v] layer\nend\n\nwhen backdrop switches to [2 v]\nhide\n\nwhen I receive [close box v]\nshow\n\nshow\n\nwait (1.5) seconds\n\nwhen I receive [close box 2 v]\nshow\n\nwhen I receive [text bar v]\nhide\n\n@TextBar\n\nwhen I receive [close box v]\nrepeat (4)\n    turn left (0.5) degrees\n    change size by (-4)\n    change [ghost v] effect by (10)\nend\nrepeat (5)\n    turn left (2) degrees\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [text bar v]\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (400) %\ngo to x: (0) y: (-224)\nshow\nwait (.05) seconds\nchange y by (16)\nrepeat (4)\n    change y by (10)\nend\nrepeat (4)\n    change y by (6)\nend\nrepeat (4)\n    change y by (4)\nend\nrepeat (4)\n    change y by (2)\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [close box 2 v]\nrepeat (4)\n    turn left (0.5) degrees\n    change size by (-4)\n    change [ghost v] effect by (10)\nend\nrepeat (5)\n    turn left (2) degrees\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Text\n\ndefine (name) says (text)\ngo to x: (-250) y: (-80)\nset [close? v] to [0]\nset [b v] to [1]\ngo to [front v] layer\nchange y by (-16)\nset x to (-230)\nrepeat (length of (text))\n    if <(x position) > [214]> then\n        change y by (-16)\n        set x to (-230)\n    end\n    change x by (12)\n    if <(letter (b) of (text)) = [ ]> then\n        switch costume to ( v)\n        change [b v] by (1)\n    else\n        switch costume to (letter (b) of (text))\n        change [b v] by (1)\n        if <(name) = [0]> then\n            start sound (pick random (2) to (3))\n            start sound (pick random (8) to (9))\n        end\n        if <(name) = [laugh]> then\n            start sound (pick random (4) to (7))\n            start sound (pick random (8) to (9))\n        end\n    end\n    create clone of (_myself_ v)\nend\nif <(letter (b) of (name)) = [-]> then\nhide\nchange [attck v] by (1)\nbroadcast (Close v)\nbroadcast (ok v) and wait\n\nwhen flag clicked\nset [brightness v] effect to (0)\nhide\nrepeat (5)\n    go to [front v] layer\nend\n\nwhen I receive [ok v]\nset [close? v] to [1]\n\nwhen I start as a clone\nif <not <(costume [number v]) = [56]>> then\n    show\nend\nwait until <(close?) = [1]>\ndelete this clone\n\nwhen I start as a clone\npoint in direction (90)\nforever\n    if <(Angry?) = [1]> then\n        set [brightness v] effect to (20)\n        set [color v] effect to (5)\n    else\n        if <(GFXMode) = [hi]> then\n            change x by (pick random (-0.2) to (0.2))\n            change y by (pick random (-0.2) to (0.2))\n            point in direction (90)\n        end\n        set [color v] effect to (-20)\n        set [brightness v] effect to (90)\n    end\nend\n\nwhen I start as a clone\nset [xtext v] to (x position)\nset [ytext v] to (y position)\nforever\n    if <(ShakyText?) = [1]> then\n        change y by (pick random (1) to (-1))\n        change x by (pick random (1) to (-1))\n        wait (0.02) seconds\n        point in direction (90)\n        go to x: (xtext) y: (ytext)\n        wait (0.02) seconds\n    else\n        point in direction (90)\n        change y by (pick random (.1) to (-.1))\n        change x by (pick random (.1) to (-.1))\n        wait (0.02) seconds\n        point in direction (90)\n        go to x: (xtext) y: (ytext)\n        wait (0.02) seconds\n    end\nend\n\nset [angry? v] to [0]\nset [shakytext? v] to [0]\n[0] says [\(\)]\n\nwhen I receive [coolllgegg v]\nshow\n\nwhen flag clicked\nset [playerfrozen? v] to [0]\nset [boss times fought v] to [0]\nset [angry? v] to [0]\nset [shakytext? v] to [0]\n\nwhen I receive [level load v]\nset [bf v] to (Boss Times Fought)\nset [pitch v] effect to (0)\nif <(Level) = [4]> then\n    broadcast (text bar v)\n    set [angry? v] to [0]\n    set [shakytext? v] to [0]\n    set [playerfrozen? v] to [1]\n    [0] says [YOU'RE PASSING THESE TESTS WITH FLYINGCOLOURS! YOU'RE ALREADY HALFWAY-      THROUGH]\n    [0] says [ALRIGHT STEP UP TO THE BLOCK AND PRESS"UP" OR "W" TO JUMP!]\n    set [playerfrozen? v] to [0]\n    broadcast (close box v)\n    set [tvmanface v] to [notalk]\n    wait until <[80] > ([x position v] of [hitbox v])>\n    wait until <<key (w v) pressed?> or <key (up arrow v) pressed?>>\n    wait (1) seconds\n    broadcast (text bar v)\n    set [tvmanface v] to [creep]\n    [0] says [WHAT WAS THAT?]\n    set [shakytext? v] to [1]\n    [0] says [DID YOU EVEN TRY?]\n    set [shakytext? v] to [0]\n    [0] says [C'MON, JUMP!]\n    broadcast (close box v)\n    wait until <[80] > ([x position v] of [hitbox v])>\n    wait until <<key (w v) pressed?> or <key (up arrow v) pressed?>>\n    wait (1) seconds\n    set [shakytext? v] to [1]\n    broadcast (text bar v)\n    [0] says [ARE YOU EVEN TRYING BUDDY!??]\n    [0] says [STOP WASTING MY TIME YOU LITTLE SCRAP OF JUNK!]\n    [0] says [JUST JUMP!]\n    broadcast (close box v)\n    wait until <[80] > ([x position v] of [hitbox v])>\n    wait until <<key (w v) pressed?> or <key (up arrow v) pressed?>>\n    broadcast (rage v)\n    set [tvmanface v] to [anger]\n    wait (2) seconds\n    broadcast (text bar v)\n    set [angry? v] to [1]\n    set [tvmanface v] to [anger]\n    wait (.5) seconds\n    set [pitch v] effect to (-20)\n    [0] says [AGH! USELESS MACHINE!]\n    [0] says [YOU'RE DONE! I'M SO TIRED OF THESE    FAULTY HEAPS OF SCRAP!!]\n    [0] says [YOU'RE NEVER LEAVING THIS FACTORY YOU TIN CAN! I'LL HAVE YOU CRUSHED INTO A LITTLE METAL CUBE, AND THEN I'M GOING AFTER THE ENGINEER WHO CAME UP WITH   YOUR   STUPID      BROKEN      DESIGN!]\n    [laugh] says [AHAHAHAAHAHAAAHAHAAAHAHAAHAHAHAHAHAHHAHAHAHAAHAHAAAHAHAAAHAHAAHAHAHAHAHAHHAHAHAHAAHAHAAAHAHAAAHAHAAHAHAHAHAHAHH]\n    wait (1) seconds\n    set [angry? v] to [0]\n    set [shakytext? v] to [0]\n    [0] says [SOMETHING'S OFF...]\n    broadcast (close box v)\n    broadcast (portalgun descends v)\n    set [tvmanface v] to [shatter]\nend\n\nbroadcast (text bar v)\n\nbroadcast (close box v)\n\nset [tvmanface v] to [notalk]\n\nset [tvmanface v] to [creep]\n\nset [tvmanface v] to [creep]\n\nset volume to (80) %\n\nwhen I receive [level load v]\nwait (.02) seconds\nif <(Level) = [18]> then\n    if <(Boss Times Fought) = [0]> then\n        wait until <([x position v] of [hitbox v]) > [0]>\n        set [tvmanface v] to [creep]\n        set [angry? v] to [0]\n        set [shakytext? v] to [1]\n        broadcast (text bar v)\n        [0] says [GOING SOMEWHERE?...                   DIDN'T THINK SO...]\n        [0] says [TO BE HONEST THOUGH I'M SURPRISED YOU MADE IT THIS FAR THROUGH THE GRAVEYARD]\n        [0] says [NOT BAD FOR A BROKEN PIECE OF TRASH.]\n        [0] says [IT ENDS HERE. OUR REPUTATION AS A COM-PANY WOULD BE SOILED IF I LET ONE     CRAPPY DRONE LIKE YOU OUT INTO THE    WORLD..]\n        set [angry? v] to [1 ]\n        set [shakytext? v] to [1]\n        [0] says [I'LL CRUSH YOU!!!]\n        broadcast (close box v)\n        broadcast (BOSS FIGHT v)\n        change [boss times fought v] by (1)\n    else\n        broadcast (text bar v)\n        set [angry? v] to [1 ]\n        set [shakytext? v] to [1]\n        [0] says [I'LL CRUSH YOU!!!]\n        broadcast (close box v)\n        broadcast (BOSS FIGHT v)\n        change [boss times fought v] by (1)\n    end\nend\n\nwhen backdrop switches to [1 v]\nbroadcast (text bar v)\n[0] says [HELLO WELCOME! TO MY NEW GAME , I AM  YOUR GUIDE USE ARROW KEYS OR W,A,D           \(PRESS SPACE\) ]\n[0] says [THIS JOURNEY WILL BE HARD , YOU MAY    NEED SOME POWER FOR COMPLETE  THIS       JOURNEY       ]\nset [shakytext? v] to [1]\n[0] says [ I WILL GIVE IT FOR YOU                GOOD LUCK AND HAVE FUN!]\nbroadcast (close box v)\nbroadcast (GIVE BRIGT POWER v)\n\nset [tvmanface v] to [blank]\n\nset [tvmanface v] to [chill]\n\nrepeat (150)\n\nset [playerfrozen? v] to [1]\n\nwhen backdrop switches to [2 v]\nbroadcast (text bar v)\nset [shakytext? v] to [1]\n[laugh] says [KEEP MIND THAT THIS JOURNEY WILL BE   NOT EASY  \( PRESS SPACE \)]\nset [angry? v] to [1]\n[laugh] says [AVOIDE SPIKES ! ]\nset [angry? v] to [0]\nset [shakytext? v] to [1]\n[0] says [IF YOU FAIL...                        WELL LETS JUST HOPE THAT YOU DON'T    FAIL. \( BUT LEVEL GET TOO HARD TO YOU  YOU CAN SKIP IT \)]\nbroadcast (close box 2 v)\n\nwhen backdrop switches to [3 v]\nbroadcast (text bar v)\nset [shakytext? v] to [1]\nset [angry? v] to [1]\n[laugh] says [AVOIDE LAVA!  \( PRESS SPACE \)]\nset [angry? v] to [1]\nset [shakytext? v] to [1]\n[laugh] says [DON'T FORGET TO AVOID SAW!!]\nbroadcast (close box 2 v)\n\n[0] says [IF YOU PASS THE TESTS THAN YOU WILL BESHIPPED OUT AS ONE OF OUR PACKAGE DEL-IVERY UNITS]\nset [shakytext? v] to [1]\nset [shakytext? v] to [0]\n[0] says [THE TEST BEGINS NOW.                  USE A AND D                           OR ARROW KEYS TO MOVE.]\nset [playerfrozen? v] to [0]\n\nwhen backdrop switches to [4 v]\nbroadcast (text bar v)\nset [shakytext? v] to [0]\nset [angry? v] to [0]\n[laugh] says [WELL  NOW I THINK YOU KNOW THE NATURE OF THIS GAME , NOW IS YOUR TURN..PASS THE OTHER LEVELS AND REACH YOUR        DESTINATION  \( PRESS SPACE \)]\nset [angry? v] to [0]\nset [shakytext? v] to [1]\n[laugh] says [WISH YOU ALL THE BEST!!]\nbroadcast (close box 2 v)\n\nwhen I receive [set volume to 100 v]\nset volume to (100) %\n\nwhen I receive [set volume to 0 v]\nset volume to (0) %\n\nwhen flag clicked\nset volume to (100) %\n\nwhen backdrop switches to [15 v]\nbroadcast (text bar v)\nset [shakytext? v] to [1]\n[laugh] says [WOW GREAT WORK ! \( PRESS SPACE \)]\n[laugh] says [YOU BEAT ALL THE LEVELS!              \( PRESS SPACE \)]\n[0] says [NOW YOU CAN ESCAPE FROM THE DARK WORLD  \( PRESS SPACE \)]\nbroadcast (close box 2 v)\n\n@Bg 1 lv\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (-13) y: (103)\n\nwhen I receive [close box v]\nwait (1) seconds\nhide\n\nwhen I receive [close box 2 v]\nhide\n\nwhen backdrop switches to [2 v]\nswitch costume to (costume2 v)\ngo to [back v] layer\nshow\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [1 v]\nshow\n\nwhen backdrop switches to [3 v]\nswitch costume to (costume3 v)\ngo to [back v] layer\nshow\n\nwhen backdrop switches to [4 v]\nswitch costume to (costume4 v)\ngo to [back v] layer\nshow\n\nwhen backdrop switches to [15 v]\nswitch costume to (costume5 v)\ngo to [back v] layer\nshow\n\n@Dangeros\n\nwhen flag clicked\nhide\n\nwhen I receive [next level  v]\nnext costume\nchange [level v] by (1)\n\nwhen I receive [start v]\nshow\nset [level v] to [0]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [out v]\nhide\n\nwhen backdrop switches to [win screen v]\nswitch costume to (costume16 v)\n\nwhen I receive [outro 33 v]\nswitch costume to (costume15 v)\n\nwhen backdrop switches to [16 v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nnext costume\n\n@Saw\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [3 v]\nshow\n\nwhen flag clicked\ngo to x: (148) y: (-121)\nforever\n    repeat (10)\n        turn right (10) degrees\n    end\nend\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\n@intro\n\nwhen flag clicked\nswitch costume to (blank v)\nhide\nset rotation style [all around v]\n\nwhen I receive [start intro v]\nreset timer\nstart sound [intro music v]\npoint in direction (90)\nwait (2.7) seconds\nset [clone id v] to [text]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nwait until <(Clone ID) = [text]>\ngo to x: (0) y: (0)\nswitch costume to (supercollab v)\nshow\nbroadcast (intro: shine v)\nbroadcast (intro: wave v)\nbroadcast (intro: explode v)\nshake\nbroadcast (intro: shine v)\nbroadcast (intro: wave v)\nbroadcast (intro: explode 2 v)\nshake\nbroadcast (intro: switch v)\nspin bounce\nbroadcast (intro: explode 3 v)\nbounce\nbroadcast (intro: spin v)\nspin\nbroadcast (intro: explode 3 v)\nbroadcast (intro: wave v)\nshake\nwait (0.1) seconds\nbroadcast (end intro v)\n\ndefine shake\nset size to (100) %\npoint in direction (90)\ngo to x: (0) y: (0)\nset [clone shake vel v] to [0]\nset [costume v] to (costume [number v])\nswitch costume to (blank v)\nset size to (200) %\nrepeat until <(size) < [101]>\n    go to x: (0) y: (0)\n    change y by (([cos v] of ((clone shake vel) * (500)) ) * (((100) - (size)) * (0.2)))\n    change x by (([sin v] of ((clone shake vel) * (500)) ) * (((100) - (size)) * (0.2)))\n    change size by (((100) - (size)) * (0.15))\n    change [clone shake vel v] by (10)\n    point in direction ((([sin v] of ((clone shake vel) * (500)) ) * (((100) - (size)) * (0.2))) + (90))\n    switch costume to (costume)\nend\nset size to (100) %\n\ndefine spin bounce\nset rotation style [all around v]\nset [spin bounce distance v] to [250]\npoint in direction (pick random (1) to (360))\nrepeat until <(spin bounce distance) < [1]>\n    point in direction (direction)\n    go to x: (0) y: (0)\n    move (spin bounce distance) steps\n    turn right (20) degrees\n    set [direction v] to (direction)\n    change [spin bounce distance v] by (((0) - (spin bounce distance)) / (6))\n    point in direction ((90) + ((x position) / (2)))\nend\npoint in direction (90)\nset rotation style [all around v]\n\ndefine bounce\nbroadcast (intro: wave v)\nbroadcast (intro: shake v)\nbroadcast (intro: explode v)\nrepeat (30)\n    set [bounce 1 v] to (((bounce 1) * (0.8)) + (((90) - (direction)) / (3)))\n    turn right (bounce 1) degrees\n    set [bounce 2 v] to (((bounce 2) * (0.8)) + (((150) - (size)) / (3)))\n    change size by (bounce 2)\nend\nbroadcast (intro: shake v)\nbroadcast (intro: wave v)\nbroadcast (intro: explode 2 v)\nrepeat (30)\n    set [bounce 1 v] to (((bounce 1) * (0.8)) + (((90) - (direction)) / (3)))\n    turn right (bounce 1) degrees\n    set [bounce 2 v] to (((bounce 2) * (0.8)) + (((100) - (size)) / (3)))\n    change size by (bounce 2)\nend\n\ndefine spin\nrepeat (10)\n    turn right (32) degrees\nend\nrepeat until <(round (direction)) = (round (90))>\n    turn right (((90) - (direction)) / (5)) degrees\nend\n\nwhen I start as a clone\nwait until <(Clone ID) = [wave]>\nset size to (100) %\ngo to x: (0) y: (0)\nswitch costume to (360° shock-wave-1 v)\nshow\nclear graphic effects\nrepeat (13)\n    go to [front v] layer\n    change size by (10)\n    next costume\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [intro: wave v]\nif <(costume [name v]) = [blank]> then\n    set [clone id v] to [shockwave]\n    create clone of (_myself_ v)\n    set [clone id v] to [wave]\n    create clone of (_myself_ v)\n    repeat (3)\n        set [clone id v] to [square]\n        create clone of (_myself_ v)\n        wait (0.3) seconds\n    end\nend\n\nwhen I receive [intro: shake v]\nif <(Clone ID) = [text]> then\n    spin bounce\nend\n\ndefine tan animation\nset [clone tan v] to [0]\nrepeat (32)\n    change [clone tan v] by (4)\n    set y to (([tan v] of (clone tan) ) * (40))\nend\n\nwhen I receive [intro: tan v]\ngo to [front v] layer\nif <(Clone ID) = [text]> then\n    tan animation\nend\n\nwhen I start as a clone\nwait until <(Clone ID) = [square]>\nset [ghost v] effect to (0)\ngo to [back v] layer\ngo [forward v] (2) layers\ngo to x: (0) y: (0)\npoint in direction (90)\nswitch costume to (square v)\nset size to (10) %\nshow\nrepeat (3)\n    if <(size) < [50]> then\n        repeat (10)\n            change size by (((100) - (size)) / (5))\n        end\n    else\n        repeat (10)\n            switch costume to (blank v)\n            change size by (((340) - (size)) / (6))\n            change [ghost v] effect by (0)\n            switch costume to (square v)\n        end\n    end\nend\ndelete this clone\n\nwhen I receive [intro: shake v]\nif <(costume [name v]) = [blank]> then\n    set [clone id v] to [square]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nwait until <(Clone ID) = [grid]>\ngo to x: (0) y: (0)\nset [timer v] to [0]\nswitch costume to (grid v)\nset size to (10) %\nswitch costume to (grid v)\nset [ghost v] effect to (100)\nset [mosaic v] effect to (0)\ngo to [back v] layer\nshow\nrepeat (30)\n    set [ghost v] effect to ((200) - (size))\n    switch costume to (blank v)\n    change size by (((200) - (size)) / (5))\n    switch costume to (grid v)\nend\n\nwhen I receive [intro: wave v]\nif <(Clone ID) = [grid]> then\n    spin bounce\nend\n\nwhen I receive [intro: spin v]\nif <(Clone ID) = [grid]> then\n    spin\nend\n\nwhen I start as a clone\nwait until <(Clone ID) = [small grid]>\ngo to x: (0) y: (0)\nswitch costume to (blank v)\nset size to (100) %\nswitch costume to (small grid v)\nset [ghost v] effect to (100)\nset [mosaic v] effect to (0)\ngo to [back v] layer\nshow\nrepeat (30)\n    change [ghost v] effect by (-10)\nend\nspin\nspin bounce\n\nwhen I start as a clone\nwait until <(Clone ID) = [small grid]>\n\nwhen I start as a clone\nwait until <(Clone ID) = [shockwave]>\ngo to [front v] layer\nset [ghost v] effect to (0)\ngo to x: (0) y: (0)\npoint in direction (90)\nswitch costume to (shockwave v)\nset size to (10) %\nshow\nrepeat (20)\n    switch costume to (blank v)\n    change size by (((340) - (size)) / (8))\n    switch costume to (shockwave v)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I start as a clone\nwait until <(Clone ID) = [BG]>\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nset [mosaic v] effect to (0)\ngo to [back v] layer\nswitch costume to (bg v)\nset size to (100) %\nshow\nrepeat (50)\n    set [ghost v] effect to ((300) - (size))\n    if <(size) > [100]> then\n        switch costume to (blank v)\n        change size by (5)\n        switch costume to (bg v)\n    else\n        change size by (5)\n        switch costume to (bg v)\n    end\nend\n\nwhen I start as a clone\nwait until <(Clone ID) = [BG]>\nset rotation style [all around v]\nforever\n    turn right (5) degrees\nend\n\nwhen flag clicked\nswitch costume to (blank v)\n\nwhen I start as a clone\nwait until <(Clone ID) = [BG]>\nforever\n    go to [back v] layer\nend\n\nwhen I start as a clone\nwait until <(Clone ID) = [small grid]>\nforever\n    set rotation style [don't rotate v]\n    go to x: (0) y: (0)\n    point in direction (([sin v] of ((timer) * (200)) ) * (5000))\n    move (40) steps\n    change [timer v] by (0.0005)\nend\n\nwhen I start as a clone\nwait until <(Clone ID) = [grid]>\ngo to [back v] layer\nforever\n    change y by (((([sin v] of ((timer) * (200)) ) * (100)) - (y position)) / (6))\n    turn right ((((([sin v] of ((timer) * (100)) ) * (40)) + (90)) - (direction)) / (6)) degrees\n    change [timer v] by (0.01)\nend\n\nwhen I receive [start intro v]\nif <(costume [name v]) = [blank]> then\n    wait (1.5) seconds\n    set [clone id v] to [BG]\n    create clone of (_myself_ v)\n    wait (0.5) seconds\n    set [clone id v] to [grid]\n    create clone of (_myself_ v)\n    set [clone id v] to [small grid]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nwait until <(Clone ID) = [circles]>\ngo to [front v] layer\nset [ghost v] effect to (0)\ngo to x: (0) y: (0)\npoint in direction (90)\nswitch costume to (360° shock-wave-6 v)\nset size to (100) %\nshow\nrepeat (20)\n    switch costume to (blank v)\n    change size by (((340) - (size)) / (8))\n    change [ghost v] effect by (10)\n    switch costume to (360° shock-wave-6 v)\nend\n\nwhen I receive [intro: wave v]\nif <(costume [name v]) = [blank]> then\n    set [clone id v] to [shine]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nwait until <(Clone ID) = [shine]>\ngo to [front v] layer\nshow\ngo to x: (0) y: (0)\nswitch costume to (shine effect v)\nclear graphic effects\nrepeat (40)\n    change [ghost v] effect by (3)\nend\nhide\ndelete this clone\n\nwhen I start as a clone\nwait until <(Clone ID) = [switch]>\nset size to (100) %\ngo to [front v] layer\nshow\ngo to x: (0) y: (0)\nswitch costume to (switch-1 v)\nclear graphic effects\nrepeat (5)\n    next costume\nend\nbroadcast (intro: switch colour v)\nrepeat (5)\n    next costume\nend\ndelete this clone\n\nwhen I receive [intro: switch v]\nif <(costume [name v]) = [blank]> then\n    set [clone id v] to [switch]\n    create clone of (_myself_ v)\nend\n\nwhen I receive [intro: explode v]\nif <(costume [name v]) = [blank]> then\n    explode [-100] [100]\n    wait (0.15) seconds\n    explode [100] [100]\n    wait (0.15) seconds\n    explode [-100] [-100]\n    wait (0.15) seconds\n    explode [100] [-100]\n    wait (0.15) seconds\n    explode [0] [0]\nend\n\ndefine explode (x) (y)\ngo to x: (x) y: (y)\npoint in direction (90)\nrepeat (8)\n    set [clone id v] to [explode]\n    create clone of (_myself_ v)\n    turn right (45) degrees\nend\ngo to x: (0) y: (0)\n\nwhen I start as a clone\nwait until <(Clone ID) = [explode]>\nswitch costume to (explode v)\nshow\nclear graphic effects\nset size to (200) %\nrepeat (10)\n    move (10) steps\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I start as a clone\nwait until <(Clone ID) = [explode 2]>\nswitch costume to (explode 2 v)\nshow\nclear graphic effects\nset size to (50) %\nrepeat (20)\n    change size by (10)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\ndefine explode 2 (x) (y)\ngo to x: (x) y: (y)\npoint in direction (90)\nset [clone id v] to [explode 2]\ncreate clone of (_myself_ v)\ngo to x: (0) y: (0)\n\nwhen I receive [intro: explode 2 v]\nif <(costume [name v]) = [blank]> then\n    explode 2 [-260] [200]\n    wait (0.15) seconds\n    explode 2 [260] [200]\n    wait (0.15) seconds\n    explode 2 [-260] [-200]\n    wait (0.15) seconds\n    explode 2 [260] [-200]\n    wait (0.15) seconds\n    explode 2 [0] [0]\nend\n\nwhen I receive [end intro v]\nif <<(Clone ID) = [text]> or <(Clone ID) = [grid]>> then\n    repeat (10)\n        change y by ((5) - ((y position) * (0.2)))\n        change [ghost v] effect by (2.5)\n    end\n    repeat (30)\n        change y by (((5) - ((y position) * (0.2))) * (-1))\n        change [ghost v] effect by (3)\n    end\n    delete this clone\nelse\n    repeat (20)\n        set [costume v] to (costume [number v])\n        switch costume to (blank v)\n        change size by (((200) - (size)) / (6))\n        switch costume to (costume)\n    end\n    repeat (20)\n        set [pixelate v] effect to (20)\n        set [costume v] to (costume [number v])\n        switch costume to (blank v)\n        change size by (((300) - (size)) / (6))\n        set [ghost v] effect to ((size) - (150))\n        switch costume to (costume)\n    end\n    delete this clone\nend\n\nwhen I receive [intro: wave v]\nchange [color v] effect by (-25)\n\nwhen I receive [intro: switch colour v]\nchange [color v] effect by (-25)\n\nwhen I receive [end intro v]\nset [color v] effect to (0)\n\nwhen I receive [intro: explode 3 v]\nif <(costume [name v]) = [blank]> then\n    repeat (16)\n        explode 3 (pick random (-150) to (150)) (pick random (-150) to (150))\n    end\nend\n\ndefine explode 3 (x) (y)\ngo to x: (x) y: (y)\nset [clone id v] to [explode 3]\ncreate clone of (_myself_ v)\ngo to x: (0) y: (0)\n\nwhen I start as a clone\nwait until <(Clone ID) = [explode 3]>\nswitch costume to (star-a 1 v)\nshow\nclear graphic effects\nset size to (50) %\nrepeat (9)\n    change size by (20)\n    next costume\nend\ndelete this clone\n\nwhen I receive [start intro v]\nswitch costume to (blank v)\nhide\nset rotation style [all around v]\n\nwhen flag clicked\nbroadcast (start intro v)\n\n@Saw2\n\nwhen flag clicked\ngo to x: (148) y: (-121)\nforever\n    repeat (10)\n        turn right (10) degrees\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [4 v]\nshow\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\n@Saw3\n\nwhen flag clicked\ngo to x: (16) y: (-121)\nforever\n    repeat (10)\n        turn right (10) degrees\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [4 v]\nshow\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\nwhen I receive [next level  v]\nhide\n\n@Saw4\n\nwhen flag clicked\ngo to x: (-119) y: (-121)\nforever\n    repeat (10)\n        turn right (10) degrees\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [4 v]\nshow\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\n@Sprite15 . danger\n\nwhen flag clicked\ngo to x: (36) y: (50)\nforever\n    glide (0.2) secs to x: (36) y: (-100)\n    glide (1) secs to x: (36) y: (50)\n    wait (1) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [6 v]\nshow\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\n@Sprite2\n\nwhen I receive [start v]\nset [ghost v] effect to (50)\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Options v)\n        glide (0.4) secs to x: (199) y: (180)\n    else\n        broadcast (Hide options v)\n        glide (0.4) secs to x: (199) y: (319)\n    end\nend\n\nwhen I receive [text bar v]\nhide\n\nwhen I receive [close box 2 v]\nshow\n\nwhen I receive [close box v]\nshow\n\nwhen flag clicked\nhide\n\n@Sound \n\nwhen I receive [options v]\ngo to [front v] layer\nshow\nglide (0.4) secs to x: (-32) y: (250)\n\nwhen I receive [hide options v]\nglide (0.4) secs to x: (-32) y: (383)\nhide\n\nwhen flag clicked\nhide\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (MUTE OR UNMUTE SOUND;::::::: v)\nnext costume\nif <(costume [number v]) = [1]> then\n    broadcast (set volume to 100 v)\nelse\n    broadcast (Set volume to 0 v)\nend\n\nwhen flag clicked\nswitch costume to (on v)\n\nwhen backdrop switches to [16 v]\nset [ghost v] effect to (100)\n\n@Skip\n\nwhen I receive [options v]\ngo to [front v] layer\nshow\nglide (0.4) secs to x: (-32) y: (250)\n\nwhen I receive [hide options v]\nglide (0.4) secs to x: (-32) y: (383)\nhide\n\nwhen flag clicked\nset [ghost v] effect to (0)\nhide\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (SKIPPING LEVELS>>>>>>>>>>>> v)\n\nwhen I receive [close box v]\nset [ghost v] effect to (0)\n\nwhen I receive [close box 2 v]\nset [ghost v] effect to (0)\n\nwhen I receive [text bar v]\nset [ghost v] effect to (100)\n\nwhen backdrop switches to [16 v]\nset [ghost v] effect to (100)\n\n@Exit\n\nwhen I receive [options v]\ngo to [front v] layer\nshow\nglide (0.4) secs to x: (-32) y: (250)\n\nwhen I receive [hide options v]\nglide (0.4) secs to x: (-32) y: (383)\nhide\n\nwhen flag clicked\nhide\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (button3-b2 v)\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n        switch costume to (button3-b v)\n    end\nend\n\nwhen this sprite clicked\nstop [all v]\n\nwhen backdrop switches to [16 v]\nset [ghost v] effect to (100)\n\n@Water\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [7 v]\nset [ghost v] effect to (0)\nshow\nforever\n    go to [back v] layer\n    repeat (7)\n        change y by (1)\n    end\n    repeat (14)\n        change y by (-1)\n    end\n    repeat (7)\n        change y by (1)\n    end\n    go to x: (50) y: (15)\nend\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\nwhen backdrop switches to [13 v]\nshow\n\n@BG Effects\n\nwhen I start as a clone\ngo to [back v] layer\nshow\nset size to (pick random (100) to (300)) %\nset [ghost v] effect to (100)\ngo to (random position v)\nchange [clones v] by (1)\nset [bg effects: x v] to ((x position) + (SCROLL X))\nset [bg effects: y v] to ((y position) + (SCROLL Y))\nset [bg effects: xv v] to (pick random (-5) to (5))\nset [yv v] to (pick random (-5) to (5))\nrepeat (((100) - (pick random (80) to (90))) / (5))\n    change [ghost v] effect by (-5)\n    go to x: ((BG Effects: x) + ((0) - (SCROLL X))) y: ((BG Effects: y) + ((0) - (SCROLL Y)))\nend\nrepeat until <touching (_edge_ v)?>\n    go to x: ((BG Effects: x) + ((0) - (SCROLL X))) y: ((BG Effects: y) + ((0) - (SCROLL Y)))\n    change [bg effects: x v] by (BG Effects: Xv)\n    change [bg effects: y v] by (Yv)\n    change [ghost v] effect by (1)\nend\nchange [clones v] by (-1)\ndelete this clone\n\ndefine Clone (#)\nrepeat (#)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [delete all clones v]\ndelete this clone\n\nwhen I receive [end intro v]\nset [clones v] to [0]\nforever\n    Clone [1]\nend\n\n@Grass effects\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [1 v]\nswitch costume to (effect for bg 1 v)\nshow\nforever\n    switch costume to (Level)\nend\n\n@SOUND\n\nwhen I receive [start v]\nset volume to (100) %\nplay sound [Revolt v] until done\nplay sound [Revolt v] until done\nplay sound [Revolt v] until done\nplay sound [Revolt v] until done\nplay sound [Revolt v] until done\nplay sound [Revolt v] until done\nplay sound [Revolt v] until done\nplay sound [Revolt v] until done\n\nwhen I receive [set volume to 100 v]\nset volume to (100) %\n\nwhen I receive [set volume to 0 v]\nset volume to (0) %\n\n@Sprite15 . danger2\n\nwhen flag clicked\ngo to x: (36) y: (50)\nforever\n    glide (0.2) secs to x: (36) y: (-100)\n    glide (1) secs to x: (36) y: (50)\n    wait (1) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [8 v]\nshow\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\n@Saw with .... 1\n\nwhen flag clicked\ngo to x: (36) y: (50)\nforever\n    glide (0.2) secs to x: (36) y: (-100)\n    glide (1) secs to x: (36) y: (50)\n    wait (1) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [9 v]\nshow\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\n@saw with...2\n\nwhen flag clicked\ngo to x: (36) y: (50)\nforever\n    glide (0.2) secs to x: (36) y: (-100)\n    glide (1) secs to x: (36) y: (50)\n    wait (2) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [9 v]\nshow\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\n@saw with...3\n\nwhen flag clicked\ngo to x: (36) y: (50)\nforever\n    glide (0.2) secs to x: (36) y: (-100)\n    glide (1) secs to x: (36) y: (50)\n    wait (0.5) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [9 v]\nshow\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\n@lava2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [10 v]\nset [ghost v] effect to (0)\nshow\nforever\n    go to [back v] layer\n    repeat (7)\n        change y by (1)\n    end\n    repeat (14)\n        change y by (-1)\n    end\n    repeat (7)\n        change y by (1)\n    end\n    go to x: (50) y: (15)\nend\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\n@Love fave2\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    if <not <<(LOVED__) = [1]> and <(FAVED___) = [1]>>> then\n        wait (pick random (40) to (50)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\n        show\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (-6)\n        end\n        repeat (5)\n            change y by (3)\n        end\n        repeat (5)\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\n    if <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [3 v]\nhide\n\nwhen I receive [game stoped v]\nhide\n\nwhen I receive [out v]\nhide\n\nwhen I receive [game stoped v]\nhide\n\n@Moving saw for lv 11\n\nwhen flag clicked\ngo to x: (200) y: (-125)\nforever\n    repeat (10)\n        turn right (10) degrees\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [11 v]\nshow\nforever\n    glide (1) secs to x: (-115) y: (-125)\n    glide (1) secs to x: (200) y: (-125)\nend\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [14 v]\ngo to x: (28) y: (35)\nshow\n\nwhen I receive [next level  v]\nhide\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [14 v]\ngo to x: (29) y: (34)\nshow\n\nwhen I receive [skipping levels>>>>>>>>>>>> v]\nhide\n\nwhen I receive [next level  v]\nhide\n\n@Sprite4\n\nwhen backdrop switches to [16 v]\npoint in direction (-90)\ngo to x: (0) y: (0)\nshow\nrepeat (180)\n    turn right (1) degrees\nend\npoint in direction (90)\nforever\n    go to x: ((mouse x) / (5)) y: ((mouse y) / (5))\nend\n\nwhen flag clicked\nhide\n\n@BG Effects2\n\nwhen I start as a clone\ngo to [front v] layer\nshow\nset size to (pick random (100) to (300)) %\nset [ghost v] effect to (100)\ngo to (random position v)\nchange [clones v] by (1)\nset [bg effects: x v] to ((x position) + (SCROLL X))\nset [bg effects: y v] to ((y position) + (SCROLL Y))\nset [bg effects: xv v] to (pick random (-5) to (5))\nset [yv v] to (pick random (-5) to (5))\nrepeat (((100) - (pick random (80) to (90))) / (5))\n    change [ghost v] effect by (-5)\n    go to x: ((BG Effects: x) + ((0) - (SCROLL X))) y: ((BG Effects: y) + ((0) - (SCROLL Y)))\nend\nrepeat until <touching (_edge_ v)?>\n    go to x: ((BG Effects: x) + ((0) - (SCROLL X))) y: ((BG Effects: y) + ((0) - (SCROLL Y)))\n    change [bg effects: x v] by (BG Effects: Xv)\n    change [bg effects: y v] by (Yv)\n    change [ghost v] effect by (1)\nend\nchange [clones v] by (-1)\ndelete this clone\n\ndefine Clone (#)\nrepeat (#)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [delete all clones v]\ndelete this clone\n\nwhen backdrop switches to [16 v]\nset [clones v] to [0]\nforever\n    Clone [1]\nend\n\n@Sprite5\n\nwhen flag clicked\nhide\nset size to (20) %\n\nwhen this sprite clicked\nnext costume\nhide\nbroadcast (SHOW MASSAGE#### v)\n\nwhen backdrop switches to [16 v]\nswitch costume to (costume1 v)\nshow\n\n@Sprite6\n\nwhen flag clicked\nset size to (150) %\nhide\n\nwhen I receive [show massage#### v]\ngo to x: (204) y: (-150)\nshow\nset size to (10) %\nglide (1) secs to x: (9) y: (-7)\nrepeat (15)\n    change size by (10)\nend\nset size to (150) %\n\ngo to x: (9) y: (-7)\n\nwhen I receive [exit on massage#### v]\nhide\n\nwhen this sprite clicked\nhide\n\n