Epic Platformer

Instructions: Try to get through all the levels. All are possible. How to play will be explained in the game.\n\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [message1 v]\nswitch backdrop to (backdrop2 v)\nreset timer\n\nwhen I receive [nxtbd v]\nnext backdrop\n\nswitch backdrop to (backdrop6 v)\n\n@epic face\n\nwhen this sprite clicked\nstop [other scripts in sprite v]\nbroadcast (message1 v)\nset size to (250) %\ngo to x: (-211) y: (-63)\n\nswitch backdrop to (backdrop10 v)\n\nwhen I receive [message1 v]\nforever\n    if <touching color (#ffff00)?> then\n        set size to (500) %\n        broadcast (nxtbd v)\n        broadcast (win v)\n        go to x: (19) y: (-5)\n    end\nend\n\nswitch backdrop to (backdrop21 v)\n\nwhen I receive [bonus level v]\ngo to x: (-211) y: (-63)\n\nwhen I receive [bonus level v]\ngo to x: (-154) y: (-111)\n\nwhen flag clicked\npoint in direction (90)\nset size to (500) %\nshow\ngo to x: (-185) y: (-84)\nforever\n    glide (0.25) secs to x: (-185) y: (-70)\n    glide (0.25) secs to x: (-185) y: (-84)\n    glide (0.25) secs to x: (-185) y: (-98)\n    glide (0.25) secs to x: (-185) y: (-84)\nend\n\nwhen I receive [message1 v]\nforever\n    if <(y position) < [-180]> then\n        if <(backdrop [name v]) = [backdrop15]> then\n            broadcast (nxtbd v)\n            go to x: (-211) y: (-63)\n        else\n            go to x: (-211) y: (-63)\n            broadcast (gameover v)\n        end\n    end\nend\n\nwhen I receive [message1 v]\nforever\n    if <touching color (#ff0000)?> then\n        wait (0.01) seconds\n        go to x: (-211) y: (-63)\n        broadcast (gameover v)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Platform v] until done\nend\n\nwhen I receive [message1 v]\nforever\n    play sound [Platform v] until done\nend\n\nwhen I receive [message1 v]\nset [yv v] to [0]\nrepeat until <<touching color (#663b00)?> and <key (space v) pressed?>>\nglide (1) secs to x: (194) y: (176)\nbroadcast (nxtbd v)\ngo to x: (-211) y: (-63)\nstop [this script v]\n\nwhen I receive [message1 v]\nforever\n    if <(x position) > [240]> then\n        if <(backdrop [name v]) = [backdrop10]> then\n            broadcast (nxtbd v)\n            go to x: (-217) y: (137)\n        else\n            broadcast (nxtbd v)\n            go to x: (-211) y: (-63)\n        end\n    end\nend\n\nwhen I receive [message1 v]\nshow\nforever\n    change [yv v] by (-0.5)\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (0.7)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-0.7)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yv)\n    if <touching color (#000000)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [8]\n        end\n    end\n    change y by (1)\nend\n\nwhen I receive [gameover v]\nif <(backdrop [name v]) = [backdrop11]> then\n    go to x: (-217) y: (137)\nend\n\n@Sprite1\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\nif <(backdrop [name v]) = [backdrop9]> then\n    show\n    hide\n    show\n    go to x: (-156) y: (-133)\n    glide (3) secs to x: (-156) y: (-18)\n    wait until <<not <(backdrop [name v]) = [backdrop9]>> or <(backdrop [name v]) = [sadfaceboss2]>>\n    hide\n    stop [this script v]\nend\n\nwhen flag clicked\ngo to x: (-156) y: (-133)\nhide\nforever\n    if <(backdrop [name v]) = [backdrop9]> then\n        show\n        glide (3) secs to x: (-156) y: (-18)\n        wait until <<not <(backdrop [name v]) = [backdrop9]>> or <(backdrop [name v]) = [sadfaceboss2]>>\n        hide\n        stop [this script v]\n    end\nend\n\n@Sprite2\n\nwhen I start as a clone\nshow\nrepeat until <not <(backdrop [name v]) = [backdrop10]>>\n    go to x: (pick random (-220) to (220)) y: (180)\n    set size to (pick random (100) to (150)) %\n    change y by (-20)\n    repeat until <touching (_edge_ v)?>\n        change y by (-7)\n    end\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nrepeat until <(backdrop [name v]) = [backdrop10]>\n    wait (1e-17) seconds\nend\nwait (0.5) seconds\nshow\nbroadcast (useless v)\ncreate clone of (_myself_ v)\nrepeat until <not <(backdrop [name v]) = [backdrop10]>>\n    go to x: (pick random (-220) to (220)) y: (180)\n    set size to (pick random (100) to (150)) %\n    change y by (-20)\n    repeat until <touching (_edge_ v)?>\n        change y by (-7)\n    end\nend\nhide\nstop [this script v]\n\nwhen I receive [message1 v]\n\nwhen I receive [useless v]\nforever\n    if <not <(backdrop [name v]) = [backdrop10]>> then\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nrepeat until \n    hide\nend\n\nwhen I receive [win v]\nshow\nstop [other scripts in sprite v]\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        broadcast (bonus level v)\n        hide\n        switch backdrop to (backdrop23 v)\n    end\nend\n\n