April Fools - Very Normal Platformer

Instructions: Happy April Fools!\nThis is a perfectly normal platformer. You can figure everything out.\n-Skip button to skip\n-Reset button to reset\n-Hint button to get a hint\nYes I know this platformer sucks on mobile but too bad.

@Stage\n\nwhen flag clicked\nstart sound [Travel The Galaxy \(HD\) v]\n\n@player\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen I receive [next lvl v]\nchange [level v] by (1)\nbroadcast (reset v)\nbroadcast (lvl start v)\n\nwhen I receive [reset v]\nset [xv v] to [0]\nset [yv v] to [0]\nset [ded? v] to [0]\nset rotation style [left-right v]\ngo to x: (-200) y: (-40)\npoint in direction (90)\nset size to (100) %\nset [ghost v] effect to (0)\nshow\n\nwhen flag clicked\nset [level v] to [1]\nbroadcast (reset v)\nbroadcast (lvl start v)\nforever\n    if <not <(Level) = [18]>> then\n        go to [front v] layer\n    end\n    if <(ded?) = [0]> then\n        switch costume to (costume1 v)\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n            point in direction (90)\n            if <<<(button?) = [0]> and <(button2) = [0]>> and <(buttonwaytoomany) = [0]>> then\n                change [xv v] by (1)\n            end\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n            point in direction (-90)\n            if <<<(button?) = [0]> and <(button2) = [0]>> and <(buttonwaytoomany) = [0]>> then\n                change [xv v] by (-1)\n            end\n        end\n        set [xv v] to ((Xv) * (0.9))\n        change x by (Xv)\n        if <<touching (ground v)?> or <touching (ground2 v)?>> then\n            change y by (1)\n            if <<touching (ground v)?> or <touching (ground2 v)?>> then\n                change y by (1)\n                if <<touching (ground v)?> or <touching (ground2 v)?>> then\n                    change y by (1)\n                    if <<touching (ground v)?> or <touching (ground2 v)?>> then\n                        change y by (1)\n                        if <<touching (ground2 v)?> or <touching (ground v)?>> then\n                            change y by (1)\n                            if <<touching (ground v)?> or <touching (ground2 v)?>> then\n                                change x by ((Xv) * (-1))\n                                change y by (-5)\n                                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n                                    if <(Xv) > [0]> then\n                                        set [xv v] to [-8]\n                                    else\n                                        set [xv v] to [8]\n                                    end\n                                    set [yv v] to [13]\n                                else\n                                    set [xv v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [yv v] by (-1)\n        change y by (Yv)\n        if <<touching (ground v)?> or <touching (ground2 v)?>> then\n            change y by ((Yv) * (-1))\n            set [yv v] to [0]\n        end\n        change y by (-1)\n        if <touching (ground2 v)?> then\n            set [ground fade v] to [1]\n        else\n            set [ground fade v] to [0]\n        end\n        if <<touching (ground v)?> or <touching (ground2 v)?>> then\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n                if <<<(button?) = [0]> and <(button2) = [0]>> and <(buttonwaytoomany) = [0]>> then\n                    set [yv v] to [15]\n                end\n            end\n        end\n        change y by (1)\n        if <<(y position) < [-175]> or <touching (danger v)?>> then\n            set [ded? v] to [1]\n            die\n        end\n    end\n    switch costume to (costume2 v)\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [220]> then\n        broadcast (next lvl v)\n    end\nend\n\nwhen I receive [ememy killed v]\nset [yv v] to [12]\n\ndefine die\nset rotation style [all around v]\nswitch costume to (costume2 v)\nset [yv v] to [20]\nrepeat until <(y position) < [-185]>\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <(Yv) > [0]> then\n        turn right (Yv) degrees\n    else\n        turn right ((Yv) * (-1)) degrees\n    end\nend\nhide\nwait (.5) seconds\nbroadcast (reset v)\nbroadcast (lvl start v)\nbroadcast (HINT??? v)\n\nwhen I receive [hint??? v]\nthink [Need a hint? Press the hint button.] for (2) seconds\n\nwhen I receive [ememy kill u oh no v]\nset [ded? v] to [1]\ndie\n\n@ground\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nclear graphic effects\nshow\n\nwhen I receive [next lvl v]\nnext costume\n\nwhen I receive [lvl start v]\nshow\nclear graphic effects\n\n@shadow\n\nwhen flag clicked\ngo to x: (6) y: (-6)\nswitch costume to (costume1 v)\nset [ghost v] effect to (75)\ngo to [back v] layer\nshow\n\nwhen I receive [next lvl v]\nnext costume\n\nwhen I receive [lvl start v]\nshow\nset [ghost v] effect to (75)\n\nwhen I receive [fade v]\nif <(Level) = [2]> then\n    repeat (10)\n        change [ghost v] effect by (2.5)\n    end\nend\n\n@words/deco\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\ngo to [front v] layer\nclear graphic effects\nshow\n\nwhen I receive [next lvl v]\nnext costume\n\n@ground2\n\nwhen flag clicked\nset [ground fade v] to [0]\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nclear graphic effects\ngo to [front v] layer\nshow\n\nwhen I receive [next lvl v]\nnext costume\n\nwhen I receive [lvl start v]\nset [ground fade v] to [0]\nshow\nclear graphic effects\nwait until <<<touching (player v)?> and <(ground fade) = [1]>> and <(Yv) < [1]>>\nwait (.8) seconds\nbroadcast (fade v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n@danger\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nclear graphic effects\nshow\n\nwhen I receive [next lvl v]\nnext costume\n\nwhen I receive [lvl start v]\nshow\nclear graphic effects\n\n@reset\n\nwhen flag clicked\ngo to x: (-194) y: (149)\nshow\nclear graphic effects\nset size to (100) %\nset [level v] to [1]\nset [button? v] to [0]\nforever\n    if <(Level) = [18]> then\n        hide\n        stop [this script v]\n    else\n        go to [front v] layer\n        point in direction ((([sin v] of ((timer) * (100)) ) * (10)) + (90))\n        if <touching (mouse-pointer v)?> then\n            repeat until <(size) = [120]>\n                change size by (5)\n            end\n            if <mouse down?> then\n                set [button? v] to [1]\n                broadcast (reset v)\n                broadcast (lvl start v)\n                wait (.2) seconds\n                set [button? v] to [0]\n            end\n        else\n            repeat until <(size) = [100]>\n                change size by (-5)\n            end\n        end\n    end\nend\n\n@skip\n\nwhen flag clicked\ngo to x: (-112) y: (149)\nshow\nclear graphic effects\nset size to (100) %\nset [level v] to [1]\nset [button2 v] to [0]\nforever\n    if <(Level) = [18]> then\n        hide\n        stop [this script v]\n    else\n        go to [front v] layer\n        point in direction ((([sin v] of ((timer) * (100)) ) * (10)) + (90))\n        if <touching (mouse-pointer v)?> then\n            repeat until <(size) = [120]>\n                change size by (5)\n            end\n            if <mouse down?> then\n                set [button2 v] to [1]\n                broadcast (next lvl v)\n                wait (.2) seconds\n                set [button2 v] to [0]\n            end\n        else\n            repeat until <(size) = [100]>\n                change size by (-5)\n            end\n        end\n    end\nend\n\n@hint\n\nwhen flag clicked\ngo to x: (194) y: (149)\nshow\nclear graphic effects\nset size to (100) %\nset [buttonwaytoomany v] to [0]\nforever\n    go to [front v] layer\n    point in direction ((([sin v] of ((timer) * (100)) ) * (10)) + (90))\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [120]>\n            change size by (5)\n        end\n        if <mouse down?> then\n            set [buttonwaytoomany v] to [1]\n            broadcast (hint v)\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            wait (.2) seconds\n            set [buttonwaytoomany v] to [0]\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-5)\n        end\n    end\nend\n\nwhen I receive [hint done v]\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [the king is here v]\nhide\nstop [other scripts in sprite v]\n\n@hint2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\ngo to [front v] layer\nshow\nset [ghost v] effect to (100)\n\nwhen I receive [next lvl v]\nnext costume\n\nwhen I receive [hint v]\nrepeat (10)\n    change [ghost v] effect by (-6)\nend\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (6)\nend\nbroadcast (hint done v)\n\n@ememy\n\nwhen flag clicked\nhide\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [lvl start v]\nif <(Level) = [9]> then\n    clone [-60] [124]\nend\nif <(Level) = [10]> then\n    clone [-96] [-15]\n    clone [-150] [159]\n    clone [72] [78]\nend\nif <(Level) = [11]> then\n    clone [-65] [-80]\nend\nif <(Level) = [12]> then\n    clone [-65] [-80]\nend\nif <(Level) = [14]> then\n    clone [-25] [141]\nend\nif <(Level) = [16]> then\n    clone [-56] [-81]\nend\nif <(Level) = [17]> then\n    clone [62] [18]\nend\n\ndefine clone (x) (y)\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nset rotation style [left-right v]\nshow\nforever\n    point in direction (90)\n    repeat (12)\n        change x by (6)\n    end\n    wait (.5) seconds\n    point in direction (-90)\n    repeat (12)\n        change x by (-6)\n    end\n    wait (.5) seconds\nend\n\nwhen I start as a clone\nforever\n    if <(ded?) = [0]> then\n        if <touching (player v)?> then\n            if <([y position v] of [player v]) > ((y position) + (20))> then\n                broadcast (ememy killed v)\n                repeat (6)\n                    change y by (-8)\n                    go to [back v] layer\n                end\n                delete this clone\n            else\n                broadcast (ememy kill u oh no v)\n                stop [this script v]\n            end\n        end\n    end\nend\n\n@rain\n\nwhen flag clicked\nhide\nwait until <(Level) = [11]>\nforever\n    create clone of (_myself_ v)\n    wait (pick random (.3) to (1)) seconds\nend\n\nwhen I start as a clone\nshow\nset size to (100) %\nclear graphic effects\ngo to (random position v)\nset y to (250)\nrepeat until <<touching (ground v)?> or <<touching (ground2 v)?> or <touching (danger v)?>>>\n    change y by (-3)\n    if <touching (player v)?> then\n        if <([x position v] of [player v]) > (x position)> then\n            set [xv v] to (pick random (10) to (20))\n            set [yv v] to (pick random (0) to (15))\n        else\n            set [xv v] to (pick random (-10) to (-20))\n            set [yv v] to (pick random (0) to (15))\n        end\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        delete this clone\n    end\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n@button\n\nwhen flag clicked\ngo to x: (71) y: (-86)\nhide\ngo to [front v] layer\nclear graphic effects\nswitch costume to (costume1 v)\nwait until <(Level) = [18]>\nshow\nwait until <touching (player v)?>\nrepeat (5)\n    next costume\nend\nbroadcast (the king is here v)\n\n@KING\n\nwhen flag clicked\nhide\nclear graphic effects\ndelete this clone\n\nwhen I receive [the king is here v]\nswitch costume to (rickroll-rick8 v)\nstop all sounds\nstart sound [Rick Astley - Never Gonna Give You Up v]\nwait (1) seconds\nset size to (50) %\ngo to x: (-250) y: (-36)\nshow\ngo to [front v] layer\nrepeat until <[-1] < (x position)>\n    change x by (4)\n    go to [front v] layer\nend\nwait (2) seconds\nrepeat (4)\n    go to [front v] layer\n    next costume\n    wait (0) seconds\nend\nwait (.3) seconds\nrepeat (7)\n    next costume\n    wait (0) seconds\nend\nset size to (100) %\ngo to [front v] layer\nwait (1.5) seconds\ncreate clone of (_myself_ v)\ngo to x: (0) y: (0)\nswitch costume to (rickroll-rick14 v)\nset [ghost v] effect to (100)\nrepeat (20)\n    go to [front v] layer\n    change [ghost v] effect by (-5)\nend\nforever\n    go to [front v] layer\n    set y to (([sin v] of ((timer) * (100)) ) * (10))\nend\n\nwhen I start as a clone\ngo to [front v] layer\n\n@thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n