Merry Christmas!! platformer!

Instructions: 　　　*-----Merry christmas!! platformer!-----*\n\nMerry Christmas!!ということで、クリスマス記念のプラットフォーマーを作ってみました！\n\n・矢印キー、WASDキー、タッチで移動\n・モバイル対応してます！\n・rキーで最初の位置に戻る（埋まったとき用）\n・マグマ（薄いオレンジ）に触れると戻される\n・プレゼントをとって、家に運んでからゴールしないとクリアにならない\n・プレゼントと家は、それぞれいくつかある\n・左端に行くと、前のステージに戻れる\n・バグ多めだったりする\n\nていうわけで、世界記録目指してがんばってネ！\nちなみに、作者のtimeは50.1です\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(((；ﾟДﾟ))))ｶﾞｸｶﾞｸﾌﾞﾙﾌﾞﾙ\n\n…え？前作2つも使いまわしてるだろって？\n|дﾟ)ﾁﾗｯ<ｿｿｿｿｿﾝﾅｺﾄﾅﾅﾅﾅｲﾖ⁉

@Stage\n\nwhen flag clicked\nhide variable [☁ 世界記録 v]\nswitch backdrop to (blue sky 2  v)\nforever\n    play sound [クリスマスソング！ v] until done\n    play sound [Peacefully v] until done\n    play sound [Dreams v] until done\nend\n\n@サムネ\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\n\n@ばね\n\nwhen flag clicked\nshow\nforever\n    go to x: (0) y: (-125)\n    switch costume to (ステージ)\nend\n\nwhen [timer v] > (0)\nhide\nhide variable [time v]\n\n@マグマ\n\nwhen flag clicked\nset [time v] to [0]\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\nend\n\nwhen [timer v] > (0)\nhide\n\n@地面\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [クリア v]\nshow variable [time v]\nif <(☁ 世界記録) > (time)> then\n    set [☁ 世界記録 v] to (time)\nend\nshow variable [☁ 世界記録 v]\nchange [☁ クリア者 v] by (1)\n\nwhen flag clicked\nhide variable [time v]\nwait until <(costume [number v]) = [1]>\nrepeat until <(costume [number v]) = [11]>\n    change [time v] by (0.1)\n    wait (0.1) seconds\n    if <<[7] = (ステージ)> and <<key (c v) pressed?> and <key (space v) pressed?>>> then\n        wait (10) seconds\n    end\nend\n\n@プレイヤー\n\nwhen flag clicked\nclear graphic effects\nset size to (65) %\nwait (0.01) seconds\nset rotation style [left-right v]\npoint in direction (90)\ngo to [front v] layer\nset [x v] to [0]\nset [y v] to [0]\nset [ステージ v] to [1]\nclear graphic effects\ngo to x: (-200) y: (0)\nshow\nforever\n    if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    set [x v] to ((x) * (0.92))\n    change x by (x)\n    if <touching (地面 v)?> then\n        change y by (1)\n        if <touching (地面 v)?> then\n            change y by (1)\n            if <touching (地面 v)?> then\n                change y by (1)\n                if <touching (地面 v)?> then\n                    change y by (1)\n                    if <touching (地面 v)?> then\n                        change y by (1)\n                        if <touching (地面 v)?> then\n                            change y by (1)\n                            if <touching (地面 v)?> then\n                                change x by ((0) - (x))\n                                change y by (-5)\n                                if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> then\n                                    if <[0] < (x)> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                    set [y v] to [15]\n                                else\n                                    set [x v] to [0]\n                                end\n                            end\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 (地面 v)?> then\n        change y by ((0) - (y))\n        set [y v] to [0]\n    end\n    change y by (-2)\n    if <<<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> and <touching (地面 v)?>> then\n        start sound [jump-cute1 v]\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<(y position) < [-165]> or <touching (マグマ v)?>> then\n        start sound [Teleport2 v]\n        repeat (15)\n            change [ghost v] effect by (5)\n            change [brightness v] effect by (5)\n        end\n        hide\n        clear graphic effects\n        go to x: (-200) y: (0)\n        set [x v] to [0]\n        set [y v] to [0]\n        show\n    end\n    if <<[239] < (x position)> or <(x position) < [-239]>> then\n        if <<not <(ステージ) = [11]>> and <<<(クリア数) = [6]> and <(ステージ) = [10]>> or <not <(ステージ) = [10]>>>> then\n            if <not <<(ステージ) = [1]> and <(x position) < [-239]>>> then\n                broadcast (NEXT v)\n                hide\n                clear graphic effects\n                set [x v] to [0]\n                set [y v] to [0]\n                wait (0.1) seconds\n                wait until <(ねくすと) = [0]>\n                go to x: (-200) y: (0)\n                show\n                if <(ステージ) = [11]> then\n                    broadcast (クリア v)\n                end\n            end\n        else\n            if <<(x position) < [-239]> and <(ステージ) = [10]>> then\n                hide\n                clear graphic effects\n                set [x v] to [0]\n                set [y v] to [0]\n                broadcast (NEXT v) and wait\n                show\n            end\n        end\n    end\n    if <<key (c v) pressed?> and <key ((join [enter] []) v) pressed?>> then\n        if <(ステージ) = [7]> then\n            hide\n            ask [※これはバグでできたものなので閉じてください] and wait\n            if <(answer) = (join (username) [ワープ])> then\n                broadcast (NEXT v)\n                hide\n                clear graphic effects\n                set [x v] to [0]\n                set [y v] to [0]\n                wait (0.1) seconds\n                wait until <(ねくすと) = [0]>\n                set [クリア数 v] to [6]\n                set [プレゼント v] to [0]\n                set [ステージ v] to [11]\n                go to x: (-200) y: (0)\n                show\n                broadcast (クリア v)\n            end\n        end\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (ばね v)?> then\n        start sound [jump-anime1 v]\n        set [y v] to [22.5]\n    end\nend\n\nwhen flag clicked\nforever\n    reset timer\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<(mouse y) < [-50]> and <mouse down?>>> then\n        switch costume to (コスチューム2 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen [r v] key pressed\ngo to x: (-200) y: (0)\n\n@家\n\nwhen flag clicked\nforever\n    switch costume to (ステージ)\n    if <(item (ステージ) of [家取った v]) = [0]> then\n        clear graphic effects\n    else\n        set [brightness v] effect to (20)\n    end\nend\n\nwhen flag clicked\nset [クリア数 v] to [0]\nforever\n    if <touching (プレイヤー v)?> then\n        if <<(プレゼント) > [0]> and <[0] = (item (ステージ) of [家取った v])>> then\n            change [クリア数 v] by (1)\n            change [プレゼント v] by (-1)\n            replace item (ステージ) of [家取った v] with [1]\n        end\n    end\nend\n\nwhen I receive [next v]\nclear graphic effects\n\n@プレゼント\n\nwhen flag clicked\nforever\n    switch costume to (ステージ)\n    if <(item (ステージ) of [プレゼントとった v]) = [0]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nset [プレゼント v] to [0]\nforever\n    if <touching (プレイヤー v)?> then\n        change [プレゼント v] by (1)\n        replace item (ステージ) of [プレゼントとった v] with [1]\n        repeat (10)\n            change [ghost v] effect by (10)\n            change [brightness v] effect by (5)\n        end\n        wait until <not <touching (プレイヤー v)?>>\n    end\nend\n\nwhen I receive [next v]\nclear graphic effects\n\nwhen flag clicked\ndelete all of [プレゼントとった v]\nrepeat (11)\n    add [0] to [プレゼントとった v]\nend\n\nwhen flag clicked\ndelete all of [家取った v]\nrepeat (11)\n    add [0] to [家取った v]\nend\n\n@影？\n\nwhen flag clicked\nforever\n    reset timer\n    point in direction ([direction v] of [プレイヤー v])\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<(mouse y) < [-50]> and <mouse down?>>> then\n        switch costume to (コスチューム2 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen flag clicked\nshow\nforever\n    wait (0.01) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (20)\n    change [ghost v] effect by (5)\n    change size by (-1.5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <<(ステージ) = [11]> and <(y position) > [181]>> then\n        broadcast (へー v)\n    end\nend\n\nwhen [r v] key pressed\ngo to x: (-200) y: (0)\n\nwhen flag clicked\nforever\n    go to x: ([x position v] of [プレイヤー v]) y: ([y position v] of [プレイヤー v])\nend\n\n@スプライト1\n\nwhen flag clicked\ngo to x: (-150) y: (150)\nset [ghost v] effect to (50)\nswitch costume to (コスチューム1 v)\ncreate clone of (_myself_ v)\nforever\n    switch costume to (プレゼント)\nend\n\nwhen I start as a clone\nset x to (-200)\n\n@スプライト2\n\nwhen flag clicked\nset [ねくすと v] to [0]\nhide\n\nwhen I receive [next v]\nset [ねくすと v] to [1]\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (0.5) seconds\nif <([x position v] of [プレイヤー v]) > [180]> then\n    change [ステージ v] by (1)\nelse\n    change [ステージ v] by (-1)\nend\nset [ねくすと v] to [0]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n