9th Level (Platformer)

Instructions: 9th Level\nYeah.... 9 levels\nCan we hit top loved again???\nLoved by:\n@americanyoyo\n@-Strife-\n@-Hamstr\n@amylaser\n@CgBB

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop3 v)\nbroadcast (begin v)\n\nwhen I receive [nextlev v]\nnext backdrop\n\n@Obstacles\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [costume6 v]\nshow\ngo to x: (-74) y: (-191)\nforever\n    glide (0.07) secs to x: (-10) y: (-140)\n    wait (pick random (0.01) to (0.1)) seconds\n    glide (0.07) secs to x: (-10) y: (-191)\n    wait (pick random (0.01) to (0.1)) seconds\nend\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\n@Obstacles2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [costume6 v]\nshow\ngo to x: (-74) y: (-191)\nforever\n    glide (0.07) secs to x: (-74) y: (-140)\n    wait (pick random (0.01) to (0.1)) seconds\n    glide (0.07) secs to x: (-74) y: (-191)\n    wait (pick random (0.01) to (0.1)) seconds\nend\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\n@Platforms3\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop1 v]\nshow\nforever\n    wait (pick random (0.2) to (0.3)) seconds\n    glide (0.5) secs to x: (70) y: (pick random (150) to (-160))\nend\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\n@Platforms2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop1 v]\nshow\nforever\n    wait (pick random (0.1) to (0.2)) seconds\n    glide (0.3) secs to x: (-10) y: (pick random (150) to (-160))\nend\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\n@Platforms\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop1 v]\ngo to x: (-94) y: (-162)\nshow\nforever\n    wait (pick random (0.2) to (0.3)) seconds\n    glide (0.5) secs to x: (-84) y: (pick random (150) to (-160))\nend\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\n@Platform Figure\n\nwhen I receive [begin v]\nshow\ngo to x: (-216) y: (-132)\nset [speedy v] to [0]\nforever\n    change [speedy v] by (-1)\n    change y by (speedY)\n    touch <(speedY) > [0]>\n    set rotation style [left-right v]\n    if <key (right arrow v) pressed?> then\n        move (90) (5)\n    end\n    if <key (left arrow v) pressed?> then\n        move (-90) (-5)\n    end\n    if <<key (up arrow v) pressed?> and <(falling) < [3]>> then\n        set [speedy v] to [15]\n    end\n    if <(y position) < [-160]> then\n        go to x: (-216) y: (-132)\n    end\n    if <(x position) > [225]> then\n        go to x: (-216) y: (-132)\n        broadcast (nextlev v)\n        hide\n        show\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-216) y: (-132)\n    end\n    if <touching (blocks v)?> then\n        go to x: (-216) y: (-132)\n    end\n    if <touching color (#00ff55)?> then\n        set [speedy v] to [22]\n    end\nend\n\ndefine touch <>\nchange [falling v] by (1)\nrepeat until <not <touching color (#000000)?>>\n    if <up> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling v] to [0]\n    end\n    set [speedy v] to [0]\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [end v]\nhide\n\ndefine None\npoint in direction (speed)\nchange x by (steps)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching color (#000000)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by ((0) - (steps))\n    change y by ((0) - (slope))\nend\n\n@Blocks\n\nwhen flag clicked\nhide\n\nwhen I receive [begin v]\nforever\n    hide\nend\n\nwhen I start as a clone\nshow\ngo to x: (pick random (-220) to (220)) y: (150)\nforever\n    change y by (-8)\n    if <(y position) < [-160]> then\n        delete this clone\n    end\nend\n\nwhen backdrop switches to [backdrop9 v]\nrepeat until <not <([backdrop # v] of [_stage_ v]) = [9]>>\n    hide\n    wait (0.07) seconds\n    create clone of (_myself_ v)\nend\n\n@Sprite1\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n