WhatsAppㅤ - A Mobile Platformer bcuz y not
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nset [level v] to [1]\n\nwhen I receive [intro finished v]\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [back to menu v]\nstop [other scripts in sprite v]\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [play v]\nforever\n    if <(PRACTICING LEVEL Y/N) = [Yes]> then\n        if <<(LEVEL SELECTION) > [10]> and <(LEVEL SELECTION) < [19]>> then\n            switch backdrop to (backdrop4 v)\n        else\n            if <(LEVEL SELECTION) = [7]> then\n                switch backdrop to (backdrop3 v)\n            else\n                switch backdrop to (backdrop2 v)\n            end\n        end\n    else\n        if <<(LEVEL) > [10]> and <(LEVEL) < [19]>> then\n            switch backdrop to (backdrop4 v)\n        else\n            if <(LEVEL) = [7]> then\n                switch backdrop to (backdrop3 v)\n            else\n                if <(LEVEL) = [10]> then\n                    switch backdrop to (backdrop5 v)\n                else\n                    if <(LEVEL) = [19]> then\n                        switch backdrop to (backdrop6 v)\n                    else\n                        if <(LEVEL) = [26]> then\n                            switch backdrop to (backdrop7 v)\n                        else\n                            switch backdrop to (backdrop2 v)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nplay sound [ColBreakz 50000 v] until done\n\nplay sound [ColBreakz 10000 v] until done\n\nplay sound [I Thought It Was in September v] until done\n\n@Back\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (200) y: (145)\nhide\n\nwhen this sprite clicked\nstart sound [menu001 v]\nbroadcast (Back v)\nset [practicing level y/n v] to [No]\nset [speedrun y/n v] to [No]\n\nwhen I receive [back v]\nhide\n\nwhen I receive [music v]\nshow\n\nwhen I receive [costumes v]\nshow\n\nwhen flag clicked\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (-10)\n    end\nend\n\nwhen I receive [instructions v]\nshow\n\nwhen I receive [cloud v]\nshow\n\nwhen I receive [mobile mode? v]\nshow\n\nwhen I receive [practive level v]\nshow\n\nwhen I receive [play v]\nhide\n\nwhen I receive [level selection v]\nshow\n\n@Costume Selection\n\nwhen I receive [speedrun mode v]\nhide\n\nwhen I start as a clone\nshow\nif <(Clone ID: Costumes Selection) = [1]> then\n    switch costume to (arrow v)\n    go to x: (-62) y: (0)\n    forever\n        set [brightness v] effect to (0)\n        if <<touching (mouse-pointer v)?> and <not <(Costumes: Arrows: Ghost Effect?) = [1]>>> then\n            change [brightness v] effect by (-25)\n        end\n        if <(Costumes: Arrows: Ghost Effect?) = [1]> then\n            set [ghost v] effect to (50)\n        else\n            set [ghost v] effect to (0)\n        end\n    end\nelse\n    if <(Clone ID: Costumes Selection) = [2]> then\n        switch costume to (arrow2 v)\n        go to x: (62) y: (0)\n        forever\n            set [brightness v] effect to (0)\n            if <<touching (mouse-pointer v)?> and <not <(Costumes: Arrows: Ghost Effect?) = [2]>>> then\n                change [brightness v] effect by (-25)\n            end\n            if <(Costumes: Arrows: Ghost Effect?) = [2]> then\n                set [ghost v] effect to (50)\n            else\n                set [ghost v] effect to (0)\n            end\n        end\n    else\n        if <(Clone ID: Costumes Selection) = [3]> then\n            go to x: (0) y: (0)\n            forever\n                if <(costume [name v]) = [White]> then\n                    set [costumes: arrows: ghost effect? v] to [1]\n                else\n                    if <(costume [name v]) = [Black]> then\n                        set [costumes: arrows: ghost effect? v] to [2]\n                    else\n                        set [costumes: arrows: ghost effect? v] to [0]\n                    end\n                end\n                switch costume to ((COSTUMES \(PLAYER\)) + (3))\n            end\n        else\n            go to x: (0) y: (0)\n            set size to (100) %\n            switch costume to (costume2 v)\n        end\n    end\nend\n\nwhen I start as a clone\nif <not <(costume [number v]) > [3]>> then\n    set size to (600) %\nend\nforever\n    point in direction (90)\nend\n\nwhen I start as a clone\nforever\n    if <not <(costume [number v]) > [3]>> then\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            if <(costume [number v]) = [2]> then\n                if <not <(COSTUMES \(PLAYER\)) = [1]>> then\n                    change [costumes \(player\) v] by (-1)\n                end\n            else\n                if <not <(COSTUMES \(PLAYER\)) = [7]>> then\n                    change [costumes \(player\) v] by (1)\n                end\n            end\n            wait (.5) seconds\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (109) y: (-56)\nset [pixelate v] effect to (20)\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [intro finished v]\nshow\n\nwhen I receive [intro finished v]\nwait (((length of (Title)) * (.2)) + (1)) seconds\nshow\nrepeat (20)\n    change [ghost v] effect by (-2.5)\n    change [pixelate v] effect by (-1)\nend\n\nwhen I receive [level selection v]\nhide\n\nwhen I receive [back to menu v]\nshow\n\nwhen flag clicked\nset [clone id: costumes selection v] to [0]\nset [costumes: arrows: ghost effect? v] to [0]\nset [costumes \(player\) v] to [1]\nswitch costume to (costume1 v)\ngo to [back v] layer\nforever\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\nend\n\nwhen I receive [music v]\nhide\n\nwhen I receive [mobile mode? v]\nhide\n\nwhen this sprite clicked\n\nif <(Clone ID: Costumes Selection) = [0]> then\n    start sound [menu001 v]\n    broadcast (Costumes v)\nend\n\nwhen I receive [costumes v]\nhide\nrepeat (4)\n    change [clone id: costumes selection v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [back v]\nset [clone id: costumes selection v] to [0]\nset [costumes: arrows: ghost effect? v] to [0]\nshow\ndelete this clone\n\nwhen I receive [instructions v]\nhide\n\nwhen I receive [cloud v]\nhide\n\n@Instructions\n\nwhen flag clicked\nset [instructions: button? v] to [0]\nset size to (250) %\nswitch costume to (costume1 v)\nforever\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (-10)\n    end\nend\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-109) y: (-144)\nset [pixelate v] effect to (20)\nset [ghost v] effect to (100)\ngo to [back v] layer\nhide\n\nwhen I receive [intro finished v]\nshow\n\nwhen I receive [music v]\nhide\n\nwhen I receive [mobile mode? v]\nhide\n\nwhen I receive [costumes v]\nhide\n\nwhen this sprite clicked\nif <not <(Instructions: Button?) = [1]>> then\n    start sound [menu001 v]\n    broadcast (Instructions v)\nend\n\nwhen I receive [instructions v]\nset [instructions: button? v] to [1]\nhide\ncreate clone of (_myself_ v)\n\nwhen I receive [back v]\nset size to (250) %\nset [instructions: button? v] to [0]\nswitch costume to (costume1 v)\ngo to x: (-109) y: (-144)\nshow\ndelete this clone\n\nwhen I start as a clone\nshow\nswitch costume to (costume3 v)\ngo to x: (0) y: (0)\nforever\n    set size to (100) %\n    point in direction (90)\n    point in direction (90)\nend\n\nwhen I receive [cloud v]\nhide\n\nwhen I receive [speedrun mode v]\nhide\n\nwhen I receive [intro finished v]\nwait (((length of (Title)) * (.2)) + (1)) seconds\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [pixelate v] effect by (-1)\nend\n\nwhen I receive [level selection v]\nhide\n\nwhen I receive [back to menu v]\nshow\n\n@Level\n\nwhen flag clicked\nwait (.0001) seconds\nhide\n\nwhen I receive [play v]\nclear graphic effects\nshow\nif <(PRACTICING LEVEL Y/N) = [Yes]> then\n    switch costume to (LEVEL SELECTION)\nelse\n    forever\n        switch costume to (LEVEL)\n    end\nend\n\nwhen I receive [back to menu v]\nset [level v] to [1]\nhide\n\nwhen I receive [unpased v]\nset [brightness v] effect to (0)\n\nwhen I receive [paused v]\nset [brightness v] effect to (-50)\n\n@Mobile mode y/n\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (0) y: (0)\nset [cloneid v] to [0]\nset [mobile mode y/n v] to []\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [mobile mode? v]\nwait (.1) seconds\nshow\nrepeat (2)\n    change [cloneid v] by (1)\n    create clone of (_myself_ v)\nend\nset [mobile mode y/n v] to []\n\nwhen I start as a clone\nshow\nif <(CloneID) = [1]> then\n    switch costume to (costume2 v)\n    go to x: (50) y: (-65)\nelse\n    switch costume to (costume3 v)\n    go to x: (-50) y: (-65)\nend\n\nwhen I receive [play v]\nset [level v] to [1]\nhide\n\nwhen I receive [play v]\ndelete this clone\n\nwhen I start as a clone\nwait (.3) seconds\nif <(CloneID) = [1]> then\n    wait until <<mouse down?> and <touching (mouse-pointer v)?>>\n    set [mobile mode y/n v] to [y]\nelse\n    wait until <<mouse down?> and <touching (mouse-pointer v)?>>\n    set [mobile mode y/n v] to [n]\nend\nstart sound [menu001 v]\nbroadcast (Play v)\n\nwhen I start as a clone\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (-10)\n    end\nend\n\nwhen I receive [back v]\nhide\nset [cloneid v] to [0]\ndelete this clone\n\nwhen I receive [back to menu v]\nset [cloneid v] to [0]\n\n@Level Selection\n\nwhen flag clicked\nwait (.001) seconds\nset [practicing level y/n v] to [No]\nset [level selection v] to [1]\nset [max level v] to [25]\nset [cloneid v] to [0]\ngo to x: (0) y: (32)\nswitch costume to (costume1 v)\nclear graphic effects\nset [ghost v] effect to (100)\nset [pixelate v] effect to (20)\nhide\nforever\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (-10)\n    end\nend\n\nwhen I receive [intro finished v]\nwait (((length of (Title)) * (.2)) + (1)) seconds\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [pixelate v] effect by (-1)\nend\n\nwhen I receive [back v]\nset [cloneid v] to [0]\nset [level selection v] to [1]\nset [practicing level y/n v] to [No]\nshow\ndelete this clone\n\nwhen I receive [music v]\nhide\n\nwhen I receive [cloud v]\nhide\n\nwhen I receive [costumes v]\nhide\n\nwhen I receive [instructions v]\nhide\n\nwhen I receive [mobile mode? v]\nset [cloneid v] to [0]\nhide\ndelete this clone\n\nwhen I receive [speedrun mode v]\nhide\n\nwhen this sprite clicked\nif <(CloneID) = [0]> then\n    start sound [menu001 v]\n    broadcast (Level Selection v)\n    hide\n    repeat (4)\n        change [cloneid v] by (1)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [back to menu v]\nset [level selection v] to [1]\nset [cloneid v] to [0]\nshow\n\nwhen I start as a clone\nshow\nswitch costume to ((CloneID) + (1))\nif <(CloneID) = [1]> then\n    go to x: (-62) y: (0)\n    set size to (600) %\n    forever\n        point in direction (90)\n        set [brightness v] effect to (0)\n        if <<touching (mouse-pointer v)?> and <not <(LEVEL SELECTION) = [1]>>> then\n            change [brightness v] effect by (-25)\n        end\n        if <(LEVEL SELECTION) = [1]> then\n            set [ghost v] effect to (50)\n        else\n            set [ghost v] effect to (0)\n        end\n    end\nelse\n    if <(CloneID) = [2]> then\n        go to x: (62) y: (0)\n        set size to (600) %\n        forever\n            point in direction (90)\n            set [brightness v] effect to (0)\n            if <<touching (mouse-pointer v)?> and <not <(LEVEL SELECTION) = (Max Level)>>> then\n                change [brightness v] effect by (-25)\n            end\n            if <(LEVEL SELECTION) = (Max Level)> then\n                set [ghost v] effect to (50)\n            else\n                set [ghost v] effect to (0)\n            end\n        end\n    else\n        if <(CloneID) = [3]> then\n            switch costume to (costume2 v)\n            set size to (300) %\n            go to x: (193) y: (-140)\n            forever\n                point in direction (90)\n                set [brightness v] effect to (0)\n                if <touching (mouse-pointer v)?> then\n                    change [brightness v] effect by (-10)\n                    if <mouse down?> then\n                        set [practicing level y/n v] to [Yes]\n                        broadcast (Mobile Mode? v)\n                    end\n                end\n            end\n        else\n            switch costume to (costume3 v)\n            set size to (100) %\n            go to x: (0) y: (0)\n            forever\n                point in direction (90)\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        if <(costume [number v]) = [2]> then\n            if <not <(LEVEL SELECTION) = [1]>> then\n                change [level selection v] by (-1)\n                wait (.3) seconds\n            end\n        else\n            if <(costume [number v]) = [3]> then\n                if <not <(LEVEL SELECTION) = (Max Level)>> then\n                    change [level selection v] by (1)\n                    wait (.3) seconds\n                end\n            end\n        end\n    end\nend\n\n@Pause/Play button\n\nwhen flag clicked\nforever\n    if <<<(costume [number v]) = [1]> or <(costume [number v]) = [2]>> or <(costume [number v]) = [3]>> then\n        set [brightness v] effect to (0)\n        if <touching (mouse-pointer v)?> then\n            change [brightness v] effect by (-10)\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-212) y: (-155)\nswitch costume to (pause v)\nset [clone id v] to [0]\nset [paused? y/n v] to [n]\nset size to (175) %\nhide\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    start sound [menu001 v]\n    go to x: (0) y: (-65)\n    switch costume to ((costume [number v]) + ((\(UN\)MUTED) + (1)))\n    clear graphic effects\n    set size to (350) %\n    go to [front v] layer\n    set [paused? y/n v] to [y]\n    broadcast (Paused v)\n    repeat until <(PAUSED? Y/N) = [n]>\n        go to [front v] layer\n    end\nelse\n    if <(costume [number v]) = [2]> then\n        start sound [menu001 v]\n        switch costume to (mute v)\n        broadcast (\(Un\)Mute v)\n    else\n        if <(costume [number v]) = [3]> then\n            start sound [menu001 v]\n            switch costume to (unmute v)\n            broadcast (\(Un\)Mute v)\n        end\n    end\nend\n\nwhen I start as a clone\nswitch costume to ((Clone ID) + (3))\nset size to (100) %\ngo to x: (0) y: (0)\nif <(Clone ID) = [1]> then\n    set [ghost v] effect to (50)\n    go to [back v] layer\nelse\n    if <(Clone ID) = [2]> then\n        clear graphic effects\n    else\n        if <(Clone ID) = [3]> then\n            set size to (350) %\n            go to x: (0) y: (-150)\n        else\n            set size to (350) %\n            switch costume to (resume v)\n            go to x: (0) y: (-65)\n        end\n    end\nend\n\nwhen I receive [unpased v]\ngo to x: (-212) y: (-155)\nswitch costume to (pause v)\nset size to (175) %\nset [paused? y/n v] to [n]\nclear graphic effects\ngo to x: (-212) y: (-155)\ndelete this clone\n\nwhen I receive [paused v]\nset [clone id v] to [0]\nrepeat (4)\n    change [clone id v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(Clone ID) = [2]> then\n    repeat until <(PAUSED? Y/N) = [n]>\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\nforever\n    set [brightness v] effect to (0)\n    if <<touching (mouse-pointer v)?> and <(costume [number v]) > [4]>> then\n        change [brightness v] effect by (-10)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <<touching (mouse-pointer v)?> and <<mouse down?> and <(costume [number v]) = [6]>>> then\n        start sound [menu001 v]\n        broadcast (Back to Menu v)\n        set [practicing level y/n v] to [No]\n    end\n    if <<touching (mouse-pointer v)?> and <<mouse down?> and <(costume [number v]) = [7]>>> then\n        start sound [menu001 v]\n        broadcast (Unpased v)\n    end\nend\n\nwhen I receive [play v]\nshow\n\nwhen I receive [back to menu v]\nhide\ngo to x: (-212) y: (-155)\nswitch costume to (pause v)\nset size to (175) %\nset [paused? y/n v] to [n]\nclear graphic effects\ndelete this clone\n\n@Play Button\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (0) y: (-56)\ngo to [back v] layer\nhide\n\nwhen I receive [intro finished v]\nwait (((length of (Title)) * (.2)) + (1)) seconds\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [pixelate v] effect by (-1)\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\nset [pixelate v] effect to (20)\nforever\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (-10)\n    end\nend\n\nwhen I receive [music v]\nhide\n\nwhen I receive [mobile mode? v]\nhide\n\nwhen I receive [costumes v]\nhide\n\nwhen I receive [back v]\nshow\n\nwhen I receive [instructions v]\nhide\n\nwhen I receive [cloud v]\nhide\n\nwhen this sprite clicked\nstart sound [menu001 v]\nbroadcast (Mobile Mode? v)\n\nwhen I receive [speedrun mode v]\nhide\n\nwhen I receive [level selection v]\nhide\n\nwhen I receive [back to menu v]\nshow\n\n@Speedrun Mode\n\nwhen I receive [play v]\nset [did you get the world record? v] to []\nset [your timer v] to [0]\nif <(SPEEDRUN Y/N) = [Yes]> then\n    forever\n        show variable [your timer v]\n        if <<(PAUSED? Y/N) = [n]> and <(TRANSITION?) = [0]>> then\n            wait (.01) seconds\n            change [your timer v] by (.1)\n        end\n        if <(LEVEL) = [26]> then\n            show variable [did you get the world record? v]\n            if <(Your Timer) < (☁ World Record)> then\n                set [☁ world record v] to (Your Timer)\n                set [did you get the world record? v] to (join (join [You got the World Record! It is now ] (round (Your Timer))) [!])\n            else\n                set [did you get the world record? v] to (join (join [You didn't get the World Record. You were ] ((round (Your Timer)) - (round (☁ World Record)))) [ second\(s\) off.])\n            end\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [speedrun mode v]\nhide\nrepeat (3)\n    change [clone id: speedrun button v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nif <(Clone ID: Speedrun Button) = [1]> then\n    switch costume to (costume2 v)\nelse\n    if <(Clone ID: Speedrun Button) = [2]> then\n        switch costume to (costume3 v)\n    else\n        switch costume to (costume4 v)\n    end\nend\nforever\n    set size to (100) %\n    point in direction (90)\n    go to x: (0) y: (0)\n    if <not <(costume [number v]) = [2]>> then\n        set [brightness v] effect to (0)\n        if <touching (mouse-pointer v)?> then\n            change [brightness v] effect by (-10)\n        end\n    end\nend\n\nwhen I receive [speedrun mode v]\nwait (.5) seconds\nforever\n    if <not <(Clone ID: Speedrun Button) = [0]>> then\n        if <<<<(mouse x) > [-130]> and <(mouse x) < [-75]>> and <<(mouse y) > [-130]> and <(mouse y) < [-70]>>> and <mouse down?>> then\n            broadcast (Mobile Mode? v)\n            set [speedrun y/n v] to [Yes]\n            start sound [menu001 v]\n            stop [this script v]\n        else\n            if <<<<(mouse x) > [50]> and <(mouse x) < [105]>> and <<(mouse y) > [-130]> and <(mouse y) < [-70]>>> and <mouse down?>> then\n                broadcast (Back v)\n                set [speedrun y/n v] to [No]\n                start sound [menu001 v]\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen I receive [mobile mode? v]\ndelete this clone\n\nwhen I receive [intro finished v]\nshow\n\nwhen I receive [intro finished v]\nwait (((length of (Title)) * (.2)) + (1)) seconds\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [pixelate v] effect by (-1)\nend\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (109) y: (-144)\nhide\nswitch costume to (costume1 v)\nset [pixelate v] effect to (20)\nset [ghost v] effect to (100)\nhide variable [did you get the world record? v]\nhide variable [your timer v]\nset [did you get the world record? v] to []\nset [your timer v] to [0]\nset [speedrun y/n v] to [No]\nset [clone id: speedrun button v] to [0]\nforever\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (-10)\n    end\nend\n\nwhen I receive [music v]\nhide\n\nwhen I receive [mobile mode? v]\nhide\n\nwhen this sprite clicked\nif <(Clone ID: Speedrun Button) = [0]> then\n    play sound [menu001 v] until done\n    broadcast (Speedrun Mode v)\nend\n\nwhen I receive [costumes v]\nhide\n\nwhen I receive [back v]\ngo to x: (109) y: (-144)\nswitch costume to (costume1 v)\nshow\nset [clone id: speedrun button v] to [0]\ndelete this clone\n\nwhen I receive [instructions v]\nhide\n\nwhen I receive [cloud v]\nhide\n\nwhen I receive [level selection v]\nhide\n\nwhen I receive [back to menu v]\nshow\n\nwhen I receive [back to menu v]\nhide variable [did you get the world record? v]\nhide variable [your timer v]\nset [did you get the world record? v] to []\nset [your timer v] to [0]\nset [speedrun y/n v] to [No]\n\n@Text engine\n\nwhen flag clicked\nwait (.001) seconds\nset [level selection or highscore? v] to []\nhide\n\nwhen I receive [cloud v]\nwait (.3) seconds\nset [world record v] to (round (☁ World Record))\nset [level selection or highscore? v] to [HighScore]\nset [digits v] to [1]\nrepeat (30)\n    create clone of (_myself_ v)\n    change [digits v] by (1)\nend\nhide\n\nwhen I start as a clone\nshow\nforever\n    if <(Level Selection or HighScore?) = [Level Selection]> then\n        go to [front v] layer\n        set size to (250) %\n        if <(LEVEL SELECTION) < [10]> then\n            go to x: (((digits) * (30)) - (28)) y: (0)\n        else\n            go to x: (((digits) * (30)) - (45)) y: (0)\n        end\n        if <(length of (LEVEL SELECTION)) < (digits)> then\n            hide\n        else\n            show\n            switch costume to (letter (digits) of (LEVEL SELECTION))\n        end\n    else\n        go to [front v] layer\n        set size to (250) %\n        go to x: (((digits) * (30)) - (55)) y: (-12)\n        if <(length of (World Record)) < (digits)> then\n            hide\n        else\n            show\n            switch costume to (letter (digits) of (World Record))\n        end\n    end\nend\n\nwhen I receive [back v]\nset [level selection or highscore? v] to []\nhide\ndelete this clone\n\nwhen I receive [level selection v]\nwait (.3) seconds\nset [level selection or highscore? v] to [Level Selection]\nset [digits v] to [1]\nrepeat (30)\n    create clone of (_myself_ v)\n    change [digits v] by (1)\nend\nhide\n\nwhen I receive [mobile mode? v]\nhide\ndelete this clone\n\nset [☁ world record v] to [999]\n\n@World Record\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (0) y: (-144)\nhide\nset [pixelate v] effect to (20)\nset [ghost v] effect to (100)\nswitch costume to (costume1 v)\nset size to (250) %\nset [world record: button? v] to [0]\nforever\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (-10)\n    end\nend\n\nwhen I receive [intro finished v]\nshow\n\nwhen this sprite clicked\nstart sound [menu001 v]\nbroadcast (Cloud v)\n\nwhen I receive [back v]\nset size to (250) %\ngo to x: (0) y: (-144)\nset [world record: button? v] to [0]\nshow\n\nwhen I receive [instructions v]\nhide\n\nwhen I receive [cloud v]\nset [world record: button? v] to [1]\nhide\ncreate clone of (_myself_ v)\n\nwhen I receive [costumes v]\nhide\n\nwhen I receive [mobile mode? v]\nhide\n\nwhen I receive [music v]\nhide\n\nwhen I start as a clone\nshow\nswitch costume to (costume2 v)\ngo to x: (0) y: (0)\nforever\n    set size to (190) %\n    point in direction (90)\nend\n\nwhen I receive [back v]\ndelete this clone\n\nwhen I receive [speedrun mode v]\nhide\n\nwhen I receive [intro finished v]\nwait (((length of (Title)) * (.2)) + (1)) seconds\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [pixelate v] effect by (-1)\nend\n\nwhen I receive [level selection v]\nhide\n\nwhen I receive [back to menu v]\nshow\n\n@Title\n\nwhen flag clicked\nwait (0.001) seconds\nset volume to (0) %\nset [timer v] to [0]\nset [title v] to [WHATSAPP]\nset [menu music y/n v] to [Y]\ngo to x: (((length of (Title)) * (15.6)) * (-1)) y: (117)\nhide\n\nwhen I receive [intro finished v]\nrepeat (length of (Title))\n    change [timer v] by (1)\n    switch costume to (letter (Timer) of (Title))\n    create clone of (_myself_ v)\n    change x by (35)\n    wait (.2) seconds\nend\ngo to x: (236) y: (-183)\nset [ghost v] effect to (100)\n\nwhen I start as a clone\nset [ghost v] effect to (100)\nset [pixelate v] effect to (100)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [pixelate v] effect by (-5)\nend\n\nwhen I receive [play v]\nhide\n\nwhen I receive [cloud v]\nhide\n\nwhen I receive [back v]\nshow\n\nwhen I receive [music v]\nhide\n\nwhen I receive [instructions v]\nhide\n\nwhen I receive [costumes v]\nhide\n\nwhen I receive [speedrun mode v]\nhide\n\nwhen I receive [mobile mode? v]\nhide\n\nwhen I receive [level selection v]\nhide\n\nwhen I receive [back to menu v]\nset volume to (100) %\nset [menu music y/n v] to [Y]\nshow\n\nwhen I start as a clone\nforever\n    set y to ((110) - (([sin v] of (((timer) - ((Timer) * (3))) * (275)) ) * (7)))\nend\n\nwhen I receive [intro finished v]\nstart sound [I Thought It Was in September v]\nrepeat (100)\n    change volume by (1)\n    wait (.1) seconds\nend\nwait (230) seconds\nforever\n    if <(Menu Music Y/N) = [N]> then\n        stop [this script v]\n    end\n    play sound [I Thought It Was in September v] until done\nend\n\nwhen I receive [play v]\nstop all sounds\nset volume to (0) %\nset [menu music y/n v] to [N]\n\nwhen I receive [back to menu v]\nset volume to (0) %\nset [menu music y/n v] to [Y]\nwait (.1) seconds\nstart sound [I Thought It Was in September v]\nrepeat (100)\n    change volume by (1)\n    wait (.1) seconds\nend\nwait (218) seconds\nforever\n    if <(Menu Music Y/N) = [N]> then\n        stop [this script v]\n    end\n    play sound [I Thought It Was in September v] until done\nend\n\n@Music Selection\n\nwhen I receive [speedrun mode v]\nhide\n\nwhen I start as a clone\nshow\nif <not <(Music: Clone ID) = [17]>> then\n    set [ghost v] effect to (100)\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\nswitch costume to ((Music: Clone ID) + (1))\n\nwhen I start as a clone\nwait (1) seconds\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        start sound [menu001 v]\n        set [music v] to ((costume [number v]) - (1))\n        broadcast (Back v)\n    end\nend\n\nwhen I receive [intro finished v]\nwait (((length of (Title)) * (.2)) + (1)) seconds\nshow\nrepeat (20)\n    change [ghost v] effect by (-2.5)\n    change [pixelate v] effect by (-1)\nend\n\nwhen I start as a clone\nforever\n    point in direction (90)\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (-10)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <not <touching (mouse-pointer v)?>>\n            set [gui helper \(music\) v] to ((costume [number v]) - (1))\n        end\n        set [gui helper \(music\) v] to [0]\n    end\nend\n\nwhen I receive [level selection v]\nhide\n\nif <(Music: Clone ID) = [0]> then\n    start sound [menu001 v]\n    broadcast (Music v)\nend\n\nwhen I receive [back to menu v]\nshow\nstop all sounds\nset [music v] to [16]\nstop [other scripts in sprite v]\nforever\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\nend\n\nwhen I receive [\(un\)mute v]\nchange [\(un\)muted v] by (((\(UN\)MUTED) * (-2)) + (1))\nif <(\(UN\)MUTED) = [0]> then\n    set volume to (100) %\nelse\n    set volume to (0) %\nend\n\nwhen I receive [back v]\ndelete this clone\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-109) y: (-56)\nerase all\nhide\nswitch costume to (costume1 v)\ngo to [back v] layer\nset size to (250) %\nset [pixelate v] effect to (20)\nset [ghost v] effect to (100)\nset [music v] to [16]\nset [gui helper \(music\) v] to [0]\nset [music: clone id v] to [0]\nset [\(un\)muted v] to [0]\nset volume to (100) %\nforever\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\nend\n\nwhen I receive [music v]\nstop [other scripts in sprite v]\ngo to x: (0) y: (0)\nswitch costume to (costume2 v)\nset size to (100) %\nhide\npoint in direction (90)\nstamp\nset size to (250) %\nswitch costume to (costume1 v)\ngo to x: (-200) y: (60)\nrepeat (4)\n    repeat (4)\n        change [music: clone id v] by (1)\n        create clone of (_myself_ v)\n        change x by (125)\n    end\n    set x to (-200)\n    change y by (-65)\nend\nerase all\ngo to x: (0) y: (0)\nset size to (100) %\nswitch costume to (costume2 v)\nshow\nrepeat until <(costume [number v]) = [1]>\n    if <not <(Gui Helper \(Music\)) = [0]>> then\n        switch costume to ((Gui Helper \(Music\)) + (18))\n    else\n        switch costume to (costume2 v)\n    end\nend\n\nwhen I receive [mobile mode? v]\nhide\n\nwhen this sprite clicked\n\nwhen I receive [costumes v]\nhide\n\nwhen I receive [back v]\nshow\nswitch costume to (costume1 v)\nset size to (250) %\ngo to x: (-109) y: (-56)\nset [music: clone id v] to [0]\nforever\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\nend\n\nwhen I receive [instructions v]\nhide\n\nwhen I receive [cloud v]\nhide\n\nwhen I receive [play v]\nforever\n    play sound [Whatsapp Remix v] until done\nend\n\n@Intro\n\nwhen I start as a clone\nset [pfp v] to (pick random (75) to (100))\nset [js_ v] to (pick random (75) to (100))\nset [dir_js v] to (pick random (200) to (400))\nset [dir_pfp v] to (pick random (200) to (400))\nwait (3.6) seconds\nforever\n    if <(Intro CloneID) = [1]> then\n        point in direction ((pfp) + (([sin v] of ((timer) * (dir_pfp)) ) * (20)))\n    else\n        if <(Intro CloneID) = [2]> then\n            point in direction ((JS_) + (([sin v] of ((timer) * (dir_JS)) ) * (20)))\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    set [mp v] to [1]\n    wait (0.2) seconds\n    set [mp v] to [0]\n    wait (0.2) seconds\nend\n\nwhen I start as a clone\nwait (3.6) seconds\nforever\n    if <(mp) = [1]> then\n        set [bounce? v] to ((((bounce?) * (0.65)) + ((((200) + ()) - (size)) * (0.3))) - (25))\n        change size by (bounce?)\n    else\n        set [bounce? v] to ((((bounce?) * (0.6)) + ((((150) + ()) - (size)) * (0.3))) - (25))\n        change size by (bounce?)\n    end\nend\n\nwhen I receive [intro v]\nset [intro cloneid v] to [0]\nstart sound [Intro v]\nrepeat (3)\n    change [intro cloneid v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nwait (0.001) seconds\nhide\nswitch backdrop to (backdrop1 v)\nclear graphic effects\nbroadcast (Intro v)\ngo to x: (0) y: (0)\n\nwhen I start as a clone\nshow\nif <(Intro CloneID) = [1]> then\n    switch costume to (js v)\n    go to x: (0) y: (200)\n    repeat until <(y position) < [1]>\n        change y by (((y position) * (.1)) * (-1))\n    end\n    wait (7.3) seconds\n    delete this clone\nelse\n    if <(Intro CloneID) = [2]> then\n        switch costume to (js_coder v)\n        go to x: (-300) y: (-100)\n        repeat until <(x position) > [-1]>\n            change x by (((x position) * (.1)) * (-1))\n        end\n        wait (7.3) seconds\n        delete this clone\n    else\n        switch costume to (gren squar v)\n        set [ghost v] effect to (100)\n        wait (3.4) seconds\n        repeat (2)\n            change [ghost v] effect by (-50)\n        end\n        wait (.2) seconds\n        repeat (2)\n            change [ghost v] effect by (50)\n        end\n        wait (4.8) seconds\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n        wait (.5) seconds\n        broadcast (Intro Finished v)\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        delete this clone\n    end\nend\n\n@Player\n\nwhen flag clicked\nwait (0.001) seconds\nset [transition v] to [0]\nhide\n\nwhen I receive [play v]\nReset\nset [dead? v] to [0]\nclear graphic effects\nshow\nwait (.2) seconds\nforever\n    if <<(PAUSED? Y/N) = [n]> and <<(Transition) = [0]> and <(Dead?) = [0]>>> then\n        if <(MOBILE MODE Y/N) = [n]> then\n            if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n                switch costume to (whatsapp_crouch v)\n            else\n                switch costume to (whatsapp v)\n            end\n            if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n                change [x velocity v] by (1)\n            end\n            if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n                change [x velocity v] by (-1)\n            end\n            set [x velocity v] to ((X Velocity) * (.9))\n            change x by (X Velocity)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (1)\n                            if <touching (level v)?> then\n                                change y by (1)\n                                if <touching (level v)?> then\n                                    change x by ((X Velocity) * (-1))\n                                    change y by (-5)\n                                    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                        if <(X Velocity) > [0]> then\n                                            set [x velocity v] to [-5]\n                                        else\n                                            set [x velocity v] to [5]\n                                        end\n                                        set [y velocity v] to [10]\n                                    else\n                                        set [x velocity v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n            change [y velocity v] by (-1)\n            change y by (Y velocity)\n            if <touching (level v)?> then\n                change y by ((Y velocity) * (-1))\n                set [y velocity v] to [0]\n            end\n            change y by (-2)\n            if <touching (level v)?> then\n                if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                    change [y velocity v] by (15)\n                end\n            end\n            change y by (2)\n        else\n            if <<mouse down?> and <(mouse y) < (y position)>> then\n                switch costume to (whatsapp_crouch v)\n            else\n                switch costume to (whatsapp v)\n            end\n            if <<mouse down?> and <(mouse x) > (x position)>> then\n                change [x velocity v] by (1)\n            end\n            if <<mouse down?> and <(mouse x) < (x position)>> then\n                change [x velocity v] by (-1)\n            end\n            set [x velocity v] to ((X Velocity) * (.9))\n            change x by (X Velocity)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (1)\n                            if <touching (level v)?> then\n                                change y by (1)\n                                if <touching (level v)?> then\n                                    change x by ((X Velocity) * (-1))\n                                    change y by (-5)\n                                    if <<mouse down?> and <(mouse y) > (y position)>> then\n                                        if <(X Velocity) > [0]> then\n                                            set [x velocity v] to [-5]\n                                        else\n                                            set [x velocity v] to [5]\n                                        end\n                                        set [y velocity v] to [10]\n                                    else\n                                        set [x velocity v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n            change [y velocity v] by (-1)\n            change y by (Y velocity)\n            if <touching (level v)?> then\n                change y by ((Y velocity) * (-1))\n                set [y velocity v] to [0]\n            end\n            change y by (-2)\n            if <touching (level v)?> then\n                if <<mouse down?> and <(mouse y) > (y position)>> then\n                    change [y velocity v] by (15)\n                end\n            end\n            change y by (2)\n        end\n    end\nend\n\ndefine Reset\nswitch costume to (whatsapp v)\ngo to x: (-205) y: (-90)\nset [y velocity v] to [0]\nset [x velocity v] to [0]\n\nwhen I receive [play v]\nforever\n    if <<touching (spikes v)?> or <(y position) < [-162]>> then\n        start sound [Crunch v]\n        "Animation"1\n        Reset\n        "Animation"2\n    end\n    if <touching (boost v)?> then\n        set [x velocity v] to [45]\n    end\n    if <touching (inverted boost v)?> then\n        set [x velocity v] to [-45]\n    end\n    if <touching (portal1 v)?> then\n        start sound [Teleport2 v]\n        go to (portal2 v)\n    end\nend\n\nif <(x position) > [225]> then\n    broadcast (Transition v)\nend\n\ndefine "Animation"1\nset [dead? v] to [1]\nrepeat (25)\n    change [ghost v] effect by (4)\n    change [pixelate v] effect by (4)\nend\n\ndefine "Animation"2\nrepeat (25)\n    change [ghost v] effect by (-4)\n    change [pixelate v] effect by (-4)\nend\nset [dead? v] to [0]\n\nwhen I receive [next v]\nReset\n\nwhen I receive [unpased v]\nset [brightness v] effect to (0)\n\nwhen I receive [paused v]\nset [brightness v] effect to (-50)\n\nwhen I receive [back to menu v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [trampoline down v]\nset [y velocity v] to [-15]\n\nwhen I receive [trampoline up v]\nset [y velocity v] to [20]\n\n@Spikes\n\nwhen flag clicked\nwait (.001) seconds\ngo to [back v] layer\nhide\n\nwhen I receive [play v]\ngo to [back v] layer\nclear graphic effects\nshow\nif <(PRACTICING LEVEL Y/N) = [Yes]> then\n    switch costume to (LEVEL SELECTION)\nelse\n    forever\n        switch costume to (LEVEL)\n    end\nend\n\nwhen I receive [back to menu v]\nstop [other scripts in sprite v]\ngo to [back v] layer\nhide\n\nwhen I receive [paused v]\nset [brightness v] effect to (-50)\n\nwhen I receive [unpased v]\nset [brightness v] effect to (0)\n\n@Particle Effects\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nset [ghost v] effect to (80)\nset size to (pick random (80) to (150)) %\ngo to x: (240) y: (pick random (-180) to (180))\npoint in direction (pick random (-60) to (-105))\nset [speed v] to (pick random (5) to (10))\nrepeat until <<(x position) < [-235]> or <(y position) > [170]>>\n    if <(PRACTICING LEVEL Y/N) = [No]> then\n        if <<(LEVEL) < [19]> and <(LEVEL) > [10]>> then\n            set [brightness v] effect to (-90)\n        else\n            set [brightness v] effect to (0)\n        end\n    else\n        if <<(LEVEL SELECTION) < [19]> and <(LEVEL SELECTION) > [10]>> then\n            set [brightness v] effect to (-90)\n        else\n            set [brightness v] effect to (0)\n        end\n    end\n    if <(PAUSED? Y/N) = [N]> then\n        move (Speed) steps\n    end\nend\ndelete this clone\n\nwhen I start as a clone\nforever\n    go to [back v] layer\n    go to [back v] layer\nend\n\nwhen I receive [play v]\nforever\n    if <(PAUSED? Y/N) = [N]> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [back to menu v]\nstop [other scripts in sprite v]\ndelete this clone\n\ndefine "Animation"1\nrepeat (25)\n    change [ghost v] effect by (2)\n    change [pixelate v] effect by (2)\nend\n\n@Shadow\n\nwhen flag clicked\nset [ghost v] effect to (50)\nset rotation style [left-right v]\npoint in direction (90)\nhide\n\nwhen I receive [play v]\nshow\nclear graphic effects\nset [ghost v] effect to (50)\nforever\n    if <(PRACTICING LEVEL Y/N) = [No]> then\n        if <<(LEVEL) > [10]> and <(LEVEL) < [19]>> then\n            hide\n        else\n            show\n        end\n    else\n        if <<(LEVEL SELECTION) > [10]> and <(LEVEL SELECTION) < [19]>> then\n            hide\n        else\n            show\n        end\n    end\n    go to (player v)\n    go to [back v] layer\n    switch costume to ([costume # v] of [player v])\nend\n\nwhen I receive [play v]\nforever\n    if <(Dead?) = [1]> then\n        "Animation"1\n        "Animation"2\n    end\nend\n\ndefine "Animation"2\nrepeat (25)\n    change [ghost v] effect by (-2)\n    change [pixelate v] effect by (-2)\nend\n\ndefine "Animation"1\nrepeat (25)\n    change [ghost v] effect by (2)\n    change [pixelate v] effect by (2)\nend\n\nwhen I receive [back to menu v]\nstop [other scripts in sprite v]\nhide\n\n@Transition\n\nwhen flag clicked\nwait (.001) seconds\nset [transition clone id v] to [0]\nset [transition v] to [0]\nset [clone v] to [0]\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [play v]\nforever\n    if <<<<([x position v] of [player v]) > [234]> and <(Transition) = [0]>> and <not <(LEVEL) = [26]>>> or <([costume # v] of [skip button v]) = [2]>> then\n        set [transition v] to [1]\n        repeat (2)\n            change [transition clone id v] by (1)\n            create clone of (_myself_ v)\n        end\n        wait (1.5) seconds\n        broadcast (Next v)\n    end\nend\n\nwhen I start as a clone\nset [clone v] to [1]\nshow\nclear graphic effects\ngo to [front v] layer\nif <(Transition Clone ID) = [1]> then\n    set x to (-320)\n    switch costume to (costume1 v)\nelse\n    set x to (320)\n    switch costume to (costume2 v)\nend\nrepeat until <(round (x position)) = [0]>\n    change x by ((x position) * ((.2) * (-1)))\nend\nwait (1) seconds\ndelete this clone\n\nwhen I receive [next v]\nshow\nswitch costume to (costume3 v)\nif <(Clone) = [0]> then\n    if <(PRACTICING LEVEL Y/N) = [No]> then\n        change [level v] by (1)\n    end\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [transition clone id v] to [0]\nset [transition v] to [0]\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    show\n    go to [front v] layer\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n@Boost\n\nwhen flag clicked\nwait (.001) seconds\nclear graphic effects\nhide\n\nwhen I receive [play v]\nshow\ngo to [back v] layer\nif <(PRACTICING LEVEL Y/N) = [Yes]> then\n    switch costume to (LEVEL SELECTION)\nelse\n    forever\n        switch costume to (LEVEL)\n    end\nend\n\nwhen I receive [back to menu v]\nstop [other scripts in sprite v]\nset [brightness v] effect to (0)\nhide\n\nwhen I receive [unpased v]\nset [brightness v] effect to (0)\n\nwhen I receive [paused v]\nset [brightness v] effect to (-50)\n\n@Inverted Boost\n\nwhen flag clicked\nwait (.001) seconds\nclear graphic effects\nhide\n\nwhen I receive [play v]\nshow\ngo to [back v] layer\nif <(PRACTICING LEVEL Y/N) = [Yes]> then\n    switch costume to (LEVEL SELECTION)\n    if <(LEVEL) = [25]> then\n        set [ghost v] effect to (100)\n    else\n        clear graphic effects\n    end\nelse\n    forever\n        switch costume to (LEVEL)\n        if <(LEVEL) = [25]> then\n            set [ghost v] effect to (100)\n        else\n            clear graphic effects\n        end\n    end\nend\n\nwhen I receive [back to menu v]\nstop [other scripts in sprite v]\nset [brightness v] effect to (0)\nhide\n\nwhen I receive [unpased v]\nset [brightness v] effect to (0)\n\nwhen I receive [paused v]\nset [brightness v] effect to (-50)\n\n@Trampoline\n\nwhen flag clicked\nwait (0.001) seconds\npoint in direction (90)\ngo to [back v] layer\nclear graphic effects\nset [cloneid \(up/down\) v] to [1]\n\ndefine Trampoline\nshow\nif <(Dead?) = [0]> then\n    if <touching (player v)?> then\n        switch costume to (costume1 v)\n        repeat (3)\n            next costume\n            wait (0.001) seconds\n        end\n        repeat (3)\n            switch costume to ((costume [number v]) - (1))\n            wait (0.001) seconds\n        end\n    end\nend\n\nwhen I start as a clone\nif <(PRACTICING LEVEL Y/N) = [No]> then\n    repeat until <not <(LEVEL) = (LeVeL)>>\n        Trampoline\n    end\nelse\n    repeat until <not <(LEVEL SELECTION) = (LeVeL)>>\n        Trampoline\n    end\nend\ndelete this clone\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [play v]\npoint in direction (90)\n\nwhen I receive [next v]\npoint in direction (90)\n\nwhen I receive [back to menu v]\nstop [other scripts in sprite v]\npoint in direction (90)\nhide\ndelete this clone\n\nwhen I start as a clone\ngo to [back v] layer\nforever\n    if <touching (player v)?> then\n        if <(CloneID \(Up/Down\)) = [1]> then\n            broadcast (Trampoline Up v)\n        else\n            broadcast (Trampoline Down v)\n        end\n    end\nend\n\nwhen I receive [play v]\nforever\n    hide\n    if <(PRACTICING LEVEL Y/N) = [No]> then\n        if <(LEVEL) = [5]> then\n            go to x: (-75) y: (-125)\n            clear graphic effects\n            Trampoline\n        else\n            if <(LEVEL) = [8]> then\n                go to x: (-155) y: (-125)\n                clear graphic effects\n                Trampoline\n            else\n                if <(LEVEL) = [12]> then\n                    set [brightness v] effect to (-100)\n                    set [level v] to [12]\n                    point in direction (90)\n                    go to x: (-55) y: (-125)\n                    set [cloneid \(up/down\) v] to [1]\n                    create clone of (_myself_ v)\n                    point in direction (-90)\n                    go to x: (50) y: (100)\n                    set [cloneid \(up/down\) v] to [2]\n                    create clone of (_myself_ v)\n                    point in direction (90)\n                    go to x: (120) y: (-125)\n                    set [cloneid \(up/down\) v] to [1]\n                    create clone of (_myself_ v)\n                    point in direction (-90)\n                    wait until <not <(LEVEL) = (LeVeL)>>\n                else\n                    if <(LEVEL) = [14]> then\n                        go to x: (150) y: (-125)\n                        set [brightness v] effect to (-100)\n                        Trampoline\n                    else\n                        if <(LEVEL) = [17]> then\n                            go to x: (-30) y: (-125)\n                            set [brightness v] effect to (-100)\n                            Trampoline\n                        else\n                            if <(LEVEL) = [22]> then\n                                clear graphic effects\n                                set [level v] to [22]\n                                point in direction (90)\n                                go to x: (-125) y: (-125)\n                                set [cloneid \(up/down\) v] to [1]\n                                create clone of (_myself_ v)\n                                point in direction (90)\n                                go to x: (125) y: (-125)\n                                set [cloneid \(up/down\) v] to [1]\n                                create clone of (_myself_ v)\n                                point in direction (-90)\n                                go to x: (-200) y: (145)\n                                set [cloneid \(up/down\) v] to [2]\n                                create clone of (_myself_ v)\n                                repeat (7)\n                                    point in direction (-90)\n                                    go to x: ((x position) + (58)) y: (145)\n                                    set [cloneid \(up/down\) v] to [2]\n                                    create clone of (_myself_ v)\n                                end\n                                wait until <not <(LEVEL) = (LeVeL)>>\n                            else\n                                if <(LEVEL) = [24]> then\n                                    go to x: (-70) y: (-125)\n                                    clear graphic effects\n                                    Trampoline\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    else\n        if <(LEVEL SELECTION) = [5]> then\n            go to x: (-75) y: (-125)\n            clear graphic effects\n            Trampoline\n        else\n            if <(LEVEL SELECTION) = [8]> then\n                go to x: (-155) y: (-125)\n                clear graphic effects\n                Trampoline\n            else\n                if <(LEVEL SELECTION) = [12]> then\n                    set [brightness v] effect to (-100)\n                    set [level v] to [12]\n                    point in direction (90)\n                    go to x: (-55) y: (-125)\n                    set [cloneid \(up/down\) v] to [1]\n                    create clone of (_myself_ v)\n                    point in direction (-90)\n                    go to x: (50) y: (100)\n                    set [cloneid \(up/down\) v] to [2]\n                    create clone of (_myself_ v)\n                    point in direction (90)\n                    go to x: (120) y: (-125)\n                    set [cloneid \(up/down\) v] to [1]\n                    create clone of (_myself_ v)\n                    point in direction (-90)\n                else\n                    if <(LEVEL SELECTION) = [14]> then\n                        go to x: (150) y: (-125)\n                        set [brightness v] effect to (-100)\n                        Trampoline\n                    else\n                        if <(LEVEL SELECTION) = [17]> then\n                            go to x: (-30) y: (-125)\n                            set [brightness v] effect to (-100)\n                            Trampoline\n                        else\n                            if <(LEVEL SELECTION) = [22]> then\n                                clear graphic effects\n                                set [level v] to [22]\n                                point in direction (90)\n                                go to x: (-125) y: (-125)\n                                set [cloneid \(up/down\) v] to [1]\n                                create clone of (_myself_ v)\n                                point in direction (90)\n                                go to x: (125) y: (-125)\n                                set [cloneid \(up/down\) v] to [1]\n                                create clone of (_myself_ v)\n                                point in direction (-90)\n                                go to x: (-200) y: (145)\n                                set [cloneid \(up/down\) v] to [2]\n                                create clone of (_myself_ v)\n                                repeat (7)\n                                    point in direction (-90)\n                                    go to x: ((x position) + (58)) y: (145)\n                                    set [cloneid \(up/down\) v] to [2]\n                                    create clone of (_myself_ v)\n                                end\n                                wait until <not <(LEVEL SELECTION) = (LeVeL)>>\n                            else\n                                if <(LEVEL SELECTION) = [24]> then\n                                    go to x: (-70) y: (-125)\n                                    clear graphic effects\n                                    Trampoline\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <touching (player v)?> then\n        broadcast (Trampoline Up v)\n    end\nend\n\nwait until <not <(LEVEL SELECTION) = (LeVeL)>>\n\n@Portal1\n\nwhen flag clicked\ngo to x: (-107) y: (-130)\nset [whirl v] effect to (500)\nhide\n\nwhen I receive [play v]\nforever\n    turn right (10) degrees\n    if <(PRACTICING LEVEL Y/N) = [No]> then\n        if <(LEVEL) = [6]> then\n            go to x: (-75) y: (-90)\n            show\n        else\n            if <(LEVEL) = [8]> then\n                go to x: (15) y: (140)\n                show\n            else\n                if <(LEVEL) = [15]> then\n                    go to x: (-210) y: (141)\n                    show\n                else\n                    if <(LEVEL) = [20]> then\n                        go to x: (220) y: (-95)\n                        show\n                    else\n                        if <(LEVEL) = [23]> then\n                            go to x: (-60) y: (-95)\n                            show\n                        else\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n    else\n        if <(LEVEL SELECTION) = [6]> then\n            go to x: (-75) y: (-90)\n            show\n        else\n            if <(LEVEL SELECTION) = [8]> then\n                go to x: (15) y: (140)\n                show\n            else\n                if <(LEVEL SELECTION) = [15]> then\n                    go to x: (-210) y: (141)\n                    show\n                else\n                    if <(LEVEL SELECTION) = [20]> then\n                        go to x: (220) y: (-95)\n                        show\n                    else\n                        if <(LEVEL SELECTION) = [23]> then\n                            go to x: (-60) y: (-95)\n                            show\n                        else\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [back to menu v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [play v]\nforever\n    if <(PRACTICING LEVEL Y/N) = [No]> then\n        if <<(LEVEL) > [9]> and <(LEVEL) < [17]>> then\n            set [brightness v] effect to (-100)\n        else\n            set [brightness v] effect to (0)\n        end\n        if <<(LEVEL) = [20]> or <(LEVEL) = [23]>> then\n            set [ghost v] effect to (100)\n        else\n            set [ghost v] effect to (0)\n        end\n    else\n        if <<(LEVEL SELECTION) > [9]> and <(LEVEL SELECTION) < [17]>> then\n            set [brightness v] effect to (-100)\n        else\n            set [brightness v] effect to (0)\n        end\n        if <<(LEVEL SELECTION) = [20]> or <(LEVEL SELECTION) = [23]>> then\n            set [ghost v] effect to (100)\n        else\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\n@Portal2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [whirl v] effect to (500)\nhide\n\nwhen I receive [play v]\ngo to [back v] layer\nforever\n    turn right (10) degrees\n    if <(PRACTICING LEVEL Y/N) = [No]> then\n        if <(LEVEL) = [6]> then\n            go to x: (75) y: (-90)\n            show\n        else\n            if <(LEVEL) = [8]> then\n                go to x: (15) y: (0)\n                show\n            else\n                if <(LEVEL) = [15]> then\n                    go to x: (170) y: (-100)\n                    show\n                else\n                    if <(LEVEL) = [20]> then\n                        go to x: (10) y: (-70)\n                        show\n                    else\n                        if <(LEVEL) = [23]> then\n                            go to x: (175) y: (90)\n                            show\n                        else\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n    else\n        if <(LEVEL SELECTION) = [6]> then\n            go to x: (75) y: (-90)\n            show\n        else\n            if <(LEVEL SELECTION) = [8]> then\n                go to x: (15) y: (0)\n                show\n            else\n                if <(LEVEL SELECTION) = [15]> then\n                    go to x: (170) y: (-100)\n                    show\n                else\n                    if <(LEVEL SELECTION) = [20]> then\n                        go to x: (10) y: (-70)\n                        show\n                    else\n                        if <(LEVEL SELECTION) = [23]> then\n                            go to x: (175) y: (90)\n                            show\n                        else\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [back to menu v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [play v]\nforever\n    if <(PRACTICING LEVEL Y/N) = [No]> then\n        if <<(LEVEL) > [9]> and <(LEVEL) < [17]>> then\n            set [brightness v] effect to (-100)\n        else\n            set [brightness v] effect to (0)\n        end\n        if <<(LEVEL) = [20]> or <(LEVEL) = [23]>> then\n            set [ghost v] effect to (100)\n        else\n            set [ghost v] effect to (0)\n        end\n    else\n        if <<(LEVEL SELECTION) > [9]> and <(LEVEL SELECTION) < [17]>> then\n            set [brightness v] effect to (-100)\n        else\n            set [brightness v] effect to (0)\n        end\n        if <<(LEVEL SELECTION) = [20]> or <(LEVEL SELECTION) = [23]>> then\n            set [ghost v] effect to (100)\n        else\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\n@o boi I'm so tired I'll just create another sprite\n\nwhen flag clicked\nwait (.0001) seconds\nset [ghost v] effect to (100)\nswitch costume to (black v)\nhide\n\nwhen I receive [play v]\nif <(PRACTICING LEVEL Y/N) = [No]> then\n    wait until <(LEVEL) = [10]>\n    switch costume to (black v)\n    wait (1) seconds\n    repeat until <(Transition) = [1]>\n        go to [front v] layer\n        show\n        set [ghost v] effect to ((((([x position v] of [player v]) + (100)) / (3)) * (-1)) + (80))\n    end\n    wait until <(LEVEL) = [18]>\n    switch costume to (white v)\n    wait (1) seconds\n    repeat until <(Transition) = [1]>\n        go to [front v] layer\n        show\n        set [ghost v] effect to ((((([x position v] of [player v]) + (100)) / (3)) * (-1)) + (80))\n    end\nend\n\nwhen I receive [back to menu v]\nstop [other scripts in sprite v]\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [next v]\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [play v]\nif <<(LEVEL SELECTION) = [10]> and <(PRACTICING LEVEL Y/N) = [Yes]>> then\n    switch costume to (black v)\n    forever\n        repeat until <([x position v] of [player v]) > [234]>\n            go to [front v] layer\n            show\n            set [ghost v] effect to ((((([x position v] of [player v]) + (100)) / (3)) * (-1)) + (80))\n        end\n    end\nelse\n    if <<(LEVEL SELECTION) = [18]> and <(PRACTICING LEVEL Y/N) = [Yes]>> then\n        switch costume to (white v)\n        forever\n            repeat until <([x position v] of [player v]) > [234]>\n                go to [front v] layer\n                show\n                set [ghost v] effect to ((((([x position v] of [player v]) + (100)) / (3)) * (-1)) + (80))\n            end\n        end\n    end\nend\n\n@Cave Lights\n\nwhen I receive [play v]\nclear graphic effects\nforever\n    if <(PRACTICING LEVEL Y/N) = [No]> then\n        if <<(LEVEL) > [10]> and <(LEVEL) < [19]>> then\n            go to (player v)\n            go to [back v] layer\n            show\n        else\n            hide\n        end\n    else\n        if <<(LEVEL SELECTION) > [10]> and <(LEVEL SELECTION) < [19]>> then\n            go to (player v)\n            go to [back v] layer\n            show\n        else\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nwait (.001) seconds\nclear graphic effects\nhide\n\nwhen I receive [back to menu v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [play v]\nwait (.01) seconds\nforever\n    if <(Dead?) = [1]> then\n        "Animation"1\n        "Animation"2\n    end\nend\n\ndefine "Animation"1\nrepeat (25)\n    change [ghost v] effect by (4)\n    change [pixelate v] effect by (2)\nend\n\ndefine "Animation"2\nrepeat (25)\n    change [ghost v] effect by (-4)\n    change [pixelate v] effect by (-2)\nend\n\n@Skip Button\n\nwhen flag clicked\nwait (.001) seconds\ngo to x: (-155) y: (-156)\nswitch costume to (1 v)\nhide\n\nwhen I receive [play v]\nswitch costume to (1 v)\nif <<(SPEEDRUN Y/N) = [No]> and <(PRACTICING LEVEL Y/N) = [No]>> then\n    show\n    forever\n        if <(PAUSED? Y/N) = [n]> then\n            set [brightness v] effect to (0)\n            if <touching (mouse-pointer v)?> then\n                change [brightness v] effect by (-10)\n            end\n        end\n        if <(LEVEL) = [26]> then\n            hide\n        end\n    end\nend\n\nwhen I receive [back to menu v]\nstop [other scripts in sprite v]\nhide\n\nwhen this sprite clicked\nif <(PAUSED? Y/N) = [n]> then\n    switch costume to (2 v)\n    wait (.1) seconds\n    switch costume to (1 v)\n    wait (1) seconds\nend\n\nwhen I receive [paused v]\nset [brightness v] effect to (-50)\n\nwhen I receive [unpased v]\nset [brightness v] effect to (0)\n\n