Square - A Platformer 3

Instructions: Welcome to part 3 of my Square - A Platformer series!!!\n===================================================\nInstructions:\nArrow keys to move.\nDo not touch red.\nGreen is bouncy.\n====================================================

@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\n\nwhen I receive [next v]\nnext backdrop\n\nwhen I receive [end v]\nswitch backdrop to (13 v)\n\n@Sprite1\n\nwhen flag clicked\nshow\ngo to x: (-236) y: (-166)\ngo to x: (-202) y: (-124)\nforever\n    change [y v] by (-0.5)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching color (#000008)?> or <touching color (#00ff55)?>> then\n        change y by (1)\n        if <<touching color (#000008)?> or <touching color (#00ff55)?>> then\n            change y by (1)\n            if <<touching color (#000008)?> or <touching color (#00ff55)?>> then\n                change y by (1)\n                if <<touching color (#000008)?> or <touching color (#00ff55)?>> then\n                    change y by (1)\n                    if <<touching color (#000008)?> or <touching color (#00ff55)?>> then\n                        change y by (1)\n                        if <<touching color (#000008)?> or <touching color (#00ff55)?>> then\n                            change y by (1)\n                            if <<touching color (#000008)?> or <touching color (#00ff55)?>> then\n                                change y by (-6)\n                                if <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                                    change x by ((x) * (-1))\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 (#000008)?> 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 (#000008)?> and <key (up arrow v) pressed?>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\n    if <touching color (#00ff55)?> then\n        set [y v] to [15]\n    end\n    if <touching color (#660000)?> then\n        go to x: (-204) y: (-133)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-202) y: (-124)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [240]> then\n        go to x: (-210) y: (-109)\n        broadcast (next v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff9400)?> then\n        go to x: (16) y: (-129)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Vexento - Snowflakes v] until done\nend\n\nwhen flag clicked\nforever\n    if <touching color (#003fff)?> then\n        hide\n        broadcast (end v)\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\n\ngo to x: (0) y: (0)\nshow\n\n