Winter Platformer! 冬のプラットフォーマー！
@Stage\n\nwhen I receive [free intro end v]\nwait (1) seconds\nforever\n    play sound [ジングルベル v] until done\nend\n\n@ScratchCat\n\nwhen I receive [free intro end v]\ngo to [front v] layer\nshow\nset size to (75) %\nswitch costume to (1 v)\nset drag mode [not draggable v]\ngo to x: (-190) y: (-50)\npoint in direction (90)\nset [ステージ v] to [1]\nset [xvel v] to [0]\nset [yvel v] to [0]\nforever\n    if <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <[0] < (mouse x)>>> or <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [0]>>>> then\n        if <(costume [number v]) = [17]> then\n            switch costume to (2 v)\n        end\n        next costume\n    else\n        switch costume to (1 v)\n    end\n    set rotation style [left-right v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> then\n        change [xv v] by (-1)\n        point in direction (-90)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> then\n        change [xv v] by (1)\n        point in direction (90)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\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                            switch costume to (jump v)\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-10]\n                                else\n                                    set [xv v] to [9]\n                                end\n                                set [yv v] to [15]\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 (-1)\n    if <touching (地面 v)?> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n            switch costume to (jump v)\n            set [yv v] to [15]\n            start sound [jump v]\n            point in direction ((Yv) * (0.5))\n        end\n    end\n    change y by (1)\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (地面 v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    hide variable [xv v]\n    if <(x position) > [230]> then\n        change [ステージ v] by (1)\n        set [yv v] to [0]\n        set [xv v] to [0]\n        go to x: (-190) y: (-50)\n    end\n    if <<<touching (マグマ v)?> or <touching (針 v)?>> or <(y position) < [-170]>> then\n        start sound [hurt v]\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-190) y: (-50)\n    end\nend\n\nset rotation style [all around v]\nturn right (-30) degrees\n\npoint in direction (90)\n\nwhen flag clicked\nset [ステージ v] to [1]\nhide\n\n@地面\n\nwhen I receive [free intro end v]\ngo to [front v] layer\nshow\nforever\n    switch costume to (ステージ)\n    if <(ステージ) = [21]> then\n        set [クリア v] to [1]\n        set [end v] to [1]\n        broadcast (結果発表 v)\n        broadcast (クリアあああ v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nhide\n\nwhen I receive [free intro end v]\nset [クリア v] to [0]\nhide variable [あなたのタイム v]\nhide variable [☁ 世界記録 v]\nset [あなたのタイム v] to [0]\nforever\n    if <(ステージ) = [21]> then\n        show variable [あなたのタイム v]\n        show variable [☁ 世界記録 v]\n        if <(☁ 世界記録) > (あなたのタイム)> then\n            set [☁ 世界記録 v] to (あなたのタイム)\n        end\n    end\nend\n\nwhen flag clicked\nset [クリア v] to [0]\n\nwhen I receive [free intro end v]\nrepeat until <(クリア) = [1]>\n    wait (1) seconds\n    change [あなたのタイム v] by (1)\nend\n\n@背景\n\nwhen flag clicked\nhide\n\nwhen I receive [free intro end v]\ngo to x: (0) y: (0)\nshow\nforever\n    go to [back v] layer\nend\n\n@太陽\n\nwhen flag clicked\nhide\n\nwhen I receive [free intro end v]\nshow\ngo to x: (216) y: (151)\nset size to (100) %\nforever\n    change [a v] by (5)\n    change size by ([cos v] of (A) )\nend\n\n@針\n\nwhen flag clicked\nhide\n\nwhen I receive [free intro end v]\nshow\nforever\n    switch costume to (ステージ)\nend\n\n@宣伝\n\nwhen I receive [宣伝 v]\ngo to x: (152) y: (250)\nswitch costume to (無 v)\nset size to (40) %\npoint in direction (90)\nshow\nrepeat (30)\n    change y by (((145) - (y position)) / (4))\nend\nrepeat (3)\n    next costume\n    wait (0.75) seconds\nend\nrepeat (30)\n    change y by (((220) - (y position)) / (4))\nend\nhide\n\nwhen I start as a clone\ngo to x: (66) y: (92)\nset [ghost v] effect to (100)\nswitch costume to (マウス v)\ngo to [front v] layer\nset size to (45) %\npoint in direction (90)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nrepeat (20)\n    change x by (((115) - (x position)) / (4))\n    change y by (((140) - (y position)) / (4))\nend\nwait (0.05) seconds\nrepeat (20)\n    change x by (((156) - (x position)) / (4))\nend\nwait (0.05) seconds\nrepeat (20)\n    change x by (((195) - (x position)) / (4))\nend\nrepeat (20)\n    change x by (((195) - (x position)) / (4))\nend\nwait (0.05) seconds\nrepeat (20)\n    change x by (((229) - (x position)) / (4))\n    change y by (((95) - (y position)) / (4))\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [ghost v] effect to (0)\ndelete this clone\n\nwhen I receive [宣伝 v]\nwait (1) seconds\nplay sound [Click v] until done\nwait (.5) seconds\nplay sound [Click v] until done\nwait (.5) seconds\nplay sound [Click v] until done\n\nrepeat (10)\n\nwhen flag clicked\nset volume to (100) %\n\nwhen I receive [free intro end v]\nwait (1) seconds\nbroadcast (宣伝 v)\nhide\n\nwhen flag clicked\nhide\n\n@イントロ\n\nwhen I start as a clone\nif <[1] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    switch costume to (blue v)\n    go to [front v] layer\n    wait (0.7) seconds\n    show\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\n\nwhen I start as a clone\nforever\n    show\nend\n\nwhen flag clicked\npoint in direction (90)\nhide\nreset timer\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [1]\ncreate clone of (_myself_ v)\nwait (1.5) seconds\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [3]\ncreate clone of (_myself_ v)\nwait (6) seconds\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [4]\ngo to x: (-240) y: (0)\npoint in direction (0)\ncreate clone of (_myself_ v)\nrepeat (9)\n    change x by (55)\n    turn right (1) degrees\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <[2] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    set [ghost v] effect to (40)\n    go to [back v] layer\n    go [forward v] (1) layers\n    go to x: (0) y: (-394)\n    switch costume to (x% v)\n    show\n    glide (2) secs to x: (0) y: (394)\n    delete this clone\nend\n\nwhen flag clicked\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [0]\ncreate clone of (_myself_ v)\nwait (0.5) seconds\nrepeat (200)\n    set [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [2]\n    create clone of (_myself_ v)\n    wait (0.8) seconds\nend\n\nwhen I start as a clone\nif <[0] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    switch costume to (black v)\n    go to x: (0) y: (0)\n    show\n    forever\n        go to [front v] layer\n        go [backward v] (1) layers\n    end\nend\n\nwhen I start as a clone\nif <[3] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    go to [front v] layer\n    go [backward v] (3) layers\n    set [ghost v] effect to (100)\n    go to x: (0) y: (186)\n    switch costume to (your name v)\n    show\n    repeat (20)\n        change [ghost v] effect by (-5)\n        change y by ((() - (y position)) / (7))\n    end\n    repeat (2)\n        wait () seconds\n    end\n    set rotation style [all around v]\n    repeat (5)\n        point in direction (-90)\n        set [π v] to [0]\n        set size to (0) %\n        repeat (30)\n            set [π v] to (((π) * (0.75)) + (((90) - (direction)) / (5)))\n            turn right (π) degrees\n            change size by ((((π) + (10)) * (0.5)) + (((100) - (size)) / (3)))\n        end\n    end\nend\n\nwhen I start as a clone\nif <[1] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    forever\n        go to [back v] layer\n    end\nend\n\nwhen I start as a clone\nif <[4] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    forever\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\nif <[4] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    switch costume to (white v)\n    set [π v] to (direction)\n    set [color v] effect to (((π) mod (2)) * (25))\n    set size to (0) %\n    set [ghost v] effect to (100)\n    show\n    go to x: (0) y: (-361)\n    repeat (20)\n        change size by (((100) - (size)) / (3))\n        set [ghost v] effect to ((100) - (size))\n        change x by ((((-240) + ((55) * (π))) - (x position)) / (3))\n        change y by ((() - (y position)) / (3))\n        turn right (((90) - (direction)) / (3)) degrees\n    end\n    wait (0.2) seconds\n    broadcast (free intro end v)\nend\n\nwhen I receive [free intro end v]\nif <(ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ) = [4]> then\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    wait ((1) / ()) seconds\n    delete this clone\nelse\n    stop [other scripts in sprite v]\n    delete this clone\nend\n\nwhen flag clicked\nstart sound [Blooom - Be Around \[NCS Release\] v]\n\n@マグマ\n\nwhen I receive [free intro end v]\nshow\nforever\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (0) y: (-50)\nset [マグマ変数 v] to [0]\nrepeat (5)\n    change y by (マグマ変数)\n    change [マグマ変数 v] by (0.5)\n    wait (0.1) seconds\nend\nforever\n    repeat (10)\n        change y by (マグマ変数)\n        change [マグマ変数 v] by (-0.5)\n        wait (0.1) seconds\n    end\n    repeat (10)\n        change y by (マグマ変数)\n        change [マグマ変数 v] by (0.5)\n        wait (0.1) seconds\n    end\nend\n\n@隠し\n\nwhen flag clicked\nclear graphic effects\nforever\n    hide\n    if <([costume # v] of [地面 v]) = [20]> then\n        show\n    end\n    if <touching (scratchcat v)?> then\n        set [ghost v] effect to (60)\n        set [brightness v] effect to (50)\n    else\n        clear graphic effects\n        set [ghost v] effect to (0)\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen flag clicked\nhide\n\n@メッセージ\n\nwhen flag clicked\nhide\n\nwhen I receive [クリアあああ v]\nshow\npoint in direction (-90)\nset [まわーる v] to [32]\nshow\nrepeat (30)\n    turn right (まわーる) degrees\n    set [まわーる v] to ((まわーる) * (0.8))\nend\nbroadcast (いろいろ v)\n\n@メッセージ2\n\nwhen flag clicked\nhide\n\nwhen I receive [いろいろ v]\nshow\nset [ひゅん！ v] to [75]\ngo to x: (-400) y: (0)\nrepeat (30)\n    change x by (ひゅん！)\n    set [ひゅん！ v] to ((ひゅん！) * (0.8))\nend\nbroadcast (３ v)\n\n@メッセージ3\n\nwhen flag clicked\nhide\n\nwhen I receive [３ v]\nshow\nset [ひゅん！ v] to [75]\ngo to x: (-400) y: (-50)\nrepeat (30)\n    change x by (ひゅん！)\n    set [ひゅん！ v] to ((ひゅん！) * (0.8))\nend\n\n@宣伝2\n\nwhen I receive [free intro end v]\nshow\nswitch costume to (宣伝 v)\ngo to x: (0) y: (0)\nwait (1) seconds\nforever\n    start sound [High Whoosh v]\n    repeat (50)\n        change y by (((85) - (y position)) / (5))\n    end\n    wait (pick random (8) to (12)) seconds\n    start sound [High Whoosh2 v]\n    repeat (50)\n        change y by (((0) - (y position)) / (5))\n    end\nend\n\nwhen I receive [free intro end v]\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\n@雪\n\nwhen I start as a clone\ngo to [front v] layer\nshow\nset [s v] to (pick random (1) to (50))\nset size to (s) %\nset [雪x v] to (pick random (1) to (12))\nset [雪y v] to (pick random (1) to (-10))\npoint in direction (130)\nset rotation style [all around v]\nif <(size) < [40]> then\n    go to [back v] layer\nend\nif <[40] < (size)> then\n    go to [front v] layer\nend\nrepeat until <touching (_edge_ v)?>\n    turn right ((s) / (10)) degrees\n    change x by ((s) - ((s) * (1.1)))\n    change y by ((雪y) - ((雪y) * (0.7)))\nend\ndelete this clone\n\nwhen I receive [free intro end v]\nhide\npoint in direction (28)\nforever\n    go to x: (pick random (-190) to (190)) y: (170)\n    repeat (5)\n        create clone of (_myself_ v)\n        wait () seconds\n    end\nend\n\n@雪2\n\nwhen I start as a clone\ngo to [front v] layer\nshow\nset [s v] to (pick random (1) to (50))\nset size to (s) %\nset [雪x v] to (pick random (1) to (12))\nset [雪y v] to (pick random (1) to (-10))\npoint in direction (130)\nset rotation style [all around v]\nif <(size) < [40]> then\n    go to [back v] layer\nend\nif <[40] < (size)> then\n    go to [front v] layer\nend\nrepeat until <touching (_edge_ v)?>\n    turn right ((s) / (10)) degrees\n    change x by ((s) - ((s) * (1.1)))\n    change y by ((雪y) - ((雪y) * (0.7)))\nend\ndelete this clone\n\nwhen I receive [free intro end v]\nhide\npoint in direction (28)\nforever\n    go to x: (220) y: (pick random (-190) to (190))\n    repeat (5)\n        create clone of (_myself_ v)\n        wait () seconds\n    end\nend\n\n@サムネ\n\nwhen flag clicked\nhide\n\n@ありがとう！\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    show\n    forever\n        if <touching (mouse-pointer v)?> then\n            wait (0.05) seconds\n            if <touching (mouse-pointer v)?> then\n                set [♡&☆ v] to (join [1] (letter (2) of (♡&☆)))\n                delete this clone\n            end\n        end\n    end\nelse\n    if <(costume [number v]) = [2]> then\n        show\n        forever\n            if <touching (mouse-pointer v)?> then\n                wait (0.05) seconds\n                if <touching (mouse-pointer v)?> then\n                    set [♡&☆ v] to (join (letter (1) of (♡&☆)) [1])\n                    delete this clone\n                end\n            end\n        end\n    else\n        go to x: (0) y: (0)\n        set size to (5) %\n        go to [front v] layer\n        show\n        repeat (8)\n            change size by (((size) + (5)) / (4))\n        end\n        repeat (25)\n            change size by (((100) - (size)) / (4))\n        end\n        repeat (10)\n            switch costume to (大 v)\n            change size by ((((0) - (size)) + (-5)) / (4))\n            switch costume to (ありがとう！ v)\n        end\n        delete this clone\n    end\nend\n\nwhen I receive [♡&☆ v]\nwait until <not <(♡&☆) = [11]>>\ngo to x: (-15) y: (0)\nswitch costume to (♡ v)\ncreate clone of (_myself_ v)\nswitch costume to (☆ v)\ncreate clone of (_myself_ v)\nwait until <(♡&☆) = [11]>\nwait (0.1) seconds\nswitch costume to (ありがとう！ v)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nbroadcast (♡&☆ v)\n\n@軽量化\n\n
みなさん冬、寒いですね〜。でも私は冬が大好きなので冬のプラットフォーマーを作りました！！頑張って作ったので♡と☆押してね。押さないとあなたの冷蔵庫の温度を-1000°にしますw。\n||◆♡と☆を押すと感謝のメッセージが表示されます。\n　　　　　　【Method of operation】\n・Left/Right movement:You can tap the arrow keys right or left, and the A of D key to move the main character to the right or left. ・Jump can de operated dy tapping the up arrow key, the W key, or the main character'stop.\n・ Crouch Can be operated by pressing the left arrow key, S key, or tapping below the main character.\nYou can go to the next stage by pressing the K key. If you find a stage difficult, press the K key.\nTELL me IN THE COMMENTS how many seconds it took you to clear the stage！\nIf you find this work even a little interesting, please press ♡ and ☆ and follow me!\n　　　　　　　　【操作方法】\n・左/右の動き：矢印キーを右または左に、AまたはDキーをタップすると、主人公を右または左に移動できます。\n・ジャンプは、上矢印キー、Wキー、または主人公の上をタップして操作できます。\nKキーを押すと、次の段階に進むことができます。ステージが難しい場合は、Kキーを押してください。\nステージをクリアするのに何秒かかったか、コメントで教えてください！\nこの作品が少しでも面白いと思ったら、♡と☆を押してフォローしてください！