Winter Platformer DEMO! #game #all

Instructions: [English]\n○How to play\nOperate with cross keys\n○Body temperature\nThere is a thermometer at the bottom left of the screen, and you need to reach the goal before you get hypothermia. You can keep your body temperature by collecting warmers.\nThere are 30 stages in total, and there are various gimmicks such as ice that freezes when you touch it and sleet that prevents you from jumping when you step on it.\nIf you touch obstacles, your body temperature will drop, so avoid them and reach the goal as quickly as possible!\n\n[日本語]\n○遊び方\n十字キーで操作\n○体温\n画面左下には体温計があり、あなたは低体温症になる前にゴールする必要があります。カイロを集めることによって体温を保つことができます。\n全30ステージあり、触れると凍ってしまう氷や、踏むとジャンプできなくなるみぞれなど、様々なギミックがあります。\n障害物に触れると、体温が下がってしまうため、うまく避けながら、できるだけ早くゴールしましょう！\n

@Stage\n\nwhen I receive [next stage v]\nif <(ステージ) = [16]> then\n    switch backdrop to (背景2 v)\nelse\n    switch backdrop to (背景13 v)\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [31]> then\n    show variable [☁ world record v]\n    show variable [time v]\n    set [time v] to (timer)\n    if <(time) < (☁ world record)> then\n        set [☁ world record v] to (time)\n    end\nend\n\nwhen flag clicked\nhide variable [☁ world record v]\nhide variable [time v]\nset [ステージ v] to [0]\nbroadcast (game start v)\nbroadcast (NEXT STAGE v)\nforever\n    play sound [Xylo2 v] until done\nend\n\nwhen I receive [frozen v]\nstop [other scripts in sprite v]\n\n@PLATFORMER\n\nwhen I receive [next stage v]\nforever\n    ステージ移動 [0] [-240] [0] [1]\n    ステージ移動 [1] [-240] [0] [2]\n    ステージ移動 [2] [-240] [0] [3]\n    ステージ移動 [3] [-240] [0] [4]\n    ステージ移動 [4] [-240] [0] [5]\n    ステージ移動 [5] [-240] [0] [6]\n    ステージ移動 [6] [-240] [0] [7]\n    ステージ移動 [7] [-240] [0] [8]\n    ステージ移動 [8] [-240] [0] [9]\n    ステージ移動 [9] [-240] [0] [10]\n    ステージ移動 [10] [-240] [0] [11]\n    ステージ移動 [11] [-240] [-20] [12]\n    ステージ移動 [12] [-240] [0] [13]\n    ステージ移動 [13] [-240] [0] [14]\n    ステージ移動 [14] [-220] [200] [15]\n    ステージ移動 [15] [-240] [0] [16]\n    ステージ移動 [16] [-240] [-90] [17]\n    ステージ移動 [17] [-240] [0] [18]\n    ステージ移動 [18] [-240] [0] [19]\n    ステージ移動 [19] [-240] [20] [20]\n    ステージ移動 [20] [-240] [-80] [21]\n    ステージ移動 [21] [-240] [-80] [22]\n    ステージ移動 [22] [-240] [0] [23]\n    ステージ移動 [23] [-240] [0] [24]\n    ステージ移動 [24] [-240] [0] [25]\n    ステージ移動 [25] [-240] [0] [26]\n    ステージ移動 [26] [-240] [0] [27]\n    ステージ移動 [27] [-240] [0] [28]\n    ステージ移動 [28] [-240] [0] [29]\n    ステージ移動 [29] [-240] [0] [30]\n    ステージ移動 [30] [-240] [0] [31]\nend\n\nwhen flag clicked\nhide\n\ndefine 動き x (x) y (y) 大きさ (大きさ)\nset size to (大きさ) %\nshow\npoint in direction (90)\nswitch costume to (通常 v)\nif <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n    change [x v] by (x)\n    switch costume to (通常2 v)\nend\nif <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    change [x v] by ((x) * (-1))\n    switch costume to (通常3 v)\nend\nset [x v] to ((x) * (0.92))\nchange x by (x)\nif <<<(size) = [100]> and <touching (地面 v)?>> or <<(size) = [50]> and <touching (奥 v)?>>> then\n    change y by (1)\n    if <<<(size) = [100]> and <touching (地面 v)?>> or <<(size) = [50]> and <touching (奥 v)?>>> then\n        change y by (1)\n        if <<<(size) = [100]> and <touching (地面 v)?>> or <<(size) = [50]> and <touching (奥 v)?>>> then\n            change y by (1)\n            if <<<(size) = [100]> and <touching (地面 v)?>> or <<(size) = [50]> and <touching (奥 v)?>>> then\n                change y by (1)\n                if <<<(size) = [100]> and <touching (地面 v)?>> or <<(size) = [50]> and <touching (奥 v)?>>> then\n                    change y by (1)\n                    if <<<(size) = [100]> and <touching (地面 v)?>> or <<(size) = [50]> and <touching (奥 v)?>>> then\n                        change y by (1)\n                        if <<<(size) = [100]> and <touching (地面 v)?>> or <<(size) = [50]> and <touching (奥 v)?>>> then\n                            change y by (-5)\n                            change x by ((0) - (x))\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [y v] by (-1)\nchange y by (y)\nif <<<(size) = [100]> and <touching (地面 v)?>> or <<(size) = [50]> and <touching (奥 v)?>>> then\n    change y by ((0) - (y))\n    set [y v] to [0]\nend\nchange y by (-2)\nif <<<(size) = [100]> and <touching (地面 v)?>> or <<(size) = [50]> and <touching (奥 v)?>>> then\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n        if <<<[23] = (ステージ)> or <[29] = (ステージ)>> and <touching (みぞれ v)?>> then\n            set [y v] to [3]\n        else\n            set [y v] to (y)\n        end\n    end\n    change y by (1)\nend\nif <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>> then\n    switch costume to (通常5 v)\nend\nif <touching (バネ v)?> then\n    set [y v] to [20]\nend\nif <[-185] > (y position)> then\n    初期化\nend\nif <touching (針 v)?> then\n    初期化\nend\n\nwhen I receive [game start v]\ngo to x: (-210) y: (13)\nset rotation style [left-right v]\nset size to (100) %\nswitch costume to (通常 v)\npoint in direction (90)\nshow\nset [stage v] to [1]\nhide variable [x v]\nhide variable [y v]\nset [動き v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <[0] = (動き)> then\n        動き x [0.6] y [18] 大きさ [100]\n    else\n        if <[2] = (動き)> then\n            go to [back v] layer\n            動き x [0.3] y [14] 大きさ [50]\n        else\n            if <[3] = (動き)> then\n                show\n                set [y v] to [0]\n            else\n                set [x v] to [0]\n                set [y v] to [0]\n                hide\n                change [温度 v] by (-2)\n            end\n        end\n    end\nend\n\ndefine ステージ移動 (ステージ) (x) (y) (next)\nif <(ステージ) = (ステージ)> then\n    if <(x position) > [240]> then\n        next backdrop\n        set [ステージ v] to (next)\n        broadcast (NEXT STAGE v)\n        set [x v] to [0]\n        set [y v] to [0]\n        set [復活地　ｘ v] to (x)\n        set [復活地　ｙ v] to (y)\n        go to x: (x) y: (y)\n        stop [this script v]\n    end\nend\n\ndefine 初期化\nset [y v] to [0]\nswitch costume to (通常4 v)\nset [x v] to [0]\nset rotation style [left-right v]\nrepeat (10)\n    switch costume to (通常4 v)\n    change [ghost v] effect by (10)\nend\ngo to x: (復活地　ｘ) y: (復活地　ｙ)\nswitch costume to (通常 v)\nset [platformer: 変数 v] to [0]\nrepeat (10)\n    switch costume to (通常 v)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [game start v]\nset x to (250)\n\nwhen I receive [easy 26 前 v]\nset size to (50) %\nif <(ステージ) = [26]> then\n    go to x: (-172) y: (-85)\nelse\n    go to x: (170) y: (-85)\nend\nrepeat until <(x) < [1]>\n    change x by (x)\n    set [x v] to ((x) * (0.92))\nend\nset [動き v] to [2]\n\nwhen I receive [easy 26 奥 v]\nset size to (100) %\nif <(ステージ) = [26]> then\n    go to x: (80) y: (-96)\nelse\n    go to x: (-135) y: (-96)\nend\nrepeat until <[-1] < (x)>\n    set [x v] to ((x) * (0.92))\n    change x by (x)\nend\nset [動き v] to [0]\n\nwhen I receive [next stage v]\nif <(ステージ) = [28]> then\n    repeat (10)\n        set [動き v] to [0]\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [28]> then\n    set [動き v] to [0]\nend\n\nwhen flag clicked\nset [無敵 v] to [0]\nforever\n    if <(無敵) = [1]> then\n        repeat (4)\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            repeat (10)\n                change [ghost v] effect by (-10)\n            end\n        end\n        set [無敵 v] to [0]\n    end\nend\n\nwhen I receive [frozen v]\nswitch costume to (通常4 v)\nstop [other scripts in sprite v]\n\n@地面\n\ndefine 表示　ステージ (ステージ) コスチューム (コスチューム)\nif <(ステージ) = (ステージ)> then\n    show\n    switch costume to (コスチューム)\nend\n\nwhen I receive [next stage v]\n表示　ステージ [1] コスチューム [1]\n表示　ステージ [2] コスチューム [2]\n表示　ステージ [3] コスチューム [3]\n表示　ステージ [4] コスチューム [1]\n表示　ステージ [5] コスチューム [4]\n表示　ステージ [6] コスチューム [5]\n表示　ステージ [7] コスチューム [1]\n表示　ステージ [8] コスチューム [1]\n表示　ステージ [9] コスチューム [6]\n表示　ステージ [10] コスチューム [1]\n表示　ステージ [11] コスチューム [1]\n表示　ステージ [12] コスチューム [7]\n表示　ステージ [13] コスチューム [1]\n表示　ステージ [14] コスチューム [8]\n表示　ステージ [15] コスチューム [9]\n表示　ステージ [16] コスチューム [10]\n表示　ステージ [17] コスチューム [11]\n表示　ステージ [18] コスチューム [12]\n表示　ステージ [19] コスチューム [13]\n表示　ステージ [20] コスチューム [14]\n表示　ステージ [21] コスチューム [15]\n表示　ステージ [22] コスチューム [16]\n表示　ステージ [23] コスチューム [1]\n表示　ステージ [24] コスチューム [13]\n表示　ステージ [25] コスチューム [1]\n表示　ステージ [26] コスチューム [1]\n表示　ステージ [27] コスチューム [1]\n表示　ステージ [28] コスチューム [13]\n表示　ステージ [29] コスチューム [17]\n表示　ステージ [30] コスチューム [1]\n表示　ステージ [31] コスチューム [18]\n\nwhen flag clicked\nhide\n\n@奥\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\n表示　ステージ [1] コスチューム [1]\n表示　ステージ [2] コスチューム [2]\n表示　ステージ [3] コスチューム [3]\n表示　ステージ [4] コスチューム [4]\n表示　ステージ [5] コスチューム [1]\n表示　ステージ [6] コスチューム [1]\n表示　ステージ [7] コスチューム [1]\n表示　ステージ [8] コスチューム [1]\n表示　ステージ [9] コスチューム [5]\n表示　ステージ [10] コスチューム [1]\n表示　ステージ [11] コスチューム [1]\n表示　ステージ [12] コスチューム [6]\n表示　ステージ [13] コスチューム [1]\n表示　ステージ [14] コスチューム [8]\n表示　ステージ [15] コスチューム [9]\n表示　ステージ [16] コスチューム [10]\n表示　ステージ [17] コスチューム [11]\n表示　ステージ [18] コスチューム [12]\n表示　ステージ [19] コスチューム [1]\n表示　ステージ [20] コスチューム [13]\n表示　ステージ [21] コスチューム [14]\n表示　ステージ [22] コスチューム [16]\n表示　ステージ [23] コスチューム [15]\n表示　ステージ [24] コスチューム [1]\n表示　ステージ [25] コスチューム [1]\n表示　ステージ [26] コスチューム [1]\n表示　ステージ [27] コスチューム [1]\n表示　ステージ [28] コスチューム [1]\n表示　ステージ [29] コスチューム [17]\n表示　ステージ [30] コスチューム [1]\n表示　ステージ [31] コスチューム [1]\n\ndefine 表示　ステージ (ステージ) コスチューム (コスチューム)\nif <(ステージ) = (ステージ)> then\n    show\n    switch costume to (コスチューム)\nend\n\ndefine 隠す (ステージ)\nif <(ステージ) = (ステージ)> then\n    hide\nend\n\nwhen I receive [next stage v]\nforever\n    go to [back v] layer\nend\n\n@バネ\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\ndelete this clone\n\nwhen I receive [クローン削除 v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    show\n    set size to (100) %\n    switch costume to (コスチューム2 v)\n    if <touching (platformer v)?> then\n        repeat (5)\n            next costume\n        end\n        repeat (5)\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\nend\n\nwhen I start as a clone\n生成　x [0] y [-88] clone [1]\n生成　x [50] y [-80] clone [2]\n\ndefine clone 回数 (回数) stage (stage) clone (clone)\nif <[コスチューム1] = (costume [name v])> then\n    if <(stage) = (ステージ)> then\n        set [clone v] to (clone)\n        repeat (回数)\n            change [clone v] by (1)\n            create clone of (_myself_ v)\n        end\n    end\nend\n\nwhen I receive [next stage v]\nclone 回数 [1] stage [8] clone [0]\nclone 回数 [1] stage [16] clone [1]\n\ndefine 生成　x (x) y (y) clone (clone)\nif <(clone) = (clone)> then\n    show\n    go to x: (x) y: (y)\n    switch costume to (コスチューム2 v)\n    go to [front v] layer\nend\n\n@障害物\n\nadd (x position) to [x v]\nadd (y position) to [y v]\nadd (costume [number v]) to [コスチューム v]\nchange [clone v] by (1)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\ngo to x: (item (clone) of [x v]) y: (item (clone) of [y v])\nswitch costume to (item (clone) of [コスチューム v])\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\ndefine clone 回数 (回数) stage (stage) clone (clone)\nif <[調整] = (costume [name v])> then\n    if <(stage) = (ステージ)> then\n        set [clone v] to (clone)\n        repeat (回数)\n            change [clone v] by (1)\n            create clone of (_myself_ v)\n        end\n    end\nend\n\nwhen I receive [next stage v]\ndelete this clone\n\nwhen I receive [クローン削除 v]\ndelete this clone\n\nwhen I start as a clone\nif <(costume [number v]) = [3]> then\n    if <(ステージ) = [16]> then\n        forever\n            turn left (3) degrees\n        end\n    else\n        forever\n            point in direction (90)\n            wait (2) seconds\n            repeat (20)\n                turn right (30) degrees\n            end\n            point in direction (90)\n            repeat (2)\n                repeat (14)\n                    switch costume to (snowflake 回転 v)\n                    wait (0.03) seconds\n                    switch costume to (snowflake 回転2 v)\n                    wait (0.03) seconds\n                end\n                雪の結晶 [-4] [4]\n            end\n            repeat (15)\n                switch costume to (snowflake 回転 v)\n                wait (0.03) seconds\n                switch costume to (snowflake 回転2 v)\n                wait (0.03) seconds\n            end\n            switch costume to (snowflake v)\n            repeat (10)\n                turn right (30) degrees\n            end\n        end\n    end\nend\n\ndefine 雪の結晶 (clone) (回数)\nset [clone v] to (clone)\nset [snow x v] to (x position)\nset [snow y v] to (y position)\nrepeat (回数)\n    create clone of (_myself_ v)\n    change [clone v] by (1)\nend\n\nwhen I start as a clone\nif <<[-5] < (clone)> and <(clone) < [0]>> then\n    go to x: (snow x) y: (snow y)\n    switch costume to (snowflake 先端 v)\n    show\n    if <[-4] = (clone)> then\n        point in direction (45)\n    else\n        if <[-3] = (clone)> then\n            point in direction (135)\n        else\n            if <[-2] = (clone)> then\n                point in direction (-135)\n            else\n                point in direction (-45)\n            end\n        end\n    end\n    repeat (100)\n        結晶 コスチューム\n    end\n    delete this clone\nend\n\ndefine 結晶 コスチューム\nswitch costume to (調整 v)\nmove (10) steps\nswitch costume to (snowflake 先端 v)\n\ndefine 雪玉 コスチューム (x) (y) (コスチューム) (角度)\ngo to [front v] layer\ngo [backward v] (1) layers\nswitch costume to (調整 v)\nturn left (角度) degrees\nchange x by (x)\nchange y by (y)\nswitch costume to (コスチューム)\n\nwhen I receive [next stage v]\nclone 回数 [2] stage [4] clone [0]\nclone 回数 [2] stage [5] clone [2]\nclone 回数 [1] stage [6] clone [4]\nclone 回数 [1] stage [7] clone [5]\nclone 回数 [3] stage [8] clone [6]\nclone 回数 [6] stage [10] clone [9]\nclone 回数 [2] stage [12] clone [16]\nclone 回数 [3] stage [13] clone [18]\nclone 回数 [1] stage [17] clone [24]\nclone 回数 [2] stage [18] clone [25]\nclone 回数 [5] stage [19] clone [27]\nclone 回数 [4] stage [21] clone [32]\nclone 回数 [2] stage [23] clone [36]\nclone 回数 [3] stage [24] clone [38]\nclone 回数 [6] stage [27] clone [49]\nclone 回数 [39] stage [28] clone [63]\nclone 回数 [2] stage [16] clone [103]\n\nwhen I receive [next stage v]\nif <(ステージ) = [11]> then\n    forever\n        clone 回数 [1] stage [11] clone [15]\n        wait (2) seconds\n    end\nend\nif <(ステージ) = [20]> then\n    forever\n        clone 回数 [1] stage [20] clone [15]\n        wait (2) seconds\n    end\nend\nif <(ステージ) = [25]> then\n    forever\n        clone 回数 [1] stage [25] clone (pick random (41) to (48))\n        wait (0.75) seconds\n    end\nend\n\nwhen I start as a clone\nscroll clone [16] x制限 [-290] x [-5] y [] コスチューム [雪玉] 角度 [20]\nscroll clone [22] x制限 [-300] x [-2] y [] コスチューム [3] 角度 [3]\nscroll clone [23] x制限 [-300] x [-2] y [] コスチューム [21] 角度 []\nscroll clone [24] x制限 [-300] x [-3] y [] コスチューム [8] 角度 [12]\nscroll clone [56] x制限 [-330] x [-2] y [] コスチューム [25] 角度 []\nscroll clone [57] x制限 [-330] x [-2] y [] コスチューム [26] 角度 []\nscroll clone [57] x制限 [-330] x [-2] y [] コスチューム [27] 角度 []\nscroll clone [58] x制限 [-330] x [-2] y [] コスチューム [28] 角度 []\nscroll clone [59] x制限 [-330] x [-2] y [] コスチューム [29] 角度 []\nscroll clone [60] x制限 [-330] x [-2] y [] コスチューム [30] 角度 []\nscroll clone [61] x制限 [-330] x [-2] y [] コスチューム [31] 角度 []\nscroll clone [62] x制限 [-330] x [-2] y [] コスチューム [32] 角度 []\nscroll clone [63] x制限 [-330] x [-2] y [] コスチューム [33] 角度 []\nif <(costume [number v]) = [9]> then\n    forever\n        set [ghost v] effect to (0)\n        if <touching (platformer v)?> then\n            if <[0] = (動き)> then\n                set [動き v] to [1]\n                switch costume to (凍結 v)\n                set [凍結 v] to [20]\n                雪の結晶 [-5] [1]\n                start sound [凍結 v]\n            else\n                set [ghost v] effect to (50)\n            end\n        end\n    end\nend\n氷柱 clone [39] x [-200] 秒 []\n氷柱 clone [40] x [-200] 秒 [0.2]\n氷柱 clone [41] x [-200] 秒 [0.4]\n氷柱 clone [64] x [-300] 秒 [0.75]\n氷柱 clone [65] x [-300] 秒 [0.8]\n氷柱 clone [66] x [-300] 秒 [0.85]\n氷柱 clone [67] x [-300] 秒 [0.9]\n氷柱 clone [68] x [-300] 秒 [0.95]\n氷柱 clone [69] x [-300] 秒 [1]\n氷柱 clone [70] x [-300] 秒 [1.05]\n氷柱 clone [71] x [-300] 秒 [1.1]\n氷柱 clone [72] x [-300] 秒 [1.15]\n氷柱 clone [73] x [-300] 秒 [1.2]\n氷柱 clone [74] x [-300] 秒 [1.25]\n氷柱 clone [75] x [-300] 秒 [1.3]\n氷柱 clone [76] x [-300] 秒 [1.35]\n氷柱 clone [77] x [-300] 秒 [1.4]\n氷柱 clone [78] x [-300] 秒 [1.45]\n氷柱 clone [79] x [-300] 秒 [1.5]\n氷柱 clone [80] x [-300] 秒 [1.55]\n氷柱 clone [81] x [-300] 秒 [1.6]\n氷柱 clone [82] x [-300] 秒 [1.65]\n氷柱 clone [83] x [-300] 秒 [1.7]\n氷柱 clone [84] x [-300] 秒 [1.75]\n氷柱 clone [85] x [-300] 秒 [1.8]\n氷柱 clone [86] x [-300] 秒 [1.85]\n氷柱 clone [87] x [-300] 秒 [1.9]\n氷柱 clone [88] x [-300] 秒 [1.95]\n氷柱 clone [89] x [-300] 秒 [2]\n氷柱 clone [90] x [-300] 秒 [2.05]\n氷柱 clone [91] x [-300] 秒 [2.1]\n氷柱 clone [92] x [-300] 秒 [2.15]\n氷柱 clone [93] x [-300] 秒 [2.2]\n氷柱 clone [94] x [-300] 秒 [2.25]\n氷柱 clone [95] x [-300] 秒 [2.3]\n氷柱 clone [96] x [-300] 秒 [2.35]\n氷柱 clone [97] x [-300] 秒 [2.4]\n氷柱 clone [98] x [-300] 秒 [2.45]\n氷柱 clone [99] x [-300] 秒 [2.5]\n氷柱 clone [100] x [-300] 秒 [2.55]\n氷柱 clone [101] x [-300] 秒 [2.6]\n氷柱 clone [102] x [-300] 秒 [2.65]\n\nreplace item (16) of [コスチューム v] with [25]\nreplace item (22) of [コスチューム v] with [25]\nreplace item (23) of [コスチューム v] with [25]\n\nwhen I start as a clone\nif <(clone) = [-5]> then\n    go to [front v] layer\n    go to x: (snow x) y: ((snow y) + (40))\n    set size to (70) %\n    switch costume to (click v)\n    show\n    set [障害物: 変数 v] to [0]\n    forever\n        if <(凍結) = [0]> then\n            delete this clone\n        else\n            change [障害物: 変数 v] by (5)\n            change size by ([sin v] of (障害物: 変数) )\n        end\n    end\nend\n氷 [15] [2] [-5] [-9]\n氷 [16] [-2] [-5] [-8]\n氷 [17] [4] [-5] [-7]\n氷 [18] [-4] [-5] [-6]\nif <(clone) = [-11]> then\n    go to [front v] layer\n    go to x: (snow x) y: (snow y)\n    switch costume to (氷柱-分裂 v)\n    show\n    repeat until <(x position) < [-300]>\n        雪玉 コスチューム [-15] [] [氷柱-分裂] []\n    end\nend\nif <(clone) = [-10]> then\n    go to [front v] layer\n    go to x: (snow x) y: (snow y)\n    switch costume to (氷柱-分裂2 v)\n    show\n    repeat until <[300] < (x position)>\n        雪玉 コスチューム [15] [] [氷柱-分裂2] []\n    end\nend\n\nwhen this sprite clicked\nif <<[9] < (costume [number v])> and <(costume [number v]) < [15]>> then\n    start sound [凍結 v]\n    change [凍結 v] by (-1)\n    broadcast (凍結 v)\n    if <(凍結) = [0]> then\n        set [動き v] to [0]\n        雪の結晶 [-9] [4]\n        delete this clone\n    else\n        if <<[0] < (凍結)> and <(凍結) < [5]>> then\n            switch costume to (凍結5 v)\n        else\n            if <<[4] < (凍結)> and <(凍結) < [9]>> then\n                switch costume to (凍結4 v)\n            else\n                if <<[8] < (凍結)> and <(凍結) < [13]>> then\n                    switch costume to (凍結3 v)\n                else\n                    if <<[12] < (凍結)> and <(凍結) < [17]>> then\n                        switch costume to (凍結2 v)\n                    else\n                        switch costume to (凍結 v)\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [凍結 v]\nif <[19] = (costume [number v])> then\n    if <(凍結) = [0]> then\n        delete this clone\n    else\n        switch costume to (click2 v)\n        wait (0.05) seconds\n        switch costume to (click v)\n    end\nend\n\ndefine 氷 (コスチューム) (x) (y) (clone)\nif <(clone) = (clone)> then\n    go to [front v] layer\n    go to x: (snow x) y: (snow y)\n    set size to (100) %\n    switch costume to (コスチューム)\n    show\n    repeat until <(y position) < [-200]>\n        雪玉 コスチューム (x) (y) (コスチューム) ((x) * (-4))\n    end\n    delete this clone\nend\n\nwhen I receive [scroll v]\nset [scroll 16 v] to [0]\nrepeat (36)\n    change [scroll 16 v] by (1)\n    wait until <(item (scroll 16) of [scroll 16 v]) < (scroll speed)>\n    set [clone v] to (item (scroll 16) of [コスチューム 16 v])\n    create clone of (_myself_ v)\nend\n\nset [clone v] to [23]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(clone) = [0]> then\n    delete this clone\nend\n\nwhen I receive [next stage v]\nif <<<(ステージ) = [12]> or <(ステージ) = [21]>> or <(ステージ) = [26]>> then\n    stop [other scripts in sprite v]\nend\n\ndefine 氷柱 clone (clone) x (x) 秒 (秒)\nif <(clone) = (clone)> then\n    go to [back v] layer\n    wait until <(x) < ([x position v] of [platformer v])>\n    wait (秒) seconds\n    repeat (5)\n        change x by (1)\n        wait (0.01) seconds\n        change y by (1)\n        wait (0.01) seconds\n        change x by (-1)\n        wait (0.01) seconds\n        change y by (-1)\n        wait (0.01) seconds\n    end\n    repeat (13)\n        change y by (-10)\n    end\n    雪の結晶 [-11] [2]\n    delete this clone\nend\n\ndefine 雪玉（回転） y (y) 明るさ (明るさ) 大きさ (大きさ) 角度 (角度)\nchange y by (y)\nchange [brightness v] effect by (明るさ)\nchange size by (大きさ)\nturn right (角度) degrees\n\nwhen I start as a clone\nif <<[41] < (clone)> and <(clone) < [50]>> then\n    go to [back v] layer\n    point in direction (90)\n    set size to (5) %\n    set y to (-94)\n    set [brightness v] effect to (-95)\n    repeat (35)\n        雪玉（回転） y [0.5] 明るさ [2.5] 大きさ [2.5] 角度 [5]\n    end\n    repeat (3)\n        雪玉（回転） y [0.5] 明るさ [2.5] 大きさ [2.5] 角度 [5]\n        ダメージ\n    end\n    repeat (3)\n        雪玉（回転） y [0.5] 明るさ [] 大きさ [2.5] 角度 [5]\n        go to [front v] layer\n        ダメージ\n    end\n    repeat (7)\n        雪玉（回転） y [0.5] 明るさ [] 大きさ [2.5] 角度 [5]\n        go to [front v] layer\n    end\n    repeat (23)\n        雪玉（回転） y [-8] 明るさ [-4] 大きさ [2.5] 角度 [5]\n        go to [front v] layer\n    end\n    delete this clone\nend\nif <<[49] < (clone)> and <(clone) < [53]>> then\n    forever\n        go to [back v] layer\n        set [brightness v] effect to (-50)\n        set size to (50) %\n        if <(動き) = [2]> then\n            ダメージ\n        end\n    end\nend\n\ndefine scroll clone (clone) x制限 (x制限) x (x) y (y) コスチューム (コスチューム) 角度 (角度)\nif <(clone) = (clone)> then\n    repeat until <(x position) < (x制限)>\n        雪玉 コスチューム (x) (y) (コスチューム) (角度)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <<(costume [name v]) = [氷柱-分裂]> or <(costume [name v]) = [氷柱-分裂2]>> then\n    forever\n        if <(ステージ) = [29]> then\n            delete this clone\n        end\n    end\nend\n\ndefine ダメージ\nif <<(無敵) = [0]> and <touching (platformer v)?>> then\n    start sound [Crunch v]\n    change [温度 v] by (-50)\n    set [無敵 v] to [1]\nend\n\nwhen I start as a clone\nif <not <<<(ステージ) = [27]> or <(costume [number v]) = [9]>> or <<<(costume [number v]) = [8]> and <(ステージ) = [25]>> or <<[14] < (costume [number v])> and <(costume [number v]) < [21]>>>>> then\n    forever\n        ダメージ\n    end\nend\n\n@スプライト1\n\nwhen I receive [game start v]\nshow\ngo to x: (-155) y: (-152)\nset [温度 v] to [150]\nforever\n    if <<[30] < (温度)> and <(温度) < [100]>> then\n        switch costume to (コスチューム17 v)\n    else\n        if <<[130] < (温度)> and <(温度) < [200]>> then\n            switch costume to (コスチューム16 v)\n        else\n            if <<[230] < (温度)> and <(温度) < [300]>> then\n                switch costume to (コスチューム15 v)\n            else\n                if <<[330] < (温度)> and <(温度) < [400]>> then\n                    switch costume to (コスチューム14 v)\n                else\n                    if <<[430] < (温度)> and <(温度) < [500]>> then\n                        switch costume to (コスチューム13 v)\n                    else\n                        if <<[530] < (温度)> and <(温度) < [600]>> then\n                            switch costume to (コスチューム12 v)\n                        else\n                            if <<[630] < (温度)> and <(温度) < [700]>> then\n                                switch costume to (コスチューム11 v)\n                            else\n                                if <<[730] < (温度)> and <(温度) < [800]>> then\n                                    switch costume to (コスチューム10 v)\n                                else\n                                    if <<[830] < (温度)> and <(温度) < [900]>> then\n                                        switch costume to (コスチューム9 v)\n                                    else\n                                        if <<[930] < (温度)> and <(温度) < [1000]>> then\n                                            switch costume to (コスチューム8 v)\n                                        else\n                                            if <<[1030] < (温度)> and <(温度) < [1100]>> then\n                                                switch costume to (コスチューム7 v)\n                                            else\n                                                if <<[1130] < (温度)> and <(温度) < [1200]>> then\n                                                    switch costume to (コスチューム6 v)\n                                                else\n                                                    if <<[1230] < (温度)> and <(温度) < [1300]>> then\n                                                        switch costume to (コスチューム5 v)\n                                                    else\n                                                        if <<[1330] < (温度)> and <(温度) < [1400]>> then\n                                                            switch costume to (コスチューム4 v)\n                                                        else\n                                                            if <<[1430] < (温度)> and <(温度) < [1500]>> then\n                                                                switch costume to (コスチューム3 v)\n                                                            else\n                                                                if <<[1530] < (温度)> and <(温度) < [1600]>> then\n                                                                    switch costume to (コスチューム2 v)\n                                                                else\n                                                                    if <<[0] < (温度)> and <(温度) < [31]>> then\n                                                                        switch costume to (コスチューム18 v)\n                                                                        wait (0.1) seconds\n                                                                        switch costume to (コスチューム17 v)\n                                                                        wait (0.1) seconds\n                                                                    else\n                                                                        if <<[99] < (温度)> and <(温度) < [131]>> then\n                                                                            switch costume to (コスチューム17 v)\n                                                                            wait (0.1) seconds\n                                                                            switch costume to (コスチューム16 v)\n                                                                            wait (0.1) seconds\n                                                                        else\n                                                                            if <<[199] < (温度)> and <(温度) < [231]>> then\n                                                                                switch costume to (コスチューム16 v)\n                                                                                wait (0.1) seconds\n                                                                                switch costume to (コスチューム15 v)\n                                                                                wait (0.1) seconds\n                                                                            else\n                                                                                if <<[299] < (温度)> and <(温度) < [331]>> then\n                                                                                    switch costume to (コスチューム15 v)\n                                                                                    wait (0.1) seconds\n                                                                                    switch costume to (コスチューム14 v)\n                                                                                    wait (0.1) seconds\n                                                                                else\n                                                                                    if <<[399] < (温度)> and <(温度) < [431]>> then\n                                                                                        switch costume to (コスチューム14 v)\n                                                                                        wait (0.1) seconds\n                                                                                        switch costume to (コスチューム13 v)\n                                                                                        wait (0.1) seconds\n                                                                                    else\n                                                                                        if <<[499] < (温度)> and <(温度) < [531]>> then\n                                                                                            switch costume to (コスチューム13 v)\n                                                                                            wait (0.1) seconds\n                                                                                            switch costume to (コスチューム12 v)\n                                                                                            wait (0.1) seconds\n                                                                                        else\n                                                                                            if <<[599] < (温度)> and <(温度) < [631]>> then\n                                                                                                switch costume to (コスチューム12 v)\n                                                                                                wait (0.1) seconds\n                                                                                                switch costume to (コスチューム11 v)\n                                                                                                wait (0.1) seconds\n                                                                                            else\n                                                                                                if <<[699] < (温度)> and <(温度) < [731]>> then\n                                                                                                    switch costume to (コスチューム11 v)\n                                                                                                    wait (0.1) seconds\n                                                                                                    switch costume to (コスチューム10 v)\n                                                                                                    wait (0.1) seconds\n                                                                                                else\n                                                                                                    if <<[799] < (温度)> and <(温度) < [831]>> then\n                                                                                                        switch costume to (コスチューム10 v)\n                                                                                                        wait (0.1) seconds\n                                                                                                        switch costume to (コスチューム9 v)\n                                                                                                        wait (0.1) seconds\n                                                                                                    else\n                                                                                                        if <<[899] < (温度)> and <(温度) < [931]>> then\n                                                                                                            switch costume to (コスチューム9 v)\n                                                                                                            wait (0.1) seconds\n                                                                                                            switch costume to (コスチューム8 v)\n                                                                                                            wait (0.1) seconds\n                                                                                                        else\n                                                                                                            if <<[999] < (温度)> and <(温度) < [1031]>> then\n                                                                                                                switch costume to (コスチューム8 v)\n                                                                                                                wait (0.1) seconds\n                                                                                                                switch costume to (コスチューム7 v)\n                                                                                                                wait (0.1) seconds\n                                                                                                            else\n                                                                                                                if <<[1099] < (温度)> and <(温度) < [1131]>> then\n                                                                                                                    switch costume to (コスチューム7 v)\n                                                                                                                    wait (0.1) seconds\n                                                                                                                    switch costume to (コスチューム6 v)\n                                                                                                                    wait (0.1) seconds\n                                                                                                                else\n                                                                                                                    if <<[1199] < (温度)> and <(温度) < [1231]>> then\n                                                                                                                        switch costume to (コスチューム6 v)\n                                                                                                                        wait (0.1) seconds\n                                                                                                                        switch costume to (コスチューム5 v)\n                                                                                                                        wait (0.1) seconds\n                                                                                                                    else\n                                                                                                                        if <<[1299] < (温度)> and <(温度) < [1331]>> then\n                                                                                                                            switch costume to (コスチューム5 v)\n                                                                                                                            wait (0.1) seconds\n                                                                                                                            switch costume to (コスチューム4 v)\n                                                                                                                            wait (0.1) seconds\n                                                                                                                        else\n                                                                                                                            if <<[1399] < (温度)> and <(温度) < [1431]>> then\n                                                                                                                                switch costume to (コスチューム4 v)\n                                                                                                                                wait (0.1) seconds\n                                                                                                                                switch costume to (コスチューム3 v)\n                                                                                                                                wait (0.1) seconds\n                                                                                                                            else\n                                                                                                                                if <<[1499] < (温度)> and <(温度) < [1531]>> then\n                                                                                                                                    switch costume to (コスチューム3 v)\n                                                                                                                                    wait (0.1) seconds\n                                                                                                                                    switch costume to (コスチューム2 v)\n                                                                                                                                    wait (0.1) seconds\n                                                                                                                                end\n                                                                                                                            end\n                                                                                                                        end\n                                                                                                                    end\n                                                                                                                end\n                                                                                                            end\n                                                                                                        end\n                                                                                                    end\n                                                                                                end\n                                                                                            end\n                                                                                        end\n                                                                                    end\n                                                                                end\n                                                                            end\n                                                                        end\n                                                                    end\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [game start v]\nforever\n    change [温度 v] by (-1)\n    wait (0.01) seconds\nend\n\nwhen I receive [game start v]\nforever\n    go to [front v] layer\n    if <<(温度) < [100]> or <[1500] < (温度)>> then\n        point in direction (96)\n        repeat until <not <<(温度) < [100]> or <[1500] < (温度)>>>\n            set size to (120) %\n            change [角度 v] by (30)\n            turn left (([sin v] of (角度) ) * (3.2)) degrees\n        end\n    else\n        set size to (100) %\n        set [角度 v] to [0]\n        point in direction (90)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [game start v]\nforever\n    if <(温度) < [1]> then\n        stop [other scripts in sprite v]\n        broadcast (frozen v)\n        set size to (100) %\n        stop all sounds\n        point in direction (90)\n        switch costume to (コスチューム1 v)\n        go to x: (0) y: (350)\n        repeat (14)\n            change y by (-25)\n        end\n        repeat (10)\n            change size by (1)\n        end\n        repeat (10)\n            change size by (-1)\n        end\n        stop [all v]\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [31]> then\n    stop [other scripts in sprite v]\nend\n\n@スプライト2\n\nwhen I receive [next stage v]\nif <(ステージ) = [16]> then\n    set [scroll v] to [0]\nend\n\nwhen I start as a clone\nshow\nクローン [1] コスチューム [針葉樹] x [295] y [-44]\nクローン [2] コスチューム [針葉樹2] x [295] y [-44]\nクローン [3] コスチューム [針葉樹3] x [295] y [-44]\nクローン [4] コスチューム [針葉樹4] x [295] y [-44]\nクローン [5] コスチューム [針葉樹5] x [295] y [-44]\nクローン [6] コスチューム [針葉樹6] x [295] y [-44]\nクローン [7] コスチューム [❤] x [295] y [-124]\nクローン [8] コスチューム [⭐] x [295] y [-124]\nクローン [9] コスチューム [Follow] x [295] y [-135]\nクローン [10] コスチューム [Follow2] x [295] y [-139]\nクローン [11] コスチューム [Follow3] x [295] y [-139]\nクローン [12] コスチューム [針葉樹7] x [295] y [-44]\nクローン [13] コスチューム [宣伝] x [295] y [-44]\nクローン [14] コスチューム [click] x [295] y [200]\n\ndefine 移動 (コスチューム)\nswitch costume to (調整 v)\nchange x by (-2)\nswitch costume to (コスチューム)\n\nwhen I receive [scroll v]\nif <(ステージ) = [16]> then\n    repeat (19)\n        change [scroll 16 v] by (1)\n        wait until <(item (scroll 16) of [背景　16 v]) < (scroll speed)>\n        set [clone v] to (item (scroll 16) of [背景コス 16 v])\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [scroll v]\nif <(ステージ) = [16]> then\n    set [scroll v] to [1]\n    set [scroll speed v] to [0]\n    forever\n        set [clone v] to (pick random (1) to (6))\n        create clone of (_myself_ v)\n        repeat (27)\n            change [scroll speed v] by (2)\n        end\n        set [clone v] to [12]\n        create clone of (_myself_ v)\n        repeat (28)\n            change [scroll speed v] by (2)\n        end\n    end\nend\n\ndefine クローン (クローン) コスチューム (コスチューム) x (x) y (y)\nif <[コスチューム1] = (costume [name v])> then\n    if <(クローン) = (clone)> then\n        switch costume to (調整 v)\n        go to x: (x) y: (y)\n        forever\n            if <[1] = (scroll)> then\n                repeat until <(x position) < [-300]>\n                    移動 (コスチューム)\n                end\n                delete this clone\n            end\n        end\n    end\nend\n\ndefine 落下 (落下) コスチューム (コスチューム)\nswitch costume to (調整 v)\nchange y by (落下)\nswitch costume to (コスチューム)\n\nwhen I start as a clone\nif <[針葉樹7] = (costume [name v])> then\n    forever\n        go to [back v] layer\n    end\nelse\n    if <<(costume [number v]) < [7]> or <[針葉樹7] = (costume [name v])>> then\n        go to [back v] layer\n    else\n        go to [front v] layer\n        go [backward v] (1) layers\n    end\nend\n\nbroadcast (scroll v)\n\nwhen I receive [scroll v]\nswitch costume to (コスチューム1 v)\nset [scroll 16 v] to [0]\n\ninsert [0] at (1) of [背景　16 v] \n\nset [clone v] to [14]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(clone) = [14]> then\n    wait until <(x position) < [100]>\n    repeat (13)\n        落下 [-26] コスチューム [click]\n    end\nend\n\nwhen I start as a clone\nif <[-1] = (clone)> then\n    delete this clone\nend\n\nbroadcast (scroll v)\n\n@みぞれ\n\nwhen flag clicked\nhide\n\ndefine clone 回数 (回数) stage (stage) clone (clone)\nif <[調整] = (costume [name v])> then\n    if <(stage) = (ステージ)> then\n        set [clone v] to (clone)\n        repeat (回数)\n            change [clone v] by (1)\n            create clone of (_myself_ v)\n        end\n    end\nend\n\nwhen I start as a clone\nshow\ngo to x: (item (clone) of [x v]) y: (item (clone) of [y v])\nswitch costume to (item (clone) of [コスチューム v])\ngo to [front v] layer\nイグルー clone [3] 大きさ [70] 角度 [90] platformer [0] x [3] 前か後 [前]\nイグルー clone [4] 大きさ [30] 角度 [-90] platformer [2] x [-5] 前か後 [後ろ]\nイグルー clone [5] 大きさ [30] 角度 [90] platformer [2] x [3] 前か後 [後ろ]\nイグルー clone [6] 大きさ [70] 角度 [-90] platformer [0] x [-5] 前か後 [前]\n\nwhen I receive [next stage v]\ndelete this clone\n\nwhen I receive [next stage v]\nclone 回数 [2] stage [23] clone [0]\nclone 回数 [2] stage [26] clone [2]\nclone 回数 [2] stage [27] clone [4]\nclone 回数 [2] stage [29] clone [7]\n\ndefine イグルー clone (clone) 大きさ (大きさ) 角度 (角度) platformer (platformer) x (x) 前か後 (前か後)\nif <(clone) = (clone)> then\n    set size to (大きさ) %\n    point in direction (角度)\n    if <(前か後) = [前]> then\n        go to [front v] layer\n    else\n        go to [back v] layer\n    end\n    forever\n        if <(前か後) = [前]> then\n            go to [front v] layer\n        else\n            go to [back v] layer\n            go [forward v] (1) layers\n        end\n        set [ghost v] effect to (0)\n        if <touching (platformer v)?> then\n            if <(platformer) = (動き)> then\n                set [動き v] to [1]\n                wait (0.7) seconds\n                if <(前か後) = [前]> then\n                    broadcast (easy 26 前 v)\n                else\n                    broadcast (easy 26 奥 v)\n                end\n                set [動き v] to [3]\n                set [x v] to (x)\n            else\n                if <not <(前か後) = [後ろ]>> then\n                    set [ghost v] effect to (50)\n                end\n            end\n        end\n    end\nend\n\nadd (x position) to [x v]\nadd (y position) to [y v]\nadd (costume [number v]) to [コスチューム v]\nchange [clone v] by (1)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\n\nshow\ngo to x: (item (clone) of [x v]) y: (item (clone) of [y v])\nswitch costume to (item (clone) of [コスチューム v])\n\n@スプライト3\n\ndefine clone 回数 (回数) stage (stage) clone (clone)\nif <[調整] = (costume [name v])> then\n    if <(stage) = (ステージ)> then\n        set [clone v] to (clone)\n        repeat (回数)\n            change [clone v] by (1)\n            create clone of (_myself_ v)\n        end\n    end\nend\n\nadd (x position) to [x v]\nadd (y position) to [y v]\nadd (costume [number v]) to [コスチューム v]\nchange [clone v] by (1)\ncreate clone of (_myself_ v)\n\nwhen I receive [next stage v]\ndelete this clone\n\nwhen I start as a clone\nshow\ngo to x: (item (clone) of [x v]) y: (item (clone) of [y v])\nswitch costume to (item (clone) of [コスチューム v])\ngo to [back v] layer\nset [item v] to [0]\nforever\n    change [item v] by (10)\n    change y by (([sin v] of (item) ) * (0.5))\nend\n\nwhen I receive [next stage v]\nclone 回数 [8] stage [1] clone [0]\nclone 回数 [9] stage [2] clone [8]\nclone 回数 [9] stage [3] clone [17]\nclone 回数 [9] stage [4] clone [26]\nclone 回数 [6] stage [5] clone [35]\nclone 回数 [7] stage [6] clone [41]\nclone 回数 [16] stage [7] clone [48]\nclone 回数 [12] stage [8] clone [64]\nclone 回数 [16] stage [9] clone [76]\nclone 回数 [3] stage [10] clone [93]\nclone 回数 [8] stage [11] clone [0]\nclone 回数 [29] stage [12] clone [96]\nclone 回数 [16] stage [13] clone [125]\nclone 回数 [18] stage [14] clone [141]\nclone 回数 [32] stage [15] clone [159]\nclone 回数 [11] stage [17] clone [217]\nclone 回数 [12] stage [18] clone [228]\nclone 回数 [19] stage [19] clone [240]\nclone 回数 [12] stage [20] clone [259]\nclone 回数 [15] stage [22] clone [271]\nclone 回数 [10] stage [23] clone [286]\nclone 回数 [8] stage [24] clone [296]\nclone 回数 [10] stage [25] clone [304]\nclone 回数 [12] stage [26] clone [314]\nclone 回数 [13] stage [27] clone [326]\nclone 回数 [12] stage [28] clone [339]\nclone 回数 [6] stage [29] clone [351]\nclone 回数 [1] stage [30] clone [357]\n\nswitch costume to (調整 v)\n\nwhen I receive [game start v]\nswitch costume to (調整 v)\n\nchange x by (-40)\nchange y by (-50)\n\nchange x by (40)\nchange y by (50)\n\nchange x by (40)\nchange y by (-50)\n\nchange y by (40)\n\nset [clone v] to [217]\n\nchange [clone v] by (-1)\n\nchange y by (-100)\n\nwhen I start as a clone\nforever\n    if <<(costume [name v]) = [カイロ]> and <<touching (platformer v)?> and <not <(動き) = [2]>>>> then\n        start sound [Coin v]\n        change [温度 v] by (15)\n        delete this clone\n    end\nend\n\ngo to x: (-150) y: (-90)\n\ncreate clone of (_myself_ v)\n\nchange x by (30)\n\nchange x by (40)\n\nwhen I start as a clone\nif <[16] = (ステージ)> then\n    set x to (3000)\n    switch costume to (調整 v)\n    repeat until <(x position) < [-239]>\n        移動 [1]\n    end\n    delete this clone\nend\n\ndefine 移動 (コスチューム)\nswitch costume to (調整 v)\ngo to [front v] layer\nchange x by (-2)\nswitch costume to (コスチューム)\n\nbroadcast (scroll v)\n\nwhen I receive [scroll v]\nif <(ステージ) = [16]> then\n    set [カイロ v] to [0]\n    repeat (100)\n        change [カイロ v] by (1)\n        wait until <(item (カイロ) of [カイロ　x v]) < (scroll speed)>\n        set [clone v] to (item (カイロ) of [カイロ clone v])\n        create clone of (_myself_ v)\n    end\nend\n\nchange [clone v] by (1)\ncreate clone of (_myself_ v)\n\nforever\n    delete (327) of [コスチューム v]\nend\n\nwhen I start as a clone\nforever\n    if <<(動き) = [2]> and <touching (platformer v)?>> then\n        set [ghost v] effect to (50)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nchange y by (20)\n\nchange y by (-20)\n\nchange y by (-40)\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    forever\n        switch costume to (カイロ2 v)\n        repeat (5)\n            next costume\n            if <touching (platformer v)?> then\n                broadcast (end v)\n            end\n        end\n    end\nend\n\nwhen I receive [end v]\nshow\ngo to x: (0) y: (0)\ngo to [front v] layer\nswitch costume to (www v)\nstop [all v]\n\nwhen flag clicked\nhide\n\n@スプライト4\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\n