Christmas - A Platformer

Instructions: Arrow Keys to move \nRed you can die from\nYellow is bouncy\nYou HAVE TO BE TOUCHING the lollipop to go to the next level!\nUPDATED FOR 2020!!\nPlease subscribe to my YouTube channel!!\nhttps://www.youtube.com/channel/UCArZhJhjooueca5Bh-LR50w

@Stage\n\nwhen flag clicked\nswitch backdrop to (thumbnail v)\nwait (15) seconds\nswitch backdrop to (backdrop1 v)\n\n@Player\n\nwhen flag clicked\nswitch backdrop to (thumbnail v)\ngo to x: (-203) y: (-127)\nhide\nwait (15) seconds\nshow\nstart sound [All I Want for Christmas Is You v]\nswitch costume to (costume1 v)\nswitch backdrop to (backdrop1 v)\nclear graphic effects\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.85))\n    change x by (x)\n    if <touching color (#ffffff)?> then\n        change y by (1)\n        if <touching color (#ffffff)?> then\n            change y by (1)\n            if <touching color (#ffffff)?> then\n                change y by (1)\n                if <touching color (#ffffff)?> then\n                    change y by (1)\n                    if <touching color (#ffffff)?> then\n                        change y by (1)\n                        if <touching color (#ffffff)?> then\n                            change y by (1)\n                            if <touching color (#ffffff)?> then\n                                change y by (-6)\n                                change x by ((x) * (-1))\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching color (#ffffff)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#ffffff)?> and <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n        set [y v] to [13]\n    end\n    change y by (1)\n    if <<<touching color (#ff0000)?> and <not <touching (lollipop v)?>>> or <(y position) < [-175]>> then\n        start sound [Bonk v]\n        death animation\n        go to x: (-203) y: (-129)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <(x position) > [240]> then\n        change [level v] by (1)\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-203) y: (-127)\n    end\n    if <touching color (#ffc366)?> then\n        set [y v] to [17]\n    end\n    if <touching (lollipop v)?> then\n        go to x: (-203) y: (-127)\n        switch backdrop to (next backdrop v)\n    end\nend\n\n@Snow\n\nwhen flag clicked\nset [ghost v] effect to (pick random (80) to (50))\nhide\nrepeat (30)\n    go to x: (pick random (-240) to (240)) y: (pick random (-120) to (180))\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [svel v] to (pick random (-4) to (-8))\nshow\nforever\n    change x by (pick random (-1) to (1))\n    change y by (svel)\n    if <(y position) < [-120]> then\n        set y to (180)\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (257) y: (154)\nhide\nwait (15) seconds\nshow\nif <(Level) = [4]> then\n    go to x: (251) y: (115)\nend\n\nwhen this sprite clicked\nswitch backdrop to (next backdrop v)\n\nwhen backdrop switches to [backdrop13 v]\nhide\n\n@F6DD3234-0567-465D-AAB0-720874EC3F71\n\nwhen flag clicked\nstart sound [Undertale - Megalovania \(Sim Gretina Remix\).mp3 v]\npoint in direction (90)\nset size to (3) %\nset [ghost v] effect to (100)\nwait (1) seconds\nrepeat (10)\n    change size by (10)\n    change [ghost v] effect by (-10)\nend\nrepeat (100)\n    point in direction (90)\n    change [sine v] by (-11)\n    change size by (([sin v] of (sine) ) * (4))\n    turn right (([sin v] of (sine) ) * (5.2)) degrees\nend\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\nbroadcast (Hide text v)\n\n@Sprite2\n\nwhen I receive [hide text v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\npoint in direction (90)\nset size to (3) %\nrepeat (10)\n    change size by (10)\n    change [ghost v] effect by (-10)\nend\nrepeat (100)\n    point in direction (90)\n    change [sine v] by (-11)\n    change size by (([sin v] of (sine) ) * (4))\n    turn right (([sin v] of (sine) ) * (5.2)) degrees\nend\nbroadcast (Enjoy text v)\n\nwhen flag clicked\nshow\n\nwhen I receive [fade text v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@Sprite3\n\nwhen flag clicked\nset size to (3) %\nset [ghost v] effect to (100)\n\nwhen I receive [enjoy text v]\nrepeat (10)\n    change size by (10)\n    change [ghost v] effect by (-10)\nend\nrepeat (100)\n    point in direction (90)\n    change [sine v] by (-11)\n    change size by (([sin v] of (sine) ) * (4))\n    turn right (([sin v] of (sine) ) * (5.2)) degrees\nend\nbroadcast (Fade text v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nwait (1) seconds\nstop all sounds\n\n@lollipop\n\nwhen flag clicked\nhide\nwait (15) seconds\nshow\ngo to x: (294) y: (-122)\nif <touching (player v)?> then\n    switch backdrop to (next backdrop v)\nend\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (34) y: (30)\nhide\nset [color v] effect to (0)\nwait (15) seconds\nshow\nrepeat (10)\n    glide (1) secs to x: (77) y: (6)\n    glide (1) secs to x: (65) y: (0)\nend\n\nwhen this sprite clicked\nhide\n\n