Extraterrestrial-a space platformer

Instructions: You are stuck on Mars and to survive, you need to get to the spaceship, past obstacles. You need to avoid the Martian, who will try to capture you and sent you back to the start.\nAD or arrow keys to move and W or up to jump\npart 2- https://scratch.mit.edu/projects/418125140 

@Stage\n\n@FakeSpike01\n\nwhen flag clicked\nswitch backdrop to (blank screen v)\n\nwhen backdrop switches to [game over v]\nhide\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    play sound [faster plain v] until done\nend\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\n@Platform sprite\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\n\nwhen I start as a clone\nrepeat (10)\n    change size by (-5)\n    change [ghost v] effect by (-5)\nend\ndelete this clone\n\ndefine reset\ngo to x: (-200) y: (-80)\n\nwhen flag clicked\ngo to x: (-200) y: (-100)\nset size to (120) %\nswitch costume to (costume1 v)\nshow\nset [level v] to [1]\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [10]>>> then\n        change [xv v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [-10]>>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (area v)?> then\n        change y by (1)\n        if <touching (area v)?> then\n            change y by (1)\n            if <touching (area v)?> then\n                change y by (1)\n                if <touching (area v)?> then\n                    change y by (1)\n                    if <touching (area v)?> then\n                        change y by (1)\n                        if <touching (area v)?> then\n                            change x by ((Xv) * (-1))\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> 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 [12]\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 (area v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (area v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [yv v] to [12]\n        end\n    end\n    if <key (r v) pressed?> then\n        reset\n    end\n    if <<(y position) < [-177]> or <touching (spikes v)?>> then\n        reset\n    end\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        broadcast (Next level! v)\n        reset\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen backdrop switches to [game over v]\nhide\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [blank screen v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (white line v)?> then\n        change [level v] by (1)\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen flag clicked\nforever\n    if <touching (fakespike01 v)?> then\n        go to x: (-200) y: (-80)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (evil player v)?> then\n        go to x: (-200) y: (-80)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [9]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (download \(9\) v)\n\nwhen I receive [go to start v]\nreset\n\n@area\n\nwhen backdrop switches to [game over v]\nhide\n\nwhen flag clicked\nshow\nswitch costume to (level 1 v)\n\nwhen flag clicked\nforever\n    if <key (e v) pressed?> then\n        next costume\n    else\n        switch costume to (level)\n    end\nend\n\nwhen [e v] key pressed\nnext costume\n\nwhen flag clicked\nswitch costume to (level)\nforever\n\n@white line\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        hide\n    else\n        show\n    end\nend\n\n@evil player\n\nwhen flag clicked\nforever\n    move (5) steps\n    if on edge, bounce\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [1]> or <<(level) = [2]> or <<(level) = [3]> or <<(level) = [4]> or <(level) = [9]>>>>> then\n        hide\n    else\n        show\n    end\nend\n\n@Sprite1\n\nwhen this sprite clicked\nchange [level v] by (1)\nbroadcast (go to start v)\n\nwhen flag clicked\nforever\n    if <(level) = [9]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen backdrop switches to [thumbnail v]\nhide\n\nwhen flag clicked\nswitch backdrop to (blank screen v)\n\n@Sprite2\n\nwhen this sprite clicked\nset [level v] to [1]\n\nwhen flag clicked\nforever\n    if <(level) = [9]> then\n        show\n    else\n        hide\n    end\nend\n\n