Stickman (a platformer) 

Instructions: Arrow keys or wasd to move.\nThis is just a simple platformer.\nThis was very rushed. so dont expect a lot out of this.\nThis platformer is not as easy as one might think. There are secret entrances.

@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\n\n@Player\n\nwhen flag clicked\ngo to x: (-221) y: (-115)\nset rotation style [left-right v]\nshow\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n        point in direction (90)\n        next costume\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n        point in direction (-90)\n        next costume\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <<<touching color (#526d19)?> or <touching color (#287f1c)?>> or <touching (ground v)?>> then\n        change y by (1)\n        if <<<touching color (#526d19)?> or <touching color (#287f1c)?>> or <touching (ground v)?>> then\n            change y by (1)\n            if <<<touching color (#526d19)?> or <touching color (#287f1c)?>> or <touching (ground v)?>> then\n                change y by (1)\n                if <<<touching color (#526d19)?> or <touching color (#287f1c)?>> or <touching (ground v)?>> then\n                    change y by (1)\n                    if <<<touching color (#526d19)?> or <touching color (#287f1c)?>> or <touching (ground v)?>> then\n                        change y by (1)\n                        if <<<touching color (#526d19)?> or <touching color (#287f1c)?>> or <touching (ground 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?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\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 color (#526d19)?> or <touching color (#287f1c)?>> or <touching (ground v)?>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<<touching color (#526d19)?> or <touching color (#287f1c)?>> or <touching (ground v)?>> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [12]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\npoint in direction (90)\nforever\n    if <<touching (_edge_ v)?> and <(x position) > [230]>> then\n        broadcast (next v)\n        go to x: (-221) y: (-115)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (_edge_ v)?> and <(y position) < [-170]>> then\n        go to x: (-221) y: (-115)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Up alowed) = [1]> and <(y position) > [175]>> then\n        broadcast (up v)\n        go to x: (-221) y: (-115)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Down alowed) = [1]> and <<touching (_edge_ v)?> and <(y position) < [-150]>>> then\n        broadcast (down v)\n        go to x: (-221) y: (-115)\n    end\nend\n\nwhen I receive [down v]\nask [What is the code \(hint 2 numbers\)] and wait\nforever\n    if <(answer) = [62]> then\n        broadcast (next v)\n    else\n        broadcast (oh no v)\n    end\n    stop [this script v]\nend\n\nwhen flag clicked\nforever\n    if <<touching (boss v)?> and <(y position) > [-40]>> then\n        change [boss health v] by (-1)\n        go to x: (-221) y: (-115)\n    end\nend\n\nwhen I receive [you finished the platformer!!! v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (boss v)?> then\n        go to x: (-221) y: (-115)\n    end\nend\n\nwhen [r v] key pressed\ngo to x: (-221) y: (-115)\n\nwhen flag clicked\nforever\n    if <touching (missiles v)?> then\n        go to x: (-221) y: (-115)\n    end\nend\n\n@Ground\n\nwhen flag clicked\nswitch costume to (1 v)\nforever\n    go to x: (0) y: (0)\nend\n\nwhen I receive [next v]\nnext costume\nif <(costume [number v]) = [7]> then\n    switch costume to (1 v)\nend\n\nwhen flag clicked\nclear graphic effects\nforever\n    if <<(costume [number v]) = [1]> and <(??) = [1]>> then\n        set [up alowed v] to [1]\n    else\n        set [up alowed v] to [0]\n    end\nend\n\nwhen I receive [up v]\nswitch costume to (7 v)\n\nwhen flag clicked\nset [able to go down v] to [0]\nforever\n    if <(costume [number v]) = [14]> then\n        wait (1) seconds\n        switch costume to (1 v)\n        set [able to go down v] to [1]\n    end\nend\n\nwhen I receive [up next v]\nnext costume\n\nwhen flag clicked\nforever\n    if <<(costume [number v]) = [6]> and <(Able to go down) = [1]>> then\n        set [down alowed v] to [1]\n    else\n        set [down alowed v] to [0]\n    end\nend\n\nwhen I receive [down v]\nswitch costume to (15 v)\n\nwhen I receive [oh no v]\nswitch costume to (1 v)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [30]> then\n        broadcast (boss v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [boss v]\nforever\n    if <(Boss health) < [1]> then\n        hide variable [boss health v]\n        switch costume to (31 v)\n        broadcast (you finished the platformer!!! v)\n    end\nend\n\nwhen I receive [game over. v]\nrepeat (200)\n    change [ghost v] effect by (.5)\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [6]> then\n        set [?? v] to [1]\n    end\nend\n\nwhen flag clicked\nset [?? v] to [0]\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\nhide variable [boss health v]\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\nchange [ghost v] effect by (25)\nstop [all v]\n\n@Boss\n\nwhen flag clicked\nhide variable [boss health v]\nhide\n\nwhen I receive [boss v]\nshow variable [boss health v]\nset [boss health v] to [5]\nswitch costume to (run4 v)\nshow\ngo to x: (-35) y: (91)\nset rotation style [left-right v]\npoint in direction (-90)\nrepeat until <(Boss health) < [1]>\n    repeat until <touching (ground v)?>\n        change y by (-20)\n    end\nend\nswitch costume to (run8 v)\nrepeat (5)\n    change y by (-20)\nend\nbroadcast (finished v)\nhide\n\nwhen flag clicked\nforever\n    if <<touching (player v)?> and <([y position v] of [player v]) > [0]>> then\n        change [boss health v] by (-1)\n    end\nend\n\nwhen I receive [boss v]\nrepeat until <(Boss health) < [1]>\n    repeat (20)\n        point in direction (-90)\n        change x by (-2)\n        wait (0.1) seconds\n        next costume\n    end\n    repeat (20)\n        point in direction (90)\n        change x by (2)\n        wait (0.1) seconds\n        next costume\n    end\nend\nchange [☁ boss kills v] by (1)\n\n@Credits\n\nwhen flag clicked\nhide\n\nwhen I receive [finished v]\nclear graphic effects\nshow\ngo to x: (61) y: (-320)\nglide (40) secs to x: (61) y: (303)\nwait (8) seconds\nbroadcast (Game Over. v)\nrepeat (200)\n    change [ghost v] effect by (.5)\nend\nstop [all v]\n\n@Sounds\n\nwhen flag clicked\nstop [other scripts in sprite v]\nforever\n    play sound [Undertale v] until done\nend\n\nwhen I receive [boss v]\nstop [other scripts in sprite v]\nstop all sounds\nforever\n    play sound [Undertale OST 080 - Finale v] until done\nend\n\nwhen I receive [finished v]\nstop [other scripts in sprite v]\nstop all sounds\nforever\n    play sound [undertale-his-theme-orchestral-cover v] until done\nend\n\n@Missiles\n\nwhen flag clicked\nhide\n\nwhen I receive [boss v]\nhide\nwait (1) seconds\nforever\n    wait (pick random (1) to (3)) seconds\n    repeat (1)\n        wait (.3) seconds\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nstart sound [spawn v]\ngo to x: (100) y: (100)\npoint in direction (pick random (-10000) to (10000000000))\nshow\nrepeat (pick random (10) to (20))\n    move (3) steps\n    turn right (15) degrees\nend\npoint towards (player v)\nrepeat until <<touching (_edge_ v)?> or <touching (player v)?>>\n    move (3) steps\nend\nhide\ndelete this clone\n\nwhen I receive [finished v]\nhide\nstop [other scripts in sprite v]\n\n