Christmas || A platformer || #games #all #trending #music #art #animations #stories 

Instructions:                         ꧁༺Christmas༻꧂ㅤ\n\nHi all!!! It's december and christmas is coming!!! So I am doing a Christmas platformer!!! Hope you enjoy. :D\nI need to get on trending because I work very hard.\nYou will feel bad if you don't Love and Star.\nRemix make you happy.\nFollow me here --> ( @hern1 ) for more amazing platformers!\nAdvertising ALLOWED. :D\nNew game: https://scratch.mit.edu/projects/615294016/\n\n\n                           ꧁༺Rules༻꧂\n\nA, D, right arrow or left arrow to move.\nW or up arrow key to jump.\nCollect all the candy or the snowman will not let you go.\nChristmas tree and Stockings will help.\nAvoid spikes and fire.\n\n                         ꧁༺Credits༻꧂\n \nChristmas tree and socks costume: Google\nFire costume: Google\nCandy cane costume: Google\nThe font of the numbers on the left top (Eg: 0/2, 1/1, 2/3, 0/0...): Appel from @griffpatch\n\n\n\n\n\n\n\n\n\n\n\n\n\nTags:\n#All #Games #Trending #All #Games #Trending\n#All #Games #Trending #All #Games #Trending\n#All #Games #Trending #All #Games #Trending\n#All #Games #Trending #All #Games #Trending\n#Tutorials #Tutorials #Tutorials #Tutorials #Tutorials \n#games #all #fun #platformer #spikes #christmas #ChristmasTree #like #fav #art #follow #hern1 #enjoy #lol #good #fire #ground #hope #you #enjoy #thumbnail #music #snowman #candy_cane #background #enemy\n

