A TOTALLY GENERIC PLATFORMER

Instructions: Arrow keys, all levels are possible\nPS. there is a secret 3 digit combonation of numbers you have to press at the same time on your keyboard that could help you out! (or kill u) \nPLEASE DONT GIVE IT AWAY IN THE COMMENTS\n\nPart 2: https://scratch.mit.edu/projects/416039107/

@Stage\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (-214) y: (115)\nswitch costume to (costume1 v)\nswitch backdrop to (backdrop1 v)\nshow\ngo to x: (-217) y: (-20)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n        if <(backdrop [name v]) = [backdrop18]> then\n            switch costume to (costume1 v)\n        end\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        if <(backdrop [name v]) = [backdrop18]> then\n            switch costume to (costume1 v)\n        end\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching color (#000000)?> or <<touching color (#009a2e)?> or <touching color (#673c00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009a2e)?> or <touching color (#673c00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009a2e)?> or <touching color (#673c00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009a2e)?> or <touching color (#673c00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009a2e)?> or <touching color (#673c00)?>>> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [17]\n            if <([abs v] of (x) ) = (x)> then\n                set [x v] to [-10]\n            else\n                set [x v] to [-10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <<touching color (#000000)?> or <<touching color (#009a2e)?> or <touching color (#673c00)?>>> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <<touching color (#000000)?> or <<touching color (#009a33)?> or <touching color (#673c00)?>>>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        go to x: (-217) y: (-20)\n        if <<(x position) > [222]> and <(backdrop [name v]) = [backdrop 18]>> then\n            broadcast (stopp v)\n            stop [all v]\n        end\n    end\n    if <<(backdrop [name v]) = [backdrop11]> or <(backdrop [name v]) = [backdrop19]>> then\n        switch costume to (costume1 v)\n    end\n    if <(backdrop [name v]) = [backrop17]> then\n        switch costume to (costume1 v)\n    end\n    if <touching (_edge_ v)?> then\n        next backdrop\n        go to x: (-217) y: (-20)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (7 v) pressed?> and <<key (3 v) pressed?> and <key (9 v) pressed?>>> then\n        go to (random position v)\n    end\nend\n\n