Mini Platformer

Instructions: • This is probably my last game for a while, it is about growing up. Enjoy!\n• Please get this #1 on trending guys!\n• I'll probably stay on scratch :)\n• This game encourages hating grass, sorry.\n=≈=≈=≈=≈=≈=≈=≈=≈=≈=≈=≈=≈=≈=≈=≈=≈=≈=≈=≈=≈\n• Controls:\n    •WASD or arrows or click on mobile\n=========================================\n• Stuff I still need to do:\n    •Add more easter eggs\n    •Make a better thumbnail\n    • Fix sound controls

@Stage\n\nwhen flag clicked\nforever\n    change [color v] effect by (5)\nend\n\n@ground\n\nwhen flag clicked\nhide\nset size to (100) %\ngo to x: (0) y: (0)\nswitch costume to (costume4 v)\nforever\n    play sound [Vexento - Snowflakes v] until done\nend\n\nwhen I receive [level-up v]\nnext costume\n\nwhen backdrop switches to [lvl 7 v]\nbroadcast (what v)\n\nwhen I receive [start v]\nshow\ngo to [front v] layer\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (83) y: (-94)\nset size to (100) %\nhide\n\n@costume14\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nhide\n\n@Smiley2\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to [front v] layer\nset size to (15) %\nswitch costume to (costume1 v)\ngo to x: (-200) y: (130)\npoint in direction (90)\nshow\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    change [yv v] by (-0.5)\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (0.7)\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-0.7)\n        point in direction (90)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#000008)?> then\n        change y by (1)\n        if <touching color (#000008)?> then\n            change y by (1)\n            if <touching color (#000008)?> then\n                change y by (1)\n                if <touching color (#000008)?> then\n                    change y by (1)\n                    if <touching color (#000008)?> then\n                        change y by (1)\n                        if <touching color (#000008)?> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                            if <key (up arrow v) pressed?> then\n                                start sound [jump v]\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-8]\n                                else\n                                    set [xv v] to [8]\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 y by (Yv)\n    if <touching color (#000008)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000008)?> then\n        if <key (up arrow v) pressed?> then\n            start sound [jump v]\n            set [yv v] to [10]\n        end\n    end\n    change y by (1)\n    if <(x position) > [200]> then\n        start sound [next lvl v]\n        point in direction (90)\n        go to x: (-200) y: (130)\n        set [yv v] to [0]\n        set [xv v] to [0]\n        broadcast (level-up v)\n    end\n    if <touching color (#ff0000)?> then\n        switch costume to (costume2 v)\n        start sound [bxsb v]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        point in direction (90)\n        go to x: (-200) y: (130)\n        set [yv v] to [0]\n        set [xv v] to [0]\n        clear graphic effects\n        switch costume to (costume1 v)\n    end\n    if <touching color (#00ffff)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [5]\n        else\n            if <key (down arrow v) pressed?> then\n                set [yv v] to [-5]\n            else\n                set [yv v] to [-1]\n            end\n        end\n    end\n    if <touching color (#003fff)?> then\n        start sound [jump v]\n        set [yv v] to [15]\n    end\nend\n\n@Text\n\nwhen flag clicked\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nrepeat (8)\n    wait (1) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    next costume\n    wait (0.5) seconds\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\nhide\nbroadcast (start v)\n\nforever\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\n\nforever\nend\n\nhide\n\n