@Stage\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nrepeat (7)\n    switch costume to (love v)\n    change size by (-4)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nbroadcast (Game on v)\nset [level v] to [1]\n\nwhen flag clicked\n\nwhen I receive [mati v]\nhide\nwait (0) seconds\nshow\nset [x v] to [0]\nset [y v] to [0]\nset [x v] to [-210]\nset [y v] to [0]\nclear graphic effects\nset x to (-210)\nset y to (0)\nbroadcast (Game on v)\nstop [this script v]\n\nwhen flag clicked\nforever\n    if <<touching (spikes v)?> or <touching (fire v)?>> then\n        stop [other scripts in sprite v]\n        repeat (20)\n            change [brightness v] effect by (5)\n        end\n        broadcast (Mati v)\n    end\nend\n\nwhen I receive [game on v]\nSet Costume\ngo to [front v] layer\ngo [backward v] (3) layers\nshow\nset size to (45) %\nswitch costume to (this v)\ngo to x: (-190) y: (50)\nset drag mode [not draggable v]\npoint in direction (90)\nforever\n    create clone of (_myself_ v)\n    set rotation style [left-right v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        create clone of (_myself_ v)\n        change [x v] by (-1)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        create clone of (_myself_ v)\n        change [x v] by (1)\n    end\n    if <<<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<<(x position) < (mouse x)> and <mouse down?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>> then\n        create clone of (_myself_ v)\n    end\n    if <<<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<<(mouse x) < (x position)> and <mouse down?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\n        create clone of (_myself_ v)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    switch costume to (project. v)\n    if <<touching (level v)?> or <touching (snowman v)?>> then\n        change y by (1)\n        Set Costume\n        if <<touching (level v)?> or <touching (snowman v)?>> then\n            change y by (1)\n            Set Costume\n            if <<touching (level v)?> or <touching (snowman v)?>> then\n                change y by (1)\n                Set Costume\n                if <<touching (level v)?> or <touching (snowman v)?>> then\n                    change y by (1)\n                    Set Costume\n                    if <<touching (level v)?> or <touching (snowman v)?>> then\n                        change y by (1)\n                        Set Costume\n                        if <<touching (level v)?> or <touching (snowman v)?>> then\n                            change x by ((X) * (-1))\n                            change y by (-5)\n                            Set Costume\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-7]\n                                    Set Costume\n                                else\n                                    set [x v] to [7]\n                                    Set Costume\n                                end\n                                set [y v] to [14]\n                                Set Costume\n                            else\n                                set [x v] to [0]\n                                Set Costume\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    Set Costume\n    change y by (-1)\n    switch costume to (project. v)\n    if <<touching (snowman v)?> or <touching (level v)?>> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [y v] to [13]\n        end\n    end\n    Set Costume\n    change y by (1)\n    change [y v] by (-1)\n    change y by (Y)\n    if <<touching (snowman v)?> or <touching (level v)?>> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    hide variable [x v]\n    if <(x position) > [230]> then\n        broadcast (next level v)\n        change [level v] by (1)\n        set [y v] to [0]\n        set [x v] to [0]\n        go to x: (-190) y: (0)\n    end\n    if <(y position) < [-170]> then\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-190) y: (-50)\n    end\nend\n\nwhen I receive [game on v]\nforever\n    Set Costume\nend\n\ndefine Set Costume\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) + (-20)) > (y position)> and <mouse down?>>> and <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<((mouse x) + (15)) > (x position)> and <mouse down?>>>> then\n    switch costume to (this v)\n    point in direction (90)\nelse\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) + (-20)) > (y position)> and <mouse down?>>> and <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<((mouse x) - (15)) < (x position)> and <mouse down?>>>> then\n        switch costume to (this v)\n        point in direction (-90)\n    else\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) + (-20)) > (y position)> and <mouse down?>>> then\n            switch costume to (this v)\n            point in direction (direction)\n        else\n            if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<((mouse x) - (-20)) > (x position)> and <mouse down?>>> then\n                switch costume to (this v)\n                point in direction (90)\n            else\n                if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<((mouse x) + (-20)) < (x position)> and <mouse down?>>> then\n                    switch costume to (this v)\n                    point in direction (-90)\n                else\n                    switch costume to (this v)\n                end\n            end\n        end\n    end\nend\n\n@Level\n\nwhen I receive [next level v]\nswitch costume to (join [Level] (level))\n\nnext costume\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (level1 v)\n\nwhen flag clicked\n\n@Spikes\n\nwhen flag clicked\nforever\n    if <(level) = [3]> then\n        go to x: (36) y: (28)\n        switch costume to (costume1 v)\n        show\n    else\n        if <(level) = [4]> then\n            switch costume to (costume2 v)\n            go to x: (36) y: (28)\n            go to [back v] layer\n            show\n        else\n            if <(level) = [5]> then\n                switch costume to (costume3 v)\n                go to x: (36) y: (28)\n                go to [back v] layer\n                show\n            else\n                if <(level) = [8]> then\n                    switch costume to (costume4 v)\n                    go to [back v] layer\n                    go to x: (36) y: (28)\n                    show\n                else\n                    if <(level) = [9]> then\n                        switch costume to (costume5 v)\n                        go to [back v] layer\n                        go to x: (36) y: (28)\n                        show\n                    else\n                        if <(level) = [10]> then\n                            switch costume to (costume6 v)\n                            go to [back v] layer\n                            go to x: (0) y: (0)\n                            show\n                        else\n                            if <(level) = [11]> then\n                                switch costume to (costume7 v)\n                                go to [back v] layer\n                                go to x: (0) y: (0)\n                                show\n                            else\n                                hide\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@Candy Cane3\n\nwhen flag clicked\nforever\n    if <<<(level) = [1]> or <(level) = [2]>> or <(level) = [3]>> then\n        hide\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\n\nwhen I receive [next level v]\nset [collect v] to [0]\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [4]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (-48) y: (140)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [5]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (113) y: (-22)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [9]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        show\n        go to x: (59) y: (19)\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [10]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        show\n        go to x: (140) y: (105)\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\n@Snowman\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        show\n        set size to (100) %\n        go to x: (49) y: (-121)\n        if <(Collect) = [1]> then\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            hide\n            clear graphic effects\n            stop [this script v]\n        else\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [2]> then\n        show\n        set size to (100) %\n        go to x: (49) y: (-121)\n        if <(Collect) = [2]> then\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            hide\n            clear graphic effects\n            stop [this script v]\n        else\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [3]> then\n        show\n        set size to (80) %\n        go to x: (87) y: (29)\n        if <(Collect) = [2]> then\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            hide\n            clear graphic effects\n            stop [this script v]\n        else\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [4]> then\n        show\n        set size to (70) %\n        go to x: (103) y: (51)\n        if <(Collect) = [3]> then\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            hide\n            clear graphic effects\n            stop [this script v]\n        else\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [5]> then\n        show\n        set size to (70) %\n        go to x: (99) y: (-110)\n        if <(Collect) = [3]> then\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            hide\n            clear graphic effects\n            stop [this script v]\n        else\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        show\n        set size to (70) %\n        go to x: (107) y: (-114)\n        if <(Collect) = [2]> then\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            hide\n            clear graphic effects\n            stop [this script v]\n        else\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [9]> then\n        show\n        set size to (70) %\n        go to x: (120) y: (10)\n        if <(Collect) = [2]> then\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            hide\n            clear graphic effects\n            stop [this script v]\n        else\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [10]> then\n        show\n        set size to (70) %\n        go to x: (111) y: (-104)\n        if <(Collect) = [3]> then\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            hide\n            clear graphic effects\n            stop [this script v]\n        else\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [11]> then\n        show\n        set size to (70) %\n        go to x: (100) y: (44)\n        if <(Collect) = [2]> then\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            hide\n            clear graphic effects\n            stop [this script v]\n        else\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [12]> then\n        show\n        set size to (80) %\n        go to x: (98) y: (34)\n        if <(Collect) = ((99999999999999999999999) * (99999999999999999999999))> then\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            hide\n            clear graphic effects\n            stop [this script v]\n        else\n            show\n        end\n    end\nend\n\n@Candy Cane\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        show\n        turn right (5) degrees\n        go to x: (-89) y: (-56)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            set [collect v] to [1]\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [2]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (-8) y: (130)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen I receive [next level v]\nset [collect v] to [0]\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [3]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (-8) y: (130)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [4]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (-48) y: (-63)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [5]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (-82) y: (31)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [7]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (-34) y: (119)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [9]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (150) y: (92)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [10]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (-30) y: (-90)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [11]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (20) y: (-61)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\n@Fire\n\nwhen flag clicked\nforever\n    if <(level) = [6]> then\n        show\n        set size to (41) %\n        wait (0.000001) seconds\n        go to x: (36) y: (5)\n        switch costume to (fire - right v)\n        glide (1) secs to x: (204) y: (5)\n        wait (0.5) seconds\n        switch costume to (fire - left v)\n        glide (1) secs to x: (36) y: (5)\n        wait (0.5) seconds\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        stop [other scripts in sprite v]\n        show\n        set size to (60) %\n        wait (0.000001) seconds\n        go to x: (28) y: (-50)\n        switch costume to (fire - right v)\n        glide (0.5) secs to x: (110) y: (-50)\n        wait (0.2) seconds\n        switch costume to (fire - left v)\n        glide (0.5) secs to x: (28) y: (-50)\n        wait (0.2) seconds\n    end\nend\n\nwhen flag clicked\n\nwhen I receive [next level v]\nif <(level) = [8]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen flag clicked\n\nwhen I receive [next level v]\nforever\n    if <(level) = [11]> then\n        stop [other scripts in sprite v]\n        show\n        set size to (100) %\n        wait (0.000001) seconds\n        go to x: (28) y: (-30)\n        switch costume to (fire - right v)\n        glide (0.5) secs to x: (170) y: (-30)\n        wait (0.2) seconds\n        switch costume to (fire - left v)\n        glide (0.5) secs to x: (28) y: (-30)\n        wait (0.2) seconds\n    end\nend\n\nwhen I receive [next level v]\nif <(level) = [12]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\n@Candy Cane2\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [2]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (124) y: (25)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen I receive [next level v]\nset [collect v] to [0]\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [3]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (124) y: (130)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [4]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (131) y: (-59)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [5]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (57) y: (116)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [7]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (130) y: (70)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [10]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (-17) y: (55)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\nforever\n    if <(level) = [11]> then\n        clear graphic effects\n        show\n        turn right (5) degrees\n        go to x: (-7) y: (140)\n        show\n        go to [front v] layer\n        if <touching (player v)?> then\n            start sound [Collect sound v]\n            change [collect v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\ngo to [back v] layer\n\n@Text\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\n@Nothing\n\nwhen flag clicked\nforever\n    if <(level) = [8]> then\n        show\n        switch costume to (costume1 v)\n        go to [back v] layer\n    else\n        if <(level) = [10]> then\n            show\n            go to [back v] layer\n            switch costume to (costume2 v)\n        else\n            if <(level) = [12]> then\n                show\n                go to x: (0) y: (0)\n                go to [back v] layer\n                switch costume to (costume3 v)\n            else\n                hide\n            end\n        end\n    end\nend\n\n@Volume\n\nwhen flag clicked\nswitch costume to (volume tuner 1 v)\nset volume to (100) %\nforever\n    go to x: (-193) y: (-140)\n    show\n    if <(costume [name v]) = [Volume tuner 1]> then\n        set volume to (100) %\n    end\n    if <(costume [name v]) = [Volume tuner 2]> then\n        set volume to (66) %\n    end\n    if <(costume [name v]) = [Volume tuner 3]> then\n        set volume to (30) %\n    end\n    if <(costume [name v]) = [Volume mute]> then\n        set volume to (0) %\n    end\nend\n\nwhen this sprite clicked\nnext costume\n\nwhen flag clicked\nforever\n    play sound [Christmas v] until done\nend\n\n@Collect numbers\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        if <(Collect) = [0]> then\n            show\n            point in direction (90)\n            go to x: (-159) y: (144)\n            switch costume to (0/1 v)\n        else\n            switch costume to (1/1 v)\n        end\n    else\n        if <<<<<(level) = [2]> or <(level) = [3]>> or <(level) = [7]>> or <(level) = [9]>> or <(level) = [11]>> then\n            if <(Collect) = [0]> then\n                show\n                go to x: (-159) y: (144)\n                switch costume to (0/2 v)\n            else\n                if <(Collect) = [1]> then\n                    show\n                    go to x: (-159) y: (144)\n                    switch costume to (1/2 v)\n                else\n                    switch costume to (2/2 v)\n                end\n            end\n        else\n            if <<<(level) = [4]> or <(level) = [5]>> or <(level) = [10]>> then\n                if <(Collect) = [0]> then\n                    show\n                    go to x: (-159) y: (144)\n                    switch costume to (0/3 v)\n                else\n                    if <(Collect) = [1]> then\n                        show\n                        go to x: (-159) y: (144)\n                        switch costume to (1/3 v)\n                    else\n                        if <(Collect) = [2]> then\n                            show\n                            go to x: (-159) y: (144)\n                            switch costume to (2/3 v)\n                        else\n                            switch costume to (3/3 v)\n                        end\n                    end\n                end\n            else\n                if <<(level) = [6]> or <(level) = [8]>> then\n                    switch costume to (0 v)\n                else\n                    if <(level) = [12]> then\n                        hide\n                    end\n                end\n            end\n        end\n    end\nend\n\n@Snowflakes by @ceebee\n\nwhen I start as a clone\nset [brightness v] effect to (100)\nswitch costume to (pick random (1) to (4))\nset size to (300) %\ngo to [front v] layer\nset [ghost v] effect to (0)\ngo to x: (pick random (-250) to (250)) y: (200)\nshow\nrepeat until <(y position) < [-170]>\n    change y by (-5)\n    change [ghost v] effect by (.2)\n    if <<<touching (player v)?> or <touching (level v)?>> or <touching (spikes v)?>> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\n\n