Good vs Evil 2 - The Battle | A Platformer (Mobile Friendly)
@Stage\n\nwhen flag clicked\nset volume to (100) %\nswitch backdrop to (intro v)\n\nwhen I receive [start the platformer v]\nif <(Evil/Good?) = [Evil]> then\n    switch backdrop to (lava background v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        switch backdrop to (sky background4 v)\n    end\nend\n\nwhen I receive [start home screen v]\nswitch backdrop to (home screen v)\n\nwhen I receive [choose your side v]\nswitch backdrop to (choose your side v)\n\nwhen I receive [mobile or pc? v]\nswitch backdrop to (mobile or pc? v)\n\nwhen I receive [start the platformer v]\nstop all sounds\nif <(Evil/Good?) = [Good]> then\n    repeat until <(Level of game :P) = [Boss]>\n        play sound [Vexento - Happy Robot v] until done\n    end\n    stop all sounds\nelse\n    repeat until <(Level of game :P) = [Boss]>\n        play sound [C21_FX_-_Ancient_Evil_\(Epic_Intense_Choir_Drama\).mp3 v] until done\n    end\n    stop all sounds\nend\n\nforever\n\nforever\n    play sound [best dramatic music ever!! v] until done\nend\n\nwhen I receive [choose your shop side v]\nswitch backdrop to (choose your side v)\n\nwhen I receive [show the blooming text again v]\nswitch backdrop to (home screen v)\n\nwhen I receive [turn music off v]\nrepeat (10)\n    change volume by (-10)\nend\nset volume to (0) %\n\nwhen I receive [turn music on v]\nrepeat (10)\n    change volume by (10)\nend\nset volume to (100) %\n\nwhen flag clicked\nwait (1) seconds\nset [evil/good? v] to []\n\nset [evil/good? v] to []\n\nwhen flag clicked\nset [# of skins owned v] to [1]\n\nwhen I receive [start the platformer v]\nforever\n    if <(Level of game :P) = [Boss]> then\n        if <(Evil/Good?) = [Evil]> then\n            switch backdrop to (duel boss background \(1\) v)\n        else\n            if <(Evil/Good?) = [Good]> then\n                switch backdrop to (duel boss background \(2\) v)\n            end\n        end\n    else\n        if <(Home Screen?) = [Yes]> then\n            switch backdrop to (home screen v)\n        else\n            if <(Evil/Good?) = [Evil]> then\n                switch backdrop to (lava background v)\n            else\n                if <(Evil/Good?) = [Good]> then\n                    switch backdrop to (sky background4 v)\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [the evil boss is dead! v]\nstop [other scripts in sprite v]\n\nwhen I receive [the good boss is dead! v]\nstop [other scripts in sprite v]\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (240)\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.4)\nset [evil/good? v] to []\nhide variable [show cash for the blooming shop! v]\ngo to [front v] layer\nstop all sounds\nshow\nglide (0.2) secs to x: (0) y: (-50)\nglide (0.2) secs to x: (0) y: (25)\nglide (0.2) secs to x: (0) y: (0)\n\nwhen I receive [just start v]\ngo to x: (0) y: (0)\nshow\nwait (2) seconds\nrepeat (100)\n    change [ghost v] effect by (1)\nend\nbroadcast (Start home screen v)\n\n@Intro 1\n\nwhen flag clicked\nhide\nwait (2.3) seconds\nforever\n    create clone of (_myself_ v)\n    wait (.3) seconds\nend\n\nwhen I start as a clone\nswitch costume to (blank v)\nset [speed3 v] to [10]\nset [ghost v] effect to (15)\nset size to (100) %\ngo to x: (0) y: (0)\ngo to [back v] layer\ngo [forward v] (1) layers\nshow\nrepeat (10)\n    change size by (Speed3)\n    change [speed3 v] by (-1)\nend\ndelete this clone\n\nwhen flag clicked\nset rotation style [all around v]\nforever\n    turn right (15) degrees\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    if <(end intro?) = [1]> then\n        forever\n            stop [other scripts in sprite v]\n        end\n    end\nend\n\n@Intro 2\n\nwhen flag clicked\nhide\nwait (2.3) seconds\nrepeat until <(end intro?) = [1]>\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(pick random (1) to (3)) = [1]> then\n    switch costume to (red v)\nelse\n    if <(pick random (1) to (3)) = [2]> then\n        switch costume to (yellow v)\n    else\n        if <(pick random (1) to (3)) = [3]> then\n            switch costume to (blue v)\n        end\n    end\nend\nset [ghost v] effect to (30)\ngo to x: (0) y: (0)\nset rotation style [all around v]\nshow\npoint in direction (pick random (0) to (360))\nrepeat (16)\n    move (10) steps\nend\ndelete this clone\n\nwhen flag clicked\nset [end intro? v] to [0]\nwait (7.5) seconds\nset [end intro? v] to [1]\nstop all sounds\nwait (1) seconds\nbroadcast (Start home screen v)\n\nwhen [timer v] > (0.4)\nhide\n\n@Intro 3\n\nwhen flag clicked\nhide\nwait (2.3) seconds\nshow\ngo to [front v] layer\npoint in direction (90)\nswitch costume to (untitled drawing \(28\) v)\nset size to (100) %\nrepeat until <(end intro?) = [1]>\n    set [speed v] to [-10]\n    repeat (20)\n        change size by (Speed)\n        change [speed v] by (1)\n    end\n    set size to (100) %\nend\nhide\n\nwhen flag clicked\nstart sound [TheFatRat - Infinite Power!2 v]\n\nwhen [timer v] > (0.4)\nhide\n\n@Player?\n\nset rotation style [all around v]\nrepeat (40)\n    turn right (15) degrees\n    change y by (10)\n    change [ghost v] effect by (2.5)\nend\nset [ghost v] effect to (0)\nhide\ndelete this clone\n\nwhen I start as a clone\nif <(On/Off 3) = [1]> then\n    delete this clone\nelse\n    show\n    set rotation style [left-right v]\n    Cloning Choose Skin\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I receive [next skin v]\nnext costume\nif <(costume [number v]) = [1]> then\n    next costume\nend\nset [skin v] to (costume [number v])\n\nwhen I receive [previous skin  v]\nswitch costume to ((costume [number v]) - (1))\nif <(costume [number v]) = [1]> then\n    switch costume to ((costume [number v]) - (1))\nend\nset [skin v] to (costume [number v])\n\nwhen flag clicked\nset [left/right? v] to [90]\nforever\n    if <(direction) = [-90]> then\n        set [left/right? v] to [-90]\n        broadcast (left v)\n    else\n        set [left/right? v] to [90]\n        broadcast (right v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    if <<touching (le bouncy v)?> or <touching (le bouncy2 v)?>> then\n        set [player?: yv v] to [20]\n    end\nend\n\nwhen flag clicked\nset [success!? v] to [0]\nrepeat until <(Success!?) = [1]>\n    \n        broadcast (Success!!! v)\n        set [success!? v] to [1]\n    end\nend\nchange [☁ koalas saved v] by (1)\nforever\n    hide\nend\n\nwhen I receive [success!!! v]\nforever\n    hide\n    go to [back v] layer\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [239]> then\n        change [cash v] by (25)\n        wait (0.01) seconds\n        broadcast (Transition v)\n        go to x: (-200) y: (-33)\n        broadcast (Next Level v)\n    end\nend\n\nwhen flag clicked\nhide variable [deaths v]\nhide variable [time taken v]\n\nwhen I receive [start the platformer v]\nshow\ngo to x: (-200) y: (-33)\nset [player?: xv v] to [0]\nset [player?: yv v] to [0]\n\nwhen flag clicked\nhide\nforever\n    set rotation style [left-right v]\nend\n\nwhen flag clicked\nforever\n    if <touching (speeeeeeeed!!!!!!!!! v)?> then\n        change x by (30)\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-200) y: (-33)\n\nwhen flag clicked\nset [deaths v] to [0]\n\nwhen I receive [start the platformer v]\nif <(Evil/Good?) = [Evil]> then\n    switch costume to (evil default v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        switch costume to (good default v)\n    end\nend\nif <(PC or Mobile?) = [PC]> then\n    show\n    set rotation style [left-right v]\n    set size to (15) %\n    set [player?: xv v] to [0]\n    set [player?: yv v] to [0]\n    forever\n        if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n            change [player?: xv v] by (1)\n            point in direction (90)\n        end\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            change [player?: xv v] by (-1)\n            point in direction (-90)\n        end\n        if <<(Evil/Good?) = [Good]> and <touching (ground v)?>> then\n            set [player?: xv v] to ((Player?: Xv) * (0.95))\n        else\n            set [player?: xv v] to ((Player?: Xv) * (0.825))\n        end\n        change x by (Player?: Xv)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change y by (1)\n                            if <touching (ground v)?> then\n                                change x by ((Player?: Xv) * (-2))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                    if <(Player?: Xv) > [0]> then\n                                        set [player?: xv v] to [-5]\n                                    else\n                                        set [player?: xv v] to [5]\n                                    end\n                                    set [player?: yv v] to [10]\n                                else\n                                    set [player?: xv v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [player?: yv v] by (-1)\n        change y by (Player?: Yv)\n        if <touching (ground v)?> then\n            change y by ((Player?: Yv) * (-1))\n            set [player?: yv v] to [0]\n        end\n        change y by (-1)\n        if <touching (ground v)?> then\n            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                set [player?: yv v] to [13]\n            end\n        end\n        if  then\n            if <(Evil/Good?) = [Evil]> then\n                start sound [fatality v]\n            else\n                if <(Evil/Good?) = [Good]> then\n                    start sound [damaged v]\n                end\n            end\n            set [ghost v] effect to (0)\n            set [did you just die? v] to [Yes]\n            create clone of (_myself_ v)\n            set [did you just die? v] to [No]\n            wait (0.01) seconds\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            set [ghost v] effect to (0)\n            go to x: (-200) y: (-33)\n            change [deaths v] by (1)\n            change [☁ worldwide deaths v] by (1)\n            set [player?: xv v] to [0]\n        end\n        change y by (1)\n    end\nelse\n    if <(Evil/Good?) = [Evil]> then\n        switch costume to (evil default v)\n    else\n        if <(Evil/Good?) = [Good]> then\n            switch costume to (good default v)\n        end\n    end\n    if <(PC or Mobile?) = [Mobile]> then\n        show\n        set rotation style [left-right v]\n        set size to (15) %\n        set [player?: xv v] to [0]\n        set [player?: yv v] to [0]\n        forever\n            if <<mouse down?> and <(mouse x) > (x position)>> then\n                change [player?: xv v] by (1)\n                point in direction (90)\n            end\n            if <<mouse down?> and <(mouse x) < (x position)>> then\n                change [player?: xv v] by (-1)\n                point in direction (-90)\n            end\n            set [player?: xv v] to ((Player?: Xv) * (0.825))\n            change x by (Player?: Xv)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change y by (1)\n                            if <touching (ground v)?> then\n                                change y by (1)\n                                if <touching (ground v)?> then\n                                    change x by ((Player?: Xv) * (-2))\n                                    change y by (-5)\n                                    if <<mouse down?> and <(mouse y) > (y position)>> then\n                                        if <(Player?: Xv) > [0]> then\n                                            set [player?: xv v] to [-5]\n                                        else\n                                            set [player?: xv v] to [5]\n                                        end\n                                        set [player?: yv v] to [10]\n                                    else\n                                        set [player?: xv v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n            change [player?: yv v] by (-1)\n            change y by (Player?: Yv)\n            if <touching (ground v)?> then\n                change y by ((Player?: Yv) * (-1))\n                set [player?: yv v] to [0]\n            end\n            change y by (-1)\n            if <touching (ground v)?> then\n                if <<mouse down?> and <((mouse y) - (y position)) > [50]>> then\n                    set [player?: yv v] to [13]\n                end\n            end\n            if <<<<<touching (death v)?> or <touching (spike v)?>> or <touching (water v)?>> or <touching (lava v)?>> or <touching (acid rain residue4 v)?>> then\n                if <(Evil/Good?) = [Evil]> then\n                    start sound [fatality v]\n                else\n                    if <(Evil/Good?) = [Good]> then\n                        start sound [damaged v]\n                    end\n                end\n                set [ghost v] effect to (0)\n                set [did you just die? v] to [Yes]\n                create clone of (_myself_ v)\n                set [did you just die? v] to [No]\n                repeat (10)\n                    change [ghost v] effect by (10)\n                end\n                set [ghost v] effect to (0)\n                go to x: (-200) y: (-33)\n                change [deaths v] by (1)\n                change [☁ worldwide deaths v] by (1)\n                set [player?: xv v] to [0]\n            end\n            change y by (1)\n        end\n    end\nend\n\nwhen I receive [next costume v]\nnext costume\n\nwhen I receive [previous coustume v]\nswitch costume to ((costume [number v]) - (1))\n\nwhen flag clicked\nbroadcast (blinkblinkblinkblink v)\n\nwhen I receive [success!!! v]\nforever\n    hide\nend\n\nwhen I receive [back from menu v]\nshow\n\nwhen flag clicked\nset [ghost v] effect to (0)\n\nwhen I receive [back from menu v]\nset [ghost v] effect to (100)\nrepeat (10)\n    set y to (-120)\nend\nset [ghost v] effect to (0)\nset y to (-84)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <touching (water v)?> then\n        change [player?: yv v] by (2)\n    end\nend\n\ndefine Dead/Restart\nset [ghost v] effect to (0)\ncreate clone of (_myself_ v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [ghost v] effect to (0)\ngo to x: (-200) y: (-33)\nset [player?: xv v] to [0]\n\nwhen I receive [restart v]\nDead/Restart\n\nwhen I receive [settings v]\nif <(Is Settings Open?) = [No]> then\n    set [ghost v] effect to (100)\nend\n\nwhen I receive [back from da settings v]\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <<(Home Screen?) = [No]> and <<not <(Evil/Good?) = []>> and <not <(PC or Mobile?) = []>>>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    Choose Skin\nend\n\nwhen flag clicked\nforever\n    set [x 4 snow v] to (x position)\nend\n\nwhen flag clicked\nforever\n    if <<<<touching (epic text for da story >:d v)?> or <<touching (tasks background v)?> or <touching (settingsmenu v)?>>> or <touching (tasks background v)?>> or <<touching (shop background v)?> or <(Home Screen?) = [Yes]>>> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [start the platformer v]\nforever\n    create clone of (_myself_ v)\nend\n\ndefine Choose Skin\nif <(Skin Bought/Chosen) = [Blue]> then\n    switch costume to (blue skin v)\nelse\n    if <(Skin Bought/Chosen) = [Green]> then\n        switch costume to (green skin v)\n    else\n        if <(Skin Bought/Chosen) = [Red]> then\n            switch costume to (red skin v)\n        else\n            if <(Skin Bought/Chosen) = [Gold]> then\n                switch costume to (gold skin v)\n            else\n                if <(Skin Bought/Chosen) = [Pink]> then\n                    switch costume to (pink skin v)\n                else\n                    if <(Skin Bought/Chosen) = [cheekyscuola]> then\n                        switch costume to (cheekyscuola skin v)\n                    else\n                        if <(Skin Bought/Chosen) = [levi_minecraft]> then\n                            switch costume to (levi_minecraft skin v)\n                        else\n                            if <(Skin Bought/Chosen) = [duoof]> then\n                                switch costume to (duoof skin v)\n                            else\n                                if <(Skin Bought/Chosen) = [Sunny Day]> then\n                                    switch costume to (sunny day skin v)\n                                else\n                                    if <(Skin Bought/Chosen) = [Starry Night]> then\n                                        switch costume to (starry night skin v)\n                                    else\n                                        if <(Skin Bought/Chosen) = [krishtheking123]> then\n                                            switch costume to (krishtheking123 skin v)\n                                        else\n                                            if <(Skin Bought/Chosen) = [XXLordIceXX]> then\n                                                switch costume to (xxlordicexx skin v)\n                                            else\n                                                if <(Skin Bought/Chosen) = [Cyclops]> then\n                                                    switch costume to (cyclops skin v)\n                                                else\n                                                    if <(Skin Bought/Chosen) = [Monster]> then\n                                                        switch costume to (monster skin v)\n                                                    else\n                                                        if <(Skin Bought/Chosen) = [Pig]> then\n                                                            switch costume to (pig skin v)\n                                                        else\n                                                            if <(Skin Bought/Chosen) = [Cow]> then\n                                                                switch costume to (cow skin v)\n                                                            else\n                                                                if <(Skin Bought/Chosen) = [Panda]> then\n                                                                    switch costume to (panda skin v)\n                                                                else\n                                                                    if <(Skin Bought/Chosen) = [Ninja]> then\n                                                                        switch costume to (ninja skin v)\n                                                                    else\n                                                                        if <(Skin Bought/Chosen) = [Glits]> then\n                                                                            switch costume to (-glittersquad- skin v)\n                                                                        else\n                                                                            if <(Skin Bought/Chosen) = [Cute Robot]> then\n                                                                                switch costume to (cute robot skin v)\n                                                                            else\n                                                                                if <(Skin Bought/Chosen) = [Good Default]> then\n                                                                                    switch costume to (good default v)\n                                                                                else\n                                                                                    if <(Skin Bought/Chosen) = [Evil Default]> then\n                                                                                        switch costume to (evil default v)\n                                                                                    else\n                                                                                        if <(Skin Bought/Chosen) = [xenovex]> then\n                                                                                            switch costume to (xenovex skin v)\n                                                                                        else\n                                                                                            if <(Skin Bought/Chosen) = [Creeper]> then\n                                                                                                switch costume to (creeper skin v)\n                                                                                            end\n                                                                                        end\n                                                                                    end\n                                                                                end\n                                                                            end\n                                                                        end\n                                                                    end\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Cloning Choose Skin\nif <(Skin Bought/Chosen) = []> then\n    if <(Evil/Good?) = [Evil]> then\n        switch costume to (evil red v)\n    else\n        if <(Evil/Good?) = [Good]> then\n            switch costume to (white v)\n        end\n    end\nelse\n    if <(Skin Bought/Chosen) = [Blue]> then\n        switch costume to (blue v)\n    else\n        if <(Skin Bought/Chosen) = [Green]> then\n            switch costume to (green v)\n        else\n            if <(Skin Bought/Chosen) = [Red]> then\n                switch costume to (red v)\n            else\n                if <(Skin Bought/Chosen) = [Gold]> then\n                    switch costume to (gold v)\n                else\n                    if <(Skin Bought/Chosen) = [Pink]> then\n                        switch costume to (pink v)\n                    else\n                        if <(Skin Bought/Chosen) = [cheekyscuola]> then\n                            switch costume to (cheekyscuola v)\n                        else\n                            if <(Skin Bought/Chosen) = [levi_minecraft]> then\n                                switch costume to (levi_minecraft v)\n                            else\n                                if <(Skin Bought/Chosen) = [duoof]> then\n                                    switch costume to (duoof v)\n                                else\n                                    if <(Skin Bought/Chosen) = [Sunny Day]> then\n                                        switch costume to (sunny day v)\n                                    else\n                                        if <(Skin Bought/Chosen) = [Starry Night]> then\n                                            switch costume to (starry night v)\n                                        else\n                                            if <(Skin Bought/Chosen) = [krishtheking123]> then\n                                                switch costume to (krishtheking123 v)\n                                            else\n                                                if <(Skin Bought/Chosen) = [XXLordIceXX]> then\n                                                    switch costume to (xxlordicexx v)\n                                                else\n                                                    if <(Skin Bought/Chosen) = [Cyclops]> then\n                                                        switch costume to (cyclops v)\n                                                    else\n                                                        if <(Skin Bought/Chosen) = [Monster]> then\n                                                            switch costume to (monster v)\n                                                        else\n                                                            if <(Skin Bought/Chosen) = [Pig]> then\n                                                                switch costume to (pig v)\n                                                            else\n                                                                if <(Skin Bought/Chosen) = [Cow]> then\n                                                                    switch costume to (white v)\n                                                                else\n                                                                    if <(Skin Bought/Chosen) = [Panda]> then\n                                                                        switch costume to (white v)\n                                                                    else\n                                                                        if <(Skin Bought/Chosen) = [Ninja]> then\n                                                                            switch costume to (ninja/black v)\n                                                                        else\n                                                                            if <(Skin Bought/Chosen) = [Glits]> then\n                                                                                switch costume to (-glittersquad- v)\n                                                                            else\n                                                                                if <(Skin Bought/Chosen) = [Cute Robot]> then\n                                                                                    switch costume to (cute robot/grey v)\n                                                                                else\n                                                                                    if <(Skin Bought/Chosen) = [Good Default]> then\n                                                                                        switch costume to (white v)\n                                                                                    else\n                                                                                        if <(Skin Bought/Chosen) = [Evil Default]> then\n                                                                                            switch costume to (evil red v)\n                                                                                        else\n                                                                                            if <(Skin Bought/Chosen) = [xenovex]> then\n                                                                                                switch costume to (xenovex v)\n                                                                                            else\n                                                                                                if <(Skin Bought/Chosen) = [Creeper]> then\n                                                                                                    switch costume to (creeper v)\n                                                                                                end\n                                                                                            end\n                                                                                        end\n                                                                                    end\n                                                                                end\n                                                                            end\n                                                                        end\n                                                                    end\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [did you just die? v] to [No]\n\nif <(did you just die?) = [Yes]> then\n    Choose Skin\n    set rotation style [all around v]\n    repeat (40)\n        turn right (15) degrees\n        change y by (10)\n        change [ghost v] effect by (2.5)\n    end\n    set [ghost v] effect to (0)\n    hide\n    delete this clone\nelse\n    set rotation style [left-right v]\n    Cloning Choose Skin\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    if <<<touching (the boss v)?> or <touching (flying daggers \(boss battle\) v)?>> and <not <(is boss time done? =\() = [Yes]>>> then\n        set [did you just die? v] to [Yes]\n        create clone of (_myself_ v)\n        set [did you just die? v] to [No]\n        go to x: (-200) y: (-33)\n        change [deaths v] by (1)\n        change [☁ worldwide deaths v] by (1)\n        set [player?: xv v] to [0]\n        broadcast (Boss Time >:D v)\n    end\nend\n\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [ghost v] effect to (0)\nwait (0.01) seconds\n\nwhen flag clicked\nforever\n\n\nif <(Level of game :P) = [Boss]> then\n    if <(Time 4 player to move against boss?) = [No]> then\n        go to x: (-200) y: (-33)\n    else\n        if <(Time 4 player to move against boss?) = [Yes]> then\n            go to x: (-200) y: (-33)\n        end\n    end\nend\n\nwhen I receive [time 4 boss text v]\nrepeat until <(Time 4 player to move against boss?) = [Yes]>\n    go to x: (-200) y: (-95)\nend\ngo to x: (-200) y: (-33)\n\nwhen flag clicked\nforever\n    if <<<touching (the boss v)?> or <touching (flying daggers \(boss battle\) v)?>> and <not <(is boss time done? =\() = [Yes]>>> then\n        if <(Evil/Good?) = [Evil]> then\n            start sound [fatality v]\n        else\n            if <(Evil/Good?) = [Good]> then\n                start sound [damaged v]\n            end\n        end\n    end\nend\n\nif <(Skin Bought/Chosen) = [Evil Default]> then\n    switch costume to (xenovex v)\nend\n\n@Ground\n\nwhen flag clicked\nset [drawing level finished? v] to [1]\nhide\nswitch costume to (random land v)\ngo to x: (-2) y: (5)\ngo to [front v] layer\n\ndefine Touch Ground <up?>\nchange [falling v] by (1)\nrepeat until <not <touching (ground v)?>>\n    change y by (1)\n    set [falling v] to [0]\n    set [speed y v] to [0]\nend\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [8]> then\n        broadcast (Show Fake Lava v)\n    end\nend\n\nwhen flag clicked\nset [time taken v] to [0]\nforever\n    if <(costume [number v]) = [9]> then\n        broadcast (Hide Next Level v)\n    end\nend\n\nwhen I receive [start the platformer v]\nshow\n\nwhen [timer v] > (0.4)\nhide variable [deaths v]\nhide variable [time taken v]\nhide\n\nwhen flag clicked\nforever\n    if <not <(costume [number v]) = [8]>> then\n        broadcast (Hide Fake Lava v)\n    else\n        broadcast (Show Fake Lava v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [11]> then\n        broadcast (Hide Infected Water v)\n    end\nend\n\nwhen flag clicked\nset [stop effects v] to [0]\nforever\n    if <(costume [number v]) = [14]> then\n        broadcast (Escape!! v)\n        set [stop effects v] to [1]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [3]> then\n        broadcast (Acid Rain Residue coordinates Lv3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        broadcast (Acid Rain Residue Lv2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [5]> then\n        broadcast (Acid Rain Residue Lv5 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [4]> then\n        broadcast (Acid Rain Residue Lv4 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        broadcast (Acid Rain Residue Lv6 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [7]> then\n        broadcast (Show Speeeeeeeed!!!!! v)\n    end\nend\n\nwhen flag clicked\nset [ghost v] effect to (0)\nforever\n    if <(costume [number v]) = [5]> then\n        broadcast (guard v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nforever\n    if <(costume [number v]) = [10]> then\n        broadcast (Show move platform v)\n    end\nend\n\nwhen flag clicked\nset volume to (90) %\n\nwhen I receive [start the platformer v]\nif <(Evil/Good?) = [Evil]> then\n    switch costume to (evil lvl 1 v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        switch costume to (good lvl 1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <<<(costume [number v]) = [14]> or <<(costume [number v]) = [15]> or <(costume [number v]) = [16]>>> or <(costume [number v]) = [1]>>> then\n        broadcast (Fire!!!!!! v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [16]> then\n        broadcast (water v)\n    end\nend\n\nwhen I receive [start music again v]\nset volume to (100) %\n\nwhen I receive [stop music temporairily v]\nset volume to (0) %\n\nwhen flag clicked\nhide\n\nwhen I receive [start the platformer v]\nshow\n\nwhen I receive [good skin shop v]\nset [ghost v] effect to (100)\n\nwhen I receive [evil skin shop v]\nset [ghost v] effect to (100)\n\nwhen I receive [hide shop v]\nset [ghost v] effect to (0)\n\nwhen I receive [show tasks v]\nset [ghost v] effect to (100)\n\nwhen I receive [hide tasks v]\nset [ghost v] effect to (0)\n\nwhen flag clicked\nswitch costume to (random land v)\nset [level of game :p v] to [0]\nforever\n    if <<(costume [number v]) = [1]> or <(costume [number v]) = [17]>> then\n        set [level of game :p v] to [1]\n    else\n        if <<(costume [number v]) = [2]> or <(costume [number v]) = [18]>> then\n            set [level of game :p v] to [2]\n        else\n            if <<(costume [number v]) = [3]> or <(costume [number v]) = [19]>> then\n                set [level of game :p v] to [3]\n            else\n                if <<(costume [number v]) = [4]> or <(costume [number v]) = [20]>> then\n                    set [level of game :p v] to [4]\n                else\n                    if <<(costume [number v]) = [5]> or <(costume [number v]) = [21]>> then\n                        set [level of game :p v] to [5]\n                    else\n                        if <<(costume [number v]) = [6]> or <(costume [number v]) = [22]>> then\n                            set [level of game :p v] to [6]\n                        else\n                            if <<(costume [number v]) = [7]> or <(costume [number v]) = [23]>> then\n                                set [level of game :p v] to [7]\n                            else\n                                if <<(costume [number v]) = [8]> or <(costume [number v]) = [24]>> then\n                                    set [level of game :p v] to [8]\n                                else\n                                    if <<(costume [number v]) = [9]> or <(costume [number v]) = [25]>> then\n                                        set [level of game :p v] to [9]\n                                    else\n                                        if <<(costume [number v]) = [10]> or <(costume [number v]) = [26]>> then\n                                            set [level of game :p v] to [10]\n                                        else\n                                            if <<(costume [number v]) = [11]> or <(costume [number v]) = [27]>> then\n                                                set [level of game :p v] to [11]\n                                            else\n                                                if <<(costume [number v]) = [12]> or <(costume [number v]) = [28]>> then\n                                                    set [level of game :p v] to [12]\n                                                else\n                                                    if <<(costume [number v]) = [13]> or <(costume [number v]) = [29]>> then\n                                                        set [level of game :p v] to [13]\n                                                    else\n                                                        if <<(costume [number v]) = [14]> or <(costume [number v]) = [30]>> then\n                                                            set [level of game :p v] to [14]\n                                                        else\n                                                            if <<(costume [number v]) = [15]> or <(costume [number v]) = [31]>> then\n                                                                set [level of game :p v] to [15]\n                                                            else\n                                                                if <<(costume [number v]) = [16]> or <(costume [number v]) = [32]>> then\n                                                                    set [level of game :p v] to [Boss]\n                                                                else\n                                                                    set [level of game :p v] to []\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Level of game :P) = [5]> or <(Level of game :P) = [25]>> then\n        broadcast (level 5 passed v)\n        forever\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Level of game :P) = [10]> or <(Level of game :P) = [30]>> then\n        broadcast (level 10 passed v)\n        forever\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Level of game :P) = [15]> or <(Level of game :P) = [35]>> then\n        broadcast (level 15 passed v)\n        forever\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level of game :P) = [Yes]> then\n        broadcast (complete the platformer v)\n        forever\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Evil/Good?) = [Good]> then\n        broadcast (da good side has been chosen v)\n        forever\n            stop [this script v]\n        end\n    else\n        if <(Evil/Good?) = [Evil]> then\n            broadcast (da evil side has been chosen v)\n            forever\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen I receive [start home screen v]\nswitch costume to (random land v)\n\nwhen flag clicked\nforever\n    if <(Level of game :P) = [Boss]> then\n        broadcast (Start da Boss v)\n        forever\n            stop [this script v]\n        end\n    end\nend\n\n@Death\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen I receive [start the platformer v]\nshow\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [success!!! v]\nhide\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\nend\n\nwhen I receive [text v]\nhide\n\n@Branding\n\nwhen flag clicked\nset [timer v] to [0]\nforever\n    change [timer v] by (0.01)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [mobile? v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <(On/Off 3) = [1]> then\n        point in direction (90)\n    else\n        point in direction ((90) + (([cos v] of (((timer) - (3)) * (400)) ) * (10)))\n    end\nend\n\nshow\n\nforever\nend\n\nwhen I receive [start home screen v]\nstart sound [Fortnite - Original Main Menu Music \[Theme OST VGM Soundtrack\].mp3 v]\ngo to x: (11) y: (-50)\nset size to (100) %\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen I receive [start home screen v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [choose your side v]\nhide\n\nwhen I receive [menu v]\nshow\n\nwhen I receive [back from menu v]\nhide\n\nwhen I receive [show the blooming text again v]\nshow\n\nwhen I receive [choose your shop side v]\nhide\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [hide shop v]\nshow\n\nwhen I receive [mobile or pc? v]\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [show tasks v]\nhide\n\nwhen I receive [hide tasks v]\nshow\n\nwhen I receive [start home screen v]\nforever\n    if <touching (??? slide v)?> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@Play\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nplay sound [hoverSFX v] until done\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [start home screen v]\nshow\n\nwhen I receive [start the platformer v]\nshow\n\nwhen flag clicked\ngo to x: (0) y: (-40)\nhide\n\nwhen I receive [start home screen v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nset size to (100) %\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [100]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [90]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Good/Evil Side Chosen?) = [1]> then\n    hide\n    broadcast (mobile or pc? v)\nelse\n    hide\n    broadcast (choose your side v)\nend\n\nwhen I receive [choose your side v]\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nwhen I receive [back from menu v]\nhide\n\nwhen I receive [choose your shop side v]\nhide\n\nwhen I receive [show the blooming text again v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [hide shop v]\nif <(menu back/forward) = [Back]> then\n    hide\nelse\n    show\nend\n\nwhen I receive [show tasks v]\nhide\n\nwhen I receive [hide tasks v]\nshow\n\nwhen I receive [hide tasks v]\nif <(is game menu is?) = [Yes]> then\n    hide\nelse\n    show\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (??? slide v)?> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@Shop\n\nwhen flag clicked\ngo to x: (100) y: (-80)\nhide\n\nwhen I receive [start the platformer v]\nshow\n\nwhen I receive [start home screen v]\nshow\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [start home screen v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nset size to (100) %\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen I receive [choose your side v]\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nwhen I receive [menu v]\nshow\n\nwhen I receive [back from menu v]\nhide\n\nwhen this sprite clicked\nset [shop? v] to [Show]\nbroadcast (Good Skin Shop v)\n\nif <(Evil/Good?) = [Evil]> then\n    broadcast (Evil Skin Shop v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        broadcast (Good Skin Shop v)\n    else\n        set [good/evil side chosen? v] to [1]\n        broadcast (choose your shop side v)\n    end\nend\n\nwhen I receive [choose your shop side v]\nhide\n\nwhen I receive [show the blooming text again v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [hide shop v]\nshow\n\nwhen flag clicked\nset [good/evil side chosen? v] to []\n\nwhen I receive [mobile or pc? v]\nhide\n\nset [good/evil side chosen? v] to []\n\nwhen I receive [show tasks v]\nhide\n\nwhen I receive [hide tasks v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nplay sound [hoverSFX v] until done\n\nwhen I receive [start home screen v]\nforever\n    if <touching (??? slide v)?> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@Tasks\n\nwhen flag clicked\nset [tasks? v] to []\ngo to x: (-100) y: (-80)\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nwhen I receive [start home screen v]\nshow\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [start home screen v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nset size to (100) %\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen I receive [choose your side v]\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nwhen I receive [menu v]\nshow\n\nwhen I receive [back from menu v]\nhide\n\nwhen I receive [choose your shop side v]\nhide\n\nwhen I receive [show the blooming text again v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [hide shop v]\nshow\n\nwhen I receive [mobile or pc? v]\nhide\n\nwhen this sprite clicked\nset [tasks? v] to [Show]\nbroadcast (Show Tasks v)\n\nwhen I receive [show tasks v]\nhide\n\nwhen I receive [hide tasks v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nplay sound [hoverSFX v] until done\n\nwhen I receive [start home screen v]\nforever\n    if <touching (??? slide v)?> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@Mobile?\n\nwhen I receive [choose your side v]\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nwhen flag clicked\nset [pc or mobile? v] to []\nset [evil/good? v] to []\nhide\ngo to x: (-97) y: (-20)\n\nwhen I receive [mobile or pc? v]\nshow\n\nwhen I receive [start home screen v]\nset size to (100) %\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nset [pc or mobile? v] to [Mobile]\nbroadcast (Start the Platformer v)\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Evil/Good?) = [Evil]> then\n        switch costume to (evil mobile v)\n    else\n        if <(Evil/Good?) = [Good]> then\n            switch costume to (good mobile v)\n        end\n    end\nend\n\n@PC?\n\nwhen flag clicked\nhide\ngo to x: (97) y: (-20)\n\nwhen I receive [start the platformer v]\nhide\n\nwhen I receive [choose your side v]\nhide\n\nwhen I receive [mobile or pc? v]\nshow\n\nwhen I receive [start home screen v]\nset size to (100) %\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nset [pc or mobile? v] to [PC]\nhide\nbroadcast (Start the Platformer v)\ncreate clone of (sun v)\n\nwhen I receive [start the platformer v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Evil/Good?) = [Evil]> then\n        switch costume to (evil pc v)\n    else\n        if <(Evil/Good?) = [Good]> then\n            switch costume to (good pc v)\n        end\n    end\nend\n\n@Good Side\n\nwhen I receive [choose your side v]\nshow\n\nwhen I receive [start the platformer v]\nhide\n\nwhen flag clicked\nhide\ngo to x: (-97) y: (-20)\n\nwhen this sprite clicked\nhide\nbroadcast (mobile or pc? v)\nset [evil/good? v] to [Good]\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nset size to (100) %\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nwhen I receive [mobile or pc? v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\n@Evil Side\n\nwhen I receive [choose your side v]\nshow\n\nwhen I receive [start the platformer v]\nhide\n\nwhen flag clicked\nhide\ngo to x: (97) y: (-20)\n\nwhen this sprite clicked\nhide\nbroadcast (mobile or pc? v)\nbroadcast (I suppose that u chose the evil side v)\nset [evil/good? v] to [Evil]\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nset size to (100) %\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen I receive [start the platformer v]\nhide\n\nwhen I receive [mobile or pc? v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\n@Menu\n\nwhen flag clicked\nset [is game menu is? v] to []\ngo to x: (-210) y: (150)\nhide\n\nwhen I receive [start the platformer v]\nshow\n\nwhen I receive [start home screen v]\nset [is game menu is? v] to [No]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [start the platformer v]\nset size to (100) %\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen I receive [start the platformer v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nset [is game menu is? v] to [Yes]\nif <(menu back/forward) = [forward]> then\n    broadcast (menu v)\n    set [menu back/forward v] to [back]\n    set [is game menu is? v] to [Yes]\nelse\n    broadcast (back from menu v)\n    set [menu back/forward v] to [forward]\n    set [is game menu is? v] to [No]\nend\n\nwhen flag clicked\nset [menu back/forward v] to []\nforever\n    go to [front v] layer\nend\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [hide shop v]\nif <(is game menu is?) = [Yes]> then\n    show\nelse\n    hide\nend\n\nbroadcast (menu v)\nset [menu back/forward v] to [back]\n\nbroadcast (back from menu v)\nset [menu back/forward v] to [forward]\n\nwhen I receive [show tasks v]\nhide\n\nwhen I receive [hide tasks v]\nif <(is game menu is?) = [Yes]> then\n    show\nelse\n    hide\nend\n\nset [cash v] to [500]\n\nwhen flag clicked\nforever\n    if <touching (player? v)?> then\n        set [ghost v] effect to (75)\n    else\n        if <not <touching (player? v)?>> then\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nforever\n    if  then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [start the platformer v]\nforever\n    if <<(On/Off 1) = [1]> and <<<(Is Settings Open?) = [Yes]> and <not <(Tasks?) = [Show]>>> and <<not <(Home Screen?) = [Yes]>> and <<not <(Level of game :P) = [Boss]>> and <not <(Shop?) = [Show]>>>>>> then\n        show\n    else\n        if <<(On/Off 1) = [0]> or <<(Shop?) = [Show]> or <<(Tasks?) = [Show]> or <<(Home Screen?) = [Yes]> or <<(Level of game :P) = [Boss]> or <(Is Settings Open?) = [Yes]>>>>>> then\n            hide\n        end\n    end\nend\n\nset [cash v] to [100]\n\nwhen I receive [start home screen v]\nforever\n    if <touching (??? slide v)?> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@Skip\n\nwhen flag clicked\nset [is game menu is? v] to []\ngo to x: (-138) y: (150)\nhide\n\nwhen I receive [start the platformer v]\nshow\n\nwhen I receive [start home screen v]\nset [is game menu is? v] to [No]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [start the platformer v]\nset size to (100) %\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen I receive [start the platformer v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nif <(username) = [cheekyscuola]> then\n    broadcast (Next Level v)\n    wait (0.01) seconds\nelse\n    broadcast (Permission to Skip? v) and wait\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [hide shop v]\nhide\n\nbroadcast (menu v)\nset [menu back/forward v] to [back]\n\nbroadcast (back from menu v)\nset [menu back/forward v] to [forward]\n\nwhen I receive [show tasks v]\nhide\n\nwhen I receive [hide tasks v]\nif <(is game menu is?) = [Yes]> then\n    show\nelse\n    hide\nend\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [back from menu v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (player? v)?> then\n        set [ghost v] effect to (75)\n    else\n        if <not <touching (player? v)?>> then\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nbroadcast (Button Sound Effect duh v)\n\nhide\n\nwhen I receive [hide tasks v]\nhide\n\nwhen I receive [start the platformer v]\nforever\n    if <<<(On/Off 1) = [1]> and <(Is Settings Open?) = [Yes]>> and <<not <(Home Screen?) = [Yes]>> and <<not <(Level of game :P) = [Boss]>> and <not <(is game menu is?) = [Yes]>>>>> then\n        show\n    else\n        if <<(On/Off 1) = [0]> or <<(Is Settings Open?) = [No]> or <<(Home Screen?) = [Yes]> or <<(Level of game :P) = [Boss]> or <(is game menu is?) = [Yes]>>>>> then\n            hide\n        end\n    end\nend\n\nask [Skiping a level will cost you £30. Are you sure that you want to skip this level? \(Type YES or NO\)] and wait\n\nwhen I receive [start home screen v]\nforever\n    if <touching (??? slide v)?> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@Restart\n\nwhen flag clicked\nset [is game menu is? v] to []\ngo to x: (-66) y: (150)\nhide\n\nwhen I receive [start the platformer v]\nshow\n\nwhen I receive [start home screen v]\nset [is game menu is? v] to [No]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [start the platformer v]\nset size to (100) %\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen I receive [start the platformer v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Restart v)\nwait (0.01) seconds\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [hide shop v]\nhide\n\nif <(is game menu is?) = [Yes]> then\n    show\nelse\nend\n\nbroadcast (menu v)\nset [menu back/forward v] to [back]\n\nbroadcast (back from menu v)\nset [menu back/forward v] to [forward]\n\nwhen I receive [show tasks v]\nhide\n\nwhen I receive [hide tasks v]\nif <(is game menu is?) = [Yes]> then\n    show\nelse\n    hide\nend\n\nwhen I receive [menu v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (player? v)?> then\n        set [ghost v] effect to (75)\n    else\n        if <not <touching (player? v)?>> then\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen I receive [back from menu v]\nshow\n\nwhen I receive [hide tasks v]\nhide\n\nwhen I receive [start the platformer v]\nforever\n    if <<<(On/Off 1) = [1]> and <(Is Settings Open?) = [Yes]>> and <<not <(Home Screen?) = [Yes]>> and <<not <(Level of game :P) = [Boss]>> and <not <(is game menu is?) = [Yes]>>>>> then\n        show\n    else\n        if <<(On/Off 1) = [0]> or <<(Is Settings Open?) = [No]> or <<(Home Screen?) = [Yes]> or <<(Level of game :P) = [Boss]> or <(is game menu is?) = [Yes]>>>>> then\n            hide\n        end\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (??? slide v)?> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@Gui\n\nwhen flag clicked\nforever\n    go to (mouse-pointer v)\n    Sense\nend\n\ndefine Sense\nswitch costume to (sense v)\nshow\nset [ghost v] effect to (20)\ngo to [front v] layer\nif <touching (play v)?> then\n    switch costume to (play v)\nelse\n    if <touching (tasks v)?> then\n        switch costume to (tasks v)\n    else\n        if <touching (shop v)?> then\n            switch costume to (shop v)\n        else\n            if <touching (menu v)?> then\n                switch costume to (menu v)\n            else\n                if <touching (vexento - empty v)?> then\n                    switch costume to (vexento - empty v)\n                else\n                    if <touching (lights \[dream trance\] v)?> then\n                        switch costume to (lights \[dream trance\] v)\n                    else\n                        if <touching (random v)?> then\n                            switch costume to (random v)\n                        else\n                            if <touching (back button v)?> then\n                                switch costume to (back v)\n                            else\n                                if <touching (marshmello - alone v)?> then\n                                    switch costume to (marshmello - alone v)\n                                else\n                                    if <touching (thefatrat - windfall v)?> then\n                                        switch costume to (thefatrat - windfall  v)\n                                    else\n                                        if <<touching (?? v)?> or <touching (??? button v)?>> then\n                                            switch costume to (??? v)\n                                        else\n                                            if <touching (disfigure - blank v)?> then\n                                                switch costume to (disfigure - blank v)\n                                            else\n                                                if <touching (thefatrat - time lapse v)?> then\n                                                    switch costume to (thefatrat - time lapse v)\n                                                else\n                                                    if <touching (vexento - we are one v)?> then\n                                                        switch costume to (vexento - we are one v)\n                                                    else\n                                                        if <touching (revenge v)?> then\n                                                            switch costume to (revenge v)\n                                                        else\n                                                            if <touching (vexento - pegasus v)?> then\n                                                                switch costume to (vexento - pegasus v)\n                                                            else\n                                                                if <touching (never gonna give you up v)?> then\n                                                                    switch costume to (never gonna give you up v)\n                                                                else\n                                                                    if <touching (avicii - levels v)?> then\n                                                                        switch costume to (avicii - levels v)\n                                                                    else\n                                                                        if <<touching (cloud v)?> and <(Random variable1) = [0]>> then\n                                                                            switch costume to (highscore v)\n                                                                        else\n                                                                            if <<touching (instructions v)?> and <(Random variable2) = [0]>> then\n                                                                                switch costume to (instructions v)\n                                                                            else\n                                                                                if <touching (costume selection v)?> then\n                                                                                    switch costume to (costume selection v)\n                                                                                else\n                                                                                    if <(LOL variable) = [1]> then\n                                                                                        go to [front v] layer\n                                                                                        switch costume to (resume v)\n                                                                                    else\n                                                                                        if <<touching (pause/play button v)?> and <([costume # v] of [pause/play button v]) = [1]>> then\n                                                                                            switch costume to (pause v)\n                                                                                        else\n                                                                                            hide\n                                                                                        end\n                                                                                    end\n                                                                                end\n                                                                            end\n                                                                        end\n                                                                    end\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [forward v] (99) layers\nend\n\nwhen I receive [menu v]\nforever\n    go to [front v] layer\n    go [forward v] (99) layers\nend\n\nwhen I receive [start home screen v]\nforever\n    go to [front v] layer\n    go [forward v] (99) layers\nend\n\n@Clouds\n\nwhen I start as a clone\nif <<(On/Off 3) = [1]> or <(Level of game :P) = [Boss]>> then\n    delete this clone\nelse\n    if <not <(Home Screen?) = [Yes]>> then\n        go [backward v] (pick random (10) to (20)) layers\n        go to x: (190) y: (pick random (-90) to (190))\n        set [ghost v] effect to (pick random (50) to (90))\n        set size to (pick random (100) to (300)) %\n        show\n        set [cloud speed v] to ((size) / (120))\n        repeat until <[-240] > (x position)>\n            change x by ((Cloud Speed) / (-1))\n        end\n        delete this clone\n    else\n        delete this clone\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start the platformer v]\nif <(Evil/Good?) = [Evil]> then\n    forever\n        wait (4.2) seconds\n        create clone of (_myself_ v)\n    end\nelse\n    hide\nend\n\n@Awesome Particles\n\nwhen I start as a clone\nif <<(On/Off 3) = [1]> or <(Level of game :P) = [Boss]>> then\n    delete this clone\nelse\n    if <not <(Home Screen?) = [Yes]>> then\n        set [ghost v] effect to (65)\n        go to [back v] layer\n        show\n        if <(size) > [99]> then\n            glide (4) secs to x: (x position) y: (200)\n            delete this clone\n        end\n        if <(size) > [80]> then\n            glide (3) secs to x: (x position) y: (200)\n            delete this clone\n        end\n        if <(size) > [65]> then\n            glide (2) secs to x: (x position) y: (200)\n            delete this clone\n        end\n        if <(size) > [50]> then\n            glide (1.5) secs to x: (x position) y: (200)\n            delete this clone\n        end\n        if <(size) > [40]> then\n            glide (1) secs to x: (x position) y: (200)\n            delete this clone\n        end\n    else\n        delete this clone\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start the platformer v]\nif <(Evil/Good?) = [Good]> then\n    forever\n        set [brightness v] effect to (pick random (-10) to (10))\n        set size to (pick random (41) to (90)) %\n        go to x: (pick random (-200) to (200)) y: (-180)\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n    end\nelse\n    hide\nend\n\nwhen I receive [stop all v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nif <(On/Off 3) = [1]> then\n    delete this clone\nelse\nend\n\n@Cash\n\nwhen I start as a clone\nshow\nforever\n    go to [front v] layer\n    set size to (125) %\n    go to x: (((Coindigits) * (20)) - (-160)) y: (160)\n    if <<(length of (cashdisplay)) < (Coindigits)> or <<(Tasks?) = [Show]> or <<(Shop?) = [Show]> or <(Home Screen?) = [Yes]>>>> then\n        hide\n    else\n        show\n        go to [front v] layer\n        switch costume to (letter (Coindigits) of (cashdisplay))\n    end\nend\n\nwhen flag clicked\nset [shop? v] to [0]\nforever\n    if <(Cash) < [1000]> then\n        set [cashdisplay v] to (round (Cash))\n    end\n    if <<(Cash) > ((1000) - (1))> and <(Cash) < [1000000]>> then\n        set [cashdisplay v] to (join ((round (((Cash) / (1000)) * (100))) / (100)) [K])\n    end\nend\n\nwhen I receive [start the platformer v]\nwait (1) seconds\nset [coindigits v] to [1]\nrepeat (30)\n    create clone of (_myself_ v)\n    change [coindigits v] by (1)\nend\nhide\n\nwhen flag clicked\nforever\n    set [show cash for the blooming shop! v] to (join [£] (Cash))\nend\n\nwhen flag clicked\nhide variable [show cash for the blooming shop! v]\n\nwhen I receive [good skin shop v]\nshow variable [show cash for the blooming shop! v]\n\nwhen I receive [evil skin shop v]\nshow variable [show cash for the blooming shop! v]\n\nwhen I receive [hide shop v]\nhide variable [show cash for the blooming shop! v]\n\nwhen flag clicked\nset [playing? v] to []\nforever\n    if <<(is game menu is?) = [Yes]> or <<(Shop?) = [Show]> or <<(Home Screen?) = [Yes]> or <(Tasks?) = [Show]>>>> then\n        set [playing? v] to [No]\n    else\n        set [playing? v] to [Yes]\n    end\nend\n\nwhen I receive [start the platformer v]\nset [playing? v] to [Yes]\n\nwhen flag clicked\nset [playing? v] to []\n\nwhen I receive [start home screen v]\nset [home screen? v] to [Yes]\nforever\n    if <<(PC or Mobile?) = [PC]> or <(PC or Mobile?) = [Mobile]>> then\n        set [home screen? v] to [No]\n    else\n        set [home screen? v] to [Yes]\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (player? v)?> then\n        set [ghost v] effect to (75)\n    else\n        if <not <touching (player? v)?>> then\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\n@Money Box! xD\n\nwhen flag clicked\nhide\n\nwhen I receive [start the platformer v]\nshow\n\nwhen [timer v] > (0.4)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [hide shop v]\nif <(is game menu is?) = [No]> then\n    hide\nelse\n    show\nend\n\nwhen I receive [back from menu v]\nshow\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen I receive [show tasks v]\nhide\n\nwhen I receive [hide tasks v]\nshow\n\nwhen I receive [hide tasks v]\nif <(is game menu is?) = [No]> then\n    hide\nelse\n    show\nend\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <touching (player? v)?> then\n        set [ghost v] effect to (75)\n    else\n        if <not <touching (player? v)?>> then\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\nwhen I receive [settings v]\n\nhide\n\nwhen I receive [start home screen v]\nhide\n\n@Shop Background\n\nif <(Evil/Good?) = [Evil]> then\n    broadcast (Evil Skin Shop v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        broadcast (Good Skin Shop v)\n    end\nend\n\nwhen I receive [evil skin shop v]\nshow\nswitch costume to (default2 v)\n\nwhen I receive [good skin shop v]\nshow\nswitch costume to (default2 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [back from menu v]\nhide\n\nwhen I receive [next level v]\nhide\n\nwhen I receive [start home screen v]\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nwhen flag clicked\nforever\n\ngo to [front v] layer\n\nwhen I receive [hide shop v]\nhide\n\n@Tasks Background\n\nif <(Evil/Good?) = [Evil]> then\n    broadcast (Evil Skin Shop v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        broadcast (Good Skin Shop v)\n    end\nend\n\nwhen I receive [show tasks v]\nshow\nswitch costume to (default v)\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [back from menu v]\nhide\n\nwhen I receive [next level v]\nhide\n\nwhen I receive [start home screen v]\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\nend\n\nwhen I receive [hide tasks v]\nhide\nswitch costume to (default v)\n\n@Good Shop Side Thing\n\nwhen I receive [choose your shop side v]\nshow\n\nwhen I receive [start the platformer v]\nhide\n\nwhen flag clicked\nhide\ngo to x: (-97) y: (-20)\n\nwhen this sprite clicked\nhide\nset [evil/good? v] to [Good]\nbroadcast (show the blooming text again v)\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nset size to (100) %\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen I receive [start the platformer v]\nhide\n\nwhen I receive [mobile or pc? v]\nhide\n\nwhen I receive [show the blooming text again v]\nhide\n\n@Evil Shop Side Thing\n\nwhen I receive [choose your shop side v]\nshow\n\nwhen I receive [start the platformer v]\nhide\n\nwhen flag clicked\nhide\ngo to x: (97) y: (-20)\n\nwhen this sprite clicked\nhide\nset [evil/good? v] to [Evil]\nbroadcast (show the blooming text again v)\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nset size to (100) %\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen I receive [start the platformer v]\nhide\n\nwhen I receive [mobile or pc? v]\nhide\n\nwhen I receive [show the blooming text again v]\nhide\n\n@Back Button (Tasks)\n\nwhen flag clicked\ngo to x: (-199) y: (144)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen this sprite clicked\nset [tasks? v] to [Hide]\nbroadcast (Hide Tasks v)\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nset size to (50) %\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [60]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [50]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\n@Back Button (Shop)\n\nwhen flag clicked\ngo to x: (-199) y: (144)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen I receive [good skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen this sprite clicked\nset [shop? v] to [Hide]\nbroadcast (Hide Shop v)\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nset size to (50) %\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [60]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [50]>\n            change size by (-2)\n        end\n    end\nend\n\nset [menu back/forward v] to [forward]\nwait (0.01) seconds\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\n@Blue Skin\n\nwhen flag clicked\ngo to x: (-150) y: (50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Blue Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Blue]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [5]> or <(Cash) = [5]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [5]> or <(Cash) = [5]>> then\n            change [cash v] by (-5)\n            wait (0.01) seconds\n            broadcast (Blue Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Blue]\n        end\n    else\n        switch costume to (blue skin v)\n    end\nend\n\nwhen flag clicked\nswitch costume to (blue skin v)\nset [skin bought/chosen v] to []\nset [bought? v] to []\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bought?) = [Yes]> then\n        switch costume to (bought v)\n    else\n        switch costume to (blue skin v)\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nset [ghost v] effect to (0)\n\nwhen I receive [page 2 of skins v]\nhide\n\n@Green Skin\n\nwhen flag clicked\nswitch costume to (green skin v)\ngo to x: (-150) y: (0)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nset [skin bought/chosen v] to [Green]\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Green Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Green]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [15]> or <(Cash) = [15]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [15]> or <(Cash) = [15]>> then\n            change [cash v] by (-15)\n            wait (0.01) seconds\n            broadcast (Green Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Green]\n        end\n    else\n        switch costume to (green skin v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\nforever\n    if <(Bought?) = [Yes]> then\n        switch costume to (bought v)\n    else\n        switch costume to (blue skin v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen I receive [page 2 of skins v]\nhide\n\n@Red Skin\n\nwhen flag clicked\nswitch costume to (red skin v)\ngo to x: (-150) y: (-50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Red Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Red]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [30]> or <(Cash) = [30]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [30]> or <(Cash) = [30]>> then\n            change [cash v] by (-30)\n            wait (0.01) seconds\n            broadcast (Red Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Red]\n        end\n    else\n        switch costume to (red skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    set [boughtred v] to [Yes]\n    if <<(Cash) > [30]> or <(Cash) = [30]>> then\n        change [cash v] by (-30)\n        wait (0.01) seconds\n        broadcast (Red Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Red]\n    end\nelse\n    broadcast (Red Skin v)\n    set [skin bought/chosen v] to [Red]\nend\n\nwhen flag clicked\nset [bought? v] to []\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bought?) = [Yes]> then\n        forever\n            switch costume to (bought v)\n        end\n    else\n        switch costume to (blue skin v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen I receive [page 2 of skins v]\nhide\n\n@Gold Skin\n\nwhen flag clicked\nset [bought? v] to []\nswitch costume to (gold skin v)\ngo to x: (-150) y: (-100)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nset [skin bought/chosen v] to [Blue]\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Gold Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Gold]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [50]> or <(Cash) = [50]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [50]> or <(Cash) = [50]>> then\n            change [cash v] by (-50)\n            wait (0.01) seconds\n            broadcast (Gold Skin v)\n            change [# of skins owned v] by (1)\n            switch costume to (bought v)\n            set [skin bought/chosen v] to [Gold]\n        end\n    else\n        switch costume to (gold skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Gold Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Gold]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen I receive [page 2 of skins v]\nhide\n\n@Pink Skin\n\nwhen flag clicked\nswitch costume to (pink skin v)\ngo to x: (-45) y: (50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nset [skin bought/chosen v] to [Blue]\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Pink Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Pink]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [50]> or <(Cash) = [50]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [50]> or <(Cash) = [50]>> then\n            change [cash v] by (-50)\n            wait (0.01) seconds\n            broadcast (Pink Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Pink]\n        end\n    else\n        switch costume to (pink skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nshow\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    else\n    end\nend\n\nif  then\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nshow\n\nif  then\nend\n\nhide\n\nwhen I receive [page 2 of skins v]\nhide\n\n@cheekyscuola Skin\n\nwhen flag clicked\nswitch costume to (cheekyscuola skin v)\ngo to x: (-45) y: (0)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nset [skin bought/chosen v] to [Blue]\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (cheekyscuola Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [cheekyscuola]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [50]> or <(Cash) = [50]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [100]> or <(Cash) = [100]>> then\n            change [cash v] by (-100)\n            wait (0.01) seconds\n            broadcast (cheekyscuola Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [cheekyscuola]\n        end\n    else\n        switch costume to (cheekyscuola skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nshow\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\n\n\nwhen flag clicked\nset [bought? v] to []\n\nshow\n\n\n\nhide\n\nwhen I receive [page 2 of skins v]\nhide\n\n@levi_minecraft Skin\n\nwhen flag clicked\nswitch costume to (levi_minecraft skin v)\ngo to x: (-45) y: (-50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nset [skin bought/chosen v] to [Blue]\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Levi_minecraft Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [levi_minecraft]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [100]> or <(Cash) = [100]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [100]> or <(Cash) = [100]>> then\n            change [cash v] by (-100)\n            wait (0.01) seconds\n            broadcast (Levi_minecraft Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [levi_minecraft]\n        end\n    else\n        switch costume to (levi_minecraft skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nshow\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\n\n\nwhen flag clicked\nset [bought? v] to []\n\nshow\n\n\n\nhide\n\nwhen I receive [page 2 of skins v]\nhide\n\n@duoof Skin\n\nwhen flag clicked\nswitch costume to (duoof skin v)\ngo to x: (-45) y: (-100)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nset [skin bought/chosen v] to [Blue]\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (duoof Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [duoof]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [100]> or <(Cash) = [100]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [100]> or <(Cash) = [100]>> then\n            change [cash v] by (-100)\n            wait (0.01) seconds\n            broadcast (duoof Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [duoof]\n        end\n    else\n        switch costume to (duoof skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nshow\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\n\n\nwhen flag clicked\nset [bought? v] to []\n\nshow\n\n\n\nhide\n\nwhen I receive [page 2 of skins v]\nhide\n\n@Sunny Day Skin\n\nwhen flag clicked\nswitch costume to (sunny day skin v)\ngo to x: (60) y: (-50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Sunny Day Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Sunny Day]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [125]> or <(Cash) = [125]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [125]> or <(Cash) = [125]>> then\n            change [cash v] by (-125)\n            wait (0.01) seconds\n            broadcast (Sunny Day Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Sunny Day]\n        end\n    else\n        switch costume to (sunny day skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nwhen I receive [page 2 of skins v]\nhide\n\n@Starry Night Skin\n\nwhen flag clicked\nswitch costume to (starry night skin v)\ngo to x: (60) y: (-100)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Starry Night Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Starry Night]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [125]> or <(Cash) = [125]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [125]> or <(Cash) = [125]>> then\n            change [cash v] by (-125)\n            wait (0.01) seconds\n            broadcast (Starry Night Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Starry Night]\n        end\n    else\n        switch costume to (starry night skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nwhen I receive [page 2 of skins v]\nhide\n\n@krishtheking123 Skin\n\nwhen flag clicked\nswitch costume to (krishtheking123 skin v)\ngo to x: (60) y: (0)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (krishtheking123 Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [krishtheking123]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [150]> or <(Cash) = [150]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [150]> or <(Cash) = [150]>> then\n            change [cash v] by (-150)\n            wait (0.01) seconds\n            broadcast (krishtheking123 Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [krishtheking123]\n        end\n    else\n        switch costume to (krishtheking123 skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nwhen I receive [page 2 of skins v]\nhide\n\n@XXLordIceXX Skin\n\nwhen flag clicked\nswitch costume to (xxlordicexx skin v)\ngo to x: (60) y: (50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (XXLordIceXX Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [XXLordIceXX]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [100]> or <(Cash) = [100]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [100]> or <(Cash) = [100]>> then\n            change [cash v] by (-100)\n            wait (0.01) seconds\n            broadcast (XXLordIceXX Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [XXLordIceXX]\n        end\n    else\n        switch costume to (xxlordicexx skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\ngo to x: (60) y: (-100)\nhide\n\nwhen I receive [page 2 of skins v]\nhide\n\n@Cyclops Skin\n\nwhen flag clicked\nswitch costume to (cyclops skin v)\ngo to x: (162) y: (50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Cyclops Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Cyclops]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [125]> or <(Cash) = [125]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [125]> or <(Cash) = [125]>> then\n            change [cash v] by (-125)\n            wait (0.01) seconds\n            broadcast (Cyclops Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Cyclops]\n        end\n    else\n        switch costume to (cyclops skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nwhen I receive [page 2 of skins v]\nhide\n\n@Monster Skin\n\nwhen flag clicked\nswitch costume to (monster skin v)\ngo to x: (162) y: (0)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Monster Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Monster]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [125]> or <(Cash) = [125]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [125]> or <(Cash) = [125]>> then\n            change [cash v] by (-125)\n            wait (0.01) seconds\n            broadcast (Monster Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Monster]\n        end\n    else\n        switch costume to (monster skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nwhen I receive [page 2 of skins v]\nhide\n\n@No Adds lol xD\n\nwhen flag clicked\nswitch costume to (cyclops skin v)\ngo to x: (162) y: (-50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (No ads now v)\n    switch costume to (bought v)\n    set [ads? v] to [No]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [20]> or <(Cash) = [20]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [20]> or <(Cash) = [20]>> then\n            change [cash v] by (-20)\n            wait (0.01) seconds\n            broadcast (No ads now v)\n            switch costume to (bought v)\n            set [ads? v] to [No]\n        end\n    else\n        switch costume to (cyclops skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\nset [ads? v] to [Yes]\n\nwhen I receive [page 2 of skins v]\nhide\n\n@Next Skin Page\n\nwhen flag clicked\nswitch costume to (more skins v)\ngo to x: (162) y: (-100)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nshow\n\nwhen I receive [evil skin shop v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Page 2 of Skins v)\nhide\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nif <(Bought?) = [Yes]> then\n    broadcast (Sunny Day Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Sunny Day]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [125]> or <(Cash) = [125]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [125]> or <(Cash) = [125]>> then\n            change [cash v] by (-125)\n            wait (0.01) seconds\n            broadcast (Sunny Day Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Sunny Day Skin]\n        end\n    else\n        switch costume to (more skins v)\n    end\nend\n\nwhen I receive [page 2 of skins v]\nhide\n\n@Pig Skin\n\nwhen flag clicked\nswitch costume to (pig skin v)\ngo to x: (-150) y: (50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [page 2 of skins v]\nshow\n\nwhen I receive [page 2 of skins v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Pig Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Pig]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [100]> or <(Cash) = [100]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [100]> or <(Cash) = [100]>> then\n            change [cash v] by (-100)\n            wait (0.01) seconds\n            broadcast (Pig Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Pig]\n        end\n    else\n        switch costume to (pig skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen I receive [good skin shop v]\nhide\n\n@Cow Skin\n\nwhen flag clicked\nswitch costume to (cow skin v)\ngo to x: (-150) y: (0)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [page 2 of skins v]\nshow\n\nwhen I receive [page 2 of skins v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Cow Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Cow]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [100]> or <(Cash) = [100]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [100]> or <(Cash) = [100]>> then\n            change [cash v] by (-100)\n            wait (0.01) seconds\n            broadcast (Cow Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Cow]\n        end\n    else\n        switch costume to (cow skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen I receive [good skin shop v]\nhide\n\n@Panda Skin\n\nwhen flag clicked\nswitch costume to (panda skin v)\ngo to x: (-150) y: (-50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [page 2 of skins v]\nshow\n\nwhen I receive [page 2 of skins v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Panda Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Panda]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [100]> or <(Cash) = [100]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [100]> or <(Cash) = [100]>> then\n            change [cash v] by (-100)\n            wait (0.01) seconds\n            broadcast (Panda Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Panda]\n        end\n    else\n        switch costume to (panda skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen I receive [good skin shop v]\nhide\n\n@Ninja Skin\n\nwhen flag clicked\nswitch costume to (ninja skin v)\ngo to x: (-150) y: (-100)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [page 2 of skins v]\nshow\n\nwhen I receive [page 2 of skins v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Ninja Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Ninja]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [100]> or <(Cash) = [100]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [100]> or <(Cash) = [100]>> then\n            change [cash v] by (-100)\n            wait (0.01) seconds\n            broadcast (Ninja Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Ninja]\n        end\n    else\n        switch costume to (ninja skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [evil skin shop v]\nhide\n\n@Glits Skin\n\nwhen flag clicked\nswitch costume to (-glittersquad- skin v)\ngo to x: (-45) y: (50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [page 2 of skins v]\nshow\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (-GlitterSquad- Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Glits]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [100]> or <(Cash) = [100]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [100]> or <(Cash) = [100]>> then\n            change [cash v] by (-100)\n            wait (0.01) seconds\n            broadcast (-GlitterSquad- Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Glits]\n        end\n    else\n        switch costume to (-glittersquad- skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nwhen I receive [good skin shop v]\nhide\n\n@Cute Robot Skin\n\nwhen flag clicked\nswitch costume to (cute robot skin v)\ngo to x: (-45) y: (0)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [page 2 of skins v]\nshow\n\nwhen I receive [page 2 of skins v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Cute Robot Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Cute Robot]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [125]> or <(Cash) = [125]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [125]> or <(Cash) = [125]>> then\n            change [cash v] by (-125)\n            wait (0.01) seconds\n            broadcast (Cute Robot Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Cute Robot]\n        end\n    else\n        switch costume to (cute robot skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen I receive [good skin shop v]\nhide\n\n@Good Default Skin (Free)\n\nwhen flag clicked\ngo to x: (-45) y: (-50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Good Default Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Blue]\nelse\n    if <not <(costume [number v]) = [2]>> then\n        set [bought? v] to [Yes]\n        broadcast (Good Default Skin v)\n        switch costume to (bought v)\n        set [skin bought/chosen v] to [Good Default]\n    else\n        switch costume to (good default skin v)\n    end\nend\n\nchange [# of skins owned v] by (1)\n\nwhen flag clicked\nswitch costume to (good default skin v)\nset [skin bought/chosen v] to []\nset [bought? v] to []\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bought?) = [Yes]> then\n        switch costume to (bought v)\n    else\n        switch costume to (good default skin v)\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen I receive [page 2 of skins v]\nshow\n\nchange [cash v] by (-5)\nwait (0.01) seconds\n\nif <<(Cash) > [5]> or <(Cash) = [5]>> then\n\n@Evil Default Skin (Free)2\n\nwhen flag clicked\ngo to x: (-45) y: (-100)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Evil Default Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Evil Default]\nelse\n    if <not <(costume [number v]) = [2]>> then\n        set [bought? v] to [Yes]\n        broadcast (Evil Default Skin v)\n        switch costume to (bought v)\n        set [skin bought/chosen v] to [Evil Default]\n    else\n        switch costume to (evil default skin v)\n    end\nend\n\nchange [# of skins owned v] by (1)\n\nwhen flag clicked\nswitch costume to (evil default skin v)\nset [skin bought/chosen v] to []\nset [bought? v] to []\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bought?) = [Yes]> then\n        switch costume to (bought v)\n    else\n        switch costume to (evil default skin v)\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen I receive [page 2 of skins v]\nshow\n\nchange [cash v] by (-5)\nwait (0.01) seconds\n\nif <<(Cash) > [5]> or <(Cash) = [5]>> then\n\n@xenovex Skin\n\nwhen flag clicked\nswitch costume to (xenovex skin v)\ngo to x: (60) y: (50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (xenovex Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [xenovex]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [100]> or <(Cash) = [100]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [100]> or <(Cash) = [100]>> then\n            change [cash v] by (-100)\n            wait (0.01) seconds\n            broadcast (xenovex Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [xenovex]\n        end\n    else\n        switch costume to (xenovex skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nwhen I receive [page 2 of skins v]\nshow\n\n@Creeper Skin\n\nwhen flag clicked\nswitch costume to (creeper skin v)\ngo to x: (60) y: (0)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Bought?) = [Yes]> then\n    broadcast (Creeper Skin v)\n    switch costume to (bought v)\n    set [skin bought/chosen v] to [Creeper]\nelse\n    if <<not <(costume [number v]) = [2]>> and <<(Cash) > [100]> or <(Cash) = [100]>>> then\n        set [bought? v] to [Yes]\n        if <<(Cash) > [100]> or <(Cash) = [100]>> then\n            change [cash v] by (-100)\n            wait (0.01) seconds\n            broadcast (Creeper Skin v)\n            switch costume to (bought v)\n            change [# of skins owned v] by (1)\n            set [skin bought/chosen v] to [Creeper]\n        end\n    else\n        switch costume to (creeper skin v)\n    end\nend\n\nif <not <(costume [number v]) = [2]>> then\n    if <<(Cash) > [50]> or <(Cash) = [50]>> then\n        change [cash v] by (-50)\n        wait (0.01) seconds\n        broadcast (Pink Skin v)\n        switch costume to (sold v)\n        set [skin bought/chosen v] to [Pink]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (bought v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Shop?) = [Show]> and <touching (mouse-pointer v)?>> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nset [bought? v] to []\n\nwhen I receive [page 2 of skins v]\nshow\n\n@Task 1\n\nwhen flag clicked\nset [cash v] to [0]\nswitch costume to (task 1 v)\ngo to x: (-150) y: (50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide tasks v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (completed v)\n        end\n    end\nend\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [start the platformer v]\nswitch costume to (completed v)\nchange [cash v] by (10)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\n@Task 2\n\nwhen flag clicked\nset [cash v] to [0]\nswitch costume to (task 1 v)\ngo to x: (-150) y: (0)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide tasks v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (completed v)\n        end\n    end\nend\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [level 5 passed v]\nswitch costume to (completed v)\nchange [cash v] by (5)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\n@Task 3\n\nwhen flag clicked\nset [cash v] to [0]\nswitch costume to (task 1 v)\ngo to x: (-150) y: (-50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide tasks v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (completed v)\n        end\n    end\nend\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [level 10 passed v]\nswitch costume to (completed v)\nchange [cash v] by (10)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\n@Task 4\n\nwhen flag clicked\nset [cash v] to [0]\nswitch costume to (task 1 v)\ngo to x: (-150) y: (-100)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide tasks v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (completed v)\n        end\n    end\nend\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [level 15 passed v]\nswitch costume to (completed v)\nchange [cash v] by (15)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\n@Task 5\n\nwhen flag clicked\nset [cash v] to [0]\nswitch costume to (task 1 v)\ngo to x: (-45) y: (50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide tasks v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (completed v)\n        end\n    end\nend\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [complete the platformer v]\nswitch costume to (completed v)\nchange [cash v] by (20)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen I receive [the evil boss is dead! v]\nbroadcast (complete the platformer v)\n\nwhen I receive [the good boss is dead! v]\nbroadcast (complete the platformer v)\n\n@Task 6\n\nwhen flag clicked\nset [cash v] to [0]\nswitch costume to (task 1 v)\ngo to x: (-45) y: (0)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide tasks v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (completed v)\n        end\n    end\nend\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [da good side has been chosen v]\nswitch costume to (completed v)\nchange [cash v] by (5)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\n@Task 7\n\nwhen flag clicked\nset [cash v] to [0]\nswitch costume to (task 1 v)\ngo to x: (-45) y: (-50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide tasks v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (completed v)\n        end\n    end\nend\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [i suppose that u chose the evil side v]\nswitch costume to (completed v)\nchange [cash v] by (5)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\n@Task 8\n\nwhen flag clicked\nset [cash v] to [0]\nswitch costume to (task 1 v)\ngo to x: (-45) y: (-100)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide tasks v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (completed v)\n        end\n    end\nend\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [da evil side has been chosen v]\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nforever\n    if <(# of Skins Owned) = [2]> then\n        switch costume to (completed v)\n        change [cash v] by (5)\n        broadcast (you bought a skin! :D v)\n        forever\n            stop [this script v]\n        end\n    end\nend\n\nchange [cash v] by (500)\n\n@Task 9\n\nwhen flag clicked\nset [cash v] to [0]\nswitch costume to (task 1 v)\ngo to x: (60) y: (50)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide tasks v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (completed v)\n        end\n    end\nend\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [da evil side has been chosen v]\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nforever\n    if <(# of Skins Owned) = [4]> then\n        switch costume to (completed v)\n        change [cash v] by (10)\n        broadcast (you bought 3 skins! :D v)\n        forever\n            stop [this script v]\n        end\n    end\nend\n\nchange [cash v] by (500)\n\n@Task 10\n\nwhen flag clicked\nset [cash v] to [0]\nswitch costume to (task 1 v)\ngo to x: (60) y: (0)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide tasks v]\nhide\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        forever\n            switch costume to (completed v)\n        end\n    end\nend\n\nwhen I receive [show tasks v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [da evil side has been chosen v]\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen flag clicked\nforever\n    if <(# of Skins Owned) = [6]> then\n        switch costume to (completed v)\n        change [cash v] by (15)\n        broadcast (You bought 5 skins! :D v)\n        forever\n            stop [this script v]\n        end\n    end\nend\n\nchange [cash v] by (500)\n\n@Snow\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <<(On/Off 3) = [1]> or <(Level of game :P) = [Boss]>> then\n    delete this clone\nelse\n    go to x: (pick random (215) to (-215)) y: (155)\n    set size to (pick random (40) to (60)) %\n    switch costume to (costume1 v)\n    show\n    repeat until <<touching (_edge_ v)?> or <touching (ground v)?>>\n        change y by (-4)\n        change x by ((x 4 snow) / (50))\n        point towards (player? v)\n    end\n    if <touching (_edge_ v)?> then\n        delete this clone\n    else\n        wait (1) seconds\n        repeat (20)\n            change y by (-0.5)\n        end\n        delete this clone\n    end\nend\n\nforever\n    set [h v] to (mouse x)\nend\n\nwhen I start as a clone\nforever\n    go to [back v] layer\nend\n\nwhen I receive [start the platformer v]\nif <(Evil/Good?) = [Good]> then\n    forever\n        wait (0.08) seconds\n        create clone of (_myself_ v)\n    end\nelse\n    hide\nend\n\nwhen I receive [the evil boss is dead! v]\nstop [other scripts in sprite v]\n\nwhen I receive [the good boss is dead! v]\nstop [other scripts in sprite v]\n\n@LightningScratch\n\n@Awesome Particles (Evil)\n\nwhen I start as a clone\nif <<(On/Off 3) = [1]> or <(Level of game :P) = [Boss]>> then\n    delete this clone\nelse\n    if <not <(Home Screen?) = [Yes]>> then\n        set [ghost v] effect to (65)\n        go to [back v] layer\n        show\n        if <(size) > [99]> then\n            glide (4) secs to x: (x position) y: (-50)\n            delete this clone\n        end\n        if <(size) > [80]> then\n            glide (3) secs to x: (x position) y: (-50)\n            delete this clone\n        end\n        if <(size) > [65]> then\n            glide (2) secs to x: (x position) y: (-50)\n            delete this clone\n        end\n        if <(size) > [50]> then\n            glide (1.5) secs to x: (x position) y: (-50)\n            delete this clone\n        end\n        if <(size) > [40]> then\n            glide (1) secs to x: (x position) y: (-50)\n            delete this clone\n        end\n    else\n        delete this clone\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start the platformer v]\nif <(Evil/Good?) = [Evil]> then\n    forever\n        set [brightness v] effect to (pick random (-10) to (10))\n        set size to (pick random (41) to (90)) %\n        go to x: (pick random (-200) to (200)) y: (-180)\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n    end\nelse\n    hide\nend\n\nwhen I receive [stop all v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Epic text for da story >:D\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nset [ghost v] effect to (0)\nhide\ngo to x: (0) y: (-187)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [start the platformer v]\nshow\nif <(Evil/Good?) = [Evil]> then\n    switch costume to (evil text 1 v)\nelse\n    switch costume to (good text 1 v)\nend\n\nwhen I receive [next level v]\nnext costume\nwait (0.01) seconds\n\nwhen I receive [start home screen v]\nswitch costume to (blank v)\n\nwhen I receive [settings v]\nset [ghost v] effect to (100)\n\nwhen I receive [menu v]\nset [ghost v] effect to (100)\n\nwhen I receive [back from menu v]\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <<<<touching (settingsmenu v)?> or <touching (achievement earned v)?>> or <<touching (shop background v)?> or <<touching (advertisments v)?> or <touching (tasks background v)?>>>> or <<(is game menu is?) = [Yes]> or <(On/Off 4) = [1]>>> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [start the platformer v]\nforever\n    repeat until <touching (mouse-pointer v)?>\n        glide (1) secs to x: (0) y: (-187)\n    end\n    glide (1) secs to x: (0) y: (-120)\nend\n\nwhen flag clicked\nswitch costume to (evil text 1 v)\n\nwhen I receive [start the platformer v]\n\nforever\n    repeat until <touching (mouse-pointer v)?>\n        glide (1) secs to x: (0) y: (-187)\n    end\n    glide (1) secs to x: (0) y: (0)\nend\n\n@Shadows\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (75)\nend\n\nwhen flag clicked\nhide\nforever\n    go to [back v] layer\nend\n\nwhen I receive [next level v]\nnext costume\nwait (0.01) seconds\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [start the platformer v]\nshow\nif <(Evil/Good?) = [Evil]> then\n    switch costume to (evil lvl 1 shadow v)\nelse\n    switch costume to (good lvl 1 shadows v)\nend\n\nwhen I receive [start home screen v]\nswitch costume to (hide v)\n\n@Spike\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nforever\n    go to [back v] layer\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [start the platformer v]\ngo to x: (0) y: (0)\nshow\nif <(Evil/Good?) = [Evil]> then\n    switch costume to (evil spike lvl 1 v)\nelse\n    switch costume to (good spike lvl 1 v)\nend\n\nwhen I receive [next level v]\nnext costume\nwait (0.01) seconds\n\n@le bouncy\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [start the platformer v]\nshow\nif <(Evil/Good?) = [Evil]> then\n    show\n    switch costume to (evil text 1 v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        show\n        switch costume to (good text 1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    hide\n    reset timer\n    set [brightness v] effect to (-8)\n    set [color v] effect to (185)\nend\n\nwhen I start as a clone\nswitch costume to (test v)\nforever\n    if <touching (player? v)?> then\n        if <(Evil/Good?) = [Evil]> then\n            repeat (8)\n                next costume\n            end\n            repeat (8)\n                switch costume to ((costume [number v]) - (1))\n            end\n        else\n            if <(Evil/Good?) = [Good]> then\n                repeat (8)\n                    next costume\n                end\n                repeat (8)\n                    switch costume to ((costume [number v]) - (1))\n                end\n            end\n        end\n    end\n    if <(Evil/Good?) = [Evil]> then\n        clear graphic effects\n        set [brightness v] effect to (-8)\n        set [color v] effect to (185)\n    else\n        if <(Evil/Good?) = [Good]> then\n            clear graphic effects\n        end\n    end\n    if <(Level of game :P) = [1]> then\n        delete this clone\n    else\n        if <(Level of game :P) = [2]> then\n            delete this clone\n        else\n            if <(Level of game :P) = [3]> then\n                delete this clone\n            else\n                if <(Level of game :P) = [4]> then\n                    show\n                    go to x: (65) y: (-96)\n                else\n                    if <(Level of game :P) = [5]> then\n                        delete this clone\n                    else\n                        if <(Level of game :P) = [6]> then\n                            delete this clone\n                        else\n                            if <(Level of game :P) = [7]> then\n                                delete this clone\n                            else\n                                if <(Level of game :P) = [8]> then\n                                    delete this clone\n                                else\n                                    if <(Level of game :P) = [9]> then\n                                        delete this clone\n                                    else\n                                        if <(Level of game :P) = [10]> then\n                                            delete this clone\n                                        else\n                                            if <(Level of game :P) = [11]> then\n                                                delete this clone\n                                            else\n                                                if <(Level of game :P) = [12]> then\n                                                    delete this clone\n                                                else\n                                                    if <(Level of game :P) = [13]> then\n                                                        delete this clone\n                                                    else\n                                                        if <(Level of game :P) = [14]> then\n                                                            delete this clone\n                                                        else\n                                                            if <(Level of game :P) = [15]> then\n                                                                show\n                                                                go to x: (-47) y: (-84)\n                                                            else\n                                                                if <(Level of game :P) = [16]> then\n                                                                    show\n                                                                    go to x: (-145) y: (-92)\n                                                                else\n                                                                    if <(Level of game :P) = [Boss]> then\n                                                                        delete this clone\n                                                                    else\n                                                                        if <(Level of game :P) = [17]> then\n                                                                            delete this clone\n                                                                        else\n                                                                            if <(Level of game :P) = [18]> then\n                                                                                delete this clone\n                                                                            else\n                                                                                if <(Level of game :P) = [19]> then\n                                                                                    delete this clone\n                                                                                else\n                                                                                    if <(Level of game :P) = [20]> then\n                                                                                        delete this clone\n                                                                                    else\n                                                                                        if <(Level of game :P) = [21]> then\n                                                                                            delete this clone\n                                                                                        end\n                                                                                    end\n                                                                                end\n                                                                            end\n                                                                        end\n                                                                    end\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nhide\n\ndelete this clone\n\nshow\ngo to x: (-150) y: (-92)\n\ndelete this clone\n\nwhen flag clicked\nswitch costume to (test v)\n\nswitch costume to (test v)\n\nif <(Level of game :P) = [18]> then\n    show\n    go to x: (-48) y: (-90)\nend\n\nif <(Level of game :P) = [17]> then\n    hide\n    delete this clone\nend\n\nwhen I receive [next level v]\nrepeat (2)\n    create clone of (_myself_ v)\n    wait (0.01) seconds\nend\n\n@le bouncy2\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [start the platformer v]\nif <(Evil/Good?) = [Evil]> then\n    show\n    switch costume to (evil text 1 v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        show\n        switch costume to (good text 1 v)\n    end\nend\n\nshow\n\nwhen flag clicked\nforever\n    hide\n    reset timer\n    set [brightness v] effect to (-8)\n    set [color v] effect to (185)\nend\n\nwhen I start as a clone\nswitch costume to (test v)\nforever\n    if <touching (player? v)?> then\n        if <(Evil/Good?) = [Evil]> then\n            repeat (8)\n                next costume\n            end\n            repeat (8)\n                switch costume to ((costume [number v]) - (1))\n            end\n        else\n            if <(Evil/Good?) = [Good]> then\n                repeat (8)\n                    next costume\n                end\n                repeat (8)\n                    switch costume to ((costume [number v]) - (1))\n                end\n            end\n        end\n    end\n    if <(Evil/Good?) = [Evil]> then\n        clear graphic effects\n        set [brightness v] effect to (-8)\n        set [color v] effect to (185)\n    else\n        if <(Evil/Good?) = [Good]> then\n            clear graphic effects\n        end\n    end\n    if <<(Level of game :P) = [1]> or <(Level of game :P) = [23]>> then\n        delete this clone\n    else\n        if <<(Level of game :P) = [2]> or <(Level of game :P) = [24]>> then\n            delete this clone\n        else\n            if <<(Level of game :P) = [3]> or <(Level of game :P) = [25]>> then\n                delete this clone\n            else\n                if <<(Level of game :P) = [4]> or <(Level of game :P) = [26]>> then\n                    show\n                    go to x: (155) y: (-96)\n                else\n                    if <<(Level of game :P) = [5]> or <(Level of game :P) = [27]>> then\n                        delete this clone\n                    else\n                        if <<(Level of game :P) = [6]> or <(Level of game :P) = [28]>> then\n                            delete this clone\n                        else\n                            if <<(Level of game :P) = [7]> or <(Level of game :P) = [29]>> then\n                                delete this clone\n                            else\n                                if <<(Level of game :P) = [8]> or <(Level of game :P) = [30]>> then\n                                    delete this clone\n                                else\n                                    if <<(Level of game :P) = [9]> or <(Level of game :P) = [31]>> then\n                                        delete this clone\n                                    else\n                                        if <<(Level of game :P) = [10]> or <(Level of game :P) = [32]>> then\n                                            delete this clone\n                                        else\n                                            if <<(Level of game :P) = [11]> or <(Level of game :P) = [33]>> then\n                                                delete this clone\n                                            else\n                                                if <<(Level of game :P) = [12]> or <(Level of game :P) = [34]>> then\n                                                    delete this clone\n                                                else\n                                                    if <(Level of game :P) = [13]> then\n                                                        delete this clone\n                                                    else\n                                                        if <(Level of game :P) = [13]> then\n                                                            delete this clone\n                                                        else\n                                                            if <(Level of game :P) = [14]> then\n                                                                delete this clone\n                                                            else\n                                                                if <(Level of game :P) = [14]> then\n                                                                    delete this clone\n                                                                else\n                                                                    if <(Level of game :P) = [15]> then\n                                                                        delete this clone\n                                                                    else\n                                                                        if <(Level of game :P) = [16]> then\n                                                                            delete this clone\n                                                                        else\n                                                                            if <(Level of game :P) = [Boss]> then\n                                                                                delete this clone\n                                                                            else\n                                                                                if <(Level of game :P) = [17]> then\n                                                                                    delete this clone\n                                                                                else\n                                                                                    if <(Level of game :P) = [18]> then\n                                                                                        delete this clone\n                                                                                    else\n                                                                                        if <(Level of game :P) = [19]> then\n                                                                                            delete this clone\n                                                                                        else\n                                                                                            if <(Level of game :P) = [20]> then\n                                                                                                delete this clone\n                                                                                            else\n                                                                                                if <(Level of game :P) = [21]> then\n                                                                                                    delete this clone\n                                                                                                end\n                                                                                            end\n                                                                                        end\n                                                                                    end\n                                                                                end\n                                                                            end\n                                                                        end\n                                                                    end\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nshow\ngo to x: (0) y: (26)\n\nwhen flag clicked\nswitch costume to (test v)\n\nhide\n\nwhen I receive [next level v]\nrepeat (2)\n    create clone of (_myself_ v)\n    wait (0.01) seconds\nend\n\n@Water\n\nwhen I start as a clone\nforever\n    if <(Evil/Good?) = [Good]> then\n        show\n        set [ghost v] effect to (60)\n        go to [back v] layer\n        switch costume to (Level of game :P)\n        set y to ((([sin v] of (((timer) + (me)) * (300)) ) * (8)) - ((me) * (10)))\n    end\nend\n\nwhen I receive [start the platformer v]\nclear graphic effects\nhide\ngo to x: (0) y: (0)\nset [me v] to [1]\nrepeat (3)\n    create clone of (_myself_ v)\n    change y by (-5)\n    change [brightness v] effect by (-10)\n    change [me v] by (1)\nend\n\n@Lava\n\nwhen I start as a clone\nforever\n    if <(Evil/Good?) = [Evil]> then\n        show\n        set [ghost v] effect to (60)\n        go to [back v] layer\n        switch costume to (Level of game :P)\n        set y to ((([sin v] of (((timer) + (me*)) * (300)) ) * (8)) - ((me*) * (10)))\n    else\n        delete this clone\n    end\nend\n\nwhen I receive [start the platformer v]\nclear graphic effects\nhide\ngo to x: (0) y: (0)\nset [me* v] to [1]\nrepeat (3)\n    create clone of (_myself_ v)\n    change y by (-5)\n    change [brightness v] effect by (-10)\n    change [me* v] by (1)\nend\n\nwhen I start as a clone\nif <(Level of game :P) = []> then\n    delete this clone\nend\n\nif  then\n    show\n    set [ghost v] effect to (60)\n    go to [back v] layer\n    switch costume to (Level of game :P)\n    set y to ((([sin v] of (((timer) + (me*)) * (300)) ) * (8)) - ((me*) * (10)))\nelse\nend\n\n@Background Art\n\nwhen flag clicked\nswitch costume to (level 1 v)\nhide\n\nwhen I receive [next level v]\nnext costume\nwait (0.01) seconds\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [start the platformer v]\nif <(Evil/Good?) = [Evil]> then\n    switch costume to (evil level 1 v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        switch costume to (level 1 v)\n    end\nend\nforever\n    show\n    go to [back v] layer\nend\n\n@Settings\n\nwhen flag clicked\nset [is game menu is? v] to []\ngo to x: (205) y: (121)\nhide\n\nwhen I receive [start the platformer v]\nshow\n\nwhen I receive [start home screen v]\nset [is game menu is? v] to [No]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [start the platformer v]\nset size to (100) %\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen I receive [start the platformer v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nif <(Is Settings Open?) = [Yes]> then\n    broadcast (Settings v)\n    wait (0.01) seconds\n    set [is settings open? v] to [No]\nelse\n    if <(Is Settings Open?) = [No]> then\n        broadcast (Back From da Settings v)\n        wait (0.01) seconds\n        broadcast (Settings v)\n        wait (0.01) seconds\n        set [is settings open? v] to [Yes]\n    end\nend\n\nwhen flag clicked\nset [menu back/forward v] to []\nforever\n    go to [front v] layer\nend\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [hide shop v]\nhide\n\nif <(is game menu is?) = [Yes]> then\n    show\nelse\n    hide\nend\n\nbroadcast (menu v)\nset [menu back/forward v] to [back]\n\nbroadcast (back from menu v)\nset [menu back/forward v] to [forward]\n\nwhen I receive [show tasks v]\nhide\n\nwhen I receive [hide tasks v]\nhide\n\nif <(is game menu is?) = [Yes]> then\n    show\nelse\n    hide\nend\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [back from menu v]\nshow\n\nforever\n\ngo to x: (0) y: (0)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <touching (player? v)?> then\n        set [ghost v] effect to (75)\n    else\n        if <not <touching (player? v)?>> then\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen I receive [settings v]\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <(Level of game :P) = [Boss]> then\n        hide\n        stop [this script v]\n    end\nend\n\nif  then\nend\n\nwhen I receive [time 4 boss text v]\nhide\n\n@SettingsMenu\n\nwhen I receive [settings v]\nif <(Is Settings Open?) = [Yes]> then\n    show\nelse\n    if <(Is Settings Open?) = [No]> then\n        hide\n    end\nend\n\nwhen flag clicked\nset [is settings open? v] to [No]\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [start the platformer v]\nset [is settings open? v] to [Yes]\n\n@On/Off (Button Show?)\n\nwhen flag clicked\nhide\nset [on/off 1 v] to [1]\nswitch costume to (costume2 v)\n\nwhen I receive [settings v]\nshow\n\nwhen this sprite clicked\nif <(On/Off 1) = [1]> then\n    switch costume to (costume3 v)\n    set [on/off 1 v] to [0]\nelse\n    switch costume to (costume2 v)\n    set [on/off 1 v] to [1]\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [back from settings v]\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nwhen I receive [settings v]\nshow\n\nwhen flag clicked\nset [is settings open? v] to [Yes]\nforever\n    if <(Is Settings Open?) = [No]> then\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nrepeat until <(Is Settings Open?) = [Yes]>\n    hide\nend\n\nwhen I receive [settings v]\nshow\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nrepeat (10)\n    hide\n    wait (0.1) seconds\nend\n\n@On/Off (Music)\n\nwhen flag clicked\nset [on/off 2 v] to [1]\nswitch costume to (costume2 v)\nhide\n\nwhen I receive [settings v]\nshow\n\nwhen this sprite clicked\nif <(On/Off 2) = [1]> then\n    broadcast (Turn Music Off v)\n    switch costume to (costume3 v)\n    set [on/off 2 v] to [0]\nelse\n    broadcast (Turn Music On v)\n    switch costume to (costume2 v)\n    set [on/off 2 v] to [1]\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [back from settings v]\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nwhen I receive [settings v]\nshow\n\nwhen flag clicked\nset [is settings open? v] to [Yes]\nforever\n    if <(Is Settings Open?) = [No]> then\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nrepeat until <(Is Settings Open?) = [Yes]>\n    hide\nend\n\nwhen I receive [settings v]\nshow\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nrepeat (10)\n    hide\n    wait (0.1) seconds\nend\n\n@On/Off (No lag/particles off)\n\nwhen flag clicked\nset [on/off 3 v] to [0]\nswitch costume to (costume3 v)\nhide\n\nwhen I receive [settings v]\nshow\n\nwhen this sprite clicked\nif <(On/Off 3) = [1]> then\n    broadcast (no lag v)\n    switch costume to (costume3 v)\n    set [on/off 3 v] to [0]\nelse\n    broadcast (lag v)\n    switch costume to (costume2 v)\n    set [on/off 3 v] to [1]\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [back from settings v]\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nwhen I receive [settings v]\nshow\n\nwhen flag clicked\nset [is settings open? v] to [Yes]\nforever\n    if <(Is Settings Open?) = [No]> then\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nrepeat until <(Is Settings Open?) = [Yes]>\n    hide\nend\n\nforever\n    \n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [settings v]\nshow\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nrepeat (10)\n    hide\n    wait (0.1) seconds\nend\n\n@Achievement Earned\n\nwhen flag clicked\nhide\ngo to x: (300) y: (-157)\n\nwhen [timer v] > (0.4)\nhide\ngo to x: (300) y: (-157)\n\nwhen I receive [level 5 passed v]\nAchievement Earned\n\nwhen I receive [level 10 passed v]\nAchievement Earned\n\nwhen I receive [level 15 passed v]\nAchievement Earned\n\nwhen I receive [complete the platformer v]\nAchievement Earned\n\nwhen I receive [da evil side has been chosen v]\nAchievement Earned\n\nwhen I receive [da good side has been chosen v]\nAchievement Earned\n\nwhen I receive [start the platformer v]\nAchievement Earned\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [you bought a skin! :d v]\nAchievement Earned\n\ndefine Achievement Earned\nshow\nglide (0.8) secs to x: (189) y: (-157)\nwait (1) seconds\nglide (0.8) secs to x: (300) y: (-157)\nhide\n\nwhen I receive [you bought 3 skins! :d v]\nAchievement Earned\n\n@Love+Fav Detector for MONEY!!!\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nchange [cash v] by (25)\nshow\ngo to x: (0) y: (50)\nset [timer thing v] to [0]\nswitch costume to (4 v)\nset [ghost v] effect to (100)\nrepeat until <(timer thing) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nset [timer thing v] to [0]\nrepeat until <(timer thing) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nset [timer thing v] to [0]\nforever\n    change [timer thing v] by (0.033)\n    wait (0.01) seconds\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I start as a clone\nforever\n    go to [front v] layer\nend\n\n@Home\n\nwhen flag clicked\nset [has the game been played once? v] to []\nset [is game menu is? v] to []\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [start home screen v]\nset [is game menu is? v] to [No]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [start the platformer v]\nset size to (100) %\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [110]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen I receive [start the platformer v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nset [has the game been played once? v] to [Yes]\nset [pc or mobile? v] to []\nset [is boss time done? =\( v] to []\nhide\nset [home screen? v] to [Yes]\nbroadcast (Start home screen v)\nwait (0.01) seconds\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [hide shop v]\nhide\n\nwhen I receive [show tasks v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen flag clicked\nforever\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Button Sound Effect duh v)\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen I receive [hide tasks v]\nhide\n\nwhen flag clicked\nforever\n    if <(is boss time done? =\() = [Yes]> then\n        show\n    else\n        hide\n    end\nend\n\nset [is boss time done? =\( v] to [Yes]\n\nset [has the game been played once? v] to []\n\nif <touching (player? v)?> then\n    set [ghost v] effect to (75)\nelse\n    if <not <touching (player? v)?>> then\nend\n\nset [ghost v] effect to (0)\n\n@Advertisments\n\nwhen I receive [start the platformer v]\nforever\n    if <(Level of game :P) = [Boss]> then\n        repeat until <not <(Level of game :P) = [Boss]>>\n            hide\n        end\n    else\n        if <(Ads?) = [Yes]> then\n            go to [front v] layer\n            wait (pick random (60) to (180)) seconds\n            show\n            switch costume to (pick random (1) to (6))\n            repeat until <<touching (mouse-pointer v)?> and <mouse down?>>\n                hide\n                wait until <not <mouse down?>>\n                show\n            end\n        else\n            if <(Ads?) = [No]> then\n                forever\n                    hide\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [ghost v] effect to (0)\nhide\n\nwhen this sprite clicked\nhide\n\nwhen flag clicked\nforever\n    go [forward v] (1) layers\n    go to [front v] layer\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <<<<(is game menu is?) = [Yes]> or <<touching (tasks background v)?> or <touching (settingsmenu v)?>>> or <touching (tasks background v)?>> or <<touching (shop background v)?> or <<(Level of game :P) = [Boss]> and <(Home Screen?) = [Yes]>>>> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    reset timer\nend\n\n@Permission to Skip?\n\nwhen flag clicked\nforever\n    go to x: (0) y: (-100)\n    show\nend\n\nwhen I receive [permission to skip? v]\nask [Skiping a level will cost you £30. Are you sure that you want to skip this level? \(Type YES or NO\)] and wait\nif <<(answer) = [YES]> and <<(Cash) > [30]> or <(Cash) = [30]>>> then\n    change [cash v] by (-30)\n    wait (0.01) seconds\n    broadcast (Next Level v)\n    wait (0.01) seconds\nelse\n    if <<(answer) = [No]> or <(answer) = []>> then\nend\n\n@On/Off (text one)\n\nwhen flag clicked\nset [on/off 4 v] to [0]\nswitch costume to (on v)\nhide\n\nwhen I receive [settings v]\nshow\n\nwhen this sprite clicked\nif <(On/Off 4) = [1]> then\n    switch costume to (on v)\n    set [on/off 4 v] to [0]\nelse\n    switch costume to (off v)\n    set [on/off 4 v] to [1]\nend\n\nbroadcast (no lag v)\n\nbroadcast (lag v)\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [back from settings v]\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nwhen I receive [settings v]\nshow\n\nwhen flag clicked\nset [is settings open? v] to [Yes]\nforever\n    if <(Is Settings Open?) = [No]> then\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nrepeat until <(Is Settings Open?) = [Yes]>\n    hide\nend\n\nforever\n    \n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [settings v]\nshow\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nrepeat (10)\n    hide\n    wait (0.1) seconds\nend\n\n@The Boss\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset volume to (100) %\nforever\n    if <(Level of game :P) = [Boss]> then\n        if <(Evil/Good?) = [Evil]> then\n            show\n            go to [front v] layer\n        else\n            if <(Evil/Good?) = [Good]> then\n                show\n                go to [front v] layer\n            end\n        end\n    else\n        hide\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen I receive [next level v]\nwait (0.2) seconds\nif <(Level of game :P) = [Boss]> then\n    broadcast (Time 4 Boss Text v)\nend\n\nwhen I receive [boss time >:d v]\nset [ghost v] effect to (0)\nbroadcast (le say fight!!! v)\npoint in direction (-90)\ngo to x: (180) y: (-80)\nwait (1) seconds\nrepeat (3)\n    point in direction (-90)\n    glide (0.5) secs to x: (-180) y: (-80)\n    wait (0.5) seconds\n    point in direction (90)\n    glide (0.5) secs to x: (180) y: (-80)\n    wait (0.5) seconds\nend\npoint in direction (-90)\nglide (0.5) secs to x: (0) y: (75)\nrepeat (5)\n    wait (0.5) seconds\n    set [stomp x? v] to (x 4 snow)\n    glide (0.5) secs to x: (stomp x?) y: (75)\n    glide (0.3) secs to x: (stomp x?) y: (-80)\n    glide (0.5) secs to x: (stomp x?) y: (75)\nend\nglide (0.5) secs to x: (0) y: (75)\nbroadcast (Dagger 1 v) and wait\nbroadcast (Dagger 1 v) and wait\nbroadcast (Dagger 1 v) and wait\nbroadcast (Dagger 1 v) and wait\nbroadcast (Dagger 1 v) and wait\nwait (0.5) seconds\nif <(Evil/Good?) = [Evil]> then\n    switch costume to (dead good boss v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        switch costume to (dead evil boss v)\n    end\nend\nset [is boss time done? =\( v] to [Yes]\nglide (0.5) secs to x: (180) y: (-80)\nif <(Evil/Good?) = [Evil]> then\n    switch costume to (dead good boss 2 v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        switch costume to (dead evil boss2 v)\n    end\nend\nif <(Evil/Good?) = [Evil]> then\n    broadcast (The good boss is dead! v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        broadcast (the evil boss is dead! v)\n    end\nend\nwait (2.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nswitch costume to (dead evil boss v)\n\nswitch costume to (dead evil boss2 v)\n\nwhen flag clicked\nset [time 4 player to move against boss? v] to [No]\n\nwhen I receive [boss time >:d v]\nset [is boss time done? =\( v] to [No]\nset [time 4 player to move against boss? v] to [Yes]\n\nwhen I receive [time 4 boss text v]\nset volume to (100) %\ngo to x: (180) y: (-80)\nstop all sounds\nwait (0.1) seconds\nrepeat until <(is boss time done? =\() = [Yes]>\n    play sound [Deadlocked v] until done\nend\nstop all sounds\n\nwhen flag clicked\ngo to x: (180) y: (-80)\nset [is boss time done? =\( v] to []\n\nwhen I receive [-glittersquad- skin v]\n\nwhen flag clicked\nforever\n    if <(x 4 snow) < (x position)> then\n        point in direction (-90)\n    else\n        if <(x 4 snow) > (x position)> then\n            point in direction (90)\n        end\n    end\nend\n\nwhen flag clicked\nset [stomp x? v] to []\n\nwhen I receive [time 4 boss text v]\nset [ghost v] effect to (0)\nif <(Evil/Good?) = [Evil]> then\n    show\n    go to [front v] layer\n    switch costume to (good boss v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        show\n        go to [front v] layer\n        switch costume to (evil boss v)\n    end\nend\n\nset [is boss time done? =\( v] to []\n\nwhen I receive [the evil boss is dead! v]\nset volume to (0) %\n\nwhen I receive [the good boss is dead! v]\nset volume to (0) %\n\n@Boss Typing Engine\n\nwhen I start as a clone\nshow\nif <(Effect) = [yes]> then\n    set size to (10) %\n    repeat until <(size) > (Size)>\n        change size by (10)\n    end\n    set size to (Size) %\nend\n\nwhen I receive [clear v]\ndelete this clone\n\ndefine Type (string1) X: (x) Y: (y) With size: (size) Times new row: (row) Effect? (yes/no) [Clear]\nbroadcast (Clear v)\ngo to x: (x) y: (y)\nhide\nif <<(yes/no) = [yes]> or <(yes/no) = [no]>> then\n    set [effect v] to (yes/no)\nelse\n    set [effect v] to [yes]\nend\nif <(letter (length of (size)) of (size)) = [0]> then\n    set [size v] to (size)\nelse\n    set [size v] to ((size) + ((10) - (letter (length of (size)) of (size))))\nend\nset size to (Size) %\nset [i v] to [1]\nrepeat (row)\n    set x to (x)\n    change y by ((-55) * ((Size) / (100)))\nend\nrepeat (length of (string1))\n    switch costume to (choose v)\n    switch costume to (letter (i) of (string1))\n    if <([costume name v] of (join [Typing] [Engine])) = [Choose]> then\n        switch costume to (join (letter (i) of (string1)) [_])\n    end\n    if <(x position) > [200]> then\n        set x to (x)\n        change y by ((-55) * ((Size) / (100)))\n    end\n    if <not <<<<<<(letter (i) of (string1)) = [']> or <(letter (i) of (string1)) = ["]>> or <<(letter (i) of (string1)) = [.]> or <(letter (i) of (string1)) = [!]>>> or <(letter (i) of (string1)) = [,]>> or <<<(letter (i) of (string1)) = [\(]> or <(letter (i) of (string1)) = [\)]>> or <<(letter (i) of (string1)) = [:]> or <(letter (i) of (string1)) = [;]>>>> or <(letter (i) of (string1)) = [*]>>> then\n        change x by ((16) * ((Size) / (100)))\n    else\n        change x by ((10) * ((Size) / (100)))\n    end\n    create clone of (_myself_ v)\n    if <not <<<<<<(letter (i) of (string1)) = [']> or <(letter (i) of (string1)) = ["]>> or <<(letter (i) of (string1)) = [.]> or <(letter (i) of (string1)) = [!]>>> or <(letter (i) of (string1)) = [,]>> or <<<(letter (i) of (string1)) = [\(]> or <(letter (i) of (string1)) = [\)]>> or <<(letter (i) of (string1)) = [:]> or <(letter (i) of (string1)) = [;]>>>> or <(letter (i) of (string1)) = [*]>>> then\n        change x by ((16) * ((Size) / (100)))\n    else\n        change x by ((10) * ((Size) / (100)))\n    end\n    change [i v] by (1)\nend\n\ndefine Type (Instantly) (string1) X: (x) Y: (y) With size: (size) Times new row: (row) Effect? (yes/no)\ngo to x: (x) y: (y)\nhide\nif <<(yes/no) = [yes]> or <(yes/no) = [no]>> then\n    set [effect v] to (yes/no)\nelse\n    set [effect v] to [yes]\nend\nif <(letter (length of (size)) of (size)) = [0]> then\n    set [size v] to (size)\nelse\n    set [size v] to ((size) + ((10) - (letter (length of (size)) of (size))))\nend\nset size to (Size) %\nset [i v] to [1]\nrepeat (row)\n    set x to (x)\n    change y by ((-55) * ((Size) / (100)))\nend\nrepeat (length of (string1))\n    switch costume to (choose v)\n    switch costume to (letter (i) of (string1))\n    if <([costume name v] of (join [Typing] [Engine])) = [Choose]> then\n        switch costume to (join (letter (i) of (string1)) [_])\n    end\n    if <(x position) > [200]> then\n        set x to (x)\n        change y by ((-55) * ((Size) / (100)))\n    end\n    if <not <<<<<<(letter (i) of (string1)) = [']> or <(letter (i) of (string1)) = ["]>> or <<(letter (i) of (string1)) = [.]> or <(letter (i) of (string1)) = [!]>>> or <(letter (i) of (string1)) = [,]>> or <<<(letter (i) of (string1)) = [\(]> or <(letter (i) of (string1)) = [\)]>> or <<(letter (i) of (string1)) = [:]> or <(letter (i) of (string1)) = [;]>>>> or <(letter (i) of (string1)) = [*]>>> then\n        change x by ((16) * ((Size) / (100)))\n    else\n        change x by ((10) * ((Size) / (100)))\n    end\n    create clone of (_myself_ v)\n    if <not <<<<<(letter (i) of (string1)) = [']> or <(letter (i) of (string1)) = ["]>> or <(letter (i) of (string1)) = [,]>> or <<<(letter (i) of (string1)) = [\(]> or <(letter (i) of (string1)) = [\)]>> or <<(letter (i) of (string1)) = [:]> or <(letter (i) of (string1)) = [;]>>>> or <(letter (i) of (string1)) = [*]>>> then\n        change x by ((16) * ((Size) / (100)))\n    else\n        change x by ((10) * ((Size) / (100)))\n    end\n    change [i v] by (1)\nend\n\ndefine Type (Instantly) (string1) X: (x) Y: (y) With size: (size) Times new row: (row) Effect? (yes/no) [Clear]\nbroadcast (Clear v)\ngo to x: (x) y: (y)\nhide\nif <<(yes/no) = [yes]> or <(yes/no) = [no]>> then\n    set [effect v] to (yes/no)\nelse\n    set [effect v] to [yes]\nend\nif <(letter (length of (size)) of (size)) = [0]> then\n    set [size v] to (size)\nelse\n    set [size v] to ((size) + ((10) - (letter (length of (size)) of (size))))\nend\nset size to (Size) %\nset [i v] to [1]\nrepeat (row)\n    set x to (x)\n    change y by ((-55) * ((Size) / (100)))\nend\nrepeat (length of (string1))\n    switch costume to (choose v)\n    switch costume to (letter (i) of (string1))\n    if <([costume name v] of (join [Typing] [Engine])) = [Choose]> then\n        switch costume to (join (letter (i) of (string1)) [_])\n    end\n    if <(x position) > [200]> then\n        set x to (x)\n        change y by ((-55) * ((Size) / (100)))\n    end\n    if <not <<<<<<(letter (i) of (string1)) = [']> or <(letter (i) of (string1)) = ["]>> or <<(letter (i) of (string1)) = [.]> or <(letter (i) of (string1)) = [!]>>> or <(letter (i) of (string1)) = [,]>> or <<<(letter (i) of (string1)) = [\(]> or <(letter (i) of (string1)) = [\)]>> or <<(letter (i) of (string1)) = [:]> or <(letter (i) of (string1)) = [;]>>>> or <(letter (i) of (string1)) = [*]>>> then\n        change x by ((16) * ((Size) / (100)))\n    else\n        change x by ((10) * ((Size) / (100)))\n    end\n    create clone of (_myself_ v)\n    if <not <<<<<<(letter (i) of (string1)) = [']> or <(letter (i) of (string1)) = ["]>> or <<(letter (i) of (string1)) = [.]> or <(letter (i) of (string1)) = [!]>>> or <(letter (i) of (string1)) = [,]>> or <<<(letter (i) of (string1)) = [\(]> or <(letter (i) of (string1)) = [\)]>> or <<(letter (i) of (string1)) = [:]> or <(letter (i) of (string1)) = [;]>>>> or <(letter (i) of (string1)) = [*]>>> then\n        change x by ((16) * ((Size) / (100)))\n    else\n        change x by ((10) * ((Size) / (100)))\n    end\n    change [i v] by (1)\nend\n\ndefine Type (string1) X: (x) Y: (y) With size: (size) Times new row (row) Effect? (yes/no)\ngo to x: (x) y: (y)\nhide\nif <<(yes/no) = [yes]> or <(yes/no) = [no]>> then\n    set [effect v] to (yes/no)\nelse\n    set [effect v] to [yes]\nend\nif <(letter (length of (size)) of (size)) = [0]> then\n    set [size v] to (size)\nelse\n    set [size v] to ((size) + ((10) - (letter (length of (size)) of (size))))\nend\nset size to (Size) %\nset [i v] to [1]\nrepeat (row)\n    set x to (x)\n    change y by ((-55) * ((Size) / (100)))\nend\nrepeat (length of (string1))\n    switch costume to (choose v)\n    switch costume to (letter (i) of (string1))\n    if <([costume name v] of (join [Typing] [Engine])) = [Choose]> then\n        switch costume to (join (letter (i) of (string1)) [_])\n    end\n    if <(x position) > [200]> then\n        set x to (x)\n        change y by ((-55) * ((Size) / (100)))\n    end\n    if <not <<<<<<(letter (i) of (string1)) = [']> or <(letter (i) of (string1)) = ["]>> or <<(letter (i) of (string1)) = [.]> or <(letter (i) of (string1)) = [!]>>> or <(letter (i) of (string1)) = [,]>> or <<<(letter (i) of (string1)) = [\(]> or <(letter (i) of (string1)) = [\)]>> or <<(letter (i) of (string1)) = [:]> or <(letter (i) of (string1)) = [;]>>>> or <(letter (i) of (string1)) = [*]>>> then\n        change x by ((16) * ((Size) / (100)))\n    else\n        change x by ((10) * ((Size) / (100)))\n    end\n    create clone of (_myself_ v)\n    if <not <<<<<<(letter (i) of (string1)) = [']> or <(letter (i) of (string1)) = ["]>> or <<(letter (i) of (string1)) = [.]> or <(letter (i) of (string1)) = [!]>>> or <(letter (i) of (string1)) = [,]>> or <<<(letter (i) of (string1)) = [\(]> or <(letter (i) of (string1)) = [\)]>> or <<(letter (i) of (string1)) = [:]> or <(letter (i) of (string1)) = [;]>>>> or <(letter (i) of (string1)) = [*]>>> then\n        change x by ((16) * ((Size) / (100)))\n    else\n        change x by ((10) * ((Size) / (100)))\n    end\n    change [i v] by (1)\nend\n\nwhen I receive [time 4 boss text v]\nwait (1) seconds\nif <(has the game been played once?) = [Yes]> then\n    Type [] X: () Y: () With size: () Times new row: (0) Effect? [no] [Clear]\n    broadcast (show good, boring, boss text v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        Type [] X: () Y: () With size: () Times new row: (0) Effect? [no] [Clear]\n        Type [hello puny warrior.] X: (-220) Y: (140) With size: (48) Times new row (0) Effect? [no]\n        Type [you will die today, alone] X: (-220) Y: (140) With size: (48) Times new row (1) Effect? [no]\n        Type [and afraid.] X: (-220) Y: (140) With size: (48) Times new row (2) Effect? [no]\n        wait (1) seconds\n        broadcast (Boss Time >:D v)\n    end\nend\n\nset [is boss time done? =\( v] to []\n\nwhen I receive [le say fight!!! v]\nType [] X: () Y: () With size: () Times new row: (0) Effect? [no] [Clear]\nType [fight!!] X: (-220) Y: (140) With size: (55) Times new row (0) Effect? [no]\nwait (1) seconds\nType [] X: () Y: () With size: () Times new row: (0) Effect? [no] [Clear]\n\nwait (1) seconds\nbroadcast (Boss Time >:D v)\n\nwhen I receive [the evil boss is dead! v]\nif <(has the game been played once?) = [Yes]> then\n    Type [] X: () Y: () With size: () Times new row: (0) Effect? [no] [Clear]\n    broadcast (evil dead boss v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        Type [you have defeated me] X: (-220) Y: (140) With size: (48) Times new row (0) Effect? [no]\n        Type [warrior, i underestimated] X: (-220) Y: (140) With size: (48) Times new row (1) Effect? [no]\n        Type [you. congratulations...] X: (-220) Y: (140) With size: (48) Times new row (2) Effect? [no]\n        wait (2.5) seconds\n        Type [] X: () Y: () With size: () Times new row: (0) Effect? [no] [Clear]\n    end\nend\n\nwhen I receive [the good boss is dead! v]\nif <(has the game been played once?) = [Yes]> then\n    Type [] X: () Y: () With size: () Times new row: (0) Effect? [no] [Clear]\n    broadcast (good dead boss v)\nelse\n    if <(Evil/Good?) = [Evil]> then\n        Type [yes, we have easily defeated] X: (-220) Y: (140) With size: (48) Times new row (0) Effect? [no]\n        Type [the rebels. they have] X: (-220) Y: (140) With size: (48) Times new row (1) Effect? [no]\n        Type [learned their lesson now!] X: (-220) Y: (140) With size: (48) Times new row (2) Effect? [no]\n        wait (2.5) seconds\n        Type [] X: () Y: () With size: () Times new row: (0) Effect? [no] [Clear]\n    end\nend\n\nwhen I receive [time 4 boss text v]\nwait (1) seconds\nif <(has the game been played once?) = [Yes]> then\n    Type [] X: () Y: () With size: () Times new row: (0) Effect? [no] [Clear]\n    broadcast (show evil, boring, boss text v)\nelse\n    if <(Evil/Good?) = [Evil]> then\n        Type [] X: () Y: () With size: () Times new row: (0) Effect? [no] [Clear]\n        Type [i am the bravest warrior] X: (-220) Y: (140) With size: (48) Times new row (0) Effect? [no]\n        Type [of the rebels.] X: (-220) Y: (140) With size: (48) Times new row (1) Effect? [no]\n        Type [i may not look like much,] X: (-220) Y: (140) With size: (48) Times new row (2) Effect? [no]\n        Type [but i will crush you.] X: (-220) Y: (140) With size: (48) Times new row (3) Effect? [no]\n        Type [say goodbye, lord warming.] X: (-220) Y: (140) With size: (48) Times new row (4) Effect? [no]\n        wait (1) seconds\n        broadcast (Boss Time >:D v)\n    end\nend\n\nwhen I receive [good experiment v]\n\nwhen I receive [evil experiment v]\n\nType [] X: () Y: () With size: () Times new row: (0) Effect? [no] [Clear]\nType [hello puny warrior.] X: (-220) Y: (140) With size: (48) Times new row (0) Effect? [no]\nType [you will die today, alone] X: (-220) Y: (140) With size: (48) Times new row (1) Effect? [no]\nType [and afraid.] X: (-220) Y: (140) With size: (48) Times new row (2) Effect? [no]\nwait (1) seconds\nbroadcast (Boss Time >:D v)\n\nType [] X: () Y: () With size: () Times new row: (0) Effect? [no] [Clear]\nType [i am the bravest warrior] X: (-220) Y: (140) With size: (48) Times new row (0) Effect? [no]\nType [of the rebels.] X: (-220) Y: (140) With size: (48) Times new row (1) Effect? [no]\nType [i may not look like much,] X: (-220) Y: (140) With size: (48) Times new row (2) Effect? [no]\nType [but i will crush you.] X: (-220) Y: (140) With size: (48) Times new row (3) Effect? [no]\nType [say goodbye, lord warming.] X: (-220) Y: (140) With size: (48) Times new row (4) Effect? [no]\nwait (1) seconds\nbroadcast (Boss Time >:D v)\n\n@Flying Daggers (Boss Battle)\n\nwhen flag clicked\nset rotation style [all around v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [dagger 1 v]\ngo to x: (0) y: (75)\npoint towards (player? v)\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nrepeat until <<touching (_edge_ v)?> or <touching (player? v)?>>\n    move (18) steps\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@Boring Backup Text\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [show evil, boring, boss text v]\nswitch costume to (good side text v)\nshow\nwait (2.5) seconds\nbroadcast (Boss Time >:D v)\nhide\n\nwhen I receive [show good, boring, boss text v]\nswitch costume to (evil side text v)\nshow\nwait (2.5) seconds\nbroadcast (Boss Time >:D v)\nhide\n\nwhen I receive [start home screen v]\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nbroadcast (good experiment v)\n\nbroadcast (evil experiment v)\n\nwhen I receive [good dead boss v]\nswitch costume to (evil side text2 v)\nshow\nwait (2.5) seconds\nhide\n\nwhen I receive [evil dead boss v]\nswitch costume to (good side text2 v)\nshow\nwait (2.5) seconds\nhide\n\n@??? Button\n\nwhen flag clicked\ngo to x: (0) y: (-130)\nhide\n\nwhen I receive [start the platformer v]\nshow\n\nwhen I receive [start home screen v]\nshow\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [start home screen v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start home screen v]\nset size to (100) %\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [100]>\n            change size by (2)\n        end\n    else\n        repeat until <(size) = [90]>\n            change size by (-2)\n        end\n    end\nend\n\nwhen I receive [choose your side v]\nhide\n\nwhen I receive [start the platformer v]\nhide\n\nwhen I receive [menu v]\nshow\n\nwhen I receive [back from menu v]\nhide\n\nwhen this sprite clicked\nbroadcast (??? v)\n\nif <(Evil/Good?) = [Evil]> then\n    broadcast (Evil Skin Shop v)\nelse\n    if <(Evil/Good?) = [Good]> then\n        broadcast (Good Skin Shop v)\n    else\n        set [good/evil side chosen? v] to [1]\n        broadcast (choose your shop side v)\n    end\nend\n\nwhen I receive [choose your shop side v]\nhide\n\nwhen I receive [show the blooming text again v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [evil skin shop v]\nhide\n\nwhen I receive [good skin shop v]\nhide\n\nwhen I receive [hide shop v]\nshow\n\nwhen flag clicked\nset [good/evil side chosen? v] to []\n\nwhen I receive [mobile or pc? v]\nhide\n\nset [good/evil side chosen? v] to []\n\nwhen I receive [show tasks v]\nhide\n\nwhen I receive [hide tasks v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nplay sound [hoverSFX v] until done\n\nset [shop? v] to [Show]\n\nwhen I receive [start home screen v]\nforever\n    if <touching (??? slide v)?> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@??? Slide\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (295)\nhide\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [??? v]\nshow\nglide (1) secs to x: (0) y: (0)\nrepeat until <<touching (mouse-pointer v)?> and <mouse down?>>\n    show\nend\nwait until <not <mouse down?>>\nglide (1) secs to x: (0) y: (-295)\nhide\n\nforever\n\nhide\n\nbroadcast (Shoe home screen stuff again v)\n\n
Welcome to the sequel of my best platformer ever!! xDD\n----------------------------------------------------------------\nYou can in this game:\n• Choose two different paths and styles of game! :D\n• Buy skins from a shop! :D (There are 3 times more skins than the first game!)\n• Earn Achievements and in-game money! :DD\n• Try and beat a boss! :D\n• Turn buttons and music on/off\n• Love and fav this project! lol xD (This will give you money) (No joke!)\n• Read an epic storyline!\n\n----------------------------Controls---------------------------\n\n• Arrow keys or WASD to move.\n• At the beginning press the play button and choose you path and mobile or pc controls.\n• Press the Arrow Button to skip a level. (You will have to pay money)\n• Press the Restart Button to restart the level if it glitches. (Which it shouldn't)\n• Yellow pads are bouncy.\n• Press the button at the end of the platformer to go to the home screen and play it again from the other side's point of view. (You will keep your in-game money)\n• Click the green flag again if buttons show or the achievement thing pulls up. :P\n• Hover your mouse above the little flap to pull up the storyline/text for that level.\n• You beat the boss by avoiding all of his attacks! :)