Gobi3: Platformer

Instructions: Gobi3 the Platformer! Finally here! \n10 Levels No Mistakes!\nOnly Used 4 Sprites and Minimal Scripts! Simplicity taken to the next level\n\nGood Luck\n\nSmall % of Winning Early\nSmall % of skipping a level

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (-209) y: (-100)\nshow\nforever\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1)\n    end\n    if <key (left arrow v) pressed?> 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 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 x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> 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 [10]\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 color (#666666)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#666666)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#ff0000)?> and <not <touching (ball v)?>>> then\n        switch backdrop to (backdrop2 v)\n        stop [all v]\n    end\nend\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen flag clicked\nforever\n    wait (0.5) seconds\n    if <(backdrop [name v]) = [backdrop3]> then\n        if <touching (ball v)?> then\n            switch backdrop to (backdrop4 v)\n        end\n    end\nend\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (-213) y: (-142)\n\nwhen backdrop switches to [backdrop5 v]\ngo to x: (-208) y: (-134)\n\nwhen flag clicked\nforever\n    wait (0.7) seconds\n    if <(backdrop [name v]) = [backdrop4]> then\n        if <touching (ball v)?> then\n            switch backdrop to (backdrop5 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    wait (0.4) seconds\n    if <(backdrop [name v]) = [backdrop5]> then\n        if <touching (ball v)?> then\n            switch backdrop to (backdrop6 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (up arrow v) pressed?> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <<key (up arrow v) pressed?> or <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>>>> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n    end\nend\n\nwhen backdrop switches to [backdrop6 v]\ngo to x: (-213) y: (-113)\n\nwhen backdrop switches to [backdrop7 v]\ngo to x: (221) y: (-94)\n\nwhen flag clicked\nforever\n    wait (0.426) seconds\n    if <(backdrop [name v]) = [backdrop6]> then\n        if <touching (ball v)?> then\n            switch backdrop to (backdrop7 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [makethebrainhappy]> then\n        if <key (space v) pressed?> then\n            switch backdrop to (backdrop6 v)\n        end\n    end\nend\n\nwhen backdrop switches to [backdrop8 v]\ngo to x: (-172) y: (-146)\n\nwhen flag clicked\nforever\n    wait (0.234) seconds\n    if <(backdrop [name v]) = [backdrop7]> then\n        if <touching (ball v)?> then\n            switch backdrop to (backdrop8 v)\n        end\n    end\nend\n\nwhen backdrop switches to [backdrop8 v]\ngo to x: (-219) y: (-138)\n\nwhen backdrop switches to [backdrop9 v]\ngo to x: (210) y: (-139)\n\nwhen backdrop switches to [backdrop10 v]\ngo to x: (-8) y: (149)\n\nwhen flag clicked\nforever\n    wait (0.36856) seconds\n    if <(backdrop [name v]) = [backdrop9]> then\n        if <touching (ball v)?> then\n            switch backdrop to (backdrop10 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [makethebrainhappy]> then\n        if <key (a v) pressed?> then\n            switch backdrop to (backdrop10 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    wait (0.9) seconds\n    if <(backdrop [name v]) = [backdrop1]> then\n        if <touching (ball v)?> then\n            switch backdrop to (backdrop3 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    wait (0.333) seconds\n    if <(backdrop [name v]) = [backdrop8]> then\n        if <touching (ball v)?> then\n            switch backdrop to (backdrop9 v)\n        end\n    end\nend\n\nwhen backdrop switches to [backdrop11 v]\ngo to x: (34) y: (-139)\n\nwhen flag clicked\nforever\n    wait (0.28735) seconds\n    if <(backdrop [name v]) = [backdrop10]> then\n        if <touching (ball v)?> then\n            switch backdrop to (backdrop11 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    wait (0.55637) seconds\n    if <(backdrop [name v]) = [backdrop11]> then\n        if <touching (ball v)?> then\n            broadcast (message1 v)\n        end\n    end\nend\n\n@Ball\n\nwhen flag clicked\ngo to x: (223) y: (116)\nshow\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\ngo to x: (-223) y: (116)\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (-220) y: (130)\n\nwhen backdrop switches to [backdrop5 v]\ngo to x: (208) y: (-149)\n\nwhen backdrop switches to [1 v]\nhide\n\nwhen backdrop switches to [backdrop6 v]\ngo to x: (219) y: (-147)\n\nwhen backdrop switches to [backdrop7 v]\ngo to x: (-132) y: (115)\n\nwhen backdrop switches to [backdrop8 v]\ngo to x: (205) y: (-141)\n\nwhen backdrop switches to [backdrop9 v]\ngo to x: (-214) y: (150)\n\nwhen backdrop switches to [backdrop10 v]\ngo to x: (-207) y: (-125)\n\nwhen backdrop switches to [backdrop11 v]\ngo to x: (-37) y: (159)\n\n@1\n\nwhen I receive [message1 v]\nshow\n\nwhen flag clicked\nhide\n\n@Gobi3\n\nwhen flag clicked\nshow\ngo to x: (47) y: (-18)\nhide\ngo to [front v] layer\n\n