Gearshift: A 99% Vector Platformer

Instructions: ABOUT\n• 99% Vector \n• You CAN WALL JUMP\n• Arrow Keys To Move \n• Purple Portal- Takes You To Next Level \n• Key- Opens Doors\n• Red Guy- K*lls You \n• Orange Portal- Teleports You\n• Press 'r' key to restart

@Stage\n\nwhen flag clicked\nforever\n    repeat (1e+45)\n        play sound [Tobu - Hope \[NCS Release\].mp3 v] until done\n        wait (0.5) seconds\n        play sound [Tobu - Hope \[NCS Release\].mp3 v] until done\n        wait (0.5) seconds\n        play sound [Tobu - Hope \[NCS Release\].mp3 v] until done\n        wait (0.5) seconds\n        play sound [Tobu - Hope \[NCS Release\].mp3 v] until done\n        wait (0.5) seconds\n        play sound [Tobu - Hope \[NCS Release\].mp3 v] until done\n        wait (0.5) seconds\n        play sound [Tobu - Hope \[NCS Release\].mp3 v] until done\n        wait (0.5) seconds\n        play sound [Tobu - Hope \[NCS Release\].mp3 v] until done\n        wait (0.5) seconds\n        play sound [Tobu - Hope \[NCS Release\].mp3 v] until done\n        wait (0.5) seconds\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\nhide\n\nwhen I receive [time to start v]\nshow\nswitch costume to (costume1 v)\ngo to x: (-200) y: (-100)\nswitch backdrop to (backdrop1 v)\nhide variable [time v]\nset [deaths: v] to [0]\nforever\n    change [y v] by (-0.5)\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        change [x v] by (0.75)\n    end\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        change [x v] by (-0.75)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#666666)?> then\n        change y by (1)\n        if <touching color (#666666)?> then\n            change y by (1)\n            if <touching color (#666666)?> then\n                change y by (1)\n                if <touching color (#666666)?> then\n                    change y by (1)\n                    if <touching color (#666666)?> then\n                        change y by (1)\n                        if <touching color (#666666)?> then\n                            change y by (1)\n                            if <touching color (#666666)?> then\n                                change y by (-5)\n                                change x by ((x) * (-1))\n                                if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n                                    set [y v] to [10]\n                                    if <(x) > [0]> 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                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching color (#666666)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching color (#666666)?> and <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n        set [y v] to [7]\n    end\n    change y by (0.5)\n    if <touching color (#ff0000)?> then\n        go to x: (-200) y: (-50)\n        change [deaths: v] by (1)\n        set [y v] to [0]\n    end\n    if <touching color (#003fff)?> then\n        change [y v] by (15)\n    end\n    if <touching (sprite2 v)?> then\n        switch backdrop to (next backdrop v)\n        go to x: (-200) y: (-50)\n    end\n    if <touching (sprite9 v)?> then\n        switch backdrop to (next backdrop v)\n        broadcast (key- hide v)\n    end\n    if <touching (sprite10 v)?> then\n        set x to (170)\n    end\n    if <key (r v) pressed?> then\n        go to x: (-200) y: (-100)\n    end\nend\n\nturn left (20) degrees\n\nturn right (20) degrees\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [time to start v]\nshow\nforever\n    wait (9.999999999999919e-213) seconds\n    turn right (30) degrees\nend\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [start intro v]\nshow\ngo to x: (0) y: (0)\nrepeat (100)\n    wait (9.999999999999908e-201) seconds\n    turn right (20) degrees\n    change [ghost v] effect by (1)\nend\nbroadcast (Intro v)\nhide\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nbroadcast (Time to Start v)\nhide\n\nwhen I receive [intro v]\ngo to x: (60) y: (33)\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    wait (0.1) seconds\n    change [ghost v] effect by (-10)\nend\n\n@Sprite6\n\nwhen I receive [time to start v]\nhide\n\nwhen I receive [intro v]\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    wait (0.1) seconds\n    change [ghost v] effect by (-10)\nend\n\nwhen flag clicked\nhide\n\n@Sprite7\n\nwhen flag clicked\ngo to x: (0) y: (0)\nwait (1) seconds\nrepeat (10)\n    wait (0.01) seconds\n    change [ghost v] effect by (10)\nend\nbroadcast (START INTRO v)\n\n@Sprite8\n\nwhen flag clicked\nhide\nforever\n    wait (1e-25) seconds\n    turn right (15) degrees\nend\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen backdrop switches to [lava boy v]\nshow\nset x to (0)\nset y to (0)\nforever\n    glide (2) secs to x: (100) y: (0)\n    wait (1e-36) seconds\n    glide (2) secs to x: (-100) y: (0)\n    wait (1e-36) seconds\nend\n\nwhen backdrop switches to [backdrop9 v]\nshow\nset x to (0)\nset y to (0)\nforever\n    glide (2) secs to x: (100) y: (0)\n    wait (1e-36) seconds\n    glide (2) secs to x: (-100) y: (0)\n    wait (1e-36) seconds\nend\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\n@Sprite9\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop5 v]\nshow\n\nwhen I receive [key- hide v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\nshow\n\nwhen backdrop switches to [backdrop7 v]\nshow\n\n@Sprite10\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop6 v]\nshow\nforever\n    wait (9.999999999999915e-213) seconds\n    turn right (30) degrees\nend\n\nwhen backdrop switches to [backdrop9 v]\nshow\nforever\n    wait (9.999999999999911e-213) seconds\n    turn right (30) degrees\nend\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen I receive [intro v]\nhide\n\nwhen I receive [start intro v]\nshow\nforever\n    wait (0.4) seconds\n    next costume\nend\n\n