-Green-™ (a platformer)

Instructions: arrow keys to move avoid red 100 likes and favs and i will make a part 2. press the green flag twice.yellow to go to the next level.\nmusic by PewDiePie

@Stage\n\nwhen flag clicked\nforever\n    play sound [BROFIST \(PewDiePie Song, By Roomie\) \(1\) v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (level 1 v)\n\n@player\n\nwhen flag clicked\nforever\n    if <touching color (#f63838)?> then\n        go to x: (-173) y: (-52)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#fff500)?> then\n        go to x: (-173) y: (-52)\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen flag clicked\ngo to x: (-170) y: (-52)\n\nwhen flag clicked\ngo to x: (0) y: (-54)\nshow\nswitch costume to (costume1 v)\nset size to (100) %\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume1 v)\n        change [xv v] by (-0.5)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume1 v)\n        change [xv v] by (0.5)\n    end\n    change x by (Xv)\n    set [xv v] to ((Xv) * (0.9))\n    if <touching color (#000000)?> then\n        change y by (0.5)\n        if <touching color (#000000)?> then\n            change y by (0.5)\n            if <touching color (#000000)?> then\n                change y by (0.5)\n                if <touching color (#000000)?> then\n                    change y by (0.5)\n                    if <touching color (#000000)?> then\n                        change y by (0.5)\n                        if <touching color (#000000)?> then\n                            change y by (0.5)\n                            if <touching color (#000000)?> then\n                                change y by (0.5)\n                                if <touching color (#000000)?> then\n                                    change y by (0.5)\n                                    if <touching color (#000000)?> then\n                                        if <key (up arrow v) pressed?> then\n                                            if <(Xv) > [0]> then\n                                                set [xv v] to [-7]\n                                            else\n                                                set [xv v] to [7]\n                                            end\n                                            set [yv v] to [10]\n                                        else\n                                            set [xv v] to ((Xv) * (-1.3))\n                                            change x by (Xv)\n                                            set [xv v] to [0]\n                                            change x by ((Xv) / (5))\n                                        end\n                                        change y by (-4)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-0.5)\n    change y by (Yv)\n    if <touching color (#000000)?> then\n        set [yv v] to ((Yv) * (-0.25))\n        change y by (Yv)\n        if <touching color (#000000)?> then\n            change y by (Yv)\n            if <touching color (#000000)?> then\n                change y by (Yv)\n                if <touching color (#000000)?> then\n                    change y by (Yv)\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<touching color (#000000)?> and <key (up arrow v) pressed?>> then\n        set [yv v] to [10]\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nreset timer\n\n@Green\n\nwhen flag clicked\nhide\n\n