Element Platformer (100 levels)

Instructions: 100% Verified\nI recommend you to use a good quality computer or you will glitch through the moving platforms\n Please don't put hurtful comments\nUse the arrow keys to get to the end of the levels.\nEach 20 levels is a new element\nif you skip it will add 60 seconds to your finished result\nUnder construction!  \n60 stages done\n1.1 Ten Stages Added\n1.2 Spikes added and Level indicator (Thank you to (@SMS447236)\n1.3 More smoother graphics\nJanuary, 25\n50 views!\n1.4 3 levels added!\n(cave setting and ores)\nLevel 40-43\n1.5 Eyes move the direction it is moving.\n1.6 Jump pads added\n1.7 Bugs fixed\n1.8 Size Changer\n1.9 Water\n2.0 Changed to a sprite/Trail\n2.1 New Jumping code/wall slide and wall jump\n2.2 Moving platforms\n2.3 Bug Fixes\n2.4 keys and locks\n2.5 more levels!\n2.6 a spinner (saw)\nMarch 16, 2024\n800 views!\n2.7 Flying Lasers\nMarch 18, 2024\n1000 views!\nThank You so much!\n2.8 Buttons\n2.9 hidden wall\n3.0 clouds\n\n\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (hide v)\nwait (20) seconds\nswitch backdrop to (level1 v)\n\nwhen I receive [next level v]\nwait (1000000000000000000000000000000000000000000000000000000000000000000) seconds\nnext backdrop\n\nwhen flag clicked\nset [timer v] to [0]\nhide variable [timer v]\n\n@Bob\n\nwhen I receive [next level v]\nset size to (100) %\ngo to x: (-173) y: (-151)\nnext backdrop\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    if <<touching color (#00ff6b)?> or <<touching color (#00e66b)?> or <<touching color (#00e658)?> or <touching color (#00ff77)?>>>> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        broadcast (Next Level v)\n        wait (0.5) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (spike v)?> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0.63]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    change [timer v] by (0.1)\n    wait (0.15) seconds\n    change [timer v] by (0.1)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#3f57b5)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [y v] to [5]\n        else\n            if <<key (down arrow v) pressed?> or <key (w v) pressed?>> then\n                set [y v] to [-5]\n            else\n                set [y v] to [-1]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00d6ff)?> then\n        set [y v] to [17]\n        start sound [jump v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#ff0000)?> or <touching color (#e60000)?>> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (big 1 v)?> then\n        change size by (50)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (small 1 v)?> then\n        set size to (70) %\n    end\nend\n\nwhen flag clicked\nhide variable [total deaths v]\nhide variable [level v]\nwait (24) seconds\nshow variable [level v]\n\nwhen flag clicked\nforever\n    if <touching (speed boost 1 v)?> then\n        set [x v] to [-15]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (small 1 v)?> then\n        set size to (70) %\n    end\nend\n\nwhen flag clicked\nwait (20) seconds\nforever\n    play sound [riverflowinyou v] until done\nend\n\nwhen flag clicked\nforever\n    if <touching (speed boost right v)?> then\n        set [x v] to [15]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (smasher v)?> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (keys v)?> then\n        broadcast (Open keys v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (smasher2 v)?> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (smasher2 v)?> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (smasher3 v)?> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (smasher4 v)?> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (smasher6 v)?> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (smasher7 v)?> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (smasher5 v)?> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (smasher9 v)?> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (smasher8 v)?> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nwhen backdrop switches to [level 50 v]\nshow variable [timer v]\nshow variable [total deaths v]\n\nwhen backdrop switches to [level 51 v]\nhide variable [timer v]\nhide variable [total deaths v]\n\nwhen flag clicked\nforever\n    if <touching (button v)?> then\n        broadcast (push v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00ff54)?> then\n        set [y v] to [25]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (smasher10 v)?> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to x: (-164) y: (-166)\nwait (24) seconds\nset size to (100) %\nset [total deaths v] to [0]\nset [level v] to [1]\nhide variable [x v]\nhide variable [total deaths v]\nhide variable [y v]\nset [x v] to [0]\nset [y v] to [0]\nshow\nswitch backdrop to (backdrop1 v)\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (0.7)\n        switch costume to (right v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (-0.7)\n        switch costume to (left v)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change x by ((X) * (-1))\n                        change y by (-4)\n                        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                            start sound [jump v]\n                            if <(X) > [0]> then\n                                set [x v] to [-5]\n                            else\n                                set [x v] to [4]\n                            end\n                            set [y v] to [9]\n                        else\n                            set [y v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching color (#000000)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [y v] to [12]\n            start sound [jump v]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <touching (smasher11 v)?> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nwhen backdrop switches to [level 60 v]\nforever\n    if <<(x position) > [237]> or <(x position) = [237]>> then\n        broadcast (Next Level v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        go to x: (-173) y: (-151)\n        broadcast (restart v)\n        wait (1) seconds\n    end\nend\n\nwhen I receive [restart v]\nrepeat (5)\n    change [ghost v] effect by (20)\n    wait (0.1) seconds\nend\nrepeat (5)\n    change [ghost v] effect by (-20)\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nforever\n    if <touching (enemy v)?> then\n        set [y v] to [1]\n        set [x v] to [0]\n        repeat (10)\n            set [x v] to [0]\n            set [y v] to [1]\n            change [ghost v] effect by (10)\n            set [y v] to [1]\n            set [x v] to [0]\n        end\n        set [y v] to [1]\n        set [x v] to [0]\n        go to x: (-173) y: (-151)\n        set [ghost v] effect to (0)\n        change [total deaths v] by (1)\n    end\nend\n\nif <touching color (#000000)?> then\n    change y by (1)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change x by ((X) * (-1))\n                    change y by (-4)\n                    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                        start sound [jump v]\n                        if <(X) > [0]> then\n                            set [x v] to [-5]\n                        else\n                            set [x v] to [4]\n                        end\n                        set [y v] to [9]\n                    else\n                        set [y v] to [0]\n                    end\n                end\n            end\n        end\n    end\nend\nchange [y v] by (-1)\nchange y by (Y)\nif <touching color (#000000)?> then\n    change y by ((Y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-1)\nif <touching color (#000000)?> then\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        set [y v] to [12]\n        start sound [jump v]\n    end\nend\nchange y by (1)\n\nif <(X) > [0]> then\n    set [x v] to [-5]\nelse\n    set [x v] to [4]\nend\nset [y v] to [9]\nchange [y v] by (-1)\nchange y by (Y)\nif <touching color (#000000)?> then\n    change y by ((Y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-1)\nif <touching color (#000000)?> then\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        set [y v] to [12]\n        start sound [jump v]\n    end\nend\nchange y by (1)\n\n@enemy\n\nwhen flag clicked\ngo to x: (107) y: (5)\nset [x \(enemy\) v] to [0]\nswitch costume to (enemy left v)\nhide\n\nwhen backdrop switches to [level 61 v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nforever\n    change x by (x \(enemy\))\n    if <touching color (#b8ffff)?> then\n        set [x \(enemy\) v] to [-1]\n        switch costume to (enemy left v)\n    else\n        set [x \(enemy\) v] to [1]\n        switch costume to (enemy right v)\n    end\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change x by ((X) * (-1))\n                        change y by (-4)\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching color (#000000)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [y v] to [12]\n            start sound [jump v]\n        end\n    end\n    change y by (1)\nend\n\n@Spike\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (costume1 v)\nhide\nwait (5) seconds\nshow\n\nwhen I receive [next level v]\nnext costume\n\n@smasher5\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 34 v]\nhide\n\nwhen backdrop switches to [level 39 v]\nhide\n\nwhen backdrop switches to [level 43 v]\nshow\ngo to x: (-20) y: (-8)\nswitch costume to (costume1 v)\nforever\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\nend\n\nwhen backdrop switches to [thumbnail v]\nhide\n\nwhen backdrop switches to [level 44 v]\nhide\n\n@smasher3\n\nwhen backdrop switches to [level 38 v]\ngo to x: (-144) y: (23)\nswitch costume to (costume1 v)\nshow\nforever\n    turn right (2) degrees\n    wait (0.0000000000000001) seconds\n    turn right (2) degrees\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 34 v]\nhide\n\nwhen backdrop switches to [level 39 v]\nhide\n\nwhen backdrop switches to [level 40 v]\nshow\ngo to x: (-64) y: (5)\nswitch costume to (multi v)\nforever\n    turn right (0.5) degrees\n    wait (1) seconds\n    turn right (0.5) degrees\nend\n\nwhen backdrop switches to [level 41 v]\nhide\n\n@smasher2\n\nwhen backdrop switches to [level 19 v]\npoint in direction (30)\nswitch costume to (costume1 v)\nshow\nforever\n    turn right (0.7) degrees\n    wait (0.0000000000000001) seconds\n    turn right (0.7) degrees\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 20 v]\nhide\n\n@smasher4\n\nwhen backdrop switches to [level 40 v]\nshow\ngo to x: (-227) y: (40)\nforever\n    turn right (2) degrees\n    wait (0.0000000000000001) seconds\n    turn right (2) degrees\nend\n\nwhen backdrop switches to [level 41 v]\nhide\n\nwhen flag clicked\nhide\n\n@smasher6\n\nwhen backdrop switches to [level 46 v]\nshow\ngo to x: (-47) y: (28)\nforever\n    turn right (3) degrees\n    wait (0.0000000000000001) seconds\n    turn right (3) degrees\nend\n\nwhen backdrop switches to [level 41 v]\nhide\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 47 v]\nhide\n\n@smasher7\n\nwhen backdrop switches to [level 47 v]\nshow\ngo to x: (44) y: (16)\nforever\n    turn right (3) degrees\n    wait (0.0000000000000001) seconds\n    turn right (3) degrees\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 48 v]\nhide\n\n@smasher\n\nwhen backdrop switches to [level 32 v]\nswitch costume to (costume1 v)\nshow\nforever\n    turn right (2) degrees\n    wait (0.0000000000000001) seconds\n    turn right (2) degrees\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 33 v]\nswitch costume to (costume2 v)\nshow\nforever\n    turn left (4) degrees\n    wait (0.0000000000000001) seconds\n    turn left (4) degrees\nend\n\nwhen backdrop switches to [level 34 v]\nhide\n\n@smasher8\n\nwhen backdrop switches to [level 49 v]\nshow\ngo to x: (-9) y: (21)\nforever\n    turn right (3) degrees\n    wait (0.0000000000000001) seconds\n    turn right (3) degrees\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 47 v]\nhide\n\nwhen backdrop switches to [level 50 v]\nhide\n\n@smasher9\n\nwhen backdrop switches to [level 49 v]\nshow\ngo to x: (-241) y: (16)\nforever\n    turn right (3) degrees\n    wait (0.0000000000000001) seconds\n    turn right (3) degrees\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 47 v]\nhide\n\nwhen backdrop switches to [level 50 v]\nhide\n\n@smasher10\n\nwhen backdrop switches to [level 53 v]\nshow\ngo to x: (-227) y: (40)\nforever\n    turn left (3) degrees\n    wait (0.00000000001) seconds\n    turn left (3) degrees\nend\n\nwhen backdrop switches to [level 54 v]\nhide\n\nwhen flag clicked\nhide\n\n@Big 1\n\nwhen backdrop switches to [level8 v]\nshow\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen flag clicked\nforever\n    if <touching (bob v)?> then\n        wait (0.05) seconds\n        hide\n    end\nend\n\nwhen backdrop switches to [level9 v]\nhide\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [level12 v]\nshow\n\nwhen backdrop switches to [level 13 v]\nhide\n\nwhen backdrop switches to [level 40 v]\nshow\n\nwhen backdrop switches to [level 41 v]\nhide\n\n@Small 1\n\nwhen backdrop switches to [level 14 v]\nshow\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen flag clicked\nforever\n    if <touching (bob v)?> then\n        wait (0.00000000000000000000000001) seconds\n        hide\n    end\nend\n\nwhen backdrop switches to [level 15 v]\nhide\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [level 20 v]\nshow\n\nwhen backdrop switches to [level 21 v]\nhide\n\nwhen backdrop switches to [level 36 v]\nshow\nswitch costume to (costume3 v)\n\nwhen backdrop switches to [level 37 v]\nhide\n\nwhen backdrop switches to [level 47 v]\nshow\nswitch costume to (costume4 v)\n\nwhen backdrop switches to [level 48 v]\nshow\nswitch costume to (costume5 v)\n\nwhen backdrop switches to [level 50 v]\nshow\nswitch costume to (costume6 v)\n\nwhen backdrop switches to [level 48 v]\nhide\n\nwhen backdrop switches to [level 51 v]\nhide\n\nwhen backdrop switches to [level 56 v]\nshow\nswitch costume to (costume7 v)\n\nwhen backdrop switches to [level 57 v]\nhide\n\n@Speed Boost 1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level10 v]\nswitch costume to (costume9 v)\nshow\n\nwhen backdrop switches to [level11 v]\nhide\n\nwhen backdrop switches to [level 38 v]\nshow\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [level 39 v]\nhide\n\nwhen backdrop switches to [level 40 v]\nshow\nswitch costume to (costume3 v)\n\nwhen backdrop switches to [level 41 v]\nhide\n\nwhen backdrop switches to [level 48 v]\nshow\nswitch costume to (costume4 v)\n\nwhen backdrop switches to [level 49 v]\nhide\n\nwhen backdrop switches to [level 55 v]\nshow\nswitch costume to (costume5 v)\n\nwhen backdrop switches to [level 56 v]\nhide\n\n@Speed boost right\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 17 v]\nswitch costume to (costume1 v)\nshow\n\nwhen backdrop switches to [level 18 v]\nhide\n\nwhen backdrop switches to [level 38 v]\nswitch costume to (costume2 v)\nshow\n\nwhen backdrop switches to [level 39 v]\nhide\n\nwhen backdrop switches to [level 43 v]\nswitch costume to (costume3 v)\nshow\n\nwhen backdrop switches to [level 45 v]\nshow\nswitch costume to (costume4 v)\n\nwhen backdrop switches to [level 47 v]\nshow\nswitch costume to (costume5 v)\n\nwhen backdrop switches to [level 48 v]\nshow\nswitch costume to (costume6 v)\n\nwhen backdrop switches to [level 46 v]\nhide\n\nwhen backdrop switches to [level 49 v]\nhide\n\nwhen backdrop switches to [level 58 v]\nshow\nswitch costume to (costume7 v)\n\nwhen backdrop switches to [level 59 v]\nhide\n\n@Moving Platform S3\n\nwhen backdrop switches to [level 45 v]\ngo to [back v] layer\nshow\nforever\n    switch costume to (moving platform v)\n    glide (2) secs to x: (-40) y: (232)\n    wait (1.5) seconds\n    switch costume to (moving platform2 v)\n    glide (2) secs to x: (-100) y: (232)\nend\n\nwhen flag clicked\nhide\ngo to x: (-100) y: (232)\n\nwhen backdrop switches to [level 47 v]\nhide\n\n@Moving Platform D3\n\nwhen backdrop switches to [level 43 v]\nshow\nforever\n    switch costume to (moving platform v)\n    glide (3) secs to x: (271) y: (300)\n    switch costume to (moving platform2 v)\n    wait (2) seconds\n    glide (3) secs to x: (271) y: (16)\n    wait (2) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (271) y: (15)\n\nwhen backdrop switches to [thumbnail v]\nhide\n\nwhen backdrop switches to [level 44 v]\nhide\n\n@Moving Platform S\n\nwhen backdrop switches to [level11 v]\nshow\nforever\n    glide (3) secs to x: (10) y: (63)\n    switch costume to (moving platform v)\n    wait (2) seconds\n    glide (3) secs to x: (200) y: (63)\n    switch costume to (moving platform2 v)\n    wait (2) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (10) y: (63)\n\nwhen backdrop switches to [level12 v]\nhide\n\n@Moving Platform D\n\nwhen backdrop switches to [level 13 v]\nshow\nforever\n    switch costume to (moving platform v)\n    glide (3) secs to x: (220) y: (281)\n    switch costume to (moving platform2 v)\n    wait (2) seconds\n    glide (3) secs to x: (52) y: (40)\n    wait (2) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (52) y: (40)\n\nwhen backdrop switches to [level 14 v]\nhide\n\nwhen backdrop switches to [level 41 v]\nhide\n\n@Moving Platform S2\n\nwhen backdrop switches to [level 31 v]\nshow\nforever\n    switch costume to (moving platform v)\n    glide (1.5) secs to x: (91) y: (111)\n    wait (1.5) seconds\n    switch costume to (moving platform2 v)\n    glide (1.5) secs to x: (21) y: (111)\n    wait (1.5) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (21) y: (111)\n\nwhen backdrop switches to [level 32 v]\nhide\n\n@Moving Platform S4\n\nwhen backdrop switches to [level 46 v]\nshow\nforever\n    switch costume to (moving platform2 v)\n    glide (1.5) secs to x: (220) y: (111)\n    wait (1.5) seconds\n    switch costume to (moving platform v)\n    glide (1.5) secs to x: (294) y: (111)\n    wait (1.5) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (218) y: (111)\n\nwhen backdrop switches to [level 32 v]\nhide\n\nwhen backdrop switches to [level 47 v]\nhide\n\n@Moving Platform S5\n\nwhen backdrop switches to [level 46 v]\nshow\nforever\n    switch costume to (moving platform v)\n    glide (1.5) secs to x: (292) y: (191)\n    wait (1.5) seconds\n    switch costume to (moving platform2 v)\n    glide (1.5) secs to x: (222) y: (191)\n    wait (1.5) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (222) y: (191)\n\nwhen backdrop switches to [level 32 v]\nhide\n\nwhen backdrop switches to [level 47 v]\nhide\n\n@Moving Platform S6\n\nwhen backdrop switches to [level 46 v]\nshow\nforever\n    switch costume to (moving platform v)\n    glide (1.5) secs to x: (292) y: (256)\n    wait (1.5) seconds\n    switch costume to (moving platform2 v)\n    glide (1.5) secs to x: (222) y: (256)\n    wait (1.5) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (222) y: (256)\n\nwhen backdrop switches to [level 32 v]\nhide\n\nwhen backdrop switches to [level 47 v]\nhide\n\n@Moving Platform D5\n\nwhen backdrop switches to [level 49 v]\nshow\nforever\n    switch costume to (moving platform v)\n    glide (3) secs to x: (-21) y: (282)\n    switch costume to (moving platform2 v)\n    wait (2) seconds\n    glide (3) secs to x: (-21) y: (20)\n    wait (2) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (-21) y: (20)\n\nwhen backdrop switches to [level 50 v]\nhide\n\n@Moving Platform D6\n\nwhen backdrop switches to [level 50 v]\npoint in direction (90)\nshow\nforever\n    switch costume to (moving platform v)\n    glide (3) secs to x: (34) y: (168)\n    switch costume to (moving platform2 v)\n    wait (2) seconds\n    glide (3) secs to x: (34) y: (18)\n    wait (2) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (34) y: (18)\n\nwhen backdrop switches to [thumbnail v]\nhide\n\nwhen backdrop switches to [level 51 v]\nhide\n\n@Moving Platform D2\n\nwhen backdrop switches to [level 48 v]\nshow\nforever\n    glide (0.5) secs to x: (-87) y: (4)\n    wait (1) seconds\n    glide (0.5) secs to x: (-87) y: (15)\n    wait (0.5) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (-87) y: (15)\n\nwhen backdrop switches to [level 14 v]\nhide\n\nwhen backdrop switches to [level 41 v]\nhide\n\nwhen backdrop switches to [level 49 v]\nhide\n\n@Moving Platform D4\n\nwhen backdrop switches to [level 48 v]\nshow\nforever\n    glide (0.5) secs to x: (-112) y: (138)\n    wait (0.5) seconds\n    glide (0.5) secs to x: (-112) y: (116)\n    wait (1) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (-112) y: (116)\n\nwhen backdrop switches to [level 14 v]\nhide\n\nwhen backdrop switches to [level 41 v]\nhide\n\nwhen backdrop switches to [level 49 v]\nhide\n\n@Moving Platform D7\n\nwhen backdrop switches to [level 53 v]\nshow\nforever\n    switch costume to (moving platform v)\n    glide (4) secs to x: (-56) y: (255)\n    switch costume to (moving platform2 v)\n    wait (2) seconds\n    glide (4) secs to x: (-56) y: (-1)\n    wait (2) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (-56) y: (17)\n\nwhen backdrop switches to [level 54 v]\nhide\n\n@Moving Platform D8\n\nwhen backdrop switches to [level 53 v]\nshow\nforever\n    switch costume to (moving platform2 v)\n    glide (3) secs to x: (67) y: (16)\n    switch costume to (moving platform v)\n    wait (2) seconds\n    glide (3) secs to x: (67) y: (254)\n    wait (2) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (67) y: (254)\n\nwhen backdrop switches to [level 54 v]\nhide\n\n@skip\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen this sprite clicked\nbroadcast (Next Level v)\nchange [timer v] by (60)\n\nwhen backdrop switches to [level 61 v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nclear graphic effects\nhide\nwait (24) seconds\nshow\nrepeat (10)\n    wait (0.1) seconds\n    change [ghost v] effect by (-10)\nend\n\n@Elements\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\nwait (20) seconds\nshow\nwait (5) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\n\nwhen backdrop switches to [level 20 v]\nset [ghost v] effect to (-100)\nswitch costume to (costume2 v)\nshow\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\nchange [ghost v] effect by (10)\nwait (0.1) seconds\n\nwhen backdrop switches to [level 41 v]\nset [ghost v] effect to (-100)\nswitch costume to (costume3 v)\nshow\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\n\nwhen backdrop switches to [level 60 v]\nset [ghost v] effect to (-100)\nswitch costume to (costume4 v)\nshow\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\nchange [ghost v] effect by (10)\nwait (0.2) seconds\n\n@Lasers\n\nwhen backdrop switches to [level 17 v]\nshow\nforever\n    wait (2) seconds\n    hide\n    wait (2) seconds\n    show\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 18 v]\nforever\n    hide\nend\n\n@Lasers2\n\nwhen backdrop switches to [level 44 v]\nshow\nforever\n    wait (5) seconds\n    hide\n    wait (5) seconds\n    show\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 45 v]\nforever\n    hide\nend\n\n@Lasers3\n\nwhen backdrop switches to [level 45 v]\nshow\nforever\n    wait (2) seconds\n    switch costume to (costume1 v)\n    wait (2) seconds\n    switch costume to (costume2 v)\nend\n\nwhen backdrop switches to [level 46 v]\nforever\n    forever\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\n@Lasers4\n\nwhen backdrop switches to [level 50 v]\nshow\nforever\n    wait (2) seconds\n    switch costume to (costume1 v)\n    wait (4) seconds\n    switch costume to (costume2 v)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 51 v]\nforever\n    hide\nend\n\n@Lasers5\n\nwhen backdrop switches to [level 50 v]\ngo to x: (64) y: (73)\nshow\nforever\n    wait (2) seconds\n    switch costume to (costume1 v)\n    wait (4) seconds\n    switch costume to (costume2 v)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 51 v]\nforever\n    hide\nend\n\n@Lasers6\n\nwhen backdrop switches to [level 57 v]\ngo to x: (64) y: (73)\ngo to [front v] layer\nshow\nforever\n    wait (2) seconds\n    switch costume to (costume1 v)\n    wait (4) seconds\n    switch costume to (costume2 v)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 58 v]\nforever\n    hide\nend\n\n@keys\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 31 v]\nswitch costume to (key v)\nshow\nforever\n    if <touching (bob v)?> then\n        hide\n        broadcast (Open keys v)\n    end\nend\n\nwhen backdrop switches to [level 32 v]\nhide\n\nwhen backdrop switches to [level 35 v]\nshow\nswitch costume to (key2 v)\nforever\n    if <touching (bob v)?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [level 36 v]\nshow\nswitch costume to (key3 v)\n\nwhen backdrop switches to [level 37 v]\nhide\n\nwhen backdrop switches to [level 38 v]\nshow\nswitch costume to (key4 v)\n\nwhen backdrop switches to [level 39 v]\nhide\n\nwhen backdrop switches to [level 40 v]\nshow\nswitch costume to (key5 v)\n\nwhen backdrop switches to [level 41 v]\nhide\n\nwhen backdrop switches to [level 45 v]\nshow\nswitch costume to (key6 v)\n\nwhen backdrop switches to [level 46 v]\nshow\nswitch costume to (key7 v)\n\nwhen backdrop switches to [level 47 v]\nhide\n\nwhen backdrop switches to [level 49 v]\nshow\nswitch costume to (key4 v)\n\nwhen backdrop switches to [level 50 v]\nhide\n\nwhen backdrop switches to [level 56 v]\nshow\nswitch costume to (key8 v)\n\nwhen backdrop switches to [level 57 v]\nhide\n\n@Lock\n\nwhen I receive [open keys v]\nhide\n\nwhen backdrop switches to [level 31 v]\nswitch costume to (lock v)\nshow\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 32 v]\nhide\n\nwhen backdrop switches to [level 35 v]\nswitch costume to (small lock v)\nshow\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 36 v]\nshow\nswitch costume to (lock2 v)\n\nwhen backdrop switches to [level 37 v]\nhide\n\nwhen backdrop switches to [level 38 v]\nshow\nswitch costume to (lock3 v)\n\nwhen backdrop switches to [level 39 v]\nhide\n\nwhen backdrop switches to [level 40 v]\nswitch costume to (lock4 v)\nshow\n\nwhen backdrop switches to [level 41 v]\nhide\n\nwhen backdrop switches to [level 45 v]\nswitch costume to (lock6 v)\nshow\n\nwhen backdrop switches to [level 46 v]\nswitch costume to (lock5 v)\nshow\n\nwhen backdrop switches to [level 47 v]\nhide\n\nwhen backdrop switches to [level 49 v]\nswitch costume to (lock8 v)\nshow\n\nwhen backdrop switches to [level 50 v]\nhide\n\nwhen backdrop switches to [level 56 v]\nswitch costume to (lock7 v)\nshow\n\nwhen backdrop switches to [level 57 v]\nhide\n\n@falling lava\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [level 45 v]\ngo to [front v] layer\nshow\nforever\n    next costume\n    wait (0.05) seconds\n    next costume\nend\n\nwhen backdrop switches to [level 46 v]\nforever\n    hide\nend\n\n@Bubbles (1)\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 20 v]\nswitch costume to (bubbles \(1\) v)\nforever\n    set [ghost v] effect to (75)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\ngo to [front v] layer\nshow\ngo to x: (pick random (-240) to (240)) y: (-171)\nset size to (pick random (50) to (125)) %\nrepeat until <<(y position) = [175]> or <(y position) > [175]>>\n    change y by (pick random (5) to (7))\n    change x by (pick random (-1) to (1))\nend\ndelete this clone\n\nwhen backdrop switches to [level 41 v]\nswitch costume to (bubbles \(1\)2 v)\n\n@Level\n\nwhen I receive [next level v]\nclear graphic effects\nnext costume\nstamp shadow\n\nwhen flag clicked\nhide\nwait (20) seconds\nshow\n\nwhen flag clicked\nswitch costume to (title v)\nwait (20) seconds\nswitch costume to (level 1 v)\n\ndefine stamp shadow\nerase all\nset [ghost v] effect to (90)\nset [brightness v] effect to (-100)\nchange y by (-20)\nstamp\nchange y by (20)\nclear graphic effects\n\nwhen backdrop switches to [level1 v]\nshow\nerase all\nstamp shadow\n\nwhen backdrop switches to [hide v]\nerase all\n\nwhen flag clicked\nforever\n    go to x: (51) y: (31)\nend\n\n@moving laser2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 49 v]\nshow\nforever\n    if <touching (_edge_ v)?> then\n        go to x: (160) y: (-67)\n    else\n        change x by (-3)\n    end\nend\n\nwhen backdrop switches to [level 50 v]\nhide\n\n@moving laser\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 42 v]\nshow\nforever\n    if <touching (_edge_ v)?> then\n        go to x: (400) y: (-82)\n    else\n        change x by (-3)\n    end\nend\n\nwhen backdrop switches to [level 43 v]\nhide\n\n@button\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen backdrop switches to [level 51 v]\ngo to x: (-7) y: (27)\nrepeat (1)\n    show\n    go to [back v] layer\n    if <touching (bob v)?> then\n        broadcast (push v)\n    end\nend\n\nwhen I receive [push v]\nswitch costume to (costume2 v)\nwait (10) seconds\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [level 52 v]\nhide\n\nwhen backdrop switches to [level 53 v]\ngo to x: (-7) y: (27)\nrepeat (1)\n    show\n    go to [back v] layer\n    if <touching (bob v)?> then\n        broadcast (push 2 v)\n    end\nend\n\nwhen backdrop switches to [level 54 v]\nhide\n\nwhen backdrop switches to [level 56 v]\ngo to x: (-29) y: (209)\nrepeat (1)\n    show\n    go to [back v] layer\n    if <touching (bob v)?> then\n        broadcast (push 3 v)\n    end\nend\n\nwhen backdrop switches to [level 57 v]\nhide\n\n@dissapearing level1\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (36) y: (28)\nhide\ngo to [front v] layer\nchange [ghost v] effect by (100)\n\nwhen I receive [push v]\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (10) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen backdrop switches to [level 52 v]\nforever\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen backdrop switches to [level 53 v]\nswitch costume to (hide v)\n\n@dissapearing level2\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (-88) y: (34)\nhide\ngo to [back v] layer\nchange [ghost v] effect by (100)\n\nwhen I receive [push v]\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (10) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen backdrop switches to [level 51 v]\nswitch costume to (hide v)\n\nwhen backdrop switches to [level 53 v]\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [level 54 v]\nswitch costume to (hide v)\n\n@dissapearing level3\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (-88) y: (34)\nhide\ngo to [front v] layer\nchange [ghost v] effect by (100)\n\nwhen I receive [push v]\nswitch costume to (show v)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (10) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen backdrop switches to [level 57 v]\nswitch costume to (hide v)\n\n@numbers\n\nwhen flag clicked\nhide\n\nwhen I receive [push v]\nchange [ghost v] effect by (-100)\nshow\nswitch costume to (numbers10 v)\nwait (0.6) seconds\nrepeat (5)\n    change [ghost v] effect by (20)\n    wait (0.03) seconds\nend\nswitch costume to (numbers9 v)\nset [ghost v] effect to (0)\nwait (0.6) seconds\nrepeat (5)\n    change [ghost v] effect by (20)\n    wait (0.03) seconds\nend\nswitch costume to (numbers8 v)\nset [ghost v] effect to (0)\nwait (0.6) seconds\nrepeat (5)\n    change [ghost v] effect by (20)\n    wait (0.03) seconds\nend\nswitch costume to (numbers7 v)\nset [ghost v] effect to (0)\nwait (0.6) seconds\nrepeat (5)\n    change [ghost v] effect by (20)\n    wait (0.03) seconds\nend\nswitch costume to (numbers6 v)\nset [ghost v] effect to (0)\nwait (0.6) seconds\nrepeat (5)\n    change [ghost v] effect by (20)\n    wait (0.03) seconds\nend\nswitch costume to (numbers5 v)\nset [ghost v] effect to (0)\nwait (0.6) seconds\nrepeat (5)\n    change [ghost v] effect by (20)\n    wait (0.03) seconds\nend\nswitch costume to (numbers4 v)\nset [ghost v] effect to (0)\nwait (0.6) seconds\nrepeat (5)\n    change [ghost v] effect by (20)\n    wait (0.03) seconds\nend\nswitch costume to (numbers3 v)\nset [ghost v] effect to (0)\nwait (0.6) seconds\nrepeat (5)\n    change [ghost v] effect by (20)\n    wait (0.03) seconds\nend\nswitch costume to (numbers2 v)\nset [ghost v] effect to (0)\nwait (0.6) seconds\nrepeat (5)\n    change [ghost v] effect by (20)\n    wait (0.03) seconds\nend\nswitch costume to (numbers1 v)\nset [ghost v] effect to (0)\nwait (0.6) seconds\nrepeat (5)\n    change [ghost v] effect by (20)\n    wait (0.03) seconds\nend\nswitch costume to (numbers0 v)\nset [ghost v] effect to (0)\nwait (0.6) seconds\nrepeat (5)\n    change [ghost v] effect by (20)\n    wait (0.03) seconds\nend\n\nwhen backdrop switches to [level 52 v]\ngo to x: (36) y: (28)\nhide\n\nwhen backdrop switches to [level 53 v]\ngo to [back v] layer\nswitch costume to (numbers0 v)\ngo to x: (-7) y: (22)\nshow\n\nwhen backdrop switches to [level 54 v]\nhide\n\ngo to x: (-7) y: (22)\n\nwhen backdrop switches to [level 56 v]\ngo to [back v] layer\nswitch costume to (numbers0 v)\ngo to x: (-28) y: (207)\nshow\n\nwhen backdrop switches to [level 57 v]\nhide\n\nwhen backdrop switches to [level 51 v]\ngo to [back v] layer\nswitch costume to (numbers0 v)\ngo to x: (-8) y: (26)\nshow\n\n@hidden\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 56 v]\ngo to [front v] layer\nshow\nforever\n    if <touching (bob v)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n    else\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\nend\n\nwhen backdrop switches to [level 57 v]\nhide\n\n@story\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (27) y: (0)\nshow\nset [ghost v] effect to (0)\nswitch costume to (costume1 v)\nwait (2) seconds\nrepeat (5)\n    repeat (20)\n        change [brightness v] effect by (-5)\n    end\n    wait (3) seconds\n    set [brightness v] effect to (100)\n    next costume\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [5]> then\n        wait (3) seconds\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n    end\n    broadcast (start game v)\nend\n\n@thumbnail\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [forward v] (1) layers\nend\n\nwhen flag clicked\nshow\nset rotation style [don't rotate v]\nset [ghost v] effect to (100)\n\n@cloud\n\nwhen flag clicked\nhide\nforever\n    go to [back v] layer\nend\n\nwhen I start as a clone\ngo to [back v] layer\nset [ghost v] effect to (10)\nshow\nswitch costume to (pick random (1) to (4))\ngo to x: (-500) y: (pick random (100) to (130))\nglide (pick random (3) to (6)) secs to x: (350) y: (y position)\ndelete this clone\n\nwhen backdrop switches to [level 60 v]\nforever\n    create clone of (_myself_ v)\n    wait (2) seconds\nend\n\n@restart\n\nwhen flag clicked\nchange [ghost v] effect by (100)\n\nwhen I receive [restart v]\nchange [ghost v] effect by (-20)\nwait (0.10) seconds\nchange [ghost v] effect by (-20)\nwait (0.10) seconds\nchange [ghost v] effect by (-20)\nwait (0.10) seconds\nchange [ghost v] effect by (-20)\nwait (0.10) seconds\nchange [ghost v] effect by (-20)\nwait (0.10) seconds\nchange [ghost v] effect by (20)\nwait (0.10) seconds\nchange [ghost v] effect by (20)\nwait (0.10) seconds\nchange [ghost v] effect by (20)\nwait (0.10) seconds\nchange [ghost v] effect by (20)\nwait (0.10) seconds\nchange [ghost v] effect by (20)\n\n@enemy left/right\n\nwhen flag clicked\nswitch costume to (right v)\ngo to [back v] layer\nhide\n\nwhen backdrop switches to [level 61 v]\nshow\nforever\n    wait (5) seconds\n    next costume\nend\n\n