Cute Cube Adventure 4 (Platformer Series)

Instructions: Cute Cube Adventure 4 (Platformer Series)\nFRONT PAGED ON 7-18-2019 thanks, @HarmonyKitty!\nPlay Cute Cube Adventure 1: https://scratch.mit.edu/projects/278923025/\nCute Cube Adventure 2: https://scratch.mit.edu/projects/289001637/\nCute Cube Adventure 3: https://scratch.mit.edu/projects/291836076/\nCute Cube Adventure 5: https://scratch.mit.edu/projects/327064233/\n\nSetting:\nHello everyone! Welcome to Cute Cube Adventure 4, the official fourth part in the platformer series!! Today, Cute Cube is excited to explore the green, cheerful forests of Cube Land! But when he enters the forest, he realizes it wasn't exactly as cheerful as he first thought. Strange red vines, large obstacles, and many other things are just waiting to hurt him! Can you help him get through the forest to the other side safely?\n \nInstructions:\n--Use your arrow keys to move--\n--Press the R key to restart any level--\n--Press the S key to skip any level--\n--Dodge the red and other obstacles to help Cute Cube in the forests of Cube Land!--\n--Have fun!!--

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [message1 v]\nswitch backdrop to (backdrop2 v)\n\nwhen flag clicked\nforever\n    play sound [Early Afternoon - KnightKit12 v] until done\nend\n\n@Cute Cube\n\nwhen flag clicked\nhide\n\ngo to x: (128) y: (-180)\n\nset [player: x v] to [5]\n\n\n\nwhen I receive [message1 v]\nswitch backdrop to (backdrop2 v)\ngo to x: (-207) y: (-100)\nset rotation style [left-right v]\nset [player: x v] to [0]\nset [player: y v] to [0]\nshow\nforever\n    if <(y position) = [-176]> then\n        go to x: (-207) y: (-5)\n        set [player: x v] to [0]\n        set [player: y v] to [0]\n    end\n    if <(x position) > [234]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-218) y: (-115)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <key (right arrow v) pressed?> then\n        change [player: x v] by (1)\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        change [player: x v] by (-1)\n        point in direction (-90)\n    end\n    set [player: x v] to ((Player: x) * (.9))\n    change x by (Player: x)\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 y by (-5)\n                            change x by ((Player: x) * (-1))\n                            if <key (up arrow v) pressed?> then\n                                set [player: y v] to [10]\n                                if <(Player: x) > [0]> then\n                                    set [player: x v] to [-10]\n                                else\n                                    set [player: x v] to [10]\n                                end\n                            else\n                                set [player: x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [player: y v] by (-.5)\n    change y by (Player: y)\n    if <touching color (#000000)?> then\n        change y by ((Player: y) * (-1))\n        set [player: y v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#000000)?> and <key (up arrow v) pressed?>> then\n        set [player: y v] to [10]\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        go to x: (-207) y: (-80)\n        set [player: x v] to [0]\n        set [player: y v] to [0]\n    end\n    if <touching color (#ff009b)?> then\n        set [player: y v] to [16]\n    end\nend\n\nwhen [s v] key pressed\nswitch backdrop to (next backdrop v)\ngo to x: (-218) y: (-80)\nset [x v] to [0]\nset [y v] to [0]\n\nwhen [r v] key pressed\ngo to x: (-218) y: (-80)\nset [x v] to [0]\nset [y v] to [0]\n\nif <not <touching color (#000000)?>> then\nend\n\nwhen backdrop switches to [backdrop21 v]\nhide\nstop [all v]\n\n@Play Game Button\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (4)\n            change size by (3)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (4)\n            change size by (-3)\n        end\n    end\nend\n\nwhen this sprite clicked\nbroadcast (message1 v)\n\n