Summer & Winter || A Platformer

Instructions: ========================================\n\/ Read Description \/\n=========================================\nStory:\nYou went out one day and became lost. You searched and searched for home but couldn't find it. You got lost in the Winter biome and now need to find your home in the Summer biome. You must hurry or you will freeze!\n=========================================\nArrow keys, WAD, Space and Mobile to move.\nS = Skip\nP = Previous\nR = Restart\n=========================================\nFind Easter Egg!!!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nHello

@Stage\n\nwhen I receive [end v]\nstop [other scripts in sprite v]\nbroadcast (B.end v)\nswitch backdrop to (backdrop7 v)\nforever\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    wait (0.5) seconds\n    switch backdrop to (backdrop6 v)\n    repeat (50)\n        change [ghost v] effect by (-2)\n    end\n    wait (0.5) seconds\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    switch backdrop to (backdrop7 v)\n    repeat (50)\n        change [ghost v] effect by (-2)\n    end\n    wait (0.5) seconds\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nrepeat until <(End animation) = [1]>\n    repeat (100)\n        change [ghost v] effect by (1)\n    end\n    switch backdrop to (backdrop2 v)\n    repeat (100)\n        change [ghost v] effect by (-1)\n    end\n    repeat (100)\n        change [ghost v] effect by (1)\n    end\n    switch backdrop to (backdrop1 v)\n    repeat (100)\n        change [ghost v] effect by (-1)\n    end\nend\n\nwhen I receive [start v]\nstop [other scripts in sprite v]\nswitch backdrop to (backdrop3 v)\nset [ghost v] effect to (0)\nbroadcast (B.Start v)\n\nwhen I receive [end v]\nswitch backdrop to (backdrop23 v)\n\nwhen I receive [b.start v]\nforever\n    if <(Costume number) < [15]> then\n        switch backdrop to (backdrop3 v)\n    else\n        if <(Costume number) > [15]> then\n            switch backdrop to (backdrop5 v)\n        else\n            switch backdrop to (backdrop4 v)\n        end\n    end\nend\n\nwhen I receive [b.start v]\nforever\n    play sound [Jamani_01 - New Project \(original\) v] until done\nend\n\nwhen I receive [b.end v]\nforever\n    play sound [2017-04-14_-_Happy_Dreams_-_David_Fesliyan v] until done\nend\n\n@Sprite1\n\nwhen I start as a clone\nrepeat (25)\n    change [ghost v] effect by (4)\n    change size by (-4)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(x position) > [230]> then\n        broadcast (Next level v)\n    end\nend\n\nwhen [r v] key pressed\nbroadcast (Restart v)\n\nwhen I receive [restart v]\ngo to x: (-200) y: (-4)\n\nwhen flag clicked\nforever\n    if <touching (sprite5 v)?> then\n        broadcast (Restart v)\n    end\nend\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\nshow\nset rotation style [left-right v]\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nshow\ngo to x: (-200) y: (4)\nforever\n    if <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    if <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <touching (sprite4 v)?> then\n        change y by (1)\n        if <touching (sprite4 v)?> then\n            change y by (1)\n            if <touching (sprite4 v)?> then\n                change y by (1)\n                if <touching (sprite4 v)?> then\n                    change y by (1)\n                    if <touching (sprite4 v)?> then\n                        change y by (-4)\n                        change x by ((X) * (-1))\n                        if <<<key (space v) pressed?> or <<key (w v) pressed?> or <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <((mouse y) - (y position)) > [50]>>>>>> and <<not <touching color (#bddbff)?>> and <not <touching color (#72c9ff)?>>>> then\n                            if <(X) > [0]> then\n                                set [x v] to [-5]\n                            else\n                                set [x v] to [5]\n                            end\n                            set [y v] to [10]\n                        else\n                            set [y v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (sprite4 v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching (sprite4 v)?> then\n        if <<<key (space v) pressed?> or <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [100]>>>>> and <not <touching color (#00c0e2)?>>> then\n            set [y v] to [13]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite6 v)?> then\n        set [y v] to [15]\n    end\nend\n\nwhen flag clicked\nforever\n    \n        set [y v] to [-15]\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (-200) y: (4)\n\nwhen I receive [start v]\nforever\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nforever\n    if <(y position) < [-175]> then\n        go to x: (-200) y: (4)\n    end\nend\n\nwhen I receive [next level v]\nif <(backdrop [number v]) < [22]> then\n    go to x: (-200) y: (-4)\nend\n\nwhen I receive [end v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen [p v] key pressed\nif <(Costume number) > [1]> then\n    broadcast (Previous level v)\n    go to x: (-200) y: (4)\nend\n\nwhen flag clicked\nforever\n    \n        set [x v] to [15]\n    end\nend\n\nwhen flag clicked\nforever\n    \n        set [x v] to [-15]\n    end\nend\n\nwhen flag clicked\nwait until <(Costume number) = [20]>\nwait until <(x position) > [230]>\nbroadcast (End v)\nstop [other scripts in sprite v]\nhide\n\nwhen [s v] key pressed\nif <(Costume number) < [20]> then\n    broadcast (Next level v)\n    go to x: (-200) y: (4)\nend\n\nwhen I receive [start v]\nforever\n    if <(Costume number) < [16]> then\n        switch costume to (costume1 v)\n    else\n        switch costume to (costume2 v)\n    end\nend\n\n@j_profile_picture 3\n\nwhen flag clicked\nset size to (10) %\nerase all\ngo to x: (0) y: (0)\npoint in direction (90)\nset [end animation v] to [0]\nset [start animation v] to [0]\nset [clone # v] to [1]\nrepeat (8)\n    repeat (2)\n        create clone of (_myself_ v)\n        change [clone # v] by (1)\n    end\n    turn right (45) degrees\nend\nset [start animation v] to [1]\nstart sound [Theme song v]\n\nwhen I start as a clone\nwait until <(Start Animation) = [1]>\nrepeat until <(End animation) = [1]>\n    stamp\nend\n\nwhen I start as a clone\nwait until <(Start Animation) = [1]>\nrepeat (180)\n    move (3) steps\n    if <((Clone #) mod (2)) = [1]> then\n        turn right (2) degrees\n    else\n        turn left (2) degrees\n    end\nend\nrepeat (180)\n    move (2) steps\n    if <((Clone #) mod (2)) = [1]> then\n        turn right (2) degrees\n    else\n        turn left (2) degrees\n    end\nend\nrepeat (180)\n    move (1) steps\n    if <((Clone #) mod (2)) = [1]> then\n        turn right (2) degrees\n    else\n        turn left (2) degrees\n    end\nend\nbroadcast (Bigger v)\n\nwhen I receive [bigger v]\nrepeat (206)\n    point in direction (90)\n    change size by (1)\nend\nset [end animation v] to [1]\nerase all\nhide\nbroadcast (Start v) and wait\n\nwhen flag clicked\nset volume to (100) %\nwait until <(End animation) = [1]>\nrepeat (100)\n    change volume by (-1)\nend\n\nwhen I receive [skip intro v]\nhide\nstop all sounds\nerase all\nstop [other scripts in sprite v]\n\n@Sprite8\n\nwhen flag clicked\nshow\ngo to x: (-170) y: (-150)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nbroadcast (Skip Intro v)\nbroadcast (Start v)\nhide\n\n@Sprite2\n\nwhen flag clicked\ngo to [front v] layer\nhide\nforever\n    go to (sprite1 v)\nend\n\nwhen I receive [start v]\nshow\n\nwhen I receive [end v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [start v]\nforever\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\nrepeat (25)\n    change [ghost v] effect by (4)\n    change size by (-4)\nend\ndelete this clone\n\nwhen I receive [start v]\nforever\n    if <(Costume number) < [16]> then\n        switch costume to (costume1 v)\n    else\n        switch costume to (costume2 v)\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (snowflake_2744 v)\nhide\ngo to x: (-240) y: (0)\n\nwhen I start as a clone\nshow\nset [clone_speed_x v] to (pick random (-1) to (-5))\nset [clone_speed_y v] to (pick random (-1) to (-3))\nrepeat until <touching (sprite4 v)?>\n    change x by (Clone_Speed_x)\n    change y by (-1)\n    if <touching (_edge_ v)?> then\n        delete this clone\n    end\nend\nif <(pick random (1) to (10)) = [1]> then\n    go to [front v] layer\nelse\n    delete this clone\nend\n\nwhen I receive [start v]\nforever\n    if <(Costume number) < [15]> then\n        switch costume to (pick random (1) to (3))\n    else\n        switch costume to (pick random (4) to (6))\n    end\n    go to x: (230) y: (pick random (-50) to (180))\n    create clone of (_myself_ v)\n    wait (0.5) seconds\nend\n\nwhen I receive [next level v]\ndelete this clone\n\nwhen I receive [end v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [restart v]\ndelete this clone\n\nwhen I receive [previous level v]\ndelete this clone\n\n@Sprite11\n\nwhen I start as a clone\nshow\nrepeat until <(y position) < [-175]>\n    change y by (-5)\nend\ndelete this clone\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\npoint in direction (90)\ngo to x: (0) y: (185)\n\nwhen I receive [end v]\nforever\n    wait (0.1) seconds\n    create clone of (_myself_ v)\n    go to x: (pick random (-230) to (230)) y: (185)\n    switch costume to (pick random (1) to (3))\nend\n\n@Sprite10\n\nwhen I receive [end v]\nswitch costume to (cheekyscoula profile picture better v)\nforever\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    wait (0.5) seconds\n    next costume\n    repeat (50)\n        change [ghost v] effect by (-2)\n    end\n    wait (0.5) seconds\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    wait (0.5) seconds\n    next costume\n    repeat (50)\n        change [ghost v] effect by (-2)\n    end\n    wait (0.5) seconds\nend\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (0) y: (134)\nhide\n\nwhen I receive [end v]\nshow\nforever\n    repeat (10)\n        turn left (1) degrees\n    end\n    repeat (10)\n        turn right (1) degrees\n    end\n    repeat (10)\n        turn right (1) degrees\n    end\n    repeat (10)\n        turn left (1) degrees\n    end\nend\n\n@Sprite4\n\nwhen I receive [previous level v]\nif <(costume [number v]) > [1]> then\n    switch costume to ((costume [number v]) - (1))\nend\n\nwhen I receive [end v]\nswitch costume to (costume 1 v)\n\nwhen I receive [end v]\nforever\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    wait (0.5) seconds\n    switch costume to (costume 1 v)\n    repeat (50)\n        change [ghost v] effect by (-2)\n    end\n    wait (0.5) seconds\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    switch costume to (costume 1 v)\n    repeat (50)\n        change [ghost v] effect by (-2)\n    end\n    wait (0.5) seconds\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nswitch costume to (costume 1 v)\n\nwhen I receive [start v]\nshow\ngo to [back v] layer\n\nwhen I receive [start v]\nswitch costume to (costume 1 v)\nforever\n    set [costume number v] to (costume [number v])\nend\n\nwhen I receive [next level v]\nif <(costume [number v]) < [20]> then\n    next costume\nelse\n    hide\nend\n\n@Sprite5\n\nwhen I receive [previous level v]\nif <(costume [number v]) > [1]> then\n    switch costume to ((costume [number v]) - (1))\nend\n\nwhen I receive [end v]\nswitch costume to (costume 1 v)\n\nwhen I receive [end v]\nforever\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    wait (0.5) seconds\n    switch costume to (costume 1 v)\n    repeat (50)\n        change [ghost v] effect by (-2)\n    end\n    wait (0.5) seconds\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    switch costume to (costume 1 v)\n    repeat (50)\n        change [ghost v] effect by (-2)\n    end\n    wait (0.5) seconds\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nswitch costume to (costume1 v)\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\nshow\ngo to [back v] layer\n\nwhen I receive [next level v]\nif <(costume [number v]) < [20]> then\n    next costume\nelse\n    hide\nend\n\n@Sprite6\n\nwhen I receive [previous level v]\nif <(costume [number v]) > [1]> then\n    switch costume to ((costume [number v]) - (1))\nend\n\nwhen I receive [end v]\nswitch costume to (costume 1 v)\n\nwhen I receive [end v]\nforever\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    wait (0.5) seconds\n    switch costume to (costume 1 v)\n    repeat (50)\n        change [ghost v] effect by (-2)\n    end\n    wait (0.5) seconds\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    switch costume to (costume 1 v)\n    repeat (50)\n        change [ghost v] effect by (-2)\n    end\n    wait (0.5) seconds\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nswitch costume to (costume1 v)\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\nshow\ngo to [back v] layer\n\nwhen I receive [next level v]\nif <(costume [number v]) < [20]> then\n    next costume\nelse\n    hide\nend\n\n@Sprite7\n\nwhen I receive [start v]\ngo to x: (-175) y: (120)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n    else\n        set [ghost v] effect to (50)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nhide\n\nwhen this sprite clicked\nif <(Costume number) < [20]> then\n    broadcast (Next level v)\nend\n\n@Sprite9\n\nwhen I receive [start v]\ngo to x: (175) y: (120)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n    else\n        set [ghost v] effect to (50)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nhide\n\nwhen this sprite clicked\nif <(Costume number) > [1]> then\n    broadcast (Previous level v)\nend\n\n@Sprite12\n\nwhen I receive [start v]\ngo to x: (0) y: (120)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n    else\n        set [ghost v] effect to (50)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nhide\n\nwhen this sprite clicked\nif <(Costume number) < [20]> then\n    broadcast (Restart v)\nend\n\n@Sprite13\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nforever\n    if <key (e v) pressed?> then\n        show\n    else\n        hide\n    end\nend\n\n