Mountain Platformer

Instructions: [ [FULLSCREEN HIGHLY RECOMMENDED] ]\n-0-0-0-0-0-0-0-0-0-0-0-0-0-0-\nCONTROLS (PC&MOBILE):\n-- MOBILE -- \n- Hold left or right of the screen (not the character) to move left or right\n- Press or hold the top of the screen to jump and the top corners to jump diagonally\n- Press the 'R' button at the bottom left corner of the screen to restart\n- To completely reset the level (in case it glitches), press the 'Reset' button in the bottom right corner of the screen (Please don't take advantage of this to avoid death)\n- Circle music note button to mute/unmute music\n- Skip button to skip current level (does not save highscore)\n-- PC --\n- WASD or Arrow Keys to move (like most platformers). \n- Use 'R' to restart (it kills you). \n- B + N to completely reset the level if the layers get glitched or something (Please don't take advantage of this to avoid death)\n- M to mute/unmute the music\n- P to skip level (does not set high score)\n-0-0-0-0-0-0-0-0-0-0-0-0-0-0-\nJourney across the pillars, trying to fall safely to the next level through a cloud. Avoid falling to your death or being impaled by sharp spikes, as you try your best to make it to the end. But as you progress, the levels become harder and harder...\n-0-0-0-0-0-0-0-0-0-0-0-0-0-0-\n-> ALL LEVELS ARE POSSIBLE, EVEN IF THEY APPEAR TO BE IMPOSSIBLE <-\n(I have tested it multiple times and completed the game in 17mins 33secs with 115 deaths, PC version, before update 03/1/19)\n- Post your time and deaths in the comments below, if you can complete it...\n-0-0-0-0-0-0-0-0-0-0-0-0-0-0-\nHOW TO PLAY:\n- Avoid falling into the abyss below \n- If you die or press 'R', you will respawn within a few seconds at the start of the level \n- To make it to the next level, you need to touch the cloud\n- There are no walls and you are able able to jump through platforms\n- The 'Abyss' is a thin, see through bar at the bottom of the screen. If you die even though "[you] touched the cloud first", it's probably because you actually hit the 'Abyss' first.\n- Your backpack counts as you\n-0-0-0-0-0-0-0-0-0-0-0-0-0-0-

