Stealt color needle platformer  ver1.0

Instructions: ☆日本語は下☆　❤️⭐️拡散お願いします\n針が見えにくいってコメントでくるけど題名は「針が同色プラットフォーマー」を英語にしただけです。\n〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜\n【English】\nPC, arrow keys, mobile, touch in the direction you want to go.\n[★★☆☆☆] Easy\nClearly checked\n【日本語】\nPCは矢印キーモバイルは進みたい方向にタッチ\n【★★☆☆☆】簡単\nクリアチェック済み

@Stage\n\nwhen I receive [ゲームスタート v]\nswitch backdrop to (884f6e14-1860-4598-9002-23f808cf484f v)\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen I receive [ゲームスタート v]\nforever\n    play sound [Starship v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (背景3 v)\n\nwhen I receive [終わり v]\nwait (1) seconds\nrepeat (5)\n    change volume by (-20)\nend\nstop all sounds\nset volume to (100) %\n\nwhen flag clicked\nforever\n    if <(…) = [1]> then\n        set volume to (0) %\n    else\n        set volume to (100) %\n    end\nend\n\n@キャラ\n\nwhen I receive [\] v]\nhide\n\nwhen [timer v] > (0.0001)\nhide variable [☁ クリアできた人数 v]\nbroadcast (最 v)\nhide\n\nwhen I receive [ゲームスタート v]\nset [… v] to [0]\nset volume to (70) %\nbroadcast (q v)\nshow\nset rotation style [left-right v]\npoint in direction (90)\nset size to (70) %\ngo to [front v] layer\ngo to x: (-200) y: (0)\nset [横に移動 v] to [0]\nset [変数 v] to [0]\nforever\n    if <<<mouse down?> and <(mouse y) < (y position)>> or <key (down arrow v) pressed?>> then\n        switch costume to (コスチューム6 v)\n    else\n        switch costume to (コスチューム5 v)\n    end\n    if <(隠し) = [1]> then\n        if <<<mouse down?> and <(mouse y) < (y position)>> or <key (down arrow v) pressed?>> then\n            switch costume to (コスチューム2 v)\n        else\n            switch costume to (コスチューム1 v)\n        end\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> then\n        point in direction (90)\n        change [横に移動 v] by (1)\n    end\n    if <<<mouse down?> and <(mouse x) < (x position)>> or <key (left arrow v) pressed?>> then\n        point in direction (-90)\n        change [横に移動 v] by (-1)\n    end\n    set [横に移動 v] to ((横に移動) * (0.89))\n    change x by (横に移動)\n    if <<touching (死なない地面 v)?> or <touching (ﾀﾋなせない！ v)?>> then\n        change y by (1)\n        if <<touching (死なない地面 v)?> or <touching (ﾀﾋなせない！ v)?>> then\n            change y by (1)\n            if <<touching (死なない地面 v)?> or <touching (ﾀﾋなせない！ v)?>> then\n                change y by (1)\n                if <<touching (死なない地面 v)?> or <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 ((横に移動) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                set [変数 v] to [10]\n                                if <[0] < (横に移動)> then\n                                    set [横に移動 v] to [-7]\n                                else\n                                    set [横に移動 v] to [7]\n                                end\n                            else\n                                set [横に移動 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)?> or <touching (ばね2 v)?>> or <touching (ばね3 v)?>> then\n        set [変数 v] to [20]\n    end\n    if <touching (死なない地面 v)?> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n            set [変数 v] to [15]\n        end\n    end\n    change y by (1)\n    change [変数 v] by (-1)\n    change y by (変数)\n    if <touching (死なない地面 v)?> then\n        change y by ((変数) * (-1))\n        set [変数 v] to [0]\n    end\n    if <<touching (死ぬ地面 v)?> and <(隠し) = [0]>> then\n        go to x: (-200) y: (0)\n        broadcast (ﾀﾋ v)\n    end\n    if <<<(y position) < [-200]> and <(隠し) = [0]>> and <not <([costume # v] of [死なない地面 v]) = [8]>>> then\n        go to x: (-200) y: (0)\n        broadcast (ﾀﾋ v)\n    end\n    if <[220] < (x position)> then\n        if <not <[] = [1]>> then\n            broadcast (メッセージ1 v)\n            set [横に移動 v] to [0]\n            repeat (1)\n                go to x: (-200) y: (0)\n            end\n            wait until <(ネクスト) = [0]>\n        end\n    end\n    if <(…) = [0]> then\nend\n\nwait (1.2) seconds\n\nwhen flag clicked\nhide\n\nwhen I receive [やり直し v]\ngo to x: (-230) y: (50)\n\nwhen I receive [ゲームスタート v]\nforever\n    if <not <([costume # v] of [死なない地面 v]) = [7]>> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nif <<(costume [number v]) = [1]> or <(costume [number v]) = [5]>> then\n    switch costume to (コスチューム3 v)\n    repeat (6)\n        change size by (-6)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <<(costume [number v]) = [2]> or <(costume [number v]) = [6]>> then\n    switch costume to (コスチューム4 v)\n    repeat (6)\n        change size by (-6)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I receive [隠し v]\nset [隠し v] to [1]\nswitch costume to (コスチューム1 v)\nwait (5) seconds\nset [隠し v] to [0]\nswitch costume to (コスチューム5 v)\n\nwhen I receive [背景白 v]\nhide\n\nwhen I receive [owata v]\nshow\n\nwhen flag clicked\nhide variable [☁ クリアできた人数 v]\n\nwhen I receive [ﾀﾋ v]\ngo to x: (-180) y: (0)\n\nwhen I receive [ゲームスタート v]\nforever\n    if <([costume # v] of [死なない地面 v]) = [7]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nforever\n    hide variable [死んだ要因 v]\nend\n\nsay [針どこいった？]\n\nset [☁ クリアできた人数 v] to [0]\n\n@死なない地面\n\nwhen I receive [最初から v]\nswitch costume to (コスチューム1 v)\n\nwhen [timer v] > (0.0001)\nhide\n\nwhen I receive [ゲームスタート v]\nset [あああああ v] to [0]\nshow\nswitch costume to (コスチューム1 v)\nforever\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nhide\n\nwhen I receive [次の背景 v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [10]> then\n        show variable [☁ クリアできた人数 v]\n        set [☁ クリアできた人数 v] to ((☁ クリアできた人数) + (1))\n        wait until <touching color (#a6bd63)?>\n    end\nend\n\n@死ぬ地面\n\nwhen I receive [メッセージ1 v]\n\nwait (1) seconds\n\nwhen [timer v] > (0.0001)\nhide\n\nwhen I receive [ゲームスタート v]\nset [あああああ v] to [0]\nshow\nswitch costume to (コスチューム1 v)\nforever\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [次の背景 v]\nnext costume\n\nswitch costume to (コスチューム6 v)\n\n@飛んでけ～ｗ\n\nwhen flag clicked\ngo to x: (465) y: (0)\nset [色 v] to [0]\nforever\n    set [color v] effect to (色)\nend\n\nwhen I start as a clone\nwait (1.3) seconds\nrepeat until <(x position) < [-464]>\n    change x by (((([abs v] of (x position) ) + (1)) / (3)) * (-1))\nend\nbroadcast (owata v)\nset [いい？ v] to [0]\nset [ネクスト v] to [0]\ngo to x: (465) y: (0)\nhide\ndelete this clone\n\nwhen I receive [メッセージ1 v]\nbroadcast (背景白 v)\nset [ネクスト v] to [1]\ngo to [front v] layer\nset [いい？ v] to [1]\nswitch costume to (コスチューム1 v)\nshow\nrepeat (7)\n    repeat until <(x position) < [.1]>\n        change x by (((x position) / (1.3)) * (-1))\n    end\n    create clone of (_myself_ v)\n    next costume\n    go to x: (465) y: (0)\nend\nbroadcast (次の背景 v)\nhide\n\nset [色 v] to ((色) + (10))\n\nwhen [timer v] > (0.01)\nhide\n\nwhen I receive [owata v]\nhide\ndelete this clone\n\nwhen flag clicked\nset [色 v] to [20]\n\nset [☁ クリアできた人数 v] to [0]\n\n@intro\n\nwhen I receive [ゲームスタート v]\nstop [other scripts in sprite v]\nbroadcast (クローン消す v)\n\nwhen flag clicked\nforever\n    if <<(イントロスキップ) > [22]> and <mouse down?>> then\n        set [イントロスキップ v] to [30]\n        stop all sounds\n        hide\n        broadcast (ゲームスタート v)\n    end\nend\n\nwhen flag clicked\nforever\n    set [イントロスキップ v] to ((イントロスキップ) + (0.033))\nend\n\nwhen flag clicked\nstart sound [Axol x Alex Skrindo - You \[NCS Release\].mp7 v]\n\nwhen I start as a clone\nif < (costume [name v]) contains [ブロック]?> then\n    show\n    set size to (100) %\n    clear graphic effects\n    point in direction (90)\n    go to x: (0) y: ((((letter (5) of (costume [name v])) * (2)) - (3)) * (-240))\n    repeat until <(え！) = [1]>\n        go to [front v] layer\n        change y by (((0) - (y position)) / (10))\n    end\n    repeat (55)\n        go to [front v] layer\n        change y by ((((((letter (5) of (costume [name v])) * (2)) - (3)) * (-100)) - (y position)) / (10))\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [10]> then\n    point in direction (90)\n    show\n    set size to (100) %\n    clear graphic effects\n    go to x: (0) y: (0)\n    forever\n        go to [back v] layer\n    end\nend\n\nwhen flag clicked\nshow\nswitch costume to (コスチューム3 v)\ncreate clone of (_myself_ v)\nreset timer\nset [color v] effect to (0)\nset [pixelate v] effect to (0)\npoint in direction (90)\nset size to (100) %\nhide\n◆\nwait (1.2) seconds\n✳︎\nwait (4.3) seconds\n●\nwait (1.6) seconds\n○\nwait (2) seconds\nbroadcast (クローン消す v)\nswitch costume to (コスチューム3 v)\ncreate clone of (_myself_ v)\n✳︎\n文字\nbroadcast (クローン消す v)\nbroadcast (ゲームスタート v) and wait\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    set [x v] to (x)\n    set [y v] to (y)\n    show\n    set [ghost v] effect to (100)\n    go to x: (-249) y: (-189)\n    point in direction (0)\n    repeat until <<(x position) = (x)> and <(y position) = (y)>>\n        change [ghost v] effect by (-2)\n        turn left (((direction) - (90)) / (7)) degrees\n        change x by (((x) - (x position)) / (7))\n        change y by (((y) - (y position)) / (7))\n    end\n    set [yv v] to [0]\n    set [ghost v] effect to (10)\n    repeat until <(y position) < [-185]>\n        go to [front v] layer\n        change [brightness v] effect by (3)\n        change [ghost v] effect by (3)\n        change y by (yv)\n        turn right (yv) degrees\n        change [yv v] by (-1)\n        broadcast (2 v)\n        switch backdrop to (背景1 v)\n    end\n    delete this clone\nend\nif <(costume [number v]) = [2]> then\n    show\n    forever\n        go to (random position v)\n        point in direction (pick random (0) to (360))\n        set [ghost v] effect to (100)\n        repeat (20)\n            move (1) steps\n            change [ghost v] effect by (-5)\n            go to [front v] layer\n        end\n        repeat (20)\n            move (1) steps\n            go to [front v] layer\n            change [ghost v] effect by (5)\n        end\n        wait (pick random (0.2) to (1)) seconds\n    end\nend\nif <(costume [number v]) = [3]> then\n    show\n    go to x: (0) y: (0)\n    set size to (0) %\n    set [揺れ v] to [0]\n    repeat (55)\n        go to [back v] layer\n        go [forward v] (1) layers\n        set [揺れ v] to (((揺れ) * (0.75)) + (((100) - (size)) / (3)))\n        change size by (揺れ)\n    end\nend\nif <(costume [number v]) = [4]> then\n    go to x: (0) y: (0)\n    show\n    go to [front v] layer\n    go [forward v] (1) layers\n    set size to (4) %\n    repeat until <(size) = [101]>\n        change size by (((101) - (size)) / (9))\n    end\nend\n\ndefine ◆\ngo to x: (-215) y: (157)\nrepeat (8)\n    repeat (10)\n        switch costume to (◆ v)\n        set [x v] to (x position)\n        set [y v] to (y position)\n        create clone of (_myself_ v)\n        change x by (49)\n    end\n    set x to (-215)\n    change y by (-48)\nend\n\ndefine ✳︎\nswitch costume to (✳︎ v)\nrepeat (45)\n    create clone of (_myself_ v)\nend\n\ndefine ●\nswitch costume to (● v)\ncreate clone of (_myself_ v)\n\ndefine ○\nswitch costume to (○ v)\ncreate clone of (_myself_ v)\n\nwhen I receive [クローン消す v]\ndelete this clone\n\ndefine 文字\nswitch costume to (ブロック1 v)\ncreate clone of (_myself_ v)\nswitch costume to (ブロック2 v)\ncreate clone of (_myself_ v)\nswitch costume to (文字 v)\nrepeat (2)\n    show\n    go to x: (0) y: (0)\n    set size to (0) %\n    set [揺れ v] to [0]\n    repeat (55)\n        go to [back v] layer\n        set [揺れ v] to (((揺れ) * (0.75)) + (((100) - (size)) / (3)))\n        change size by (揺れ)\n    end\nend\nset size to (100) %\npoint in direction (90)\npoint in direction (0)\nset [傾き v] to [0]\nturn right (1) degrees\nrepeat (60)\n    change [傾き v] by (4)\n    point in direction ((85) + (([tan v] of (傾き) ) * (3)))\nend\nrepeat (2)\n    show\n    go to x: (0) y: (0)\n    set size to (0) %\n    set [揺れ v] to [0]\n    repeat (55)\n        go to [back v] layer\n        set [揺れ v] to (((揺れ) * (0.75)) + (((100) - (size)) / (3)))\n        change size by (揺れ)\n    end\nend\nset [え！ v] to [1]\nrepeat (50)\n    change [pixelate v] effect by (5)\n    change size by (-2)\nend\nswitch costume to (コスチューム1 v)\n\nwhen flag clicked\nset [え！ v] to [0]\nwait (5) seconds\nplay sound [Doorbell v] until done\n\nwhen [timer v] > (0.01)\nhide\n\n@スプライト2\n\nwhen flag clicked\nhide\n\nwhen [timer v] > (0.0001)\nhide\n\nwhen I receive [ゲームスタート v]\nforever\n    wait (pick random (5) to (7)) seconds\n    show\n    switch costume to (pick random (1) to (3))\n    create clone of (_myself_ v)\n    hide\nend\n\nwhen flag clicked\nset [ghost v] effect to (40)\nforever\n    set y to (130)\nend\n\nwhen I start as a clone\nset x to (240)\nrepeat (208)\n    change x by (-2.5)\nend\ndelete this clone\n\n@スプライト3\n\nwhen [timer v] > (0.0001)\nhide\n\nwhen I receive [ゲームスタート v]\nhide\nforever\n    if <(…) = [0]> then\n        wait (pick random (8) to (5)) seconds\n        show\n        start sound [ポップ v]\n        go to x: (-150) y: (180)\n        point in direction (90)\n        set size to (100) %\n        repeat until <[135] > (y position)>\n            change y by (((2) - (y position)) / (20))\n        end\n        wait (2.9) seconds\n        repeat until <(y position) > [207]>\n            change y by ((y position) / (20))\n        end\n        hide\n    end\nend\n\n@スプライト4\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nhide\nforever\n    go to x: (0) y: (0)\nend\n\nwhen [timer v] > (0.0001)\nswitch costume to (コスチューム1 v)\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\n\nwhen I receive [押した！ v]\nnext costume\n\n@スプライト5\n\nwhen flag clicked\nhide\n\nwhen [timer v] > (0.001)\ngo to [front v] layer\nwait (1) seconds\nshow\ngo to x: (-240) y: (-240)\nglide (0.8) secs to x: (-141) y: (-171)\nbroadcast (押した！ v)\nstart sound [クリック v]\nwait (0.2) seconds\nglide (1.7) secs to x: (-30) y: (-171)\nbroadcast (押した！ v)\nstart sound [クリック v]\nwait (0.2) seconds\nglide (1.3) secs to x: (162) y: (-171)\nbroadcast (押した！ v)\nstart sound [クリック v]\nwait (0.2) seconds\nglide (1.7) secs to x: (30) y: (-171)\nrepeat (20)\n    wait (0.025) seconds\n    change [ghost v] effect by (5)\nend\nhide\n\nswitch backdrop to (背景1 v)\n\nset [ghost v] effect to (0)\n\n@スプライト6\n\nwhen [timer v] > (0.001)\ngo to [front v] layer\ngo [backward v] (5) layers\nset size to (100) %\nshow\ngo to x: (-40) y: (0)\nset [brightness v] effect to (100)\nset [縦 v] to [35]\nset [横 v] to [20]\nrepeat (10)\n    change [brightness v] effect by (-10)\n    change size by (((130) - (size)) / (5))\n    set [縦 v] to (((縦) * (0.75)) + (((0) - (x position)) / (8.5)))\n    set [横 v] to (((横) * (0.75)) + (((0) - (y position)) / (7)))\n    change x by (縦)\n    change y by (横)\nend\nrepeat (20)\n    change size by (((100) - (size)) / (5))\n    set [縦 v] to (((縦) * (0.75)) + (((0) - (x position)) / (8.5)))\n    set [横 v] to (((横) * (0.75)) + (((0) - (y position)) / (5)))\n    change x by (縦)\n    change y by (横)\nend\n\nwhen flag clicked\nhide\n\nset size to (100) %\n\n@スプライト8\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <<(…) = [1]> and <([costume # v] of [死なない地面 v]) = [2]>> then\n        show\n        set [ghost v] effect to (30)\n    else\n        hide\n        set [ghost v] effect to (0)\n    end\nend\n\n@飛ぶ地面\n\nwhen I receive [メッセージ1 v]\n\nwait (1) seconds\n\nwhen [timer v] > (0.0001)\nhide\n\nwhen I receive [ゲームスタート v]\nset [あああああ v] to [0]\nshow\nswitch costume to (コスチューム1 v)\nforever\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [次の背景 v]\nnext costume\n\nswitch costume to (コスチューム6 v)\n\n@ばね\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nswitch costume to (コスチューム1  v)\n\nwhen flag clicked\nforever\n    if <touching (キャラ v)?> then\n        switch costume to (コスチューム2 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム3 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム4 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム5 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム6 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム7 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム8 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム9 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム8 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム7 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム6 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム5 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム4 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム3 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム2 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム1 v)\n        wait until <not <touching (キャラ v)?>>\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <([costume # v] of [死なない地面 v]) = [6]> then\n        show\n    end\n    if <([costume # v] of [死なない地面 v]) = [7]> then\n        hide\n    end\n    if <([costume # v] of [死なない地面 v]) = [9]> then\n        show\n    end\n    if <([costume # v] of [死なない地面 v]) = [10]> then\n        hide\n    end\nend\n\n@ばね2\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nswitch costume to (コスチューム1  v)\n\nwhen flag clicked\nforever\n    if <touching (キャラ v)?> then\n        switch costume to (コスチューム2 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム3 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム4 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム5 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム6 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム7 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム8 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム9 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム8 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム7 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム6 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム5 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム4 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム3 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム2 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム1 v)\n        wait until <not <touching (キャラ v)?>>\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <([costume # v] of [死なない地面 v]) = [9]> then\n        show\n    end\n    if <([costume # v] of [死なない地面 v]) = [10]> then\n        hide\n    end\nend\n\n@ばね3\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nswitch costume to (コスチューム1  v)\n\nwhen flag clicked\nforever\n    if <touching (キャラ v)?> then\n        switch costume to (コスチューム2 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム3 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム4 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム5 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム6 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム7 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム8 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム9 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム8 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム7 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム6 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム5 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム4 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム3 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム2 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム1 v)\n        wait until <not <touching (キャラ v)?>>\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <([costume # v] of [死なない地面 v]) = [9]> then\n        show\n    end\n    if <([costume # v] of [死なない地面 v]) = [10]> then\n        hide\n    end\nend\n\n