black PLATFORMER＜能力＞

Instructions: この時イントロ全然上手じゃないけど\nプラットフォーマーは完璧にできたからイントロ見て\n遊ぶのやめるのはやめて〜！\n旗 flag×2\n(日本語は下)\n(The translation is Google Translate.)\n\nOperate with AWSD, arrow keys, and space. \n---------------------------Gimmick----------------------------\nspring\nneedle\nenemy\nDummy wall\nAdvancing needle\nSpinning magma and needles\nlaser\nkey\nSomething like Belcon\nmagma\nwater\nThe ground comes and goes\nability\n-----------------------------------------------------------------\n\n--------------------------Ability--------------------------------\nSpeed up\nJumping power UP\nThe judgment of the ground, needle, and magma is reversed.\nPlayer turns iridescent.\n-----------------------------------------------------------------\nI made it all myself!\n\n\nAWSD・矢印キー・スペースで操作。\nモバイルは画面タップで動いたりしゃがめます。\n\n---------------------------ギミック----------------------------\nばね\n針\n敵\nダミーの壁\n進んでくる針\n回るマグマ・針\nレーザー\n鍵\nベルコンのようなもの\nマグマ\n水\n地面が出たり消えたりする\n能力\n-----------------------------------------------------------------\n\n--------------------------能力----------------------------------\nスピードUP\nジャンプ力UP\n地面と針・マグマの判定が逆になる\nプレイヤー虹色になって回る\n-----------------------------------------------------------------\n全部自分で作りました！\nこんなに面白いのに伸びが悪i((((殴　決めつけるな

@Stage\n\nwhen flag clicked\nforever\n    if <<(stage) > [20]> and <[23] > (stage)>> then\n        switch backdrop to (背景2 v)\n    else\n        switch backdrop to (背景1 v)\n    end\nend\n\n@キャラクター\n\ndefine 初期設定\nset [key v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nset [敵の表示 v] to [0]\nset [表示してよいか敵2 v] to [0]\nswitch costume to (コスチューム1 v)\npoint in direction (90)\ngo to x: (-190) y: (-50)\n\nwhen flag clicked\nshow\nset [skip v] to [0]\nset [能力 v] to [0]\nset [おなくなり数 v] to [0]\nset [stage v] to [1]\nswitch costume to (コスチューム1 v)\n初期設定\nforever\n    if <(許可) = [0]> then\n        point in direction ((90) + ((100) * ([sin v] of (X) )))\n        if <(能力) = [3]> then\n            if <(能力) = [2]> then\n                if <<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> then\n                    change [x v] by (2)\n                end\n            else\n                if <<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> then\n                    change [x v] by (1)\n                end\n            end\n            if <(能力) = [2]> then\n                if <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>> then\n                    change [x v] by (-2)\n                end\n            else\n                if <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>> then\n                    change [x v] by (-1)\n                end\n            end\n            set [x v] to ((X) * (0.89))\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 (-5)\n                                    change x by ((0) - (X))\n                                    if <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>> then\n                                        if <(X) > [0]> then\n                                            set [x v] to [-9]\n                                        else\n                                            set [x v] to [9]\n                                        end\n                                        set [y v] to [13]\n                                        broadcast (音 v)\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 ((Y) * (-1))\n                set [y v] to [0]\n            end\n            change y by (-1)\n            if <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>> then\n                if <touching (針 v)?> then\n                    set [y v] to [13]\n                    broadcast (音 v)\n                end\n            end\n            change y by (1)\n            if <<(y position) < [-165]> or <<touching (地面 v)?> or <touching (鍵壁 v)?>>> then\n                change [おなくなり数 v] by (1)\n                change [skip v] by (1)\n                broadcast (音３ v)\n                初期設定\n            end\n            if <[220] < (x position)> then\n                set [skip v] to [0]\n                set [敵の表示 v] to [0]\n                broadcast (ネクスト v)\n                初期設定\n            end\n            if <<<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>> or <key (s v) pressed?>> then\n                switch costume to (コスチューム8 v)\n            else\n                switch costume to (コスチューム7 v)\n            end\n            if <touching (敵 v)?> then\n                if <((y position) - (18)) > ([y position v] of [敵 v])> then\n                    set [敵の表示 v] to [1]\n                    set [y v] to [8]\n                    broadcast (音 v)\n                else\n                    change [skip v] by (1)\n                    change [おなくなり数 v] by (1)\n                    set [敵の表示 v] to [0]\n                    broadcast (音３ v)\n                    初期設定\n                end\n            end\n            if <touching (ばね v)?> then\n                if <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>> then\n                    set [y v] to [20]\n                    broadcast (音2 v)\n                else\n                    set [y v] to [10]\n                    broadcast (音 v)\n                end\n            end\n            if <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>> then\n                if <touching (水 v)?> then\n                    if <(Y) < [0]> then\n                        change [y v] by (0.5)\n                        change y by (Y)\n                    else\n                        change [y v] by (0.1)\n                        change y by (Y)\n                    end\n                end\n            end\n            if <touching (右に進む v)?> then\n                change [x v] by (0.5)\n            end\n            if <touching (左に進む v)?> then\n                change [x v] by (-0.5)\n            end\n        else\n            if <(能力) = [2]> then\n                if <<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> then\n                    change [x v] by (2)\n                end\n            else\n                if <<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> then\n                    change [x v] by (1)\n                end\n            end\n            if <(能力) = [2]> then\n                if <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>> then\n                    change [x v] by (-2)\n                end\n            else\n                if <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>> then\n                    change [x v] by (-1)\n                end\n            end\n            set [x v] to ((X) * (0.89))\n            change x by (X)\n            if <<touching (地面 v)?> or <<touching (レーザー端 v)?> or <<touching (レーザー端2 v)?> or <<touching (動く地面 v)?> or <<<touching (鍵壁 v)?> or <touching (変更地面 v)?>> or <touching (変更地面2 v)?>>>>>> then\n                change y by (1)\n                if <<touching (地面 v)?> or <<touching (レーザー端 v)?> or <<touching (レーザー端2 v)?> or <<touching (動く地面 v)?> or <<<touching (鍵壁 v)?> or <touching (変更地面 v)?>> or <touching (変更地面2 v)?>>>>>> then\n                    change y by (1)\n                    if <<touching (地面 v)?> or <<touching (レーザー端 v)?> or <<touching (レーザー端2 v)?> or <<touching (動く地面 v)?> or <<<touching (鍵壁 v)?> or <touching (変更地面 v)?>> or <touching (変更地面2 v)?>>>>>> then\n                        change y by (1)\n                        if <<touching (地面 v)?> or <<touching (レーザー端 v)?> or <<touching (レーザー端2 v)?> or <<touching (動く地面 v)?> or <<<touching (鍵壁 v)?> or <touching (変更地面 v)?>> or <touching (変更地面2 v)?>>>>>> then\n                            change y by (1)\n                            if <<touching (地面 v)?> or <<touching (レーザー端 v)?> or <<touching (レーザー端2 v)?> or <<touching (動く地面 v)?> or <<<touching (鍵壁 v)?> or <touching (変更地面 v)?>> or <touching (変更地面2 v)?>>>>>> then\n                                change y by (1)\n                                if <<touching (地面 v)?> or <<touching (レーザー端 v)?> or <<touching (レーザー端2 v)?> or <<touching (動く地面 v)?> or <<<touching (鍵壁 v)?> or <touching (変更地面 v)?>> or <touching (変更地面2 v)?>>>>>> then\n                                    change y by (-5)\n                                    change x by ((0) - (X))\n                                    if <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>> then\n                                        if <(X) > [0]> then\n                                            set [x v] to [-9]\n                                        else\n                                            set [x v] to [9]\n                                        end\n                                        set [y v] to [13]\n                                        broadcast (音 v)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n            if <not <<touching (水 v)?> and <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>>>> then\n                if <touching (水 v)?> then\n                    if <not <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>>> then\n                        change [y v] by (-0.1)\n                        change y by (Y)\n                    end\n                else\n                    change [y v] by (-1)\n                    change y by (Y)\n                end\n            end\n            if <<touching (地面 v)?> or <<touching (レーザー端 v)?> or <<touching (レーザー端2 v)?> or <<touching (動く地面 v)?> or <<<touching (鍵壁 v)?> or <touching (変更地面 v)?>> or <touching (変更地面2 v)?>>>>>> then\n                change y by ((Y) * (-1))\n                set [y v] to [0]\n            end\n            change y by (-1)\n            if <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>> then\n                if <<touching (地面 v)?> or <<touching (レーザー端 v)?> or <<touching (レーザー端2 v)?> or <<touching (動く地面 v)?> or <<<touching (鍵壁 v)?> or <touching (変更地面 v)?>> or <touching (変更地面2 v)?>>>>>> then\n                    if <not <touching (水 v)?>> then\n                        if <(能力) = [1]> then\n                            set [y v] to [17]\n                            broadcast (音 v)\n                        else\n                            set [y v] to [13]\n                            broadcast (音 v)\n                        end\n                    end\n                end\n            end\n            change y by (1)\n            if <<(y position) < [-165]> or <<touching (針 v)?> or <<touching (回る針 v)?> or <<touching (レーザー赤 v)?> or <touching (レーザー赤2 v)?>>>>> then\n                change [おなくなり数 v] by (1)\n                change [skip v] by (1)\n                broadcast (音３ v)\n                初期設定\n            end\n            if <[220] < (x position)> then\n                set [skip v] to [0]\n                set [敵の表示 v] to [0]\n                broadcast (ネクスト v)\n                初期設定\n            end\n            if <<<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>> or <key (s v) pressed?>> then\n                if <(能力) = [1]> then\n                    switch costume to (コスチューム4 v)\n                else\n                    if <(能力) = [2]> then\n                        switch costume to (コスチューム6 v)\n                    else\n                        switch costume to (コスチューム2 v)\n                    end\n                end\n            else\n                if <(能力) = [1]> then\n                    switch costume to (コスチューム3 v)\n                else\n                    if <(能力) = [2]> then\n                        switch costume to (コスチューム5 v)\n                    else\n                        switch costume to (コスチューム1 v)\n                    end\n                end\n            end\n            if <<touching (敵 v)?> or <<touching (敵2 v)?> or <<touching (敵3 v)?> or <<touching (敵4 v)?> or <<touching (敵5 v)?> or <<touching (敵6 v)?> or <<touching (敵7 v)?> or <<touching (敵8 v)?> or <<touching (敵9 v)?> or <touching (敵10 v)?>>>>>>>>>> then\n                if <touching (敵 v)?> then\n                    if <((y position) - (18)) > ([y position v] of [敵 v])> then\n                        set [敵の表示 v] to [1]\n                        set [y v] to [8]\n                        broadcast (音 v)\n                    else\n                        change [skip v] by (1)\n                        change [おなくなり数 v] by (1)\n                        set [敵の表示 v] to [0]\n                        broadcast (音３ v)\n                        初期設定\n                    end\n                else\n                    if <touching (敵2 v)?> then\n                        if <((y position) - (18)) > ([y position v] of [敵2 v])> then\n                            set [敵の表示 v] to [2]\n                            set [y v] to [8]\n                            broadcast (音 v)\n                        else\n                            change [skip v] by (1)\n                            change [おなくなり数 v] by (1)\n                            set [敵の表示 v] to [0]\n                            broadcast (音３ v)\n                            初期設定\n                        end\n                    else\n                        if <touching (敵3 v)?> then\n                            if <((y position) - (18)) > ([y position v] of [敵3 v])> then\n                                set [敵の表示 v] to [3]\n                                set [y v] to [8]\n                                broadcast (音 v)\n                            else\n                                change [skip v] by (1)\n                                change [おなくなり数 v] by (1)\n                                set [敵の表示 v] to [0]\n                                broadcast (音３ v)\n                                初期設定\n                            end\n                        else\n                            if <touching (敵4 v)?> then\n                                if <((y position) - (18)) > ([y position v] of [敵4 v])> then\n                                    set [敵の表示 v] to [4]\n                                    set [y v] to [8]\n                                    broadcast (音 v)\n                                else\n                                    change [skip v] by (1)\n                                    change [おなくなり数 v] by (1)\n                                    set [敵の表示 v] to [0]\n                                    broadcast (音３ v)\n                                    初期設定\n                                end\n                            else\n                                if <touching (敵5 v)?> then\n                                    if <((y position) - (18)) > ([y position v] of [敵5 v])> then\n                                        set [敵の表示 v] to [5]\n                                        set [y v] to [8]\n                                        broadcast (音 v)\n                                    else\n                                        change [skip v] by (1)\n                                        change [おなくなり数 v] by (1)\n                                        set [敵の表示 v] to [0]\n                                        broadcast (音３ v)\n                                        初期設定\n                                    end\n                                else\n                                    if <touching (敵6 v)?> then\n                                        if <((y position) - (18)) > ([y position v] of [敵6 v])> then\n                                            set [敵の表示 v] to [6]\n                                            set [y v] to [8]\n                                            broadcast (音 v)\n                                        else\n                                            change [skip v] by (1)\n                                            change [おなくなり数 v] by (1)\n                                            set [敵の表示 v] to [0]\n                                            broadcast (音３ v)\n                                            初期設定\n                                        end\n                                    else\n                                        if <touching (敵7 v)?> then\n                                            if <((y position) - (18)) > ([y position v] of [敵7 v])> then\n                                                set [敵の表示 v] to [7]\n                                                set [y v] to [8]\n                                                broadcast (音 v)\n                                            else\n                                                change [skip v] by (1)\n                                                change [おなくなり数 v] by (1)\n                                                set [敵の表示 v] to [0]\n                                                broadcast (音３ v)\n                                                初期設定\n                                            end\n                                        else\n                                            if <touching (敵8 v)?> then\n                                                if <((y position) - (18)) > ([y position v] of [敵8 v])> then\n                                                    set [敵の表示 v] to [8]\n                                                    set [y v] to [8]\n                                                    broadcast (音 v)\n                                                else\n                                                    change [skip v] by (1)\n                                                    change [おなくなり数 v] by (1)\n                                                    set [敵の表示 v] to [0]\n                                                    broadcast (音３ v)\n                                                    初期設定\n                                                end\n                                            else\n                                                if <touching (敵9 v)?> then\n                                                    if <((y position) - (18)) > ([x position v] of [敵9 v])> then\n                                                        set [敵の表示 v] to [9]\n                                                        set [y v] to [8]\n                                                        broadcast (音 v)\n                                                    else\n                                                        change [skip v] by (1)\n                                                        change [おなくなり数 v] by (1)\n                                                        set [敵の表示 v] to [0]\n                                                        broadcast (音３ v)\n                                                        初期設定\n                                                    end\n                                                else\n                                                    if <touching (敵10 v)?> then\n                                                        if <((y position) - (18)) > ([y position v] of [敵10 v])> then\n                                                            set [敵の表示 v] to [10]\n                                                            set [y v] to [8]\n                                                            broadcast (音 v)\n                                                        else\n                                                            change [skip v] by (1)\n                                                            change [おなくなり数 v] by (1)\n                                                            set [敵の表示 v] to [0]\n                                                            broadcast (音３ v)\n                                                            初期設定\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            if <touching (ばね v)?> then\n                if <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>> then\n                    set [y v] to [20]\n                    broadcast (音2 v)\n                else\n                    set [y v] to [10]\n                    broadcast (音 v)\n                end\n            end\n            if <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>> then\n                if <touching (水 v)?> then\n                    if <(Y) < [0]> then\n                        change [y v] by (0.5)\n                        change y by (Y)\n                    else\n                        change [y v] by (0.1)\n                        change y by (Y)\n                    end\n                end\n            end\n            if <touching (右に進む v)?> then\n                change [x v] by (0.5)\n            end\n            if <touching (左に進む v)?> then\n                change [x v] by (-0.5)\n            end\n            if <touching (動く地面 v)?> then\n                if <not <((y position) - (200)) > ([y position v] of [動く地面 v])>> then\n                    change x by (動く地面)\n                end\n            end\n            if <key (q v) pressed?> then\n                初期設定\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nrepeat (10)\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    wait (0.05) seconds\nend\n\nwhen I receive [skip v]\n初期設定\n\nwhen I receive [des v]\n初期設定\n\nwhen I receive [音 v]\nstart sound [Jump v]\n\nwhen I receive [音2 v]\nstart sound [Whiz v]\n\nwhen I receive [音３ v]\nstart sound [Crunch v]\n\nwhen I receive [タヒ v]\nset [y v] to [8]\n\nwhen I receive [棒人間 v]\nglide (1) secs to x: (0) y: (0)\npoint in direction (90)\nwait (0.5) seconds\nbroadcast (おや？ v)\n\nwhen I receive [棒人間登場 v]\nhide\nstop [other scripts in sprite v]\n\n@地面\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\nswitch costume to (コスチューム1 v)\nforever\n    if <(stage) = [29]> then\n        switch costume to (stage)\n        wait until <(能力) = [3]>\n        hide\n    else\n        show\n        switch costume to (stage)\n    end\nend\n\n@雲\n\nwhen flag clicked\nhide\ngo to x: (200) y: (150)\nforever\n    wait (pick random (5) to (8)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to [back v] layer\nshow\nglide (8) secs to x: (-200) y: (150)\ndelete this clone\n\n@イントロ壁\n\nwhen flag clicked\ngo to [front v] layer\nshow\n\nwhen I receive [イントロend v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\n@イントロ文字\n\nwhen flag clicked\nset [許可 v] to [1]\nset [ghost v] effect to (0)\nset size to (120) %\npoint in direction (90)\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (0)\nshow\nwait (0.1) seconds\ngo to [front v] layer\nwait (0.9) seconds\ngo to [front v] layer\nrepeat (5)\n    change [ghost v] effect by (5)\n    change size by (-1)\n    change y by (-15)\n    turn left (-15) degrees\nend\nrepeat (5)\n    change [ghost v] effect by (5)\n    change size by (-1)\n    change y by (-10)\n    turn left (-10) degrees\nend\nrepeat (5)\n    change [ghost v] effect by (5)\n    change size by (-1)\n    change y by (-7)\n    turn left (-7) degrees\nend\nrepeat (5)\n    change [ghost v] effect by (5)\n    change size by (-1)\n    change y by (-4)\n    turn left (-4) degrees\nend\nhide\nwait (1.5) seconds\nshow\nrepeat (5)\n    change [ghost v] effect by (-5)\n    change size by (1)\n    change y by (15)\n    turn left (15) degrees\nend\nrepeat (5)\n    change [ghost v] effect by (-5)\n    change size by (1)\n    change y by (10)\n    turn left (10) degrees\nend\nrepeat (5)\n    change [ghost v] effect by (-5)\n    change size by (1)\n    change y by (7)\n    turn left (7) degrees\nend\nrepeat (5)\n    change [ghost v] effect by (-5)\n    change size by (1)\n    change y by (4)\n    turn left (4) degrees\nend\nwait (1) seconds\nrepeat (5)\n    broadcast (イントロ v)\n    repeat (5)\n        change size by (2)\n        turn right (3) degrees\n    end\n    repeat (5)\n        change size by (1.5)\n        turn right (2) degrees\n    end\n    repeat (5)\n        change size by (-1.5)\n        turn right (-2) degrees\n    end\n    repeat (5)\n        change size by (-2)\n        turn right (-3) degrees\n    end\nend\nwait (1) seconds\nbroadcast (イントロEND v)\nrepeat (5)\n    change [ghost v] effect by (5)\n    change size by (-1)\n    change y by (-15)\n    turn left (-15) degrees\nend\nrepeat (5)\n    change [ghost v] effect by (5)\n    change size by (-1)\n    change y by (-10)\n    turn left (-10) degrees\nend\nrepeat (5)\n    change [ghost v] effect by (5)\n    change size by (-1)\n    change y by (-7)\n    turn left (-7) degrees\nend\nrepeat (5)\n    change [ghost v] effect by (5)\n    change size by (-1)\n    change y by (-4)\n    turn left (-4) degrees\nend\nset [許可 v] to [0]\nhide\n\n@イントロ☆\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (100) %\nhide\nwait (1) seconds\ngo to [front v] layer\ngo [backward v] (1) layers\n\nwhen I receive [イントロ v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nrepeat (10)\n    change size by (10)\nend\ndelete this clone\n\n@NEXT\n\nwhen flag clicked\ngo to x: (0) y: (180)\nhide\n\nwhen I receive [ネクスト v]\nset [終了next v] to [0]\ngo to x: (500) y: (0)\ngo to [front v] layer\nset [許可 v] to [1]\nset [next v] to [1]\nswitch costume to (コスチューム1 v)\nrepeat (7)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\n    change [next v] by (1)\nend\nchange [stage v] by (1)\n\nwhen I receive [skip v]\nwait (0.05) seconds\nset [終了next v] to [0]\ngo to x: (500) y: (0)\ngo to [front v] layer\nset [許可 v] to [1]\nset [next v] to [1]\nswitch costume to (コスチューム1 v)\nrepeat (7)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\n    change [next v] by (1)\nend\nchange [stage v] by (1)\n\nwhen I start as a clone\nshow\ngo to x: (500) y: (0)\nif <[1] = (next)> then\n    switch costume to (コスチューム1 v)\n    glide (1) secs to x: (0) y: (0)\n    wait until <(終了NEXT) = [1]>\n    wait (0.6) seconds\n    glide (0.4) secs to x: (500) y: (0)\n    set [許可 v] to [0]\nelse\n    if <[2] = (next)> then\n        switch costume to (コスチューム2 v)\n        glide (0.9) secs to x: (0) y: (0)\n        wait until <(終了NEXT) = [1]>\n        wait (0.5) seconds\n        glide (0.5) secs to x: (500) y: (0)\n    else\n        if <[3] = (next)> then\n            switch costume to (コスチューム1 v)\n            glide (0.8) secs to x: (0) y: (0)\n            wait until <(終了NEXT) = [1]>\n            wait (0.4) seconds\n            glide (0.6) secs to x: (500) y: (0)\n        else\n            if <[4] = (next)> then\n                switch costume to (コスチューム2 v)\n                glide (0.7) secs to x: (0) y: (0)\n                wait until <(終了NEXT) = [1]>\n                wait (0.3) seconds\n                glide (0.7) secs to x: (500) y: (0)\n            else\n                if <[5] = (next)> then\n                    switch costume to (コスチューム1 v)\n                    glide (0.6) secs to x: (0) y: (0)\n                    wait until <(終了NEXT) = [1]>\n                    wait (0.2) seconds\n                    glide (0.8) secs to x: (500) y: (0)\n                else\n                    if <[6] = (next)> then\n                        switch costume to (コスチューム2 v)\n                        glide (0.5) secs to x: (0) y: (0)\n                        wait until <(終了NEXT) = [1]>\n                        wait (0.1) seconds\n                        glide (0.9) secs to x: (500) y: (0)\n                    else\n                        if <[7] = (next)> then\n                            switch costume to (コスチューム3 v)\n                            glide (0.4) secs to x: (0) y: (0)\n                            wait (1) seconds\n                            change [終了next v] by (1)\n                            glide (1) secs to x: (500) y: (0)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(許可) = [0]> then\n        change [color v] effect by (10)\n    end\nend\n\n@針\n\nwhen flag clicked\nshow\nswitch costume to (コスチューム1 v)\nforever\n    if <(stage) = [31]> then\n        switch costume to (stage)\n        wait until <(能力) = [0]>\n        hide\n    else\n        show\n        switch costume to (stage)\n    end\nend\n\n@サムネイル\n\nwhen flag clicked\nset [ghost v] effect to (100)\nshow\nforever\n    go to [front v] layer\nend\n\n@敵\n\nwhen flag clicked\nreset timer\nset [xx v] to [0]\ngo to x: (50) y: (-90)\nhide\nforever\n    point in direction ((90) + ((100) * ([sin v] of (XX) )))\n    if <<(stage) = [7]> or <(stage) = [8]>> then\n        if <(敵の表示) = [0]> then\n            show\n        else\n            hide\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    repeat (20)\n        set [xx v] to ((XX) * (0.89))\n        change [xx v] by (1)\n        change x by (XX)\n    end\n    set [xx v] to [0]\n    repeat (20)\n        set [xx v] to ((XX) * (0.89))\n        change [xx v] by (-1)\n        change x by (XX)\n    end\n    set [xx v] to [0]\nend\n\n@回る針\n\nwhen flag clicked\nhide\npoint in direction (90)\nforever\n    if <<(stage) = [9]> or <(stage) = [10]>> then\n        if <(stage) = [10]> then\n            turn left (10) degrees\n            switch costume to (コスチューム2 v)\n            go to x: (0) y: (-150)\n        else\n            turn left (5) degrees\n            switch costume to (コスチューム1 v)\n            go to x: (0) y: (0)\n        end\n        show\n    else\n        hide\n    end\nend\n\n@ばね\n\nwhen flag clicked\ngo to x: (-100) y: (0)\nhide\nforever\n    if <<(stage) = [11]> or <(stage) = [14]>> then\n        show\n        if <touching (キャラクター v)?> then\n            repeat (5)\n                next costume\n            end\n        end\n    else\n        hide\n    end\nend\n\n@看板\n\nwhen flag clicked\nhide\ngo to [front v] layer\nswitch costume to (コスチューム1 v)\nforever\n    switch costume to (stage)\nend\n\nwhen I receive [イントロend v]\nshow\n\n@レーザー端\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (コスチューム1 v)\nforever\n    if <<(stage) = [12]> or <<(stage) = [14]> or <(stage) = [17]>>> then\n        show\n    else\n        hide\n    end\nend\n\n@レーザー赤\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (コスチューム1 v)\nforever\n    if <<(stage) = [12]> or <<(stage) = [14]> or <(stage) = [17]>>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    wait (0.8) seconds\n    next costume\nend\n\n@レーザー端2\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nforever\n    if <(stage) = [13]> then\n        show\n    else\n        hide\n    end\nend\n\n@レーザー赤2\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (コスチューム1 v)\nforever\n    if <(stage) = [13]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    wait (0.8) seconds\n    next costume\nend\n\n@水\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <<(stage) = [15]> or <<(stage) = [16]> or <(stage) = [17]>>> then\n        show\n    else\n        hide\n    end\nend\n\n@右に進む\n\nwhen flag clicked\ngo to [front v] layer\nhide\nforever\n    next costume\n    wait (0.01) seconds\nend\n\nwhen flag clicked\nforever\n    if <(stage) = [18]> then\n        show\n    else\n        hide\n    end\nend\n\n@左に進む\n\nwhen flag clicked\ngo to [front v] layer\nhide\nforever\n    next costume\n    wait (0.01) seconds\nend\n\nwhen flag clicked\nforever\n    if <(stage) = [19]> then\n        show\n    else\n        hide\n    end\nend\n\n@SKIP\n\nwhen flag clicked\ngo to x: (-190) y: (150)\nhide\nforever\n    if <(SKIP) > [9]> then\n        show\n        set size to (100) %\n        if <mouse down?> then\n            if <touching (mouse-pointer v)?> then\n                repeat (2)\n                    change size by (-5)\n                end\n                wait until <not <mouse down?>>\n                if <touching (mouse-pointer v)?> then\n                    broadcast (SKIP v)\n                end\n            end\n        end\n    else\n        hide\n    end\nend\n\n@ダミー壁\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\nhide\nforever\n    if <(stage) = [22]> then\n        show\n        if <touching (キャラクター v)?> then\n            set [ghost v] effect to (50)\n        else\n            set [ghost v] effect to (0)\n        end\n    else\n        hide\n    end\nend\n\n@鍵\n\nwhen flag clicked\ngo to x: (0) y: (150)\nforever\n    if <(stage) = [23]> then\n        show\n        if <touching (キャラクター v)?> then\n            broadcast (音４ v)\n            set [key v] to [1]\n            repeat until <(key) = [0]>\n                go to (キャラクター v)\n            end\n            go to x: (0) y: (150)\n            wait (0.5) seconds\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nforever\n    repeat (8)\n        turn right (3) degrees\n    end\n    repeat (2)\n        repeat (8)\n            turn right (-3) degrees\n        end\n    end\n    repeat (8)\n        turn right (3) degrees\n    end\nend\n\nwhen I receive [音４ v]\nstart sound [Coin v]\n\n@鍵壁\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <(stage) = [23]> then\n        switch costume to (コスチューム1 v)\n        if <(key) = [1]> then\n            hide\n        else\n            show\n        end\n    else\n        if <(stage) = [25]> then\n            switch costume to (コスチューム2 v)\n            if <(key) = [1]> then\n                hide\n            else\n                show\n            end\n        else\n            if <(stage) = [27]> then\n                switch costume to (コスチューム2 v)\n                if <(key) = [1]> then\n                    hide\n                else\n                    show\n                end\n            else\n                if <(stage) = [29]> then\n                    switch costume to (コスチューム2 v)\n                    if <(key) = [1]> then\n                        hide\n                    else\n                        show\n                    end\n                else\n                    if <(stage) = [31]> then\n                        switch costume to (コスチューム2 v)\n                        if <(key) = [1]> then\n                            hide\n                        else\n                            show\n                        end\n                    else\n                        if <(stage) = [35]> then\n                            switch costume to (コスチューム2 v)\n                            if <(key) = [1]> then\n                                hide\n                            else\n                                show\n                            end\n                        else\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@進む針\n\nwhen flag clicked\ngo to x: (240) y: (0)\nhide\nforever\n    if <(stage) = [24]> then\n        wait (0.6) seconds\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nset y to (pick random (50) to (-100))\nshow\nrepeat until <<(x position) < [-230]> or <touching (キャラクター v)?>>\n    change x by (-5)\nend\nif <touching (キャラクター v)?> then\n    broadcast (des v)\nend\ndelete this clone\n\n@泡\n\nwhen flag clicked\nset [ghost v] effect to (100)\nshow\nforever\n    if <touching (水 v)?> then\n        broadcast (音５ v)\n        create clone of (_myself_ v)\n        wait (pick random (0.1) to (0.3)) seconds\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\npoint in direction (pick random (0) to (-1))\ngo to x: (([x position v] of [キャラクター v]) + (pick random (-10) to (10))) y: ([y position v] of [キャラクター v])\nrepeat until <(y position) > [170]>\n    change y by (10)\nend\ndelete this clone\n\nwhen I receive [音５ v]\nclear sound effects\nchange [pitch v] effect by (pick random (-10) to (10))\nstart sound [ポップ v]\n\n@能力\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nhide\nwait (1) seconds\nwait until <(stage) = [25]>\nshow\nwait until <touching (キャラクター v)?>\nset [key v] to [1]\nset [能力 v] to [1]\nhide\nwait until <(stage) = [27]>\nswitch costume to (コスチューム2 v)\nshow\nwait until <touching (キャラクター v)?>\nset [key v] to [1]\nset [能力 v] to [2]\nhide\nwait until <(stage) = [29]>\nswitch costume to (コスチューム3 v)\nshow\nwait until <touching (キャラクター v)?>\nset [key v] to [1]\nset [能力 v] to [3]\nhide\nwait until <(stage) = [31]>\nswitch costume to (コスチューム4 v)\nshow\nwait until <touching (キャラクター v)?>\nset [key v] to [1]\nset [能力 v] to [0]\nhide\nwait until <(stage) = [35]>\nswitch costume to (コスチューム5 v)\nshow\nwait until <touching (キャラクター v)?>\nset [key v] to [1]\nset [許可 v] to [1]\nset [能力 v] to [4]\nbroadcast (棒人間 v)\nhide\n\n@暗闇\n\nwhen flag clicked\nhide\nwait (1) seconds\nwait until <(stage) = [21]>\nshow\nrepeat until <(stage) = [23]>\n    go to (キャラクター v)\nend\nhide\n\n@見た目チェンジ\n\n@音楽\n\nwhen flag clicked\nrepeat (3)\n    play drum (3 v) for (0.25) beats\n    rest for (0.25) beats\nend\nbroadcast (kyoku1 v)\nplay drum (3 v) for (0.25) beats\nrest for (0.25) beats\nrepeat (12)\n    play drum (3 v) for (0.25) beats\n    rest for (0.25) beats\nend\nwait (1) seconds\nbroadcast (honban v)\n\nwhen I receive [kyoku1 v]\nplay drum (1 v) for (0.25) beats\nrest for (0.25) beats\nbroadcast (kyoku2 v)\nrepeat (6)\n    play drum (1 v) for (0.25) beats\n    play drum (1 v) for (0.25) beats\n    play drum (1 v) for (0.25) beats\n    play drum (1 v) for (0.25) beats\nend\n\nwhen I receive [kyoku2 v]\nrepeat (6)\n    play drum (6 v) for (0.25) beats\n    play drum (6 v) for (0.25) beats\n    play drum (6 v) for (0.25) beats\n    play drum (6 v) for (0.25) beats\nend\n\nwhen I receive [kyoku2 v]\nrepeat (12)\n    rest for (0.25) beats\n    play drum (7 v) for (0.25) beats\nend\n\nwhen I receive [kyoku2 v]\nrepeat (7)\n    play drum (13 v) for (0.2) beats\n    play drum (13 v) for (0.2) beats\n    play drum (13 v) for (0.2) beats\n    rest for (0.2) beats\nend\n\nwhen I receive [kyoku2 v]\nrepeat (6)\n    play drum (10 v) for (1) beats\nend\n\nwhen I receive [kyoku2 v]\nrepeat (3)\n    play drum (12 v) for (1) beats\n    rest for (1) beats\nend\n\nwhen I receive [honban v]\nforever\n    play drum (2 v) for (0.25) beats\n    rest for (0.25) beats\nend\n\nwhen I receive [honban v]\nforever\n    play note (60) for (0.25) beats\n    play note (60) for (0.25) beats\n    play note (62) for (0.25) beats\n    play note (64) for (0.25) beats\n    rest for (1) beats\n    play note (62) for (0.25) beats\n    play note (62) for (0.25) beats\n    play note (64) for (0.25) beats\n    play note (65) for (0.25) beats\n    rest for (1) beats\n    play note (71) for (1) beats\n    play note (69) for (0.25) beats\n    play note (67) for (1) beats\n    play note (72) for (0.25) beats\n    play note (71) for (0.25) beats\n    play note (69) for (0.25) beats\n    play note (67) for (1) beats\nend\n\nwhen I receive [honban v]\nforever\n    play drum (5 v) for (0.25) beats\n    rest for (0.25) beats\n    rest for (0.25) beats\n    rest for (0.25) beats\nend\n\n@タイム結果\n\nwhen flag clicked\nhide\n\n@動く地面\n\nwhen flag clicked\ngo to x: (150) y: (-100)\nhide\nforever\n    if <(stage) = [32]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    set [動く地面 v] to [-5]\n    repeat (21)\n        change x by (動く地面)\n    end\n    set [動く地面 v] to [-3]\n    change x by (-3)\n    set [動く地面 v] to [5]\n    repeat (21)\n        change x by (動く地面)\n    end\n    set [動く地面 v] to [3]\n    change x by (動く地面)\nend\n\ngo to x: (150) y: (-100)\n\n@敵2\n\nwhen flag clicked\ngo to x: (-200) y: (-150)\nhide\nwait (1) seconds\nforever\n    if <(stage) = [33]> then\n        if <(敵の表示) = [2]> then\n            hide\n        else\n            show\n        end\n    else\n        hide\n    end\nend\n\n@敵3\n\nwhen flag clicked\ngo to x: (-150) y: (-150)\nhide\nwait (1) seconds\nforever\n    if <(stage) = [33]> then\n        if <(敵の表示) = [3]> then\n            hide\n        else\n            show\n        end\n    else\n        hide\n    end\nend\n\n@敵4\n\nwhen flag clicked\ngo to x: (-100) y: (-150)\nhide\nwait (1) seconds\nforever\n    if <(stage) = [33]> then\n        if <(敵の表示) = [4]> then\n            hide\n        else\n            show\n        end\n    else\n        hide\n    end\nend\n\n@敵5\n\nwhen flag clicked\ngo to x: (-50) y: (-150)\nhide\nwait (1) seconds\nforever\n    if <(stage) = [33]> then\n        if <(敵の表示) = [5]> then\n            hide\n        else\n            show\n        end\n    else\n        hide\n    end\nend\n\n@敵6\n\nwhen flag clicked\ngo to x: (0) y: (-150)\nhide\nwait (1) seconds\nforever\n    if <(stage) = [33]> then\n        if <(敵の表示) = [6]> then\n            hide\n        else\n            show\n        end\n    else\n        hide\n    end\nend\n\n@敵7\n\nwhen flag clicked\ngo to x: (50) y: (-150)\nhide\nwait (1) seconds\nforever\n    if <(stage) = [33]> then\n        if <(敵の表示) = [7]> then\n            hide\n        else\n            show\n        end\n    else\n        hide\n    end\nend\n\n@敵8\n\nwhen flag clicked\ngo to x: (100) y: (-150)\nhide\nwait (1) seconds\nforever\n    if <(stage) = [33]> then\n        if <(敵の表示) = [8]> then\n            hide\n        else\n            show\n        end\n    else\n        hide\n    end\nend\n\n@敵9\n\nwhen flag clicked\ngo to x: (150) y: (-150)\nhide\nwait (1) seconds\nforever\n    if <(stage) = [33]> then\n        if <(敵の表示) = [9]> then\n            hide\n        else\n            show\n        end\n    else\n        hide\n    end\nend\n\n@敵10\n\nwhen flag clicked\ngo to x: (200) y: (-150)\nhide\nwait (1) seconds\nforever\n    if <(stage) = [33]> then\n        if <(敵の表示) = [10]> then\n            hide\n        else\n            show\n        end\n    else\n        hide\n    end\nend\n\n@変更地面\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nforever\n    if <(stage) = [34]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nforever\n    next costume\n    wait (0.8) seconds\nend\n\n@変更地面2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nforever\n    if <(stage) = [34]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nswitch costume to (コスチューム2 v)\nforever\n    next costume\n    wait (0.8) seconds\nend\n\n@影\n\nwhen flag clicked\nshow\nforever\n    point towards (太陽 v)\n    go to (キャラクター v)\nend\n\n@太陽\n\nwhen flag clicked\nset size to (100) %\ngo to x: (240) y: (180)\nset [太陽 v] to [0]\nshow\nforever\n    set [太陽 v] to [5]\n    repeat (11)\n        change size by (太陽)\n        change [太陽 v] by (-1)\n        wait (0.01) seconds\n    end\nend\n\n@おや？\n\nwhen I receive [おや？ v]\nswitch costume to (コスチューム1 v)\nshow\nwait until <<key (space v) pressed?> or <mouse down?>>\nnext costume\nwait (1) seconds\nwait until <<key (space v) pressed?> or <mouse down?>>\nhide\nbroadcast (変身 v)\n\nwhen flag clicked\nhide\n\n@speace\n\nwhen flag clicked\ngo to x: (180) y: (-150)\nhide\nwait (0.5) seconds\ngo to [front v] layer\n\nwhen I receive [おや？ v]\nswitch costume to (コスチューム2 v)\nshow\nforever\n    wait (0.5) seconds\n    next costume\nend\n\nwhen I receive [変身 v]\nhide\nstop [other scripts in sprite v]\n\n@光\n\nwhen I receive [変身 v]\ngo to [back v] layer\nswitch costume to (コスチューム1 v)\nshow\nwait (1) seconds\nnext costume\nwait (0.8) seconds\nnext costume\nwait (0.5) seconds\nnext costume\nwait (0.2) seconds\nnext costume\nwait (1) seconds\nbroadcast (見えない v)\n\nwhen flag clicked\nhide\n\nwhen I receive [棒人間登場 v]\nhide\n\n@見えなくなる\n\nwhen flag clicked\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [見えない v]\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nwait (0.5) seconds\nbroadcast (棒人間登場 v)\nwait (0.5) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nset [許可 v] to [0]\nhide\n\n@レインボーマン\n\nwhen I receive [棒人間登場 v]\n初期設定\nshow\nset rotation style [all around v]\nforever\n    change [color v] effect by (5)\n    if <(許可) = [0]> then\n        turn right (X) degrees\n        if <<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> then\n            change [x v] by (1)\n        end\n        if <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>> then\n            change [x v] by (-1)\n        end\n        set [x v] to ((X) * (0.89))\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 (-5)\n                                change x by ((0) - (X))\n                                if <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>> then\n                                    if <(X) > [0]> then\n                                        set [x v] to [-9]\n                                    else\n                                        set [x v] to [9]\n                                    end\n                                    set [y v] to [13]\n                                    broadcast (音 v)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        if <not <<touching (水 v)?> and <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>>>> then\n            if <touching (水 v)?> then\n                if <not <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>>> then\n                    change [y v] by (-0.1)\n                    change y by (Y)\n                end\n            else\n                change [y v] by (-1)\n                change y by (Y)\n            end\n        end\n        if <<touching (地面 v)?> or <<touching (レーザー端 v)?> or <<touching (レーザー端2 v)?> or <<touching (動く地面 v)?> or <<<touching (鍵壁 v)?> or <touching (変更地面 v)?>> or <touching (変更地面2 v)?>>>>>> then\n            change y by ((Y) * (-1))\n            set [y v] to [0]\n        end\n        change y by (-1)\n        if <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>> then\n            if <<touching (地面 v)?> or <<touching (レーザー端 v)?> or <<touching (レーザー端2 v)?> or <<touching (動く地面 v)?> or <<<touching (鍵壁 v)?> or <touching (変更地面 v)?>> or <touching (変更地面2 v)?>>>>>> then\n                if <not <touching (水 v)?>> then\n                    if <(能力) = [1]> then\n                        set [y v] to [17]\n                        broadcast (音 v)\n                    else\n                        set [y v] to [13]\n                        broadcast (音 v)\n                    end\n                end\n            end\n        end\n        change y by (1)\n        if <<(y position) < [-165]> or <<touching (針 v)?> or <<touching (回る針 v)?> or <<touching (レーザー赤 v)?> or <touching (レーザー赤2 v)?>>>>> then\n            change [おなくなり数 v] by (1)\n            change [skip v] by (1)\n            broadcast (音３ v)\n            初期設定\n        end\n        if <[220] < (x position)> then\n            set [skip v] to [0]\n            set [敵の表示 v] to [0]\n            broadcast (ネクスト v)\n            初期設定\n        end\n        if <touching (ばね v)?> then\n            if <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>> then\n                set [y v] to [20]\n                broadcast (音2 v)\n            else\n                set [y v] to [10]\n                broadcast (音 v)\n            end\n        end\n        if <<key (up arrow v) pressed?> or <<<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>> or <key (space v) pressed?>>> then\n            if <touching (水 v)?> then\n                if <(Y) < [0]> then\n                    change [y v] by (0.5)\n                    change y by (Y)\n                else\n                    change [y v] by (0.1)\n                    change y by (Y)\n                end\n            end\n        end\n        if <touching (右に進む v)?> then\n            change [x v] by (0.5)\n        end\n        if <touching (左に進む v)?> then\n            change [x v] by (-0.5)\n        end\n        if <touching (動く地面 v)?> then\n            if <not <((y position) - (200)) > ([y position v] of [動く地面 v])>> then\n                change x by (動く地面)\n            end\n        end\n        if <key (q v) pressed?> then\n            初期設定\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\ndefine 初期設定\nset [color v] effect to (0)\nset [key v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nset [敵の表示 v] to [0]\nset [表示してよいか敵2 v] to [0]\nswitch costume to (コスチューム1 v)\npoint in direction (90)\ngo to x: (-190) y: (-50)\n\n@タイマー\n\nwhen flag clicked\nhide\ngo to x: (-50) y: (60)\nset [タイマー v] to [0]\nset [変数宇 v] to [-1]\n\nwhen I receive [イントロend v]\nrepeat until <(stage) = [38]>\n    wait (1) seconds\n    change [タイマー v] by (1)\nend\nchange x by (((length of (タイマー)) * (40)) - (40))\nset [変数宇う v] to (length of (タイマー))\nrepeat (変数宇う)\n    create clone of (_myself_ v)\n    change x by (-40)\n    change [変数宇 v] by (1)\n    wait (0.2) seconds\nend\n\nwhen I start as a clone\nタイム\n\ndefine タイム\nshow\nswitch costume to ((letter ((length of (タイマー)) - (変数宇)) of (タイマー)) + (1))\n\n@スプライト1\n\nwhen flag clicked\nhide\nwait (1) seconds\nwait until <(stage) = [38]>\nshow\n\n@タイマー2\n\nwhen flag clicked\nhide\ngo to x: (-50) y: (-25)\nset [aaaa v] to [-1]\n\nwhen I receive [イントロend v]\nrepeat until <(stage) = [38]>\n    wait (1) seconds\n    change [タイマー v] by (1)\nend\nif <(タイマー) < (☁ sekaikiroku)> then\n    set [☁ sekaikiroku v] to (タイマー)\nend\nchange x by (((length of (☁ sekaikiroku)) * (40)) - (40))\nset [sssss v] to (length of (☁ sekaikiroku))\nrepeat (sssss)\n    create clone of (_myself_ v)\n    change x by (-40)\n    change [aaaa v] by (1)\n    wait (0.2) seconds\nend\n\nwhen I start as a clone\nタイム\n\ndefine タイム\nshow\nswitch costume to ((letter ((length of (☁ sekaikiroku)) - (aaaa)) of (☁ sekaikiroku)) + (1))\n\n