@Stage\n\nwhen flag clicked\nswitch backdrop to (controls v)\n\nwhen flag clicked\nforever\n    if <(START2) = [1]> then\n        switch backdrop to (customisation v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(START1) = [1]> then\n        switch backdrop to (character v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [begin v]\nswitch backdrop to (sky v)\n\n@MainCharacter\n\nwhen I receive [begin v]\nwait (0.1) seconds\nforever\n    if <(Device?) = [2]> then\n        if <(START3) = [1]> then\n            if <(Death) = [0]> then\n                if <(TouchingGround?) = [1]> then\n                    if <(TouchingJump) = [1]> then\n                        repeat (15)\n                            if <(Death) = [0]> then\n                                change y by (4)\n                            end\n                        end\n                    end\n                else\n                    repeat until <(TouchingGround?) = [1]>\n                        if <(Death) = [0]> then\n                            change y by (-5)\n                        end\n                    end\n                end\n            else\n                wait (0.01) seconds\n            end\n        end\n    end\n    if <(Device?) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [begin v]\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [1]> then\n            if <(Death) = [0]> then\n                if <(TouchingGround?) = [1]> then\n                    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                        repeat (15)\n                            if <(Death) = [0]> then\n                                change y by (4)\n                            end\n                        end\n                    end\n                else\n                    repeat until <(TouchingGround?) = [1]>\n                        if <(Death) = [0]> then\n                            change y by (-5)\n                        end\n                    end\n                end\n            else\n                wait (0.01) seconds\n            end\n        end\n        if <(Device?) = [2]> then\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [begin v]\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (1) seconds\n        forever\n            if <(Device?) = [1]> then\n                if <key (r v) pressed?> then\n                    if <(Death) = [0]> then\n                        broadcast (OOF v)\n                        set [death v] to [1]\n                        wait (5) seconds\n                    end\n                end\n            end\n            if <(Device?) = [2]> then\n                if <(Mobile-Respawn) = [1]> then\n                    if <(Death) = [0]> then\n                        broadcast (OOF v)\n                        set [death v] to [1]\n                        wait (5) seconds\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [begin v]\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        forever\n            if <(Death) = [0]> then\n                if <(Device?) = [1]> then\n                    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n                        switch costume to (character-l v)\n                        change x by (-3)\n                        set [facingright? v] to [0]\n                    end\n                end\n                if <(Device?) = [2]> then\n                    if <<<mouse down?> and <(TouchingLeft) = [1]>> and <(TouchingButton1) = [0]>> then\n                        switch costume to (character-l v)\n                        change x by (-3)\n                        set [facingright? v] to [0]\n                    end\n                end\n                if <(Device?) = [1]> then\n                    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n                        switch costume to (character-r v)\n                        change x by (3)\n                        set [facingright? v] to [1]\n                    end\n                end\n                if <(Device?) = [2]> then\n                    if <<<mouse down?> and <(TouchingRight) = [1]>> and <(TouchingButton1) = [0]>> then\n                        switch costume to (character-r v)\n                        change x by (3)\n                        set [facingright? v] to [1]\n                    end\n                end\n            else\n                wait (0.01) seconds\n            end\n        end\n    end\nend\n\nwhen I receive [begin v]\nwait (1) seconds\nforever\n    if <<(START3) = [1]> and <(Death) = [0]>> then\n        if <(Device?) = [1]> then\n            if <key (b v) pressed?> then\n                if <key (n v) pressed?> then\n                    if <(Level) = [10]> then\n                        GoToLevel10\n                        wait (1) seconds\n                    end\n                    if <(Level) = [9]> then\n                        GoToLevel9\n                        wait (1) seconds\n                    end\n                    if <(Level) = [8]> then\n                        GoToLevel8\n                        wait (1) seconds\n                    end\n                    if <(Level) = [7]> then\n                        GoToLevel7\n                        wait (1) seconds\n                    end\n                    if <(Level) = [6]> then\n                        GoToLevel6\n                        wait (1) seconds\n                    end\n                    if <(Level) = [5]> then\n                        GoToLevel5\n                        wait (1) seconds\n                    end\n                    if <(Level) = [4]> then\n                        GoToLevel4\n                        wait (1) seconds\n                    end\n                    if <(Level) = [3]> then\n                        GoToLevel3\n                        wait (1) seconds\n                    end\n                    if <(Level) = [2]> then\n                        GoToLevel2\n                        wait (1) seconds\n                    end\n                    if <(Level) = [1]> then\n                        GoToLevel1\n                        wait (1) seconds\n                    end\n                end\n            end\n        end\n        if <(Device?) = [2]> then\n            if <(Mobile-Reset) = [1]> then\n                broadcast (RESET v)\n                if <(Level) = [10]> then\n                    GoToLevel10\n                    wait (1) seconds\n                end\n                if <(Level) = [9]> then\n                    GoToLevel9\n                    wait (1) seconds\n                end\n                if <(Level) = [8]> then\n                    GoToLevel8\n                    wait (1) seconds\n                end\n                if <(Level) = [7]> then\n                    GoToLevel7\n                    wait (1) seconds\n                end\n                if <(Level) = [6]> then\n                    GoToLevel6\n                    wait (1) seconds\n                end\n                if <(Level) = [5]> then\n                    GoToLevel5\n                    wait (1) seconds\n                end\n                if <(Level) = [4]> then\n                    GoToLevel4\n                    wait (1) seconds\n                end\n                if <(Level) = [3]> then\n                    GoToLevel3\n                    wait (1) seconds\n                end\n                if <(Level) = [2]> then\n                    GoToLevel2\n                    wait (1) seconds\n                end\n                if <(Level) = [1]> then\n                    GoToLevel1\n                    wait (1) seconds\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [begin v]\nwait (1) seconds\nforever\n    if <(Device?) = [1]> then\n        if <(START3) = [1]> then\n            if <(Death) = [0]> then\n                if <not <(Level) = [11]>> then\n                    if <key (p v) pressed?> then\n                        change [skip v] by (1)\n                        if <(Level) = [10]> then\n                            FinishGame\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [9]> then\n                            GoToLevel10\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [8]> then\n                            GoToLevel9\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [7]> then\n                            GoToLevel8\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [6]> then\n                            GoToLevel7\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [5]> then\n                            GoToLevel6\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [4]> then\n                            GoToLevel5\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [3]> then\n                            GoToLevel4\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [2]> then\n                            GoToLevel3\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [1]> then\n                            GoToLevel2\n                            wait (0.5) seconds\n                        end\n                        wait until <not <key (p v) pressed?>>\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [begin v]\nwait (1) seconds\nif <(username) = [Ross42867]> then\n    forever\n        if <(START3) = [1]> then\n            if <(Death) = [0]> then\n                if <not <(Level) = [11]>> then\n                    if <key (l v) pressed?> then\n                        set [deathsnc v] to [428676824286768242867682428676824]\n                        set [minsnc v] to [428676824286768242867682428676824]\n                        set [secsnc v] to [42.867]\n                        if <(Level) = [10]> then\n                            FinishGame\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [9]> then\n                            GoToLevel10\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [8]> then\n                            GoToLevel9\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [7]> then\n                            GoToLevel8\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [6]> then\n                            GoToLevel7\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [5]> then\n                            GoToLevel6\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [4]> then\n                            GoToLevel5\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [3]> then\n                            GoToLevel4\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [2]> then\n                            GoToLevel3\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [1]> then\n                            GoToLevel2\n                            wait (0.5) seconds\n                        end\n                        wait until <not <key (l v) pressed?>>\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [begin v]\nwait (1) seconds\nforever\n    if <(Device?) = [2]> then\n        if <(START3) = [1]> then\n            if <(Death) = [0]> then\n                if <not <(Level) = [11]>> then\n                    if <(SkipToNextLVL) = [1]> then\n                        change [skip v] by (1)\n                        if <(Level) = [10]> then\n                            FinishGame\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [9]> then\n                            GoToLevel10\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [8]> then\n                            GoToLevel9\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [7]> then\n                            GoToLevel8\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [6]> then\n                            GoToLevel7\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [5]> then\n                            GoToLevel6\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [4]> then\n                            GoToLevel5\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [3]> then\n                            GoToLevel4\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [2]> then\n                            GoToLevel3\n                            wait (0.5) seconds\n                        end\n                        if <(Level) = [1]> then\n                            GoToLevel2\n                            wait (0.5) seconds\n                        end\n                        wait until <(SkipToNextLVL) = [0]>\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        set [secsnc v] to [0]\n        repeat until <(Level) = [11]>\n            wait (1) seconds\n            if <(Level) = [11]> then\n                stop [this script v]\n            end\n            change [secsnc v] by (1)\n        end\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\nswitch costume to (character-r v)\ngo to x: (0) y: (150)\nset size to (250) %\npoint in direction (90)\nforever\n    set [ghost v] effect to (100)\nend\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    repeat until <(Respawning) = [1]>\n        go to [front v] layer\n        turn right (3) degrees\n    end\n    stop [this script v]\nend\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    set [xvelocitydeath v] to [2]\n    repeat (2)\n        change x by (XVelocityDeath)\n    end\n    forever\n        change x by (XVelocityDeath)\n        change [xvelocitydeath v] by (-0.01)\n        if <<(XVelocityDeath) < [0]> or <(XVelocityDeath) = [0]>> then\n            repeat until <(Respawning) = [1]>\n                wait (0.01) seconds\n            end\n            stop [this script v]\n        end\n        if <(Respawning) = [1]> then\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    wait (0.5) seconds\n    repeat (10)\n        wait (0.01) seconds\n    end\n    set [respawning v] to [1]\n    wait (0.5) seconds\n    set [respawning v] to [0]\n    broadcast (Respawn.. v)\n    stop [this script v]\nend\n\nwhen I receive [respawn.. v]\nwait (0.2) seconds\nchange [deathsnc v] by (1)\nif <(Level) = [10]> then\n    go to x: (-230) y: (190)\n    broadcast (Respawn2... v)\nend\nif <(Level) = [9]> then\n    go to x: (-210) y: (190)\n    broadcast (Respawn2... v)\nend\nif <(Level) = [8]> then\n    go to x: (240) y: (200)\n    broadcast (Respawn2... v)\nend\nif <(Level) = [7]> then\n    go to x: (-125) y: (165)\n    broadcast (Respawn2... v)\nend\nif <(Level) = [6]> then\n    go to x: (-125) y: (165)\n    broadcast (Respawn2... v)\nend\nif <(Level) = [5]> then\n    go to x: (-165) y: (165)\n    broadcast (Respawn2... v)\nend\nif <(Level) = [4]> then\n    go to x: (-220) y: (150)\n    broadcast (Respawn2... v)\nend\nif <(Level) = [3]> then\n    go to x: (-125) y: (165)\n    broadcast (Respawn2... v)\nend\nif <(Level) = [2]> then\n    go to x: (-125) y: (165)\n    broadcast (Respawn2... v)\nend\nif <(Level) = [1]> then\n    go to x: (0) y: (165)\n    broadcast (Respawn2... v)\nend\nwait (0.1) seconds\nset [death v] to [0]\nset size to (250) %\npoint in direction (90)\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    set [yvelocity-death v] to [1]\n    repeat (30)\n        change y by (YVelocity-Death)\n        change [yvelocity-death v] by (-0.1)\n        if <(Respawning) = [1]> then\n            stop [this script v]\n        end\n    end\n    set [yvelocity-death v] to [-2]\n    forever\n        change y by (YVelocity-Death)\n        if <(Respawning) = [1]> then\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nset [start3 v] to [0]\nset [start1 v] to [0]\nset [death v] to [0]\nset [level v] to [0]\nset [respawning v] to [0]\nset [deathsnc v] to [0]\nset [minsnc v] to [0]\nset [secsnc v] to [0]\nset [touchingground? v] to [0]\nset [facingright? v] to [0]\nset [start2 v] to [0]\nset [skip v] to [0]\nhide variable [skip v]\nhide variable [minsnc v]\nhide variable [secsnc v]\nhide variable [deathsnc v]\nhide variable [start1 v]\nhide variable [start3 v]\nhide variable [touchingground? v]\nhide variable [facingright? v]\nhide variable [start2 v]\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <touching (void v)?> then\n            if <(Death) = [0]> then\n                broadcast (OOF v)\n                set [death v] to [1]\n                broadcast (TouchedVoid v)\n                repeat (30)\n                    change y by (3)\n                end\n                wait (3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        if <(Death) = [0]> then\n            if <touching (cloud v)?> then\n                if <(Level) = [10]> then\n                    FinishGame\n                end\n                if <(Level) = [9]> then\n                    GoToLevel10\n                end\n                if <(Level) = [8]> then\n                    GoToLevel9\n                end\n                if <(Level) = [7]> then\n                    GoToLevel8\n                end\n                if <(Level) = [6]> then\n                    GoToLevel7\n                end\n                if <(Level) = [5]> then\n                    GoToLevel6\n                end\n                if <(Level) = [4]> then\n                    GoToLevel5\n                end\n                if <(Level) = [3]> then\n                    GoToLevel4\n                end\n                if <(Level) = [2]> then\n                    GoToLevel3\n                end\n                if <(Level) = [1]> then\n                    GoToLevel2\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Death) = [0]> then\n        if <<touching (spike1 v)?> or <touching (spike2 v)?>> then\n            DieFromThis\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Death) = [0]> then\n        if <<touching (biggerspike1 v)?> or <touching (biggerspike2 v)?>> then\n            DieFromThis\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Death) = [0]> then\n        if <<touching (spike3 v)?> or <touching (spike4 v)?>> then\n            DieFromThis\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Death) = [0]> then\n        if <<touching (biggerspike3 v)?> or <touching (biggerspike4 v)?>> then\n            DieFromThis\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Death) = [0]> then\n        if <<touching (spike5 v)?> or <touching (spike6 v)?>> then\n            DieFromThis\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Death) = [0]> then\n        if <<touching (biggerspike5 v)?> or <touching (biggerspike6 v)?>> then\n            DieFromThis\n        end\n    end\nend\n\ndefine DieFromThis\nbroadcast (OOF v)\nset [death v] to [1]\nwait (1) seconds\n\ndefine NewLevelSpawn\nset size to (250) %\npoint in direction (90)\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <<(secsNC) = [60]> or <(secsNC) > [60]>> then\n            set [secsnc v] to [0]\n            change [minsnc v] by (1)\n        end\n    end\nend\n\nwhen flag clicked\nif <(START3) = [1]> then\n    repeat until <(Level) = [11]>\n        go to [front v] layer\n    end\n    go to [back v] layer\n    hide\n    forever\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Death) = [0]> then\n        if <<touching (biggerspike7 v)?> or <touching (biggerspike8 v)?>> then\n            DieFromThis\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Death) = [0]> then\n        if <touching (spike7 v)?> then\n            DieFromThis\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Death) = [0]> then\n        if <<touching (biggerspike9 v)?> or <touching (biggerspike10 v)?>> then\n            DieFromThis\n        end\n    end\nend\n\ndefine GoToLevel2\nset [level v] to [2]\nbroadcast (1stLevelDone v)\ngo to x: (-125) y: (200)\nNewLevelSpawn\n\ndefine GoToLevel3\nset [level v] to [3]\nbroadcast (2ndLevelDone v)\ngo to x: (-125) y: (200)\nNewLevelSpawn\n\ndefine GoToLevel4\nset [level v] to [4]\nbroadcast (3rdLevelDone v)\ngo to x: (-220) y: (200)\nNewLevelSpawn\n\ndefine GoToLevel5\nset [level v] to [5]\nbroadcast (4thLevelDone v)\ngo to x: (-165) y: (200)\nNewLevelSpawn\n\ndefine GoToLevel6\nset [level v] to [6]\nbroadcast (5thLevelDone v)\ngo to x: (-125) y: (200)\nNewLevelSpawn\n\ndefine GoToLevel7\nset [level v] to [7]\nbroadcast (6thLevelDone v)\ngo to x: (-125) y: (200)\nNewLevelSpawn\n\ndefine GoToLevel8\nset [level v] to [8]\nbroadcast (7thLevelDone v)\ngo to x: (240) y: (200)\nNewLevelSpawn\n\ndefine GoToLevel9\nset [level v] to [9]\nbroadcast (8thLevelDone v)\ngo to x: (-210) y: (200)\nNewLevelSpawn\n\ndefine GoToLevel10\nset [level v] to [10]\nbroadcast (9thLevelDone v)\ngo to x: (-240) y: (200)\nNewLevelSpawn\n\ndefine FinishGame\nset [level v] to [11]\nbroadcast (10thLevelDone v)\ngo to x: (-125) y: (200)\nNewLevelSpawn\nhide\n\nwhen flag clicked\nforever\n    if <(Death) = [0]> then\n        if <touching (biggerspike11 v)?> then\n            DieFromThis\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Level) = [1]> then\n            show\n            switch costume to (character-l v)\n            stop [this script v]\n        end\n    end\nend\n\ndefine GoToLevel1\nset [level v] to [1]\nbroadcast (BEGIN v)\nbroadcast (Reset1stLevel v)\ngo to x: (0) y: (200)\nNewLevelSpawn\n\nif <key (o v) pressed?> then\n    if <(Level) = [10]> then\n        GoToLevel9\n        wait (0.5) seconds\n    end\n    if <(Level) = [9]> then\n        GoToLevel8\n        wait (0.5) seconds\n    end\n    if <(Level) = [8]> then\n        GoToLevel7\n        wait (0.5) seconds\n    end\n    if <(Level) = [7]> then\n        GoToLevel6\n        wait (0.5) seconds\n    end\n    if <(Level) = [6]> then\n        GoToLevel5\n        wait (0.5) seconds\n    end\n    if <(Level) = [5]> then\n        GoToLevel4\n        wait (0.5) seconds\n    end\n    if <(Level) = [4]> then\n        GoToLevel3\n        wait (0.5) seconds\n    end\n    if <(Level) = [3]> then\n        GoToLevel2\n        wait (0.5) seconds\n    end\n    if <(Level) = [2]> then\n        GoToLevel1\n        wait (0.5) seconds\n    end\n    wait until <not <key (o v) pressed?>>\nend\n\n@Cloud\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.05) seconds\n        go to [front v] layer\n        show\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\n\nwhen I receive [1stleveldone v]\ngo to x: (70) y: (-160)\nshow\n\nwhen I receive [2ndleveldone v]\ngo to x: (270) y: (-160)\nshow\n\nwhen I receive [3rdleveldone v]\ngo to x: (0) y: (-160)\nshow\n\nwhen I receive [5thleveldone v]\ngo to x: (85) y: (-160)\nshow\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [4thleveldone v]\ngo to x: (0) y: (-160)\nshow\n\nwhen I receive [6thleveldone v]\ngo to x: (-200) y: (-160)\nshow\n\nwhen I receive [8thleveldone v]\ngo to x: (-162) y: (-160)\nshow\n\nwhen I receive [9thleveldone v]\ngo to x: (-135) y: (-160)\nshow\n\nwhen I receive [customdone v]\ngo to x: (50) y: (-160)\n\nwhen I receive [7thleveldone v]\ngo to x: (-200) y: (-160)\nshow\n\nwhen I receive [begin v]\nshow\n\nwhen I receive [reset1stlevel v]\ngo to x: (50) y: (-160)\n\n@Pad1\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Level) = [1]> then\n            show\n            switch costume to (normal v)\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [1stleveldone v]\ngo to x: (-125) y: (-60)\nswitch costume to (normal v)\nshow\nwait (0.25) seconds\ngo to [back v] layer\n\nwhen I receive [2ndleveldone v]\ngo to x: (-125) y: (-60)\nswitch costume to (normal v)\nshow\n\nwhen I receive [3rdleveldone v]\ngo to x: (-35) y: (-100)\nswitch costume to (long v)\nshow\n\nwhen I receive [4thleveldone v]\ngo to x: (-125) y: (-60)\nswitch costume to (normal v)\nshow\n\nwhen I receive [5thleveldone v]\ngo to x: (-125) y: (-60)\nswitch costume to (normal v)\nshow\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [7thleveldone v]\ngo to x: (285) y: (-35)\nswitch costume to (normal v)\nshow\n\nwhen I receive [8thleveldone v]\ngo to x: (-10) y: (-60)\nswitch costume to (long v)\nshow\nwait (0.3) seconds\ngo to [back v] layer\n\nwhen I receive [9thleveldone v]\ngo to x: (-275) y: (-40)\nswitch costume to (normal v)\nshow\nwait (0.3) seconds\ngo to [back v] layer\n\nwhen I receive [customdone v]\ngo to x: (0) y: (-60)\nswitch costume to (normal v)\nwait (0.25) seconds\ngo to [back v] layer\n\nwhen I receive [6thleveldone v]\ngo to x: (-125) y: (-60)\nswitch costume to (normal v)\nshow\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\n\nwhen I receive [begin v]\nshow\n\nwhen I receive [reset1stlevel v]\ngo to x: (0) y: (-60)\nswitch costume to (normal v)\nwait (0.25) seconds\ngo to [back v] layer\n\n@Pad2\n\nwhen I receive [1stleveldone v]\ngo to x: (40) y: (-110)\nswitch costume to (normal v)\nshow\nwait (0.2) seconds\ngo to [back v] layer\n\nwhen I receive [2ndleveldone v]\ngo to x: (-35) y: (-180)\nswitch costume to (normal v)\nshow\n\nwhen I receive [3rdleveldone v]\ngo to x: (185) y: (-230)\nswitch costume to (normal v)\nshow\n\nwhen I receive [5thleveldone v]\ngo to x: (-30) y: (-100)\nswitch costume to (normal v)\nshow\n\nwhen I receive [6thleveldone v]\ngo to x: (0) y: (-90)\nswitch costume to (normal v)\nshow\n\nwhen I receive [4thleveldone v]\ngo to x: (70) y: (-60)\nswitch costume to (normal v)\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [7thleveldone v]\ngo to x: (55) y: (-35)\nswitch costume to (normal v)\nshow\nwait (0.45) seconds\ngo to [back v] layer\n\nwhen I receive [8thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (-81) y: (-42)\nswitch costume to (normal v)\nshow\nwait (0.3) seconds\ngo to [back v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        switch costume to (normal v)\n        show\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\n\nwhen I receive [customdone v]\ngo to x: (155) y: (-100)\nswitch costume to (normal v)\nwait (0.2) seconds\ngo to [back v] layer\n\nwhen I receive [begin v]\nshow\n\nwhen I receive [reset1stlevel v]\ngo to x: (155) y: (-100)\nswitch costume to (normal v)\nwait (0.2) seconds\ngo to [back v] layer\n\n@Pad3\n\nwhen I receive [1stleveldone v]\ngo to x: (205) y: (-160)\nswitch costume to (normal v)\nshow\n\nwhen I receive [2ndleveldone v]\ngo to x: (135) y: (-130)\nswitch costume to (normal v)\nshow\n\nwhen I receive [3rdleveldone v]\nhide\n\nwhen I receive [4thleveldone v]\ngo to x: (260) y: (-175)\nswitch costume to (normal v)\nshow\n\nwhen I receive [6thleveldone v]\ngo to x: (-35) y: (-130)\nswitch costume to (long v)\nshow\n\nwhen I receive [5thleveldone v]\ngo to x: (65) y: (-140)\nswitch costume to (normal v)\nshow\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [7thleveldone v]\nhide\n\nwhen I receive [8thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (-118) y: (-124)\nswitch costume to (long v)\nshow\nwait (0.25) seconds\ngo to [back v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        switch costume to (normal v)\n        show\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\n\nwhen I receive [customdone v]\ngo to x: (75) y: (-140)\nswitch costume to (normal v)\nwait (0.15) seconds\ngo to [back v] layer\n\nwhen I receive [begin v]\nshow\n\nwhen I receive [reset1stlevel v]\ngo to x: (75) y: (-140)\nswitch costume to (normal v)\nwait (0.15) seconds\ngo to [back v] layer\n\n@Pad4\n\nwhen I receive [1stleveldone v]\ngo to x: (40) y: (-210)\nswitch costume to (normal v)\nshow\nwait (0.1) seconds\ngo to [back v] layer\n\nwhen I receive [2ndleveldone v]\nhide\n\nwhen I receive [3rdleveldone v]\nhide\n\nwhen I receive [5thleveldone v]\ngo to x: (160) y: (-180)\nswitch costume to (normal v)\nshow\n\nwhen I receive [6thleveldone v]\ngo to x: (110) y: (-290)\nswitch costume to (normal v)\nshow\n\nwhen I receive [4thleveldone v]\ngo to x: (-25) y: (-100)\nswitch costume to (normal v)\nshow\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [7thleveldone v]\ngo to x: (-160) y: (-289)\nswitch costume to (normal v)\nshow\nwait (0.1) seconds\ngo to [back v] layer\n\nwhen I receive [8thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (105) y: (-21)\nswitch costume to (normal v)\nshow\nwait (0.35) seconds\ngo to [back v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        switch costume to (normal v)\n        show\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\n\nwhen I receive [customdone v]\ngo to x: (165) y: (-180)\nswitch costume to (normal v)\nwait (0.1) seconds\ngo to [back v] layer\n\nwhen I receive [begin v]\nshow\n\nwhen I receive [reset1stlevel v]\ngo to x: (165) y: (-180)\nswitch costume to (normal v)\nwait (0.1) seconds\ngo to [back v] layer\n\nwhen I receive [5thleveldone v]\ngo [forward v] (7) layers\nforever\n    wait until <(Level) = [7]>\n    stop [this script v]\nend\n\n@Pad5\n\nwhen I receive [1stleveldone v]\ngo to x: (-125) y: (-260)\nswitch costume to (normal v)\nshow\ngo to [back v] layer\n\nwhen I receive [2ndleveldone v]\nhide\n\nwhen I receive [3rdleveldone v]\nhide\n\nwhen I receive [6thleveldone v]\ngo to x: (-85) y: (-290)\nswitch costume to (normal v)\nshow\n\nwhen I receive [5thleveldone v]\ngo to x: (200) y: (-300)\nswitch costume to (normal v)\nshow\n\nwhen I receive [4thleveldone v]\ngo to x: (-210) y: (-100)\nswitch costume to (normal v)\nshow\n\nwhen I receive [7thleveldone v]\ngo to x: (-30) y: (-333)\nswitch costume to (normal v)\nshow\nwait (0.05) seconds\ngo to [back v] layer\n\nwhen I receive [8thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (70) y: (-65)\nswitch costume to (normal v)\nshow\nwait (0.3) seconds\ngo to [back v] layer\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        switch costume to (normal v)\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\ngo to x: (95) y: (-265)\nswitch costume to (normal v)\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [begin v]\nshow\n\nwhen I receive [reset1stlevel v]\ngo to x: (95) y: (-265)\nswitch costume to (normal v)\n\nwhen I receive [5thleveldone v]\ngo [forward v] (8) layers\nforever\n    wait until <(Level) = [7]>\n    stop [this script v]\nend\n\n@Pad6\n\nwhen I receive [8thleveldone v]\ngo to x: (-62) y: (-20)\nswitch costume to (normal v)\nshow\nwait (0.35) seconds\ngo to [back v] layer\n\nwhen I receive [9thleveldone v]\ngo to x: (183) y: (-154)\nwait (0.2) seconds\nswitch costume to (normal v)\nshow\ngo to [back v] layer\n\nwhen flag clicked\nhide\n\nwhen I receive [7thleveldone v]\ngo to x: (-68) y: (-279)\nswitch costume to (normal v)\nshow\nwait (0.15) seconds\ngo to [back v] layer\n\nwhen I receive [begin v]\nhide\n\nwhen I receive [1stleveldone v]\nhide\n\nwhen I receive [2ndleveldone v]\nhide\n\nwhen I receive [3rdleveldone v]\nhide\n\nwhen I receive [4thleveldone v]\nhide\n\nwhen I receive [5thleveldone v]\nhide\n\nwhen I receive [6thleveldone v]\nhide\n\n@Pad7\n\nwhen I receive [8thleveldone v]\ngo to x: (105) y: (-210)\nswitch costume to (normal v)\nshow\nwait (0.15) seconds\ngo to [back v] layer\n\nwhen I receive [9thleveldone v]\ngo to x: (75) y: (-260)\nswitch costume to (normal v)\nshow\nwait (0.1) seconds\ngo to [back v] layer\n\nwhen I receive [begin v]\nhide\n\nwhen I receive [1stleveldone v]\nhide\n\nwhen I receive [2ndleveldone v]\nhide\n\nwhen I receive [3rdleveldone v]\nhide\n\nwhen I receive [4thleveldone v]\nhide\n\nwhen I receive [5thleveldone v]\nhide\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [7thleveldone v]\ngo to x: (-50) y: (-234)\nswitch costume to (normal v)\nshow\nwait (0.2) seconds\ngo to [back v] layer\n\n@Pad8\n\nwhen I receive [8thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (105) y: (-345)\nswitch costume to (normal v)\nshow\nwait (0.05) seconds\ngo to [back v] layer\n\nwhen I receive [begin v]\nhide\n\nwhen I receive [1stleveldone v]\nhide\n\nwhen I receive [2ndleveldone v]\nhide\n\nwhen I receive [3rdleveldone v]\nhide\n\nwhen I receive [4thleveldone v]\nhide\n\nwhen I receive [5thleveldone v]\nhide\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [7thleveldone v]\ngo to x: (-41) y: (-183)\nswitch costume to (normal v)\nshow\nwait (0.25) seconds\ngo to [back v] layer\n\nwhen flag clicked\nhide\n\n@Pad9\n\nwhen I receive [8thleveldone v]\ngo to x: (-158) y: (-205)\nswitch costume to (normal v)\nshow\nwait (0.1) seconds\ngo to [back v] layer\n\nwhen I receive [9thleveldone v]\ngo to x: (-78) y: (-298)\nswitch costume to (normal v)\nshow\nwait (0.09) seconds\ngo to [back v] layer\n\nwhen I receive [1stleveldone v]\nhide\n\nwhen I receive [2ndleveldone v]\nhide\n\nwhen I receive [3rdleveldone v]\nhide\n\nwhen I receive [4thleveldone v]\nhide\n\nwhen I receive [5thleveldone v]\nhide\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [begin v]\nhide\n\nwhen I receive [7thleveldone v]\ngo to x: (-25) y: (-130)\nswitch costume to (normal v)\nshow\nwait (0.3) seconds\ngo to [back v] layer\n\nwhen flag clicked\nhide\n\n@Pad10\n\nwhen I receive [8thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (-40) y: (-240)\nswitch costume to (normal v)\nshow\nwait (0.15) seconds\ngo to [back v] layer\n\nwhen I receive [begin v]\nhide\n\nwhen I receive [1stleveldone v]\nhide\n\nwhen I receive [2ndleveldone v]\nhide\n\nwhen I receive [3rdleveldone v]\nhide\n\nwhen I receive [4thleveldone v]\nhide\n\nwhen I receive [5thleveldone v]\nhide\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [7thleveldone v]\ngo to x: (4) y: (-82)\nswitch costume to (normal v)\nshow\nwait (0.35) seconds\ngo to [back v] layer\n\nwhen flag clicked\nhide\n\n@Pad11\n\nwhen I receive [8thleveldone v]\ngo to x: (-190) y: (-305)\nswitch costume to (normal v)\nshow\nwait (0.05) seconds\ngo to [back v] layer\n\nwhen I receive [7thleveldone v]\ngo to x: (-140) y: (-51)\nswitch costume to (normal v)\nshow\nwait (0.4) seconds\ngo to [back v] layer\n\nwhen I receive [begin v]\nhide\n\nwhen I receive [1stleveldone v]\nhide\n\nwhen I receive [2ndleveldone v]\nhide\n\nwhen I receive [3rdleveldone v]\nhide\n\nwhen I receive [4thleveldone v]\nhide\n\nwhen I receive [5thleveldone v]\nhide\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (-37) y: (-180)\nswitch costume to (normal v)\nshow\nwait (0.2) seconds\ngo to [back v] layer\n\nwhen flag clicked\nhide\n\n@Pad12\n\nwhen I receive [9thleveldone v]\ngo to x: (-249) y: (-300)\nswitch costume to (normal v)\nshow\nwait (0.1) seconds\ngo to [back v] layer\n\nwhen I receive [1stleveldone v]\nhide\n\nwhen I receive [2ndleveldone v]\nhide\n\nwhen I receive [3rdleveldone v]\nhide\n\nwhen I receive [4thleveldone v]\nhide\n\nwhen I receive [5thleveldone v]\nhide\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [7thleveldone v]\nhide\n\nwhen I receive [8thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [begin v]\nhide\n\nwhen flag clicked\nhide\n\n@Void\n\nwhen flag clicked\ngo to x: (0) y: (-177)\nset size to (110) %\nset [ghost v] effect to (70)\nwait (0.3) seconds\ngo to [back v] layer\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Level) = [1]> then\n            go to [front v] layer\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        go to [front v] layer\n        go [backward v] (3) layers\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        go to [front v] layer\n        go [backward v] (3) layers\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [8]> then\n        go to [front v] layer\n        go [backward v] (3) layers\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [9]> then\n        go to [front v] layer\n        go [backward v] (1) layers\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        go to [front v] layer\n        go [backward v] (3) layers\n        stop [this script v]\n    end\nend\n\nwhen I receive [begin v]\nshow\n\n@Spike1\n\nwhen I receive [3rdleveldone v]\ngo to [front v] layer\n\nwhen I receive [5thleveldone v]\ngo to x: (9) y: (85)\nshow\n\nwhen I receive [6thleveldone v]\ngo to x: (-43) y: (95)\nshow\n\nwhen I receive [4thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [7thleveldone v]\ngo to x: (9) y: (-148)\nshow\n\nwhen I receive [8thleveldone v]\ngo to x: (-189) y: (-120)\nshow\n\nwhen I receive [9thleveldone v]\ngo to x: (-115) y: (143)\nshow\n\nwhen I receive [3rdleveldone v]\nshow\n\nwhen flag clicked\ngo to x: (-140) y: (85)\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@Spike2\n\nwhen I receive [4thleveldone v]\ngo to x: (14) y: (86)\nshow\n\nwhen I receive [5thleveldone v]\ngo to x: (199) y: (5)\nshow\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [6thleveldone v]\ngo to x: (-2) y: (95)\nshow\n\nwhen I receive [7thleveldone v]\ngo to x: (-84) y: (2)\nshow\n\nwhen I receive [8thleveldone v]\ngo to x: (-157) y: (-20)\n\nwhen I receive [9thleveldone v]\ngo to x: (-48) y: (143)\nshow\n\nwhen I receive [3rdleveldone v]\nshow\n\nwhen flag clicked\ngo to x: (15) y: (85)\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@Spike3\n\nwhen I receive [5thleveldone v]\ngo to x: (-80) y: (82)\nset size to (15) %\nshow\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [4thleveldone v]\nshow\n\nwhen I receive [6thleveldone v]\nset size to (25) %\ngo to x: (39) y: (95)\nshow\n\nwhen I receive [7thleveldone v]\ngo to x: (-68) y: (55)\nshow\n\nwhen I receive [9thleveldone v]\nhide\n\nwhen I receive [8thleveldone v]\ngo to x: (-105) y: (165)\nshow\n\nwhen I receive [9thleveldone v]\ngo to x: (178) y: (31)\nshow\n\nwhen flag clicked\ngo to x: (-68) y: (86)\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@Spike4\n\nwhen I receive [5thleveldone v]\nset size to (15) %\ngo to x: (15) y: (42)\nshow\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [4thleveldone v]\nshow\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [7thleveldone v]\nset size to (25) %\ngo to x: (-39) y: (103)\nshow\n\nwhen I receive [8thleveldone v]\ngo to x: (46) y: (125)\nshow\n\nwhen I receive [9thleveldone v]\ngo to x: (65) y: (120)\nshow\n\nwhen flag clicked\ngo to x: (-171) y: (86)\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@Spike5\n\nwhen I receive [5thleveldone v]\nshow\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [7thleveldone v]\nset size to (25) %\ngo to x: (-93) y: (-49)\nshow\n\nwhen I receive [8thleveldone v]\ngo to x: (0) y: (125)\nshow\n\nwhen I receive [9thleveldone v]\ngo to x: (73) y: (-75)\nshow\n\nwhen flag clicked\ngo to x: (110) y: (2)\n\nwhen flag clicked\nset size to (15) %\n\nwhen flag clicked\nhide\n\n@Spike6\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (-83) y: (-113)\nshow\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@Spike7\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (-45) y: (-55)\nshow\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@BiggerSpike1\n\nwhen I receive [3rdleveldone v]\ngo to [front v] layer\n\nwhen flag clicked\ngo to x: (-120) y: (129)\n\nwhen I receive [5thleveldone v]\ngo to x: (-86) y: (129)\n\nwhen I receive [6thleveldone v]\ngo to x: (-110) y: (59)\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [4thleveldone v]\nshow\n\nwhen I receive [7thleveldone v]\ngo to x: (-121) y: (-100)\n\nwhen I receive [8thleveldone v]\ngo to x: (-151) y: (-116)\n\nwhen I receive [9thleveldone v]\ngo to x: (27) y: (124)\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@BiggerSpike2\n\nwhen I receive [4thleveldone v]\nshow\n\nwhen flag clicked\ngo to x: (70) y: (129)\n\nwhen I receive [6thleveldone v]\ngo to x: (128) y: (59)\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [5thleveldone v]\ngo to x: (104) y: (49)\n\nwhen I receive [7thleveldone v]\ngo to x: (-162) y: (-100)\n\nwhen I receive [8thleveldone v]\ngo to x: (-119) y: (-16)\n\nwhen I receive [9thleveldone v]\ngo to x: (140) y: (35)\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@BiggerSpike3\n\nwhen flag clicked\ngo to x: (157) y: (-111)\n\nwhen I receive [5thleveldone v]\nshow\n\nwhen I receive [6thleveldone v]\ngo to x: (149) y: (-101)\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [7thleveldone v]\ngo to x: (-203) y: (-100)\n\nwhen I receive [9thleveldone v]\nhide\n\nwhen I receive [8thleveldone v]\ngo to x: (-160) y: (129)\n\nwhen I receive [9thleveldone v]\ngo to x: (32) y: (-71)\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@BiggerSpike4\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [6thleveldone v]\ngo to x: (-127) y: (-101)\nshow\n\nwhen I receive [7thleveldone v]\ngo to x: (-142) y: (138)\nshow\n\nwhen I receive [8thleveldone v]\ngo to x: (-46) y: (129)\nshow\n\nwhen I receive [9thleveldone v]\ngo to x: (114) y: (-71)\nshow\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@BiggerSpike5\n\nwhen I receive [8thleveldone v]\ngo to x: (153) y: (129)\nshow\n\nwhen I receive [9thleveldone v]\ngo to x: (45) y: (65)\nshow\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@BiggerSpike6\n\nwhen I receive [8thleveldone v]\ngo to x: (144) y: (-21)\nshow\n\nwhen I receive [9thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (144) y: (-156)\nshow\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@BiggerSpike7\n\nwhen I receive [9thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (32) y: (-71)\nshow\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\n@BiggerSpike8\n\nwhen I receive [9thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (-121) y: (-109)\nshow\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\n@BiggerSpike9\n\nwhen I receive [9thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (-83) y: (-51)\nshow\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@BiggerSpike10\n\nwhen I receive [9thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (2) y: (9)\nshow\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@BiggerSpike11\n\nwhen I receive [9thleveldone v]\nhide\n\nwhen I receive [9thleveldone v]\ngo to x: (-210) y: (-111)\nshow\n\nwhen I receive [6thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen flag clicked\nset size to (25) %\n\nwhen flag clicked\nhide\n\n@GOAL:\n\nwhen I receive [1stleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        go to [back v] layer\n        stop [this script v]\n    end\nend\n\nwhen I receive [begin v]\nshow\n\n@CONTROLS\n\nwhen I receive [1stleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        go to [back v] layer\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Device?) = [1]> then\n        go to x: (50) y: (140)\n        switch costume to (costume1 v)\n        stop [this script v]\n    end\n    if <(Device?) = [2]> then\n        set size to (90) %\n        go to x: (95) y: (145)\n        switch costume to (costume2 v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset [device? v] to [0]\n\nwhen I receive [begin v]\nshow\n\n@CONTROLS2\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Device?) = [1]> then\n        hide\n        stop [this script v]\n    end\n    if <(Device?) = [2]> then\n        set size to (90) %\n        go to x: (70) y: (115)\n        switch costume to (mobilejumpdiagonally v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [3rdleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Level) = [3]> then\n            if <(Device?) = [2]> then\n                go to [back v] layer\n                show\n                stop [this script v]\n            end\n        end\n    end\nend\n\n@AVOID1\n\nwhen I receive [1stleveldone v]\nhide\n\nwhen flag clicked\ngo to x: (-220) y: (-125)\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        go to [back v] layer\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [begin v]\nshow\n\n@AVOID2\n\nwhen flag clicked\nhide\n\nwhen I receive [3rdleveldone v]\nshow\n\nwhen I receive [4thleveldone v]\nhide\n\nwhen flag clicked\ngo to x: (55) y: (150)\n\nwhen I receive [10thleveldone v]\nhide\n\n@'R'=RESET\n\nwhen flag clicked\nhide\n\nwhen I receive [1stleveldone v]\nshow\n\nwhen flag clicked\ngo to x: (115) y: (130)\n\nwhen I receive [2ndleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\n@LEVEL\n\nwhen I receive [1stleveldone v]\nswitch costume to (lvl.2 v)\n\nwhen flag clicked\ngo to x: (-220) y: (155)\n\nwhen I receive [2ndleveldone v]\nswitch costume to (lvl.3 v)\n\nwhen I receive [3rdleveldone v]\nswitch costume to (lvl.4 v)\n\nwhen I receive [4thleveldone v]\nswitch costume to (lvl.5 v)\n\nwhen I receive [5thleveldone v]\nswitch costume to (lvl.6 v)\n\nwhen I receive [6thleveldone v]\nswitch costume to (lvl.7 v)\n\nwhen I receive [7thleveldone v]\nswitch costume to (lvl.8 v)\n\nwhen I receive [8thleveldone v]\nswitch costume to (lvl.9 v)\n\nwhen I receive [9thleveldone v]\nswitch costume to (lvl.10 v)\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen I receive [10thleveldone v]\nhide\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        go to [back v] layer\n        switch costume to (lvl.1 v)\n        show\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\n@THUMBNAIL\n\nwhen flag clicked\nclear graphic effects\nset [ghost v] effect to (100)\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@WinScreen\n\nwhen flag clicked\nswitch costume to (realwinscreen v)\nhide\nforever\n    if <(Skip) = [0]> then\n        switch costume to (realwinscreen v)\n    else\n        switch costume to (skipwinscreen v)\n    end\nend\n\nwhen I receive [10thleveldone v]\nshow\nshow variable [minsnc v]\nshow variable [secsnc v]\nshow variable [deathsnc v]\nif <not <(Skip) = [0]>> then\n    show variable [skip v]\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\n@MOBILE?\n\nwhen flag clicked\ngo to x: (230) y: (0)\nset size to (100) %\nshow\n\nwhen this sprite clicked\nset [start1 v] to [1]\n\nwhen flag clicked\nforever\n    if <(START1) = [1]> then\n        hide\n        stop [this script v]\n    end\nend\n\nwhen this sprite clicked\nset [device? v] to [2]\n\nwhen flag clicked\nrepeat until <(START1) = [1]>\n    if <touching (mouse-pointer v)?> then\n        switch costume to (selected v)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        switch costume to (not v)\n    end\nend\nif <(Device?) = [2]> then\n    switch costume to (selected v)\nelse\n    switch costume to (not v)\nend\n\n@PC?\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (100) %\nshow\n\nwhen this sprite clicked\nset [start1 v] to [1]\n\nwhen flag clicked\nforever\n    if <(START1) = [1]> then\n        hide\n        stop [this script v]\n    end\nend\n\nwhen this sprite clicked\nset [device? v] to [1]\n\nwhen flag clicked\nrepeat until <(START1) = [1]>\n    if <touching (mouse-pointer v)?> then\n        switch costume to (selected v)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        switch costume to (not v)\n    end\nend\nif <(Device?) = [1]> then\n    switch costume to (selected v)\nelse\n    switch costume to (not v)\nend\n\n@Mobile-Restart\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [1]> then\n            stop [this script v]\n        end\n        if <(Device?) = [2]> then\n            forever\n                go to [front v] layer\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nrepeat until <(START3) = [1]>\n    hide\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [1]> then\n            stop [this script v]\n        end\n        if <(Device?) = [2]> then\n            if <(Level) = [2]> then\n                show\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\ngo to x: (-205) y: (-150)\nset size to (100) %\nset [ghost v] effect to (80)\n\nwhen this sprite clicked\nrepeat until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n    set [mobile-respawn v] to [1]\n    switch costume to (pressed v)\nend\nset [mobile-respawn v] to [0]\nswitch costume to (notpressed v)\n\nwhen flag clicked\nforever\n    if <<<touching (mouse-pointer v)?> or <(TouchingButton2) = [1]>> or <<(TouchingMusicButton?) = [1]> or <(TouchingButton4) = [1]>>> then\n        set [touchingbutton1 v] to [1]\n    else\n        set [touchingbutton1 v] to [0]\n    end\nend\n\nwhen flag clicked\nset [touchingbutton1 v] to [0]\nset [mobile-respawn v] to [0]\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\n@Mobile-Reset\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set [touchingbutton2 v] to [1]\n    else\n        set [touchingbutton2 v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen this sprite clicked\nrepeat until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n    set [mobile-reset v] to [1]\n    switch costume to (pressed v)\nend\nset [mobile-reset v] to [0]\nswitch costume to (notpressed v)\n\nwhen flag clicked\nset [mobile-reset v] to [0]\n\nwhen flag clicked\nset [touchingbutton2 v] to [0]\n\nwhen flag clicked\ngo to x: (205) y: (-160)\nset size to (100) %\nset [ghost v] effect to (80)\n\nwhen flag clicked\nwait (0.1) seconds\nrepeat until <(START3) = [1]>\n    hide\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [1]> then\n            stop [this script v]\n        end\n        if <(Device?) = [2]> then\n            if <(Level) = [1]> then\n                show\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [1]> then\n            stop [this script v]\n        end\n        if <(Device?) = [2]> then\n            forever\n                go to [front v] layer\n            end\n        end\n    end\nend\n\n@GirlOption\n\nwhen flag clicked\ngo to x: (70) y: (100)\nset size to (750) %\nhide\nswitch costume to (not v)\n\nwhen this sprite clicked\nset [start2 v] to [1]\nset [eyecolo\(u\)r v] to [2]\nset [hairshape v] to [3]\nset [haircolo\(u\)r v] to [1]\nset [backpackcolo\(u\)r v] to [2]\nset [shirtcolo\(u\)r v] to [2]\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START1) = [1]> then\n        show\n        forever\n            if <touching (mouse-pointer v)?> then\n                switch costume to (selected v)\n            else\n                if <not <<(HairShape) = [3]> and <(START2) = [1]>>> then\n                    switch costume to (not v)\n                end\n            end\n            if <(START2) = [1]> then\n                hide\n            end\n        end\n    end\nend\n\n@BoyOption\n\nwhen flag clicked\ngo to x: (-140) y: (100)\nset size to (750) %\nhide\nswitch costume to (not v)\n\nwhen this sprite clicked\nset [start2 v] to [1]\nset [eyecolo\(u\)r v] to [1]\nset [hairshape v] to [1]\nset [haircolo\(u\)r v] to [1]\nset [backpackcolo\(u\)r v] to [1]\nset [shirtcolo\(u\)r v] to [1]\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START1) = [1]> then\n        show\n        forever\n            if <touching (mouse-pointer v)?> then\n                switch costume to (selected v)\n            else\n                if <not <<(HairShape) = [1]> and <(START2) = [1]>>> then\n                    switch costume to (not v)\n                end\n            end\n            if <(START2) = [1]> then\n                hide\n            end\n        end\n    end\nend\n\n@Mobile-Jump\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [2]> then\n            if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                set [touchingjump v] to [1]\n            else\n                set [touchingjump v] to [0]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [1]> then\n            stop [this script v]\n        end\n        if <(Device?) = [2]> then\n            set [ghost v] effect to (100)\n            show\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [1]> then\n            stop [this script v]\n        end\n        if <(Device?) = [2]> then\n            forever\n                go to [front v] layer\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nrepeat until <(START3) = [1]>\n    hide\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nhide\n\nwhen flag clicked\nset [touchingjump v] to [0]\n\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\nshow\n\n@Mobile-Left\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nrepeat until <(START3) = [1]>\n    hide\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [1]> then\n            stop [this script v]\n        end\n        if <(Device?) = [2]> then\n            forever\n                go to [front v] layer\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [1]> then\n            stop [this script v]\n        end\n        if <(Device?) = [2]> then\n            set [ghost v] effect to (100)\n            show\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nset [touchingleft v] to [0]\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [2]> then\n            if <<mouse down?> and <touching (mouse-pointer v)?>> then\n                set [touchingleft v] to [1]\n            else\n                set [touchingleft v] to [0]\n            end\n        end\n    end\nend\n\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\nshow\n\n@Mobile-Right\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nrepeat until <(START3) = [1]>\n    hide\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [1]> then\n            stop [this script v]\n        end\n        if <(Device?) = [2]> then\n            forever\n                go to [front v] layer\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [1]> then\n            stop [this script v]\n        end\n        if <(Device?) = [2]> then\n            set [ghost v] effect to (100)\n            show\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nset [touchingright v] to [0]\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [2]> then\n            if <<mouse down?> and <touching (mouse-pointer v)?>> then\n                set [touchingright v] to [1]\n            else\n                set [touchingright v] to [0]\n            end\n        end\n    end\nend\n\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\nshow\n\n@Hair\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Death) = [0]> then\n        if <(HairShape) = [1]> then\n            if <(HairColo\(u\)r) = [1]> then\n                if <(FacingRight?) = [1]> then\n                    switch costume to (faceright1-1 v)\n                end\n                if <(FacingRight?) = [0]> then\n                    switch costume to (faceleft1-1 v)\n                end\n            end\n            if <(HairColo\(u\)r) = [2]> then\n                if <(FacingRight?) = [1]> then\n                    switch costume to (faceright1-2 v)\n                end\n                if <(FacingRight?) = [0]> then\n                    switch costume to (faceleft1-2 v)\n                end\n            end\n            if <(HairColo\(u\)r) = [3]> then\n                if <(FacingRight?) = [1]> then\n                    switch costume to (faceright1-3 v)\n                end\n                if <(FacingRight?) = [0]> then\n                    switch costume to (faceleft1-3 v)\n                end\n            end\n        end\n        if <(HairShape) = [2]> then\n            if <(HairColo\(u\)r) = [1]> then\n                if <(FacingRight?) = [1]> then\n                    switch costume to (faceright2-1 v)\n                end\n                if <(FacingRight?) = [0]> then\n                    switch costume to (faceleft2-1 v)\n                end\n            end\n            if <(HairColo\(u\)r) = [2]> then\n                if <(FacingRight?) = [1]> then\n                    switch costume to (faceright2-2 v)\n                end\n                if <(FacingRight?) = [0]> then\n                    switch costume to (faceleft2-2 v)\n                end\n            end\n            if <(HairColo\(u\)r) = [3]> then\n                if <(FacingRight?) = [1]> then\n                    switch costume to (faceright2-3 v)\n                end\n                if <(FacingRight?) = [0]> then\n                    switch costume to (faceleft2-3 v)\n                end\n            end\n        end\n        if <(HairShape) = [3]> then\n            if <(HairColo\(u\)r) = [1]> then\n                if <(FacingRight?) = [1]> then\n                    switch costume to (faceright3-1 v)\n                end\n                if <(FacingRight?) = [0]> then\n                    switch costume to (faceleft3-1 v)\n                end\n            end\n            if <(HairColo\(u\)r) = [2]> then\n                if <(FacingRight?) = [1]> then\n                    switch costume to (faceright3-2 v)\n                end\n                if <(FacingRight?) = [0]> then\n                    switch costume to (faceleft3-2 v)\n                end\n            end\n            if <(HairColo\(u\)r) = [3]> then\n                if <(FacingRight?) = [1]> then\n                    switch costume to (faceright3-3 v)\n                end\n                if <(FacingRight?) = [0]> then\n                    switch costume to (faceleft3-3 v)\n                end\n            end\n        end\n        if <(HairShape) = [4]> then\n            if <(HairColo\(u\)r) = [1]> then\n                if <(FacingRight?) = [1]> then\n                    switch costume to (faceright4-1 v)\n                end\n                if <(FacingRight?) = [0]> then\n                    switch costume to (faceleft4-1 v)\n                end\n            end\n            if <(HairColo\(u\)r) = [2]> then\n                if <(FacingRight?) = [1]> then\n                    switch costume to (faceright4-2 v)\n                end\n                if <(FacingRight?) = [0]> then\n                    switch costume to (faceleft4-2 v)\n                end\n            end\n            if <(HairColo\(u\)r) = [3]> then\n                if <(FacingRight?) = [1]> then\n                    switch costume to (faceright4-3 v)\n                end\n                if <(FacingRight?) = [0]> then\n                    switch costume to (faceleft4-3 v)\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.2) seconds\n        go to [front v] layer\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.1) seconds\n        set [ghost v] effect to (0)\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [touchedvoid v]\nrepeat (30)\n    change [ghost v] effect by (2)\nend\nwait (3) seconds\n\ndefine NewLevelSpawn\nset size to (250) %\npoint in direction (90)\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        if <(Death) = [0]> then\n            if <touching (cloud v)?> then\n                if <(Level) = [10]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [9]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [8]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [7]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [6]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [5]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [4]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [3]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [2]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [1]> then\n                    NewLevelSpawn\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    repeat until <(Respawning) = [1]>\n        turn right (3) degrees\n    end\n    stop [this script v]\nend\n\nwhen I receive [respawn2... v]\nwait (0.1) seconds\nset size to (250) %\npoint in direction (90)\ngo to [front v] layer\nset [ghost v] effect to (0)\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (750) %\ngo to x: (-100) y: (30)\n\nwhen I receive [10thleveldone v]\nstop [other scripts in sprite v]\ngo to [back v] layer\nhide\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    wait (1) seconds\n    repeat (10)\n        wait (0.01) seconds\n        change [ghost v] effect by (10)\n    end\n    stop [this script v]\nend\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        go to (maincharacter v)\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\nset size to (250) %\n\n@Skin\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    repeat until <(Respawning) = [1]>\n        turn right (3) degrees\n    end\n    stop [this script v]\nend\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (750) %\ngo to x: (-100) y: (30)\n\nwhen I receive [respawn2... v]\nwait (0.1) seconds\nset size to (250) %\npoint in direction (90)\ngo to [front v] layer\ngo [backward v] (1) layers\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        if <(Death) = [0]> then\n            if <touching (cloud v)?> then\n                if <(Level) = [10]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [9]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [8]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [7]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [6]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [5]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [4]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [3]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [2]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [1]> then\n                    NewLevelSpawn\n                end\n            end\n        end\n    end\nend\n\ndefine NewLevelSpawn\nset size to (250) %\npoint in direction (90)\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Death) = [0]> then\n        if <(FacingRight?) = [1]> then\n            switch costume to (faceright1 v)\n        end\n        if <(FacingRight?) = [0]> then\n            switch costume to (faceleft1 v)\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.2) seconds\n        go to [front v] layer\n        go [backward v] (1) layers\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.1) seconds\n        set [ghost v] effect to (0)\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [touchedvoid v]\nrepeat (30)\n    change [ghost v] effect by (2)\nend\nwait (3) seconds\n\nwhen I receive [10thleveldone v]\nstop [other scripts in sprite v]\ngo to [back v] layer\nhide\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    wait (1) seconds\n    repeat (10)\n        wait (0.01) seconds\n        change [ghost v] effect by (10)\n    end\n    stop [this script v]\nend\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        go to (maincharacter v)\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\nset size to (250) %\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Death) = [0]> then\n        if <(SkinColo\(u\)r) = [1]> then\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft1 v)\n            end\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright1 v)\n            end\n        end\n        if <(SkinColo\(u\)r) = [2]> then\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft2 v)\n            end\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright2 v)\n            end\n        end\n        if <(SkinColo\(u\)r) = [3]> then\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft3 v)\n            end\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright3 v)\n            end\n        end\n        if <(SkinColo\(u\)r) = [4]> then\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft4 v)\n            end\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright4 v)\n            end\n        end\n        if <(SkinColo\(u\)r) = [5]> then\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft5 v)\n            end\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright5 v)\n            end\n        end\n        if <(SkinColo\(u\)r) = [6]> then\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft6 v)\n            end\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright6 v)\n            end\n        end\n    end\nend\n\n@Eye\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    repeat until <(Respawning) = [1]>\n        turn right (3) degrees\n    end\n    stop [this script v]\nend\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (750) %\ngo to x: (-100) y: (30)\n\nwhen I receive [respawn2... v]\nwait (0.1) seconds\nset size to (250) %\npoint in direction (90)\ngo to [front v] layer\nset [ghost v] effect to (0)\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        if <(Death) = [0]> then\n            if <touching (cloud v)?> then\n                if <(Level) = [10]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [9]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [8]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [7]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [6]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [5]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [4]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [3]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [2]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [1]> then\n                    NewLevelSpawn\n                end\n            end\n        end\n    end\nend\n\ndefine NewLevelSpawn\nset size to (250) %\npoint in direction (90)\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Death) = [0]> then\n        if <(EyeColo\(u\)r) = [1]> then\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright1 v)\n            end\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft1 v)\n            end\n        end\n        if <(EyeColo\(u\)r) = [2]> then\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright2 v)\n            end\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft2 v)\n            end\n        end\n        if <(EyeColo\(u\)r) = [3]> then\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright3 v)\n            end\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft3 v)\n            end\n        end\n        if <(EyeColo\(u\)r) = [4]> then\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright4 v)\n            end\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft4 v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.2) seconds\n        go to [front v] layer\n        wait (0.1) seconds\n        go to [front v] layer\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.1) seconds\n        set [ghost v] effect to (0)\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [touchedvoid v]\nrepeat (30)\n    change [ghost v] effect by (2)\nend\nwait (3) seconds\n\nwhen I receive [10thleveldone v]\nstop [other scripts in sprite v]\ngo to [back v] layer\nhide\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    wait (1) seconds\n    repeat (10)\n        wait (0.01) seconds\n        change [ghost v] effect by (10)\n    end\n    stop [this script v]\nend\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        go to (maincharacter v)\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\nset size to (250) %\n\n@Backpack\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    repeat until <(Respawning) = [1]>\n        turn right (3) degrees\n    end\n    stop [this script v]\nend\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (750) %\ngo to x: (-100) y: (30)\n\nwhen I receive [respawn2... v]\nwait (0.1) seconds\nset size to (250) %\npoint in direction (90)\ngo to [front v] layer\ngo [backward v] (2) layers\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        if <(Death) = [0]> then\n            if <touching (cloud v)?> then\n                if <(Level) = [10]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [9]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [8]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [7]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [6]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [5]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [4]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [3]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [2]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [1]> then\n                    NewLevelSpawn\n                end\n            end\n        end\n    end\nend\n\ndefine NewLevelSpawn\nset size to (250) %\npoint in direction (90)\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Death) = [0]> then\n        if <(BackpackColo\(u\)r) = [1]> then\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft1 v)\n            end\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright1 v)\n            end\n        end\n        if <(BackpackColo\(u\)r) = [2]> then\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft2 v)\n            end\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright2 v)\n            end\n        end\n        if <(BackpackColo\(u\)r) = [3]> then\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft3 v)\n            end\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright3 v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.2) seconds\n        go to [front v] layer\n        go [backward v] (2) layers\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.1) seconds\n        set [ghost v] effect to (0)\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [touchedvoid v]\nrepeat (30)\n    change [ghost v] effect by (2)\nend\nwait (3) seconds\n\nwhen I receive [10thleveldone v]\nstop [other scripts in sprite v]\ngo to [back v] layer\nhide\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    wait (1) seconds\n    repeat (10)\n        wait (0.01) seconds\n        change [ghost v] effect by (10)\n    end\n    stop [this script v]\nend\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        go to (maincharacter v)\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\nset size to (250) %\n\n@Shirt\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    repeat until <(Respawning) = [1]>\n        turn right (3) degrees\n    end\n    stop [this script v]\nend\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (750) %\ngo to x: (-100) y: (30)\n\nwhen I receive [respawn2... v]\nwait (0.1) seconds\nset size to (250) %\npoint in direction (90)\ngo to [front v] layer\ngo [backward v] (3) layers\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        if <(Death) = [0]> then\n            if <touching (cloud v)?> then\n                if <(Level) = [10]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [9]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [8]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [7]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [6]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [5]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [4]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [3]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [2]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [1]> then\n                    NewLevelSpawn\n                end\n            end\n        end\n    end\nend\n\ndefine NewLevelSpawn\nset size to (250) %\npoint in direction (90)\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Death) = [0]> then\n        if <(ShirtColo\(u\)r) = [1]> then\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright1 v)\n            end\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft1 v)\n            end\n        end\n        if <(ShirtColo\(u\)r) = [2]> then\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright2 v)\n            end\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft2 v)\n            end\n        end\n        if <(ShirtColo\(u\)r) = [3]> then\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright3 v)\n            end\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft3 v)\n            end\n        end\n        if <(ShirtColo\(u\)r) = [4]> then\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright4 v)\n            end\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft4 v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.2) seconds\n        go to [front v] layer\n        go [backward v] (3) layers\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.1) seconds\n        set [ghost v] effect to (0)\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [touchedvoid v]\nrepeat (30)\n    change [ghost v] effect by (2)\nend\nwait (3) seconds\n\nwhen I receive [10thleveldone v]\nstop [other scripts in sprite v]\ngo to [back v] layer\nhide\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    wait (1) seconds\n    repeat (10)\n        wait (0.01) seconds\n        change [ghost v] effect by (10)\n    end\n    stop [this script v]\nend\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        go to (maincharacter v)\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\nset size to (250) %\n\n@Pants\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        go to (maincharacter v)\n    end\nend\n\nwhen flag clicked\nset [pantscolo\(u\)r v] to [1]\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    repeat until <(Respawning) = [1]>\n        turn right (3) degrees\n    end\n    stop [this script v]\nend\n\nwhen I receive [10thleveldone v]\nstop [other scripts in sprite v]\ngo to [back v] layer\nhide\n\nwhen I receive [respawn2... v]\nwait (0.1) seconds\nset size to (250) %\npoint in direction (90)\ngo to [front v] layer\ngo [backward v] (4) layers\nset [ghost v] effect to (0)\n\ndefine NewLevelSpawn\nset size to (250) %\npoint in direction (90)\n\nwhen I receive [touchedvoid v]\nrepeat (30)\n    change [ghost v] effect by (2)\nend\nwait (3) seconds\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.1) seconds\n        set [ghost v] effect to (0)\n        show\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.2) seconds\n        go to [front v] layer\n        go [backward v] (4) layers\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\nset size to (250) %\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        if <(Death) = [0]> then\n            if <touching (cloud v)?> then\n                if <(Level) = [10]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [9]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [8]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [7]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [6]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [5]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [4]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [3]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [2]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [1]> then\n                    NewLevelSpawn\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    wait (1) seconds\n    repeat (10)\n        wait (0.01) seconds\n        change [ghost v] effect by (10)\n    end\n    stop [this script v]\nend\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (750) %\ngo to x: (-100) y: (30)\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Death) = [0]> then\n        if <(PantsColo\(u\)r) = [1]> then\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright1 v)\n            end\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft1 v)\n            end\n        end\n        if <(PantsColo\(u\)r) = [2]> then\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright2 v)\n            end\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft2 v)\n            end\n        end\n        if <(PantsColo\(u\)r) = [3]> then\n            if <(FacingRight?) = [1]> then\n                switch costume to (faceright3 v)\n            end\n            if <(FacingRight?) = [0]> then\n                switch costume to (faceleft3 v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        if <(Death) = [0]> then\n            if <touching (cloud v)?> then\n                if <(Level) = [10]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [9]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [8]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [7]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [6]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [5]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [4]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [3]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [2]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [1]> then\n                    NewLevelSpawn\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.2) seconds\n        go to [front v] layer\n        go [backward v] (4) layers\n        stop [this script v]\n    end\nend\n\n@Shoes\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.2) seconds\n        go to [front v] layer\n        go [backward v] (8) layers\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        wait (0.1) seconds\n        set [ghost v] effect to (0)\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    wait (1) seconds\n    repeat (10)\n        wait (0.01) seconds\n        change [ghost v] effect by (10)\n    end\n    stop [this script v]\nend\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        if <(Death) = [0]> then\n            if <touching (cloud v)?> then\n                if <(Level) = [10]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [9]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [8]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [7]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [6]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [5]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [4]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [3]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [2]> then\n                    NewLevelSpawn\n                end\n                if <(Level) = [1]> then\n                    NewLevelSpawn\n                end\n            end\n        end\n    end\nend\n\ndefine NewLevelSpawn\nset size to (250) %\npoint in direction (90)\n\nwhen I receive [oof v]\nif <(START3) = [1]> then\n    repeat until <(Respawning) = [1]>\n        turn right (3) degrees\n    end\n    stop [this script v]\nend\n\nwhen I receive [touchedvoid v]\nrepeat (30)\n    change [ghost v] effect by (2)\nend\nwait (3) seconds\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (750) %\ngo to x: (-100) y: (30)\n\nwhen I receive [respawn2... v]\nwait (0.1) seconds\nset size to (250) %\npoint in direction (90)\nset [ghost v] effect to (0)\ngo to [front v] layer\ngo [backward v] (6) layers\n\nwhen flag clicked\nforever\n    if <(START3) = [1]> then\n        go to (maincharacter v)\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Death) = [0]> then\n        if <(FacingRight?) = [1]> then\n            switch costume to (faceright v)\n        end\n        if <(FacingRight?) = [0]> then\n            switch costume to (faceleft v)\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <touching color (#2f9e30)?> then\n        set [touchingground? v] to [1]\n    else\n        set [touchingground? v] to [0]\n    end\nend\n\nwhen I receive [10thleveldone v]\nstop [other scripts in sprite v]\ngo to [back v] layer\nhide\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\nset size to (250) %\n\n@CurrentHairColo(u)r\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\nswitch costume to (1 v)\ngo to x: (115) y: (15)\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        if <(CurrentlyCustomising) = [1]> then\n            show\n        else\n            hide\n        end\n    end\n    if <(START3) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    switch costume to (HairColo\(u\)r)\nend\n\n@CurrentHairShape\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\nswitch costume to (1 v)\ngo to x: (115) y: (-45)\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        if <(CurrentlyCustomising) = [1]> then\n            show\n        else\n            hide\n        end\n    end\n    if <(START3) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    switch costume to (HairShape)\nend\n\n@Play\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\ngo to x: (0) y: (-30)\nswitch costume to (notpressed v)\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        show\n        go to [front v] layer\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen this sprite clicked\nrepeat until <not <mouse down?>>\n    switch costume to (pressed v)\nend\nswitch costume to (notpressed v)\nbroadcast (CustomDone v)\nwait (1) seconds\nset [level v] to [1]\nset [start3 v] to [1]\nbroadcast (BEGIN v)\nforever\n    wait until <(Level) = [2]>\n    stop [this script v]\nend\n\n@CustomBorder\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (750) %\ngo to [back v] layer\ngo to x: (-105) y: (30)\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\n@CustomizeMenu\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\nswitch costume to (hair v)\ngo to x: (124) y: (25)\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen flag clicked\nset [currentlycustomising v] to [1]\nhide variable [currentlycustomising v]\nset [haircolo\(u\)r v] to [1]\nhide variable [haircolo\(u\)r v]\nset [hairshape v] to [1]\nhide variable [hairshape v]\nset [skincolo\(u\)r v] to [1]\nhide variable [skincolo\(u\)r v]\nset [eyecolo\(u\)r v] to [1]\nhide variable [eyecolo\(u\)r v]\nset [backpackcolo\(u\)r v] to [1]\nhide variable [backpackcolo\(u\)r v]\nset [shirtcolo\(u\)r v] to [1]\nhide variable [shirtcolo\(u\)r v]\nset [pantscolo\(u\)r v] to [1]\nhide variable [pantscolo\(u\)r v]\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(CurrentlyCustomising) = [1]> then\n        switch costume to (hair v)\n    end\n    if <(CurrentlyCustomising) = [2]> then\n        switch costume to (skin v)\n    end\n    if <(CurrentlyCustomising) = [3]> then\n        switch costume to (eye v)\n    end\n    if <(CurrentlyCustomising) = [4]> then\n        switch costume to (backpack v)\n    end\n    if <(CurrentlyCustomising) = [5]> then\n        switch costume to (shirt v)\n    end\n    if <(CurrentlyCustomising) = [6]> then\n        switch costume to (pants v)\n    end\nend\n\nif <(CurrentlyCustomising) = [7]> then\n    switch costume to (shoes v)\nend\n\n@HairTab\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\ngo to x: (124) y: (25)\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <<(CurrentlyCustomising) = [1]> or <touching (mouse-pointer v)?>> then\n        if <not <(y position) = [30]>> then\n            change y by (1)\n        end\n    else\n        if <not <(y position) = [25]>> then\n            change y by (-1)\n        end\n    end\nend\n\nwhen this sprite clicked\nset [currentlycustomising v] to [1]\n\n@SkinTab\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\ngo to x: (167) y: (25)\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <<(CurrentlyCustomising) = [2]> or <touching (mouse-pointer v)?>> then\n        if <not <(y position) = [30]>> then\n            change y by (1)\n        end\n    else\n        if <not <(y position) = [25]>> then\n            change y by (-1)\n        end\n    end\nend\n\nwhen this sprite clicked\nset [currentlycustomising v] to [2]\n\n@EyeTab\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\ngo to x: (210) y: (25)\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <<(CurrentlyCustomising) = [3]> or <touching (mouse-pointer v)?>> then\n        if <not <(y position) = [30]>> then\n            change y by (1)\n        end\n    else\n        if <not <(y position) = [25]>> then\n            change y by (-1)\n        end\n    end\nend\n\nwhen this sprite clicked\nset [currentlycustomising v] to [3]\n\n@BackpackTab\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\ngo to x: (253) y: (25)\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <<(CurrentlyCustomising) = [4]> or <touching (mouse-pointer v)?>> then\n        if <not <(y position) = [30]>> then\n            change y by (1)\n        end\n    else\n        if <not <(y position) = [25]>> then\n            change y by (-1)\n        end\n    end\nend\n\nwhen this sprite clicked\nset [currentlycustomising v] to [4]\n\n@ShirtTab\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\ngo to x: (296) y: (25)\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <<(CurrentlyCustomising) = [5]> or <touching (mouse-pointer v)?>> then\n        if <not <(y position) = [30]>> then\n            change y by (1)\n        end\n    else\n        if <not <(y position) = [25]>> then\n            change y by (-1)\n        end\n    end\nend\n\nwhen this sprite clicked\nset [currentlycustomising v] to [5]\n\n@PantsTab\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\ngo to x: (339) y: (25)\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <<(CurrentlyCustomising) = [6]> or <touching (mouse-pointer v)?>> then\n        if <not <(y position) = [30]>> then\n            change y by (1)\n        end\n    else\n        if <not <(y position) = [25]>> then\n            change y by (-1)\n        end\n    end\nend\n\nwhen this sprite clicked\nset [currentlycustomising v] to [6]\n\n@Highscores\n\nwhen flag clicked\nhide\nwait (0.5) seconds\nswitch costume to (closed v)\n\nwhen flag clicked\nwait (0.5) seconds\nforever\n    if <(Level) = [11]> then\n        wait (2) seconds\n        if <(Skip) = [0]> then\n            if <(☁ Deaths) > (DeathsNC)> then\n                set [☁ deaths v] to (DeathsNC)\n            end\n            if <(☁ Mins) = (minsNC)> then\n                if <(☁ Secs) > (secsNC)> then\n                    set [☁ secs v] to (secsNC)\n                end\n            end\n            if <(☁ Mins) > (minsNC)> then\n                set [☁ mins v] to (minsNC)\n            end\n        end\n        wait (0.1) seconds\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset [showhighscores? v] to [0]\nhide variable [☁ deaths v]\nhide variable [☁ mins v]\nhide variable [☁ secs v]\nhide variable [showhighscores? v]\n\nwhen I receive [10thleveldone v]\nshow\nforever\n    if <(Level) = [11]> then\n        if <(ShowHighscores?) = [1]> then\n            switch costume to (open v)\n        else\n            switch costume to (closed v)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Level) = [11]> then\n    if <(costume [number v]) = [1]> then\n        set [showhighscores? v] to [1]\n        show variable [☁ deaths v]\n        show variable [☁ mins v]\n        show variable [☁ secs v]\n    else\n        set [showhighscores? v] to [0]\n        hide variable [☁ deaths v]\n        hide variable [☁ mins v]\n        hide variable [☁ secs v]\n    end\nend\n\n@CurrentSkinColo(u)r\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\nswitch costume to (1 v)\ngo to x: (115) y: (-15)\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        if <(CurrentlyCustomising) = [2]> then\n            show\n        else\n            hide\n        end\n    end\n    if <(START3) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    switch costume to (SkinColo\(u\)r)\nend\n\n@CurrentEyeColo(u)r\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\nswitch costume to (1 v)\ngo to x: (115) y: (-15)\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        if <(CurrentlyCustomising) = [3]> then\n            show\n        else\n            hide\n        end\n    end\n    if <(START3) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    switch costume to (EyeColo\(u\)r)\nend\n\n@CurrentBackpackColo(u)r\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\nswitch costume to (1 v)\ngo to x: (115) y: (-15)\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        if <(CurrentlyCustomising) = [4]> then\n            show\n        else\n            hide\n        end\n    end\n    if <(START3) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    switch costume to (BackpackColo\(u\)r)\nend\n\n@CurrentShirtColo(u)r\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\nswitch costume to (1 v)\ngo to x: (115) y: (-15)\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        if <(CurrentlyCustomising) = [5]> then\n            show\n        else\n            hide\n        end\n    end\n    if <(START3) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    switch costume to (ShirtColo\(u\)r)\nend\n\n@CurrentPantsColo(u)r\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\nswitch costume to (1 v)\ngo to x: (115) y: (-15)\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        if <(CurrentlyCustomising) = [6]> then\n            show\n        else\n            hide\n        end\n    end\n    if <(START3) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    switch costume to (PantsColo\(u\)r)\nend\n\n@CustomArrowL1\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\ngo to x: (115) y: (15)\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (201) %\n    else\n        set size to (200) %\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        if <not <(CurrentlyCustomising) = [1]>> then\n            go to x: (115) y: (-15)\n        else\n            go to x: (115) y: (15)\n        end\n    end\n    if <(START3) = [1]> then\n        hide\n    end\nend\n\nwhen this sprite clicked\nif <(START2) = [1]> then\n    if <(CurrentlyCustomising) = [1]> then\n        if <not <(HairColo\(u\)r) = [1]>> then\n            set [haircolo\(u\)r v] to ((HairColo\(u\)r) - (1))\n        end\n    end\n    if <(CurrentlyCustomising) = [2]> then\n        if <not <(SkinColo\(u\)r) = [1]>> then\n            set [skincolo\(u\)r v] to ((SkinColo\(u\)r) - (1))\n        end\n    end\n    if <(CurrentlyCustomising) = [3]> then\n        if <not <(EyeColo\(u\)r) = [1]>> then\n            set [eyecolo\(u\)r v] to ((EyeColo\(u\)r) - (1))\n        end\n    end\n    if <(CurrentlyCustomising) = [4]> then\n        if <not <(BackpackColo\(u\)r) = [1]>> then\n            set [backpackcolo\(u\)r v] to ((BackpackColo\(u\)r) - (1))\n        end\n    end\n    if <(CurrentlyCustomising) = [5]> then\n        if <not <(ShirtColo\(u\)r) = [1]>> then\n            set [shirtcolo\(u\)r v] to ((ShirtColo\(u\)r) - (1))\n        end\n    end\n    if <(CurrentlyCustomising) = [6]> then\n        if <not <(PantsColo\(u\)r) = [1]>> then\n            set [pantscolo\(u\)r v] to ((PantsColo\(u\)r) - (1))\n        end\n    end\nend\n\n@CustomArrowR1\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\ngo to x: (115) y: (15)\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        if <not <(CurrentlyCustomising) = [1]>> then\n            go to x: (115) y: (-15)\n        else\n            go to x: (115) y: (15)\n        end\n    end\n    if <(START3) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (201) %\n    else\n        set size to (200) %\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen this sprite clicked\nif <(START2) = [1]> then\n    if <(CurrentlyCustomising) = [1]> then\n        if <not <(HairColo\(u\)r) = [3]>> then\n            set [haircolo\(u\)r v] to ((HairColo\(u\)r) + (1))\n        end\n    end\n    if <(CurrentlyCustomising) = [2]> then\n        if <not <(SkinColo\(u\)r) = [6]>> then\n            set [skincolo\(u\)r v] to ((SkinColo\(u\)r) + (1))\n        end\n    end\n    if <(CurrentlyCustomising) = [3]> then\n        if <not <(EyeColo\(u\)r) = [4]>> then\n            set [eyecolo\(u\)r v] to ((EyeColo\(u\)r) + (1))\n        end\n    end\n    if <(CurrentlyCustomising) = [4]> then\n        if <not <(BackpackColo\(u\)r) = [3]>> then\n            set [backpackcolo\(u\)r v] to ((BackpackColo\(u\)r) + (1))\n        end\n    end\n    if <(CurrentlyCustomising) = [5]> then\n        if <not <(ShirtColo\(u\)r) = [4]>> then\n            set [shirtcolo\(u\)r v] to ((ShirtColo\(u\)r) + (1))\n        end\n    end\n    if <(CurrentlyCustomising) = [6]> then\n        if <not <(PantsColo\(u\)r) = [3]>> then\n            set [pantscolo\(u\)r v] to ((PantsColo\(u\)r) + (1))\n        end\n    end\nend\n\n@CustomArrowL2\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\ngo to x: (115) y: (-45)\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (201) %\n    else\n        set size to (200) %\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        if <not <(CurrentlyCustomising) = [1]>> then\n            hide\n        else\n            show\n        end\n    end\n    if <(START3) = [1]> then\n        hide\n    end\nend\n\nwhen this sprite clicked\nif <(START2) = [1]> then\n    if <(CurrentlyCustomising) = [1]> then\n        if <not <(HairShape) = [1]>> then\n            set [hairshape v] to ((HairShape) - (1))\n        end\n    end\nend\n\n@CustomArrowR2\n\nwhen I receive [customdone v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (200) %\ngo to x: (115) y: (-45)\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        if <not <(CurrentlyCustomising) = [1]>> then\n            hide\n        else\n            show\n        end\n    end\n    if <(START3) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (201) %\n    else\n        set size to (200) %\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START2) = [1]> then\n        wait (0.1) seconds\n        show\n        stop [this script v]\n    end\nend\n\nwhen this sprite clicked\nif <(START2) = [1]> then\n    if <(CurrentlyCustomising) = [1]> then\n        if <not <(HairShape) = [4]>> then\n            set [hairshape v] to ((HairShape) + (1))\n        end\n    end\nend\n\n@Music\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Music?) = [1]> then\n        play sound [Bit Shift v] until done\n    end\nend\n\nwhen flag clicked\nset [music? v] to [1]\nset [touchingmusicbutton? v] to [0]\nhide variable [music? v]\nhide variable [touchingmusicbutton? v]\nwait (0.1) seconds\nforever\n    if <<(Device?) = [2]> or <(Device?) = [0]>> then\n        go to [front v] layer\n        go [backward v] (1) layers\n    end\n    if <(Device?) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Music?) = [1]> then\n        switch costume to (on v)\n        set size to (100) %\n    end\n    if <(Music?) = [0]> then\n        switch costume to (off v)\n        set size to (95) %\n    end\n    if <(Device?) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (50)\ngo to x: (-220) y: (150)\nset size to (100) %\n\nwhen I receive [customdone v]\nif <(Device?) = [2]> then\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [touchingmusicbutton? v] to [1]\n        else\n            set [touchingmusicbutton? v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\nset volume to (50) %\nwait (0.1) seconds\nforever\n    if <<(Device?) = [2]> or <(Device?) = [0]>> then\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            wait until <not <mouse down?>>\n            if <(Music?) = [1]> then\n                set [music? v] to [0]\n                stop all sounds\n                wait (0.5) seconds\n            else\n                if <(Music?) = [0]> then\n                    set [music? v] to [1]\n                    wait (0.5) seconds\n                end\n            end\n        end\n    end\n    if <(Device?) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Device?) = [1]> then\n        if <key (m v) pressed?> then\n            wait until <not <key (m v) pressed?>>\n            if <(Music?) = [1]> then\n                set [music? v] to [0]\n                stop all sounds\n                wait (0.5) seconds\n            else\n                if <(Music?) = [0]> then\n                    set [music? v] to [1]\n                    wait (0.5) seconds\n                end\n            end\n        end\n    end\n    if <(Device?) = [2]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Device?) = [1]> then\n        forever\n            hide\n            if <(Level) = [2]> then\n                stop [this script v]\n            end\n        end\n    end\n    if <(Device?) = [2]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [begin v]\nif <(Device?) = [2]> then\n    go to x: (-210) y: (-90)\n    set [ghost v] effect to (75)\nend\n\nwhen I receive [1stleveldone v]\nif <(Device?) = [2]> then\n    go to x: (-210) y: (-105)\nend\n\nwhen I receive [10thleveldone v]\nif <(Device?) = [2]> then\n    go to x: (-210) y: (-160)\n    set [ghost v] effect to (50)\nend\n\n@Mobile-Skip\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set [touchingbutton4 v] to [1]\n    else\n        set [touchingbutton4 v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen this sprite clicked\nrepeat until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n    set [skiptonextlvl v] to [1]\n    switch costume to (pressed v)\nend\nwait (1) seconds\nset [skiptonextlvl v] to [0]\nswitch costume to (notpressed v)\n\nwhen flag clicked\ngo to x: (214) y: (-135)\nset size to (70) %\nset [ghost v] effect to (80)\n\nwhen flag clicked\nwait (0.1) seconds\nrepeat until <(START3) = [1]>\n    hide\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [1]> then\n            stop [this script v]\n        end\n        if <(Device?) = [2]> then\n            if <(Level) = [1]> then\n                show\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(START3) = [1]> then\n        if <(Device?) = [1]> then\n            stop [this script v]\n        end\n        if <(Device?) = [2]> then\n            forever\n                go to [front v] layer\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [skiptonextlvl v] to [0]\nset [touchingbutton4 v] to [0]\nhide variable [skiptonextlvl v]\nhide variable [touchingbutton4 v]\n\nwhen flag clicked\nwait (0.1) seconds\nrepeat until <<<(DeathsNC) < [20]> and <<(Level) = [6]> or <(Level) > [6]>>> and <not <(Level) = [11]>>>\n    set [ghost v] effect to (80)\nend\nrepeat until <(Level) = [11]>\n    set [ghost v] effect to (60)\nend\n\n