Red Platformer

Instructions: I made this for the monochromatic studio. Arrow keys to move.\nLove & Favorite.

@Stage\n\nwhen flag clicked\nset [color v] effect to (0)\nforever\n    repeat (10)\n        change [color v] effect by (-0.5)\n    end\n    repeat (10)\n        change [color v] effect by (0.5)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Song v] until done\nend\n\n@Player\n\nwhen flag clicked\nforever\n    if <touching color (#ff6c6c)?> then\n        change [yv v] by (22)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        set [yv v] to [0]\n        set [xv v] to [0]\n        go to x: (-220) y: (0)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nhide\nwait (3) seconds\ngo to x: (-220) y: (0)\nshow\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <key (d 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 (#b92c2c)?> then\n        change y by (1)\n        if <touching color (#b92c2c)?> then\n            change y by (1)\n            if <touching color (#b92c2c)?> then\n                change y by (1)\n                if <touching color (#b92c2c)?> then\n                    change y by (1)\n                end\n                if <touching color (#b92c2c)?> then\n                    change y by (1)\n                    if <touching color (#b92c2c)?> then\n                        change x by ((Xv) * (-1))\n                        change y by (-5)\n                        if <<key (up arrow v) pressed?> or <key (w 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 [12]\n                        else\n                            set [xv v] to [0]\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 (#b92c2c)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#b92c2c)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [12]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [240]> then\n        broadcast (Next Level v)\n        go to x: (-220) y: (0)\n        set [yv v] to [0]\n        set [xv v] to [0]\n    end\nend\n\n@Eyes\n\nwhen flag clicked\nhide\nwait (3) seconds\nshow\nforever\n    go to (player v)\nend\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        switch costume to (left v)\n    else\n        switch costume to (straight v)\n        if <key (right arrow v) pressed?> then\n            switch costume to (right v)\n        else\n            switch costume to (straight v)\n        end\n    end\nend\n\ngo to [front v] layer\n\n@Ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Cloud\n\nwhen flag clicked\nset [ghost v] effect to (25)\ngo to (random position v)\nset size to (100) %\nset x to (-240)\nswitch costume to (pick random (1) to (3))\nforever\n    change x by (5)\n    if <(x position) > [240]> then\n        repeat (10)\n            change size by (-10)\n        end\n        go to (random position v)\n        set x to (-240)\n        switch costume to (pick random (1) to (3))\n        repeat (10)\n            change size by (10)\n        end\n    end\nend\n\n@Particles\n\nwhen I start as a clone\nset size to (100) %\nset [ghost v] effect to (70)\nset size to (pick random (80) to (115)) %\nforever\n    glide (pick random (2) to (4)) secs to (random position v)\nend\n\nwhen flag clicked\nset size to (100) %\nset [ghost v] effect to (70)\ngo to x: (0) y: (100)\nrepeat (40)\n    create clone of (_myself_ v)\nend\nforever\n    glide (pick random (2) to (4)) secs to (random position v)\nend\n\n@Sprite1\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nwait (2.5) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n