Super Platformer 2! #games
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\n\nwhen I receive [game start v]\nset [ステージ v] to [1]\nforever\n    start sound [Plugged \(post mastering\)2 v]\n    wait (182.31) seconds\nend\n\nwhen flag clicked\nhide variable [ex:time v]\nhide variable [time v]\nset [ステージ v] to [1]\n\nwhen I receive [game start v]\nreset timer\n\nwhen I receive [next stage v]\nif <(ステージ) = [31]> then\n    set [ex:time v] to (timer)\n    show variable [ex:time v]\n    show variable [time v]\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [17]> then\n    hide variable [time v]\n    reset timer\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [13]> then\n    set [time v] to (timer)\n    show variable [ex:time v]\n    show variable [time v]\nend\n\n@PLATFORMER\n\nwhen I receive [next stage v]\nforever\n    if <(ステージ) = [2]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [3]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-240) y: (0)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [3]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [4]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-186) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [4]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [5]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-210) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [5]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [6]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-210) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [6]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [7]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-209) y: (-50)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [7]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [8]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-209) y: (-50)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [8]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [9]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-212) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [9]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [10]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-250) y: (-20)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [10]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [11]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-250) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [11]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [12]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-225) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [12]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [13]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-225) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [13]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [14]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-186) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [14]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [15]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [15]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [16]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [16]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [17]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [17]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [18]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [18]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [19]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [19]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [20]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [20]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [21]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [21]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [22]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [23]> then\n        if <(x position) > [230]> then\n            next backdrop\n            set [ステージ v] to [24]\n            broadcast (NEXT STAGE v)\n            broadcast (STAGE24 v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [24]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [25]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [26]> then\n        if <(x position) > [240]> then\n            next costume\n            set [ステージ v] to [27]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [27]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [28]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [28]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [29]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [29]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [30]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [30]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [31]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [31]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [32]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [復活地　ｘ v] to [-210]\nset [復活地　ｙ v] to [0]\nforever\n    if <(ステージ) = [23]> then\n        set [復活地　ｘ v] to [-210]\n        set [復活地　ｙ v] to [100]\n    end\n    if <(ステージ) = [24]> then\n        set [復活地　ｘ v] to [-210]\n        set [復活地　ｙ v] to [-13]\n    end\n    if <(ステージ) = [26]> then\n        set [復活地　ｘ v] to [0]\n        set [復活地　ｙ v] to [200]\n    end\n    if <(ステージ) = [27]> then\n        set [復活地　ｘ v] to [-240]\n        set [復活地　ｙ v] to [0]\n    end\nend\n\nwhen flag clicked\nset [ステージ v] to [1]\nforever\n    if <(ステージ) = [1]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [2]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-240) y: (0)\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [next stage v]\nset [warp v] to [0]\nforever\n    if <touching (スプライト1 v)?> then\n        broadcast (ボタン v)\n    end\nend\n\nwhen flag clicked\nset [warp v] to [0]\nforever\n    if <(warp) = [1]> then\n        hide\n        forever\n            go to (warp v)\n            if <(warp) = [0]> then\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(warp) = [0]> then\n        show\n    end\n    if <(warp) = [1]> then\n        hide\n    end\nend\n\nwhen I receive [next stage v]\nforever\n    if <(ステージ) = [22]> then\n        if <touching color (#c77300)?> then\n            set [y v] to [0]\n            switch costume to (通常4 v)\n            set [x v] to [0]\n            set rotation style [left-right v]\n            repeat (10)\n                switch costume to (通常4 v)\n                change [ghost v] effect by (10)\n            end\n            go to x: (復活地　ｘ) y: (復活地　ｙ)\n            switch costume to (通常 v)\n            set [変数 v] to [0]\n            repeat (10)\n                switch costume to (通常 v)\n                change [ghost v] effect by (-10)\n            end\n        end\n    end\nend\n\ndefine 動き\nswitch costume to (通常 v)\nif <key (right arrow v) pressed?> then\n    change [x v] by (0.8)\n    switch costume to (通常2 v)\nend\nif <key (left arrow v) pressed?> then\n    change [x v] by (-0.8)\n    switch costume to (通常3 v)\nend\nset [x v] to ((x) * (0.92))\nchange x by (x)\nif <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n    change y by (1)\n    if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n        change y by (1)\n        if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n            change y by (1)\n            if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                change y by (1)\n                if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                    change y by (1)\n                    if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                        change y by (1)\n                        if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                            change x by ((0) - (x))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <[0] < (x)> then\n                                    set [x v] to [-10]\n                                else\n                                    set [x v] to [10]\n                                end\n                                set [y v] to [15]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [y v] by (-1)\nchange y by (y)\nif <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n    change y by ((0) - (y))\n    set [y v] to [0]\nend\nchange y by (-2)\nif <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n    if <key (up arrow v) pressed?> then\n        set [y v] to [18]\n    end\n    change y by (1)\nend\nif <key (down arrow v) pressed?> then\n    switch costume to (通常5 v)\nend\nif <<touching (バネ v)?> or <<touching (バネ2 v)?> or <touching (ヘルメット v)?>>> then\n    set [y v] to [23]\nend\nif <[27] = (ステージ)> then\n    if <<<touching (ビーム v)?> or <<touching (針 v)?> or <[-160] > (y position)>>> or <touching (回転針 v)?>> then\n        set [y v] to [0]\n        switch costume to (通常4 v)\n        set [x v] to [0]\n        set rotation style [left-right v]\n        repeat (10)\n            switch costume to (通常4 v)\n            change [ghost v] effect by (10)\n        end\n        broadcast (die2 v)\n        go to x: (復活地　ｘ) y: (復活地　ｙ)\n        switch costume to (通常 v)\n        set [変数 v] to [0]\n        repeat (10)\n            switch costume to (通常 v)\n            change [ghost v] effect by (-10)\n        end\n    end\nend\nif <[25] = (ステージ)> then\n    if <<<touching (ビーム v)?> or <<touching (針 v)?> or <[-160] > (y position)>>> or <touching (回転針 v)?>> then\n        set [y v] to [0]\n        switch costume to (通常4 v)\n        set [x v] to [0]\n        set rotation style [left-right v]\n        repeat (10)\n            switch costume to (通常4 v)\n            change [ghost v] effect by (10)\n        end\n        broadcast (die v)\n        go to x: (復活地　ｘ) y: (復活地　ｙ)\n        switch costume to (通常 v)\n        set [変数 v] to [0]\n        repeat (10)\n            switch costume to (通常 v)\n            change [ghost v] effect by (-10)\n        end\n    end\nend\nif <not <<(ステージ) = [27]> or <(ステージ) = [25]>>> then\n    if <<touching (回転針 v)?> or <<touching (ビーム v)?> or <<touching (針 v)?> or <[-160] > (y position)>>>> then\n        set [y v] to [0]\n        switch costume to (通常4 v)\n        set [x v] to [0]\n        set rotation style [left-right v]\n        repeat (10)\n            switch costume to (通常4 v)\n            change [ghost v] effect by (10)\n        end\n        go to x: (復活地　ｘ) y: (復活地　ｙ)\n        switch costume to (通常 v)\n        set [変数 v] to [0]\n        repeat (10)\n            switch costume to (通常 v)\n            change [ghost v] effect by (-10)\n        end\n    end\nend\n\ndefine 動き２\nswitch costume to (通常 v)\nif <key (right arrow v) pressed?> then\n    change [x v] by (0.4)\n    switch costume to (通常2 v)\nend\nif <key (left arrow v) pressed?> then\n    change [x v] by (-0.4)\n    switch costume to (通常3 v)\nend\nset [x v] to ((x) * (0.92))\nchange x by (x)\nif <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n    change y by (1)\n    if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n        change y by (1)\n        if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n            change y by (1)\n            if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                change y by (1)\n                if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                    change y by (1)\n                    if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                        change y by (1)\n                        if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                            change x by ((0) - (x))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <[0] < (x)> then\n                                    set [x v] to [-10]\n                                else\n                                    set [x v] to [10]\n                                end\n                                set [y v] to [15]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [y v] by (-1)\nchange y by (y)\nif <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n    change y by ((0) - (y))\n    set [y v] to [0]\nend\nchange y by (-2)\nif <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n    if <key (up arrow v) pressed?> then\n        set [y v] to [14]\n    end\n    change y by (1)\nend\nif <key (down arrow v) pressed?> then\n    switch costume to (通常5 v)\nend\nif <<touching (バネ v)?> or <<touching (バネ2 v)?> or <touching (ヘルメット v)?>>> then\n    set [y v] to [15]\nend\nif <<touching (ビーム v)?> or <<touching (針 v)?> or <[-160] > (y position)>>> then\n    set [y v] to [0]\n    switch costume to (通常4 v)\n    set [x v] to [0]\n    set rotation style [left-right v]\n    repeat (10)\n        switch costume to (通常4 v)\n        change [ghost v] effect by (10)\n    end\n    go to x: (復活地　ｘ) y: (復活地　ｙ)\n    switch costume to (通常 v)\n    set [変数 v] to [0]\n    repeat (10)\n        switch costume to (通常 v)\n        change [ghost v] effect by (-10)\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [23]> then\n    go to x: (-210) y: (100)\n    set rotation style [left-right v]\n    set [ghost v] effect to (0)\n    set size to (20) %\n    switch costume to (通常 v)\n    point in direction (90)\n    show\n    hide variable [x v]\n    hide variable [y v]\n    set [x v] to [0]\n    set [y v] to [0]\n    forever\n        動き２\n        if <(ステージ) = [24]> then\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <[23] < (ステージ)> then\n    go to x: (-210) y: (-20)\n    set rotation style [left-right v]\n    set [ghost v] effect to (0)\n    set size to (50) %\n    switch costume to (通常 v)\n    point in direction (90)\n    show\n    hide variable [x v]\n    hide variable [y v]\n    set [x v] to [0]\n    set [y v] to [0]\n    forever\n        動き\n        if <(ステージ) = [27]> then\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [25]> then\n    forever\n        if <touching (地面 v)?> then\n            change x by (-9)\n            if <(ステージ) = [26]> then\n                stop [this script v]\n            end\n        end\n        if <(ステージ) = [26]> then\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    go to x: (-210) y: (-20)\n    set rotation style [left-right v]\n    set [ghost v] effect to (0)\n    set size to (50) %\n    switch costume to (通常 v)\n    point in direction (90)\n    show\n    hide variable [x v]\n    hide variable [y v]\n    set [x v] to [0]\n    set [y v] to [0]\n    forever\n        動き３\n        if <(ステージ) = [28]> then\n            stop [this script v]\n        end\n    end\nend\n\ndefine 動き３\nswitch costume to (通常 v)\nif <key (right arrow v) pressed?> then\n    change [x v] by (0.3)\n    switch costume to (通常2 v)\nend\nif <key (left arrow v) pressed?> then\n    change [x v] by (-0.3)\n    switch costume to (通常3 v)\nend\nset [x v] to ((x) * (0.92))\nchange x by (x)\nif <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n    change y by (1)\n    if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n        change y by (1)\n        if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n            change y by (1)\n            if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                change y by (1)\n                if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                    change y by (1)\n                    if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                        change y by (1)\n                        if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                            change x by ((0) - (x))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <[0] < (x)> then\n                                    set [x v] to [-10]\n                                else\n                                    set [x v] to [10]\n                                end\n                                set [y v] to [15]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [y v] by (0.1)\nchange y by (y)\nif <<touching (地面 v)?> or <touching (スイッチ v)?>> then\n    change y by ((0) - (y))\n    set [y v] to [0]\nend\nchange y by (2)\nif <key (up arrow v) pressed?> then\n    set [y v] to [3]\nend\nchange y by (1)\nif <key (down arrow v) pressed?> then\n    set [y v] to [-4]\nend\nif <<touching (バネ v)?> or <<touching (バネ2 v)?> or <touching (ヘルメット v)?>>> then\n    set [y v] to [15]\nend\nif <<touching (ビーム v)?> or <<(y position) > [180]> or <<touching (回転針 v)?> or <<touching (針 v)?> or <[-160] > (y position)>>>>> then\n    set [y v] to [0]\n    switch costume to (通常4 v)\n    set [x v] to [0]\n    set rotation style [left-right v]\n    repeat (10)\n        switch costume to (通常4 v)\n        change [ghost v] effect by (10)\n    end\n    broadcast (die2 v)\n    go to x: (復活地　ｘ) y: (復活地　ｙ)\n    set [switch v] to [10]\n    switch costume to (通常 v)\n    set [変数 v] to [0]\n    repeat (10)\n        switch costume to (通常 v)\n        change [ghost v] effect by (-10)\n    end\nend\n\nwhen I receive [next stage v]\nforever\n    if <(ステージ) = [25]> then\n        if <(x position) > [240]> then\n            go to x: (0) y: (200)\n            next backdrop\n            set [ステージ v] to [26]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [next stage v]\nforever\n    if <(ステージ) = [22]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [23]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (100)\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [next stage v]\nforever\n    if <(ステージ) = [26]> then\n        repeat (5)\n            go to x: (0) y: (200)\n        end\n        stop [this script v]\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [28]> then\n    forever\n        if <key (down arrow v) pressed?> then\n            set [y v] to [0]\n            switch costume to (通常4 v)\n            set [x v] to [0]\n            set rotation style [left-right v]\n            repeat (10)\n                switch costume to (通常4 v)\n                change [ghost v] effect by (10)\n            end\n            go to x: (復活地　ｘ) y: (復活地　ｙ)\n            switch costume to (通常 v)\n            set [変数 v] to [0]\n            repeat (10)\n                switch costume to (通常 v)\n                change [ghost v] effect by (-10)\n            end\n        end\n    end\nend\n\nwhen I receive [game start v]\ngo to x: (-210) y: (13)\nset rotation style [left-right v]\nset size to (50) %\nswitch costume to (通常 v)\npoint in direction (90)\nshow\nhide variable [x v]\nhide variable [y v]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    動き\n    if <(ステージ) = [23]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [game start v]\nset [warp v] to [0]\n\n@地面\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\nif <(ステージ) = [25]> then\n    go to x: (0) y: (-20)\n    forever\n        change x by (-7)\n        if <(ステージ) = [26]> then\n            go to x: (0) y: (0)\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [die v]\ngo to x: (0) y: (-20)\n\nwhen I receive [next stage v]\nif <(ステージ) = [26]> then\n    go to x: (0) y: (0)\nend\n\nwhen I receive [game start v]\nswitch costume to (コスチューム1 v)\nset [ghost v] effect to (0)\nshow\ngo to x: (0) y: (0)\npoint in direction (90)\nforever\n    switch costume to (ステージ)\n    if <(ステージ) = [22]> then\n        turn left (2) degrees\n    else\n        point in direction (90)\n    end\n    if <(ステージ) = [23]> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@針\n\nwhen flag clicked\nshow\nswitch costume to (コスチューム2 v)\npoint in direction (90)\nset [ghost v] effect to (0)\ngo to x: (36) y: (28)\nforever\n    if <(ステージ) = [10]> then\n        set [clone v] to [1]\n        switch costume to (コスチューム1 v)\n    end\n    if <(ステージ) = [11]> then\n        switch costume to (コスチューム3 v)\n    end\n    if <(ステージ) = [12]> then\n        switch costume to (コスチューム4 v)\n    end\n    if <(ステージ) = [13]> then\n        switch costume to (コスチューム5 v)\n    end\n    if <(ステージ) = [14]> then\n        switch costume to (コスチューム6 v)\n    end\n    if <(ステージ) = [15]> then\n        switch costume to (コスチューム7 v)\n    end\n    if <(ステージ) = [16]> then\n        switch costume to (コスチューム2 v)\n    end\n    if <(ステージ) = [17]> then\n        switch costume to (コスチューム8 v)\n    end\n    if <(ステージ) = [18]> then\n        switch costume to (コスチューム9 v)\n        go to x: (0) y: (180)\n        set [ghost v] effect to (100)\n        create clone of (_myself_ v)\n        wait (2) seconds\n        forever\n            set [clone v] to [2]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [3]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (0.01) seconds\n            set [clone v] to [1]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [2]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [1]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [2]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [1]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [2]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [1]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [2]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [1]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [2]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [1]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (0.01) seconds\n            set [clone v] to [3]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [2]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n        end\n    end\nend\n\nwhen I start as a clone\nif <(clone) = [1]> then\n    if <(ステージ) = [18]> then\n        set [ghost v] effect to (0)\n        point in direction (-90)\n        go to x: (240) y: (-150)\n        go to [front v] layer\n        forever\n            repeat (10)\n                move (10) steps\n                if <<(x position) < [-240]> or <[19] = (ステージ)>> then\n                    delete this clone\n                end\n            end\n            repeat (36)\n                move (10) steps\n                turn right (10) degrees\n                if <<(x position) < [-240]> or <[19] = (ステージ)>> then\n                    delete this clone\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(clone) = [2]> then\n    if <(ステージ) = [18]> then\n        set [ghost v] effect to (0)\n        point in direction (-90)\n        go to x: (240) y: (-50)\n        go to [front v] layer\n        forever\n            repeat (10)\n                move (10) steps\n                if <<(x position) < [-240]> or <[19] = (ステージ)>> then\n                    delete this clone\n                end\n            end\n            repeat (36)\n                move (10) steps\n                turn right (10) degrees\n                if <<(x position) < [-240]> or <[19] = (ステージ)>> then\n                    delete this clone\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(clone) = [3]> then\n    if <(ステージ) = [18]> then\n        set [ghost v] effect to (0)\n        point in direction (-90)\n        go to x: (240) y: (50)\n        go to [front v] layer\n        forever\n            repeat (10)\n                move (10) steps\n                if <<(x position) < [-240]> or <[19] = (ステージ)>> then\n                    delete this clone\n                end\n            end\n            repeat (36)\n                move (10) steps\n                turn right (10) degrees\n                if <<(x position) < [-240]> or <[19] = (ステージ)>> then\n                    delete this clone\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <[19] = (ステージ)> then\n        stop [other scripts in sprite v]\n        switch costume to (コスチューム10 v)\n        set [ghost v] effect to (0)\n        go to x: (50) y: (-91)\n        switch costume to (コスチューム11 v)\n        set [ghost v] effect to (0)\n        show\n        repeat (60)\n            change x by (-1)\n        end\n        forever\n            repeat (120)\n                change x by (1)\n            end\n            repeat (120)\n                change x by (-1)\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <[4] = (clone)> then\n    show\n    go to x: (0) y: (-90)\n    forever\n        repeat (60)\n            change y by (3)\n            if <[21] = (ステージ)> then\n                delete this clone\n            end\n        end\n        repeat (60)\n            change y by (-3)\n            if <[21] = (ステージ)> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <[5] = (clone)> then\n    show\n    go to x: (100) y: (60)\n    repeat (10)\n        change y by (3)\n        if <[21] = (ステージ)> then\n            delete this clone\n        end\n    end\n    forever\n        repeat (60)\n            change y by (-3)\n            if <[21] = (ステージ)> then\n                delete this clone\n            end\n        end\n        repeat (60)\n            change y by (3)\n            if <[21] = (ステージ)> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <[6] = (clone)> then\n    show\n    go to x: (200) y: (-30)\n    repeat (20)\n        change y by (-3)\n        if <[21] = (ステージ)> then\n            delete this clone\n        end\n    end\n    forever\n        repeat (60)\n            change y by (3)\n            if <[21] = (ステージ)> then\n                delete this clone\n            end\n        end\n        repeat (60)\n            change y by (-3)\n            if <[21] = (ステージ)> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen I receive [next stage v]\nforever\n    if <[20] = (ステージ)> then\n        stop [other scripts in sprite v]\n        set [clone v] to [4]\n        switch costume to (コスチューム10 v)\n        set [ghost v] effect to (0)\n        show\n        go to x: (-100) y: (0)\n        repeat (3)\n            create clone of (_myself_ v)\n            wait (0.01) seconds\n            change [clone v] by (1)\n        end\n        repeat (30)\n            change y by (3)\n        end\n        forever\n            repeat (60)\n                if <(ステージ) = [21]> then\n                    hide\n                    stop [this script v]\n                end\n                change y by (-3)\n                if <(ステージ) = [21]> then\n                    hide\n                    stop [this script v]\n                end\n            end\n            repeat (60)\n                if <(ステージ) = [21]> then\n                    hide\n                    stop [this script v]\n                end\n                change y by (3)\n                if <(ステージ) = [21]> then\n                    hide\n                    stop [this script v]\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [next stage v]\nshow\nif <(ステージ) = [23]> then\n    stop [other scripts in sprite v]\n    set [ghost v] effect to (100)\n    switch costume to (コスチューム12 v)\n    go to x: (0) y: (38)\nend\n\nwhen I receive [stage24 v]\nstop [other scripts in sprite v]\nset [ghost v] effect to (0)\nhide\n\nwhen I receive [next stage v]\nforever\n    if <(ステージ) = [21]> then\n        stop [other scripts in sprite v]\n        hide\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [22]> then\n    set [clone v] to [10]\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\nforever\n    if <(ステージ) = [25]> then\n        switch costume to (コスチューム14 v)\n        go to x: (-240) y: (-20)\n        forever\n            if <([x position v] of [地面 v]) < [-500]> then\n                show\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    set [ghost v] effect to (0)\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [26]> then\n    hide\n    stop [other scripts in sprite v]\nend\n\nwhen I start as a clone\nforever\n    if <(ステージ) = [19]> then\n        delete this clone\n    end\nend\n\nwhen I receive [die2 v]\nhide\nstop [other scripts in sprite v]\nif <(ステージ) = [27]> then\n    set [clone v] to [50]\n    set size to (1) %\n    show\n    set [ghost v] effect to (100)\n    go to x: (0) y: (180)\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    set [clone v] to [50]\n    set size to (1) %\n    show\n    set [ghost v] effect to (100)\n    go to x: (0) y: (180)\nend\n\nwhen I receive [needle v]\nset [clone v] to [50]\ncreate clone of (_myself_ v)\nstop [this script v]\n\nwhen I start as a clone\nif <(clone) = [50]> then\n    set [ghost v] effect to (0)\n    switch costume to (コスチューム15 v)\n    set size to (100) %\n    if <(確率) = [1]> then\n        go to x: (-200) y: (230)\n        set [確率２ v] to [1]\n        repeat (75)\n            change y by (-5)\n            if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                delete this clone\n            end\n        end\n        broadcast (needle 2 v)\n        delete this clone\n    end\n    if <(確率) = [2]> then\n        go to x: (-40) y: (230)\n        set [確率２ v] to [2]\n        repeat (75)\n            change y by (-5)\n            if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                delete this clone\n            end\n        end\n        broadcast (needle 2 v)\n        delete this clone\n    end\n    if <(確率) = [3]> then\n        go to x: (130) y: (230)\n        set [確率２ v] to [3]\n        repeat (75)\n            change y by (-5)\n            if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                delete this clone\n            end\n        end\n        broadcast (needle 2 v)\n        delete this clone\n    end\n    if <(確率) = [6]> then\n        go to x: (-200) y: (-230)\n        set [確率２ v] to [6]\n        repeat (75)\n            change y by (5)\n            if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                delete this clone\n            end\n        end\n        broadcast (needle 2 v)\n        delete this clone\n    end\n    if <(確率) = [5]> then\n        go to x: (-40) y: (-230)\n        set [確率２ v] to [5]\n        repeat (75)\n            change y by (5)\n            if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                delete this clone\n            end\n        end\n        broadcast (needle 2 v)\n        delete this clone\n    end\n    if <(確率) = [4]> then\n        go to x: (130) y: (-230)\n        set [確率２ v] to [4]\n        repeat (75)\n            change y by (5)\n            if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                delete this clone\n            end\n        end\n        broadcast (needle 2 v)\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nif <(clone) = [50]> then\n    forever\n        turn right (3) degrees\n    end\nend\n\nwhen I start as a clone\nif <(ステージ) = [27]> then\n    if <(clone) = [51]> then\n        set size to (100) %\n        switch costume to (コスチューム13 v)\n        if <(確率２) = [1]> then\n            go to x: (-200) y: (-200)\n            point in direction (-45)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-200]> or <[200] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [2]> then\n            go to x: (-40) y: (-200)\n            point in direction (-45)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-200]> or <[200] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [3]> then\n            go to x: (130) y: (-200)\n            point in direction (-45)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-200]> or <[200] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [4]> then\n            go to x: (130) y: (200)\n            point in direction (135)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-200]> or <[200] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [5]> then\n            go to x: (-40) y: (200)\n            point in direction (135)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-200]> or <[200] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [6]> then\n            go to x: (-200) y: (200)\n            point in direction (135)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-200]> or <[200] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [needle 2 v]\nset [clone v] to [51]\nwait (0.01) seconds\ncreate clone of (_myself_ v)\nset [clone v] to [52]\nwait (0.01) seconds\ncreate clone of (_myself_ v)\nset [clone v] to [53]\nwait (0.01) seconds\ncreate clone of (_myself_ v)\nset [clone v] to [50]\n\nwhen I start as a clone\nif <(ステージ) = [27]> then\n    if <(clone) = [52]> then\n        set size to (100) %\n        switch costume to (コスチューム13 v)\n        if <(確率２) = [1]> then\n            go to x: (-200) y: (-180)\n            point in direction (0)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [190]> or <[-190] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [2]> then\n            go to x: (-40) y: (-180)\n            point in direction (0)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-190]> or <[190] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [3]> then\n            go to x: (130) y: (-180)\n            point in direction (0)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-190]> or <[190] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [4]> then\n            go to x: (130) y: (180)\n            point in direction (180)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-190]> or <[190] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [5]> then\n            go to x: (-40) y: (180)\n            point in direction (180)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-190]> or <[190] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [6]> then\n            go to x: (-200) y: (180)\n            point in direction (180)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-190]> or <[190] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n    end\nend\n\nwhen I start as a clone\nif <(ステージ) = [27]> then\n    if <(clone) = [53]> then\n        switch costume to (コスチューム13 v)\n        set size to (100) %\n        if <(確率２) = [1]> then\n            go to x: (-200) y: (-200)\n            point in direction (45)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-200]> or <[200] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [2]> then\n            go to x: (-40) y: (-200)\n            point in direction (45)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-200]> or <[200] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [3]> then\n            go to x: (130) y: (-200)\n            point in direction (45)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-200]> or <[200] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [4]> then\n            go to x: (130) y: (200)\n            point in direction (-135)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-200]> or <[200] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [5]> then\n            go to x: (-40) y: (200)\n            point in direction (-135)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-200]> or <[200] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n        if <(確率２) = [6]> then\n            go to x: (-200) y: (200)\n            point in direction (-135)\n            repeat until <<<(x position) < [-240]> or <[240] < (x position)>> or <<(y position) < [-200]> or <[200] < (y position)>>>\n                move (5) steps\n                if <<(ステージ) = [28]> or <(switch 2) = [1]>> then\n                    delete this clone\n                end\n            end\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [29]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [31]> then\n    hide\nend\n\nwhen I receive [game start v]\nshow\nswitch costume to (コスチューム2 v)\nset size to (100) %\npoint in direction (90)\nset [ghost v] effect to (0)\ngo to x: (36) y: (28)\nforever\n    if <(ステージ) = [10]> then\n        set [clone v] to [1]\n        switch costume to (コスチューム1 v)\n    end\n    if <(ステージ) = [11]> then\n        switch costume to (コスチューム3 v)\n    end\n    if <(ステージ) = [12]> then\n        switch costume to (コスチューム4 v)\n    end\n    if <(ステージ) = [13]> then\n        switch costume to (コスチューム5 v)\n    end\n    if <(ステージ) = [14]> then\n        switch costume to (コスチューム6 v)\n    end\n    if <(ステージ) = [15]> then\n        switch costume to (コスチューム7 v)\n    end\n    if <(ステージ) = [16]> then\n        switch costume to (コスチューム2 v)\n    end\n    if <(ステージ) = [17]> then\n        switch costume to (コスチューム8 v)\n    end\n    if <(ステージ) = [18]> then\n        switch costume to (コスチューム9 v)\n        go to x: (0) y: (180)\n        set [ghost v] effect to (100)\n        create clone of (_myself_ v)\n        wait (2) seconds\n        forever\n            set [clone v] to [2]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [3]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (0.01) seconds\n            set [clone v] to [1]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [2]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [1]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [2]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [1]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [2]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [1]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [2]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [1]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [2]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [1]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (0.01) seconds\n            set [clone v] to [3]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n            set [clone v] to [2]\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n            wait (2) seconds\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(ステージ) = [29]> then\n        delete this clone\n    end\nend\n\n@ビーム\n\nwhen flag clicked\nhide\n\nwhen I receive [ボタン v]\nif <(ステージ) = [6]> then\n    hide\nend\n\nwhen flag clicked\nforever\n    if <[19] = (ステージ)> then\n        stop [other scripts in sprite v]\n        set [color v] effect to (0)\n        show\n        switch costume to (コスチューム2 v)\n        set [ghost v] effect to (0)\n        go to x: (50) y: (-91)\n        repeat (60)\n            change x by (1)\n        end\n        forever\n            repeat (120)\n                change x by (-1)\n            end\n            repeat (120)\n                change x by (1)\n            end\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <[20] = (ステージ)> then\n    hide\n    stop [other scripts in sprite v]\nend\n\nwhen I start as a clone\nif <(針) = [1]> then\n    show\n    point in direction (90)\n    go to x: (200) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [2]> then\n    point in direction (135)\n    show\n    go to x: (200) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [3]> then\n    point in direction (180)\n    show\n    go to x: (200) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [4]> then\n    point in direction (-135)\n    show\n    go to x: (200) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [5]> then\n    point in direction (-90)\n    show\n    go to x: (200) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [6]> then\n    point in direction (-45)\n    show\n    go to x: (200) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [7]> then\n    point in direction (0)\n    show\n    go to x: (200) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [8]> then\n    point in direction (45)\n    show\n    go to x: (200) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [21]> then\n    show\n    point in direction (90)\n    go to x: (-150) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [22]> then\n    show\n    point in direction (135)\n    go to x: (-150) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [23]> then\n    show\n    point in direction (180)\n    go to x: (-150) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [24]> then\n    show\n    point in direction (-135)\n    go to x: (-150) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [25]> then\n    show\n    point in direction (-90)\n    go to x: (-150) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [26]> then\n    show\n    point in direction (-45)\n    go to x: (-150) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [27]> then\n    show\n    point in direction (0)\n    go to x: (-150) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [28]> then\n    show\n    point in direction (45)\n    go to x: (-150) y: (120)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [11]> then\n    show\n    point in direction (90)\n    go to x: (30) y: (-100)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [12]> then\n    show\n    point in direction (135)\n    go to x: (30) y: (-100)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [13]> then\n    show\n    point in direction (180)\n    go to x: (30) y: (-100)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [14]> then\n    show\n    point in direction (-135)\n    go to x: (30) y: (-100)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [15]> then\n    show\n    point in direction (-90)\n    go to x: (30) y: (-100)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [16]> then\n    show\n    point in direction (-45)\n    go to x: (30) y: (-100)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [17]> then\n    show\n    point in direction (0)\n    go to x: (30) y: (-100)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\nif <(針) = [18]> then\n    show\n    point in direction (45)\n    go to x: (30) y: (-100)\n    go to [front v] layer\n    repeat until <<<[160] < (y position)> or <<(y position) < [-160]> or <(ステージ) = [22]>>> or <<(x position) < [-240]> or <[240] < (x position)>>>\n        move (10) steps\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(pick random (1) to (30)) = (針)> then\n    forever\n        if <(ステージ) = (pick random (22) to (23))> then\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [針 v]\nswitch costume to (コスチューム3 v)\nif <(ステージ) = [21]> then\n    if <(warp) = [13]> then\n        set [針 v] to [1]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [2]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [3]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [4]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [5]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [6]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [7]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [8]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n    end\n    if <(warp) = [14]> then\n        set [針 v] to [11]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [12]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        set [針 v] to [13]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [14]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [15]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [16]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [17]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [18]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n    end\n    if <(warp) = [15]> then\n        set [針 v] to [21]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [22]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [23]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [24]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [25]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [26]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [27]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        set [針 v] to [28]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [22]> then\n    stop [other scripts in sprite v]\n    set [針 v] to [100]\n    hide\n    stop [this script v]\nend\n\nwhen I receive [next stage v]\nforever\n    if <(ステージ) = [23]> then\n        stop [other scripts in sprite v]\n        show\n        go to x: (0) y: (-142)\n        set [ghost v] effect to (0)\n        switch costume to (コスチューム4 v)\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [24]> then\n    hide\nend\n\nwhen I start as a clone\nforever\n    set [ghost v] effect to (0)\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [25]> then\n    show\n    go to [front v] layer\n    go to x: (234) y: (-84)\n    forever\n        switch costume to (コスチューム5 v)\n        if <([x position v] of [地面 v]) < [-6700]> then\n            hide\n        else\n            show\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [26]> then\n    stop [other scripts in sprite v]\n    show\n    switch costume to (コスチューム6 v)\n    go to x: (0) y: (-161)\nend\n\nwhen I start as a clone\nif <(ステージ) = [23]> then\n    delete this clone\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    stop [other scripts in sprite v]\n    show\n    go to x: (0) y: (-101)\n    go to [back v] layer\n    switch costume to (コスチューム7 v)\n    forever\n        if <(switch 2) = [1]> then\n            switch costume to (コスチューム7 v)\n        end\n        if <(switch 2) = [2]> then\n            switch costume to (コスチューム8 v)\n        end\n        if <(switch 2) = [3]> then\n            switch costume to (コスチューム9 v)\n        end\n    end\nend\n\nwhen I receive [ボタン v]\nif <(switch) = [0]> then\n    hide\nend\n\nwhen I receive [die2 v]\nshow\n\nwhen I receive [next stage v]\nhide\nset [clone v] to [50]\nswitch costume to (コスチューム10 v)\nif <(ステージ) = [28]> then\n    forever\n        create clone of (_myself_ v)\n        wait (2) seconds\n    end\nend\n\nwhen I start as a clone\nif <(ステージ) = [28]> then\n    if <(clone) = [50]> then\n        show\n        forever\n            change [針y v] by (-1)\n            change y by (針Y)\n            if <touching (地面 v)?> then\n                set [針y v] to [20]\n            end\n            change y by (1)\n        end\n    end\nend\n\nwhen I start as a clone\nif <(ステージ) = [28]> then\n    if <(clone) = [50]> then\n        go to x: (240) y: (-100)\n        repeat until <(x position) < [-240]>\n            change x by (-5)\n        end\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nif <(ステージ) = [28]> then\n    if <(clone) = [50]> then\n        forever\n            if <(ステージ) = [29]> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(ステージ) = [28]> then\n    if <(clone) = [50]> then\n        forever\n            turn left (3) degrees\n        end\n    end\nend\n\nwhen I receive [game start v]\nhide\nforever\n    if <(ステージ) = [6]> then\n        point in direction (90)\n        go to x: (0) y: (0)\n        switch costume to (コスチューム1 v)\n        show\n        go to [back v] layer\n        set [color v] effect to (0)\n        repeat (50)\n            change [color v] effect by (-0.2)\n        end\n        forever\n            repeat (100)\n                change [color v] effect by (0.2)\n            end\n            repeat (100)\n                change [color v] effect by (-0.2)\n            end\n        end\n    end\n    if <(ステージ) = [7]> then\n        hide\n    end\nend\n\n@バネ\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(ステージ) = [17]> then\n        if <touching (platformer v)?> then\n            repeat (10)\n                next costume\n            end\n            switch costume to (コスチューム2 v)\n        end\n    end\nend\n\nwhen I start as a clone\nif <(clone) = [1]> then\n    show\n    go to x: (40) y: (-24)\n    forever\n        if <touching (platformer v)?> then\n            repeat (10)\n                next costume\n                if <(ステージ) = [18]> then\n                    delete this clone\n                end\n            end\n            switch costume to (コスチューム2 v)\n        end\n        if <(ステージ) = [18]> then\n            delete this clone\n        end\n    end\nend\n\nwhen I start as a clone\nif <(clone) = [2]> then\n    go to [front v] layer\n    show\n    go to x: (240) y: (-93)\n    switch costume to (コスチューム12 v)\n    forever\n        change x by (-10)\n        if <touching (platformer v)?> then\n            repeat (10)\n                change x by (-10)\n                next costume\n                if <<(ステージ) = [18]> or <(x position) < [-240]>> then\n                    delete this clone\n                end\n            end\n            switch costume to (コスチューム12 v)\n        end\n        if <<(ステージ) = [18]> or <(x position) < [-240]>> then\n            delete this clone\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <[17] < (ステージ)> then\n        hide\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen I receive [next stage v]\nforever\n    if <(ステージ) = [23]> then\n        stop [other scripts in sprite v]\n        switch costume to (コスチューム2 v)\n        set [ghost v] effect to (100)\n        set size to (50) %\n        show\n        go to x: (215) y: (73)\n        if <touching (platformer v)?> then\n            repeat (10)\n                next costume\n            end\n            switch costume to (コスチューム2 v)\n        end\n    end\nend\n\nwhen I receive [stage24 v]\nforever\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen I receive [game start v]\nhide\nforever\n    if <(ステージ) = [4]> then\n        show\n        set size to (100) %\n        set [ghost v] effect to (0)\n        go to x: (-75) y: (-24)\n        switch costume to (コスチューム2 v)\n        if <touching (platformer v)?> then\n            repeat (10)\n                next costume\n            end\n            switch costume to (コスチューム2 v)\n        end\n    end\n    if <(ステージ) = [5]> then\n        hide\n    end\n    if <(ステージ) = [17]> then\n        set [clone v] to [1]\n        show\n        go to x: (200) y: (-24)\n        create clone of (_myself_ v)\n        set [clone v] to [2]\n        forever\n            create clone of (_myself_ v)\n            repeat (45)\n                point in direction (90)\n            end\n        end\n    end\nend\n\n@地面２\n\nwhen flag clicked\nhide\n\nwhen I receive [ボタン v]\nif <(ステージ) = [16]> then\n    repeat (9)\n        change y by (10)\n    end\nend\n\nwhen I receive [game start v]\nhide\nforever\n    if <(ステージ) = [6]> then\n        switch costume to (コスチューム1 v)\n        go to x: (0) y: (0)\n        set [ghost v] effect to (0)\n        go to [front v] layer\n        show\n    end\n    if <(ステージ) = [7]> then\n        go to [front v] layer\n        hide\n    end\n    if <(ステージ) = [16]> then\n        switch costume to (コスチューム2 v)\n        go to [front v] layer\n        show\n    end\n    if <(ステージ) = [17]> then\n        hide\n    end\n    if <(ステージ) = [23]> then\n        go to x: (0) y: (-180)\n        switch costume to (コスチューム3 v)\n        set [ghost v] effect to (0)\n        show\n    end\n    if <(ステージ) = [24]> then\n        hide\n    end\n    if <(ステージ) = [26]> then\n        switch costume to (コスチューム4 v)\n        show\n        if <[0] = (ヘルメット)> then\n            hide\n        end\n    end\n    if <(ステージ) = [27]> then\n        show\n        go to x: (0) y: (0)\n        switch costume to (コスチューム5 v)\n    end\n    if <(ステージ) = [28]> then\n        hide\n    end\nend\n\n@スイッチ\n\nwhen I receive [ボタン v]\nif <(ステージ) = [6]> then\n    switch costume to (コスチューム2 v)\nend\nif <(ステージ) = [16]> then\n    switch costume to (コスチューム3 v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\nif <(ステージ) = [15]> then\n    switch costume to (コスチューム4 v)\n    set [switch 2 v] to [1]\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [10]> then\n        switch costume to (コスチューム12 v)\n        wait (1) seconds\n        set [switch v] to [9]\n        switch costume to (コスチューム13 v)\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    set [switch v] to [10]\n    switch costume to (コスチューム11 v)\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [3]> then\n        switch costume to (コスチューム10 v)\n        wait (1) seconds\n        set [switch v] to [2]\n        switch costume to (コスチューム11 v)\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [1]> then\n        stop [other scripts in sprite v]\n        hide\n        set [switch v] to [0]\n        stop [this script v]\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [4]> then\n        switch costume to (コスチューム8 v)\n        wait (1) seconds\n        set [switch v] to [3]\n        switch costume to (コスチューム9 v)\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [5]> then\n        switch costume to (コスチューム6 v)\n        wait (1) seconds\n        set [switch v] to [4]\n        switch costume to (コスチューム7 v)\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [7]> then\n        switch costume to (コスチューム12 v)\n        wait (1) seconds\n        set [switch v] to [6]\n        switch costume to (コスチューム13 v)\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [6]> then\n        set [switch 2 v] to [3]\n        switch costume to (コスチューム5 v)\n        wait (1) seconds\n        set [switch v] to [5]\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [8]> then\n        switch costume to (コスチューム10 v)\n        wait (1) seconds\n        set [switch v] to [7]\n        switch costume to (コスチューム11 v)\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [9]> then\n        set [switch 2 v] to [2]\n        switch costume to (コスチューム9 v)\n        wait (1) seconds\n        set [switch v] to [8]\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    switch costume to (コスチューム11 v)\nend\n\nwhen I receive [die2 v]\nif <(ステージ) = [27]> then\n    switch costume to (コスチューム11 v)\n    set [switch 2 v] to [1]\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    stop [other scripts in sprite v]\n    set [switch 2 v] to [1]\n    forever\n        set size to (50) %\n        show\n        if <(switch 2) = [1]> then\n            go to x: (-199) y: (-154)\n        end\n        if <(switch 2) = [2]> then\n            go to x: (7) y: (82)\n        end\n        if <(switch 2) = [3]> then\n            go to x: (150) y: (0)\n            repeat (125)\n                change x by (-2)\n            end\n            repeat (125)\n                change x by (2)\n            end\n        end\n    end\nend\n\nwhen I receive [die2 v]\nstop [other scripts in sprite v]\nif <(ステージ) = [27]> then\n    set [switch 2 v] to [1]\n    switch costume to (コスチューム11 v)\n    forever\n        set size to (50) %\n        show\n        if <(switch 2) = [1]> then\n            go to x: (-199) y: (-154)\n        end\n        if <(switch 2) = [2]> then\n            go to x: (7) y: (82)\n        end\n        if <(switch 2) = [3]> then\n            go to x: (150) y: (0)\n            repeat (125)\n                change x by (-2)\n            end\n            repeat (125)\n                change x by (2)\n            end\n        end\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [2]> then\n        switch costume to (コスチューム12 v)\n        wait (1) seconds\n        set [switch v] to [1]\n        switch costume to (コスチューム13 v)\n    end\nend\n\nwhen I receive [game start v]\nhide\nset size to (50) %\nswitch costume to (コスチューム1 v)\nforever\n    if <(ステージ) = [6]> then\n        go to x: (-108) y: (82)\n        show\n    end\n    if <(ステージ) = [7]> then\n        hide\n    end\n    if <(ステージ) = [16]> then\n        show\n        set size to (15) %\n        go to x: (67) y: (66)\n    end\n    if <(ステージ) = [17]> then\n        hide\n    end\nend\n\n@warp\n\nwhen flag clicked\nset [game over v] to [1]\nhide\n\nwhen I receive [next stage v]\nforever\n    if <touching (platformer v)?> then\n        if <(ステージ) = [8]> then\n            set size to (100) %\n            set [warp v] to [1]\n            repeat (15)\n                change size by (-5)\n            end\n            repeat (18)\n                change x by (10)\n            end\n            repeat (15)\n                change size by (5)\n            end\n            set [warp v] to [0]\n            hide\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [21]> then\n    stop [other scripts in sprite v]\n    go to [front v] layer\n    go to x: (10) y: (-100)\n    set [warp v] to [10]\n    show\n    switch costume to (コスチューム2 v)\n    set size to (25) %\n    set [warp v] to [13]\n    broadcast (warp v)\n    go to [front v] layer\nend\n\nwhen I receive [warp v]\nif <(ステージ) = [21]> then\n    if <(warp) = [13]> then\n        go to x: (180) y: (120)\n        repeat (15)\n            change size by (5)\n        end\n        switch costume to (コスチューム1 v)\n        broadcast (針 v)\n        wait (1) seconds\n        switch costume to (コスチューム2 v)\n        repeat (15)\n            change size by (-5)\n        end\n        set size to (15) %\n        wait (0.1) seconds\n        set [warp v] to [14]\n        broadcast (warp v)\n    end\n    if <(warp) = [14]> then\n        go to x: (10) y: (-100)\n        set size to (15) %\n        repeat (15)\n            change size by (5)\n        end\n        switch costume to (コスチューム1 v)\n        broadcast (針 v)\n        wait (1) seconds\n        switch costume to (コスチューム2 v)\n        repeat (15)\n            change size by (-5)\n        end\n        set size to (15) %\n        wait (0.1) seconds\n        set [warp v] to [15]\n        broadcast (warp v)\n    end\n    if <(warp) = [15]> then\n        go to x: (-170) y: (120)\n        set size to (15) %\n        repeat (15)\n            change size by (5)\n        end\n        switch costume to (コスチューム1 v)\n        broadcast (針 v)\n        wait (1) seconds\n        switch costume to (コスチューム2 v)\n        repeat (15)\n            change size by (-5)\n        end\n        set size to (15) %\n        wait (0.1) seconds\n        set [warp v] to [13]\n        broadcast (warp v)\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [20]> then\n    go to [front v] layer\n    hide\nend\n\nwhen I receive [next stage v]\nforever\n    if <(ステージ) = [22]> then\n        stop [other scripts in sprite v]\n        repeat (10)\n            hide\n        end\n        stop [this script v]\n    end\nend\n\nwhen I receive [next stage v]\nforever\n    if <touching (platformer v)?> then\n        if <(ステージ) = [30]> then\n            set size to (100) %\n            set [warp v] to [1]\n            broadcast (game over v)\n            repeat (15)\n                change size by (-5)\n            end\n            set [game over v] to [2]\n            hide\n            stop [all v]\n        end\n    end\nend\n\nwhen I receive [game start v]\nswitch costume to (コスチューム1 v)\nset size to (100) %\nhide\nforever\n    if <(ステージ) = [8]> then\n        show\n        set size to (100) %\n        switch costume to (コスチューム1 v)\n        go to x: (-184) y: (28)\n        forever\n            repeat (30)\n                change size by (0.4)\n            end\n            repeat (30)\n                change size by (-0.4)\n            end\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [30]> then\n    show\n    set size to (100) %\n    switch costume to (コスチューム1 v)\n    go to x: (48) y: (-43)\n    forever\n        repeat (30)\n            change size by (0.4)\n        end\n        repeat (30)\n            change size by (-0.4)\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [31]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\n@ヘルメット\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\nif <(ステージ) = [12]> then\n    go to x: (14) y: (-88)\n    show\n    switch costume to (コスチューム1 v)\n    set size to (50) %\n    forever\n        if <touching (platformer v)?> then\n            repeat (5)\n                point in direction (90)\n            end\n            repeat (36)\n                turn right (2.5) degrees\n                change size by (-2.5)\n                change [ghost v] effect by (2.5)\n            end\n            hide\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [23]> then\n    stop [other scripts in sprite v]\n    show\n    point in direction (90)\n    set size to (50) %\n    set [ghost v] effect to (0)\n    go to x: (191) y: (-143)\n    switch costume to (コスチューム2 v)\n    forever\n        if <touching (platformer v)?> then\n            repeat (10)\n                next costume\n            end\n            switch costume to (コスチューム2 v)\n        end\n    end\nend\n\nwhen I receive [stage24 v]\nforever\n    stop [other scripts in sprite v]\n    hide\n    if <(ステージ) = [25]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [26]> then\n    set [ヘルメット v] to [10]\n    set [clone v] to [1]\n    wait (0.01) seconds\n    create clone of (_myself_ v)\n    set [clone v] to [2]\n    wait (0.01) seconds\n    create clone of (_myself_ v)\n    set [clone v] to [3]\n    wait (0.01) seconds\n    create clone of (_myself_ v)\n    set [clone v] to [4]\n    wait (0.01) seconds\n    create clone of (_myself_ v)\n    set [clone v] to [5]\n    wait (0.01) seconds\n    create clone of (_myself_ v)\n    set [clone v] to [6]\n    wait (0.01) seconds\n    create clone of (_myself_ v)\n    set [clone v] to [7]\n    wait (0.01) seconds\n    create clone of (_myself_ v)\n    set [clone v] to [8]\n    wait (0.01) seconds\n    create clone of (_myself_ v)\n    set [clone v] to [9]\n    wait (0.01) seconds\n    create clone of (_myself_ v)\n    set [clone v] to [10]\n    wait (0.01) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to [front v] layer\nset size to (50) %\nswitch costume to (コスチューム1 v)\nif <(ステージ) = [26]> then\n    show\n    if <(clone) = [1]> then\n        go to x: (-231) y: (-131)\n    end\n    if <(clone) = [2]> then\n        go to x: (-185) y: (-131)\n    end\n    if <(clone) = [3]> then\n        go to x: (-139) y: (-131)\n    end\n    if <(clone) = [4]> then\n        go to x: (-93) y: (-131)\n    end\n    if <(clone) = [5]> then\n        go to x: (-45) y: (-131)\n    end\n    if <(clone) = [6]> then\n        go to x: (-1) y: (-131)\n    end\n    if <(clone) = [7]> then\n        go to x: (45) y: (-131)\n    end\n    if <(clone) = [8]> then\n        go to x: (91) y: (-131)\n    end\n    if <(clone) = [9]> then\n        go to x: (139) y: (-131)\n    end\n    if <(clone) = [10]> then\n        go to x: (185) y: (-131)\n    end\n    forever\n        if <touching (platformer v)?> then\n            repeat (5)\n                point in direction (90)\n            end\n            change [ヘルメット v] by (-1)\n            repeat (36)\n                turn right (2.5) degrees\n                change size by (-2.5)\n                change [ghost v] effect by (2.5)\n            end\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [game start v]\npoint in direction (90)\nset [ghost v] effect to (0)\nset size to (100) %\nhide\nforever\n    go to [front v] layer\n    if <(ステージ) = [13]> then\n        hide\n        stop [other scripts in sprite v]\n    end\nend\n\n@スプライト1\n\nwhen I receive [ボタン v]\nif <<(ステージ) = [16]> or <(ステージ) = [6]>> then\n    hide\n    stop [other scripts in sprite v]\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\nif <(ステージ) = [16]> then\n    set size to (15) %\n    switch costume to (コスチューム2 v)\n    go to x: (67) y: (66)\n    show\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    stop [other scripts in sprite v]\n    if <(switch) = [10]> then\n        show\n        set size to (30) %\n        switch costume to (コスチューム3 v)\n        go to x: (-199) y: (-146)\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <<(switch) = [10]> or <(switch) = [8]>> then\n        hide\n        forever\n            if <<(switch) = [9]> or <(switch) = [7]>> then\n                show\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen I receive [die2 v]\nif <(ステージ) = [27]> then\n    stop [other scripts in sprite v]\n    set [switch 2 v] to [1]\n    if <(switch) = [10]> then\n        show\n        set size to (30) %\n        switch costume to (コスチューム3 v)\n        go to x: (-199) y: (-146)\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [9]> then\n        stop [other scripts in sprite v]\n        go to x: (7) y: (90)\n        show\n        stop [this script v]\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [6]> then\n        stop [other scripts in sprite v]\n        forever\n            go to x: ([x position v] of [スイッチ v]) y: (7)\n            show\n        end\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [7]> then\n        hide\n        forever\n            if <(switch) = [6]> then\n                show\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <<(switch) = [5]> or <(switch) = [3]>> then\n        stop [other scripts in sprite v]\n        hide\n        forever\n            if <<(switch) = [4]> or <(switch) = [2]>> then\n                show\n                forever\n                    go to x: ([x position v] of [スイッチ v]) y: (7)\n                    show\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [4]> then\n        stop [other scripts in sprite v]\n        hide\n        forever\n            if <(switch) = [3]> then\n                show\n                forever\n                    go to x: ([x position v] of [スイッチ v]) y: (7)\n                    show\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [2]> then\n        stop [other scripts in sprite v]\n        hide\n        forever\n            if <(switch) = [1]> then\n                show\n                forever\n                    go to x: ([x position v] of [スイッチ v]) y: (7)\n                    show\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [ボタン v]\nif <(ステージ) = [27]> then\n    if <(switch) = [0]> then\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [game start v]\nhide\nforever\n    if <(ステージ) = [6]> then\n        set size to (50) %\n        switch costume to (コスチューム1 v)\n        go to x: (-108) y: (82)\n        show\n    end\nend\n\n@スプライト3\n\nwhen flag clicked\nhide\nforever\n    if <(ステージ) = [16]> then\n        switch costume to (コスチューム1 v)\n        show\n    end\n    if <(ステージ) = [17]> then\n        hide\n    end\n    if <(ステージ) = [31]> then\n        switch costume to (コスチューム2 v)\n        show\n    end\nend\n\n@dangerous\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    show\n    switch costume to (コスチューム1 v)\n    set [ghost v] effect to (100)\n    forever\n        if <(switch 2) = [2]> then\n            set [確率 v] to (pick random (1) to (4))\n            broadcast (dangerous v)\n            wait (8) seconds\n        end\n        if <(switch 2) = [3]> then\n            set [確率 v] to (pick random (1) to (6))\n            broadcast (dangerous v)\n            wait (5) seconds\n        end\n    end\nend\n\nwhen I receive [dangerous v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(確率) = [1]> then\n    set [ghost v] effect to (0)\n    point in direction (-90)\n    go to x: (-200) y: (230)\n    repeat (15)\n        change y by (-5)\n        if <[28] = (ステージ)> then\n            delete this clone\n        end\n    end\n    repeat (3)\n        repeat (5)\n            turn right (3) degrees\n            if <[28] = (ステージ)> then\n                delete this clone\n            end\n        end\n        repeat (5)\n            turn right (-3) degrees\n            if <[28] = (ステージ)> then\n                delete this clone\n            end\n        end\n    end\n    broadcast (needle v)\n    repeat (15)\n        change y by (5)\n        if <[28] = (ステージ)> then\n            delete this clone\n        end\n    end\n    set [ghost v] effect to (100)\n    delete this clone\nend\nif <(確率) = [2]> then\n    set [ghost v] effect to (0)\n    point in direction (-90)\n    go to x: (-30) y: (230)\n    repeat (15)\n        change y by (-5)\n    end\n    repeat (3)\n        repeat (5)\n            turn right (3) degrees\n            if <[28] = (ステージ)> then\n                delete this clone\n            end\n        end\n        repeat (5)\n            turn right (-3) degrees\n            if <[28] = (ステージ)> then\n                delete this clone\n            end\n        end\n    end\n    broadcast (needle v)\n    repeat (15)\n        change y by (5)\n        if <[28] = (ステージ)> then\n            delete this clone\n        end\n    end\n    set [ghost v] effect to (100)\n    delete this clone\nend\nif <(確率) = [3]> then\n    set [ghost v] effect to (0)\n    point in direction (-90)\n    go to x: (140) y: (230)\n    repeat (15)\n        change y by (-5)\n        if <[28] = (ステージ)> then\n            delete this clone\n        end\n    end\n    repeat (3)\n        repeat (5)\n            turn right (3) degrees\n            if <[28] = (ステージ)> then\n                delete this clone\n            end\n        end\n        repeat (5)\n            turn right (-3) degrees\n            if <[28] = (ステージ)> then\n                delete this clone\n            end\n        end\n    end\n    broadcast (needle v)\n    repeat (15)\n        change y by (5)\n        if <[28] = (ステージ)> then\n            delete this clone\n        end\n    end\n    set [ghost v] effect to (100)\n    delete this clone\nend\nif <(確率) = [4]> then\n    set [ghost v] effect to (0)\n    point in direction (90)\n    go to x: (140) y: (-230)\n    repeat (15)\n        change y by (5)\n        if <[28] = (ステージ)> then\n            delete this clone\n        end\n    end\n    repeat (3)\n        repeat (5)\n            turn right (3) degrees\n            if <[28] = (ステージ)> then\n                delete this clone\n            end\n        end\n        repeat (5)\n            turn right (-3) degrees\n            if <[28] = (ステージ)> then\n                delete this clone\n            end\n        end\n    end\n    broadcast (needle v)\n    repeat (15)\n        change y by (-5)\n        if <[28] = (ステージ)> then\n            delete this clone\n        end\n    end\n    set [ghost v] effect to (100)\n    delete this clone\nend\nif <(確率) = [5]> then\n    set [ghost v] effect to (0)\n    point in direction (90)\n    go to x: (-30) y: (-230)\n    repeat (15)\n        change y by (5)\n        if <[28] = (ステージ)> then\n            delete this clone\n        end\n    end\n    repeat (3)\n        repeat (5)\n            turn right (3) degrees\n            if <[28] = (ステージ)> then\n                delete this clone\n            end\n        end\n        repeat (5)\n            turn right (-3) degrees\n            if <[28] = (ステージ)> then\n                delete this clone\n            end\n        end\n    end\n    broadcast (needle v)\n    repeat (15)\n        change y by (-5)\n        if <[28] = (ステージ)> then\n            delete this clone\n        end\n    end\n    set [ghost v] effect to (100)\n    delete this clone\nend\nif <(確率) = [6]> then\n    set [ghost v] effect to (0)\n    point in direction (90)\n    go to x: (-200) y: (-230)\n    repeat (15)\n        change y by (5)\n        if <[28] = (ステージ)> then\n            delete this clone\n        end\n    end\n    repeat (3)\n        repeat (5)\n            turn right (3) degrees\n            if <[28] = (ステージ)> then\n                delete this clone\n            end\n        end\n        repeat (5)\n            turn right (-3) degrees\n            if <[28] = (ステージ)> then\n                delete this clone\n            end\n        end\n    end\n    broadcast (needle v)\n    repeat (15)\n        change y by (-5)\n        if <[28] = (ステージ)> then\n            delete this clone\n        end\n    end\n    set [ghost v] effect to (100)\n    delete this clone\nend\n\nif <[28] = (ステージ)> then\n    delete this clone\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [28]> then\n    show\n    switch costume to (コスチューム2 v)\n    set [ghost v] effect to (0)\n    stop [other scripts in sprite v]\n    point in direction (90)\n    go to x: (-190) y: (-90)\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [29]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen I receive [game start v]\nhide\n\n@回転針\n\nwhen I receive [next stage v]\nif <(ステージ) = [30]> then\n    stop [other scripts in sprite v]\n    go to x: (36) y: (28)\n    point in direction (90)\n    show\n    switch costume to (コスチューム17 v)\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [29]> then\n    stop [other scripts in sprite v]\n    go to x: (36) y: (28)\n    point in direction (90)\n    set [ghost v] effect to (0)\n    set size to (100) %\n    show\n    switch costume to (コスチューム2 v)\nend\n\nwhen I receive [stage24 v]\nstop [other scripts in sprite v]\nshow\ngo to x: (0) y: (180)\nswitch costume to (コスチューム1 v)\nset [clone v] to [11]\nwait (0.01) seconds\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nset [clone v] to [13]\nwait (0.01) seconds\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nset [clone v] to [14]\nwait (0.01) seconds\ncreate clone of (_myself_ v)\nwait (0.01) seconds\npoint in direction (-120)\nforever\n    move (10) steps\n    if on edge, bounce\nend\n\nwhen I start as a clone\nif <(ステージ) = [24]> then\n    switch costume to (コスチューム1 v)\n    if <(clone) = [11]> then\n        point in direction (-150)\n        forever\n            switch costume to (コスチューム1 v)\n            move (10) steps\n            if on edge, bounce\n            if <(ステージ) = [25]> then\n                delete this clone\n            end\n        end\n    end\n    if <(clone) = [12]> then\n        point in direction (180)\n        forever\n            switch costume to (コスチューム1 v)\n            move (10) steps\n            if on edge, bounce\n            if <(ステージ) = [25]> then\n                delete this clone\n            end\n        end\n    end\n    if <(clone) = [13]> then\n        point in direction (150)\n        forever\n            switch costume to (コスチューム1 v)\n            move (10) steps\n            if on edge, bounce\n            if <(ステージ) = [25]> then\n                delete this clone\n            end\n        end\n    end\n    if <(clone) = [14]> then\n        point in direction (120)\n        forever\n            switch costume to (コスチューム1 v)\n            move (10) steps\n            if on edge, bounce\n            if <(ステージ) = [25]> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\nif <(ステージ) = [25]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    set [clone v] to [21]\n    wait (0.01) seconds\n    create clone of (_myself_ v)\n    set [clone v] to [22]\n    wait (0.01) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(ステージ) = [27]> then\n    if <(clone) = [21]> then\n        go to x: (200) y: (100)\n        show\n        forever\n            repeat (200)\n                change x by (-2)\n                if <(ステージ) = [28]> then\n                    delete this clone\n                end\n            end\n            repeat (200)\n                change x by (2)\n                if <(ステージ) = [28]> then\n                    delete this clone\n                end\n            end\n        end\n    end\n    if <(clone) = [22]> then\n        go to x: (-200) y: (-100)\n        show\n        forever\n            repeat (200)\n                change x by (2)\n                if <(ステージ) = [28]> then\n                    delete this clone\n                end\n            end\n            repeat (200)\n                change x by (-2)\n                if <(ステージ) = [28]> then\n                    delete this clone\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(ステージ) = [27]> then\n    forever\n        turn right (5) degrees\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [28]> then\n    forever\n        show\n        go to x: (240) y: (-124)\n        repeat until <(x position) < [-240]>\n            change x by (-10)\n            turn left (5) degrees\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [29]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen I receive [game start v]\nhide\n\nwhen I start as a clone\nforever\n    if <(ステージ) = [29]> then\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [31]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\n@windy\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    show\n    go to x: (36) y: (28)\n    forever\n        change y by (5)\n        wait (0.01) seconds\n        go to [back v] layer\n        change x by (-3)\n        wait (0.01) seconds\n        change y by (-5)\n        wait (0.01) seconds\n        change x by (3)\n        wait (0.01) seconds\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\nif <(ステージ) = [28]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen I receive [game start v]\nhide\n\n@スプライト2\n\nwhen flag clicked\nswitch costume to (コスチューム3 v)\nset size to (100) %\nrepeat (15)\n    change size by (0.5)\nend\nrepeat (15)\n    change size by (-0.5)\nend\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nbroadcast (game start v)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [game over v]\nswitch costume to (コスチューム2 v)\n\n@スプライト4\n\nwhen flag clicked\nhide\n\n@スプライト5\n\nwhen flag clicked\ngo to [front v] layer\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\nshow\ngo to x: (89) y: (-183)\nwait (1) seconds\nglide (1) secs to x: (81) y: (-158)\nwait (0.8) seconds\nstart sound [クリック v]\nbroadcast (メッセージ1 v)\nwait (0.5) seconds\nwait (1) seconds\nglide (1) secs to x: (195) y: (-162)\nwait (0.8) seconds\nstart sound [クリック v]\nbroadcast (０ v)\nwait (1) seconds\nglide (1) secs to x: (197) y: (-182)\n\n@Screenshot 2022-08-04 19\n\nwhen flag clicked\ngo to [front v] layer\nwait (0.0001) seconds\ngo [backward v] (1) layers\nhide\n\nwhen I receive [メッセージ1 v]\nswitch costume to (screenshot 2022-08-04 20 v)\n\nwhen I receive [０ v]\nswitch costume to (screenshot 2022-08-04 2 v)\n\nwhen [timer v] > (0)\nswitch costume to (screenshot 2022-08-04 19 v)\nshow\n\n
SuperPlatfomer!1もやってみてね！\nhttps://scratch.mit.edu/projects/714577292/\n［日本語］\n※モバイル不対応\n全29ステージ\n（通常ステージ　15　隠しステージ　14）\n・使い方\n上キー：ジャンプ\n下キー：しゃがみ\n右キー、左キー：移動\n\n\n［English］\n* Not compatible with mobile\n29 stages in total\n(Normal stage 15 Hidden stage 14)\n・ How to use\nUp key: Jump\nDown key: crouching\nRight key, left key: move\nIt is important to crouch.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n隠しステージの入り方\nクリア画面の文字をよく見てみてください。\nHow to enter the hidden stage\nLook closely at the characters on the clear screen.\n\n\n\n\n\n\n\n\n\n\n\n\n\nネタバレ↓\n\n\n\n\n\n\n隠しステージの最後のステージのワープホールに触れてはいけません。最初からになります。\nDo not touch the warp hole in the last stage of the hidden stage. It will start from the beginning.