MINECRAFT PLATFORMER / マインクラフトプラットフォーマー

Instructions: 新作ですハートと星よろしくお願いします！\n　https://scratch.mit.edu/projects/930861275\n\n傾向3pか。地味だな((\n\n拡散した神は10名まで書かせていただいております\n右上の更新ボタン的なやつで前に戻ります（ウォーデンが埋まった時用）\n\n日本語は下なのさ(\n\nPlease ❤ and ★PLEASE!!!! Aim for trend 1p()\nWe have made it mobile-compatible!\n◤How to operate\n　-PC-.\n　Arrow keys to control Steve\n　Spacebar to swing the sword.\n　-Mobile -Tap the direction you want to go.\n　Tap the direction you want to go\n　Tap to swing the sword                                 ◢\n\n◤credit\nThumbnail text @kensuke17 like this\nEndora Costume @highpandapanda1\n　　　　　　　　　　　　Mr. @k-k-k0655\nMicra material @-firstwave- @BritishHarry\nGround, strength gauge and sound effects by @griffpatch　　　　　　　　　　　　　　　 ◢\n\n日本人の方用((((⇩\n❤と★よろしくお願いします!目指せ傾向1p()\nモバイル対応にしてあります\n◤操作方法\n　-PC-\n　矢印キーでスティーブを操作します\n　スペースキーで剣を振れます\n　-モバイル-\n　行きたい方向をタップ\n　タップで剣を振れます　　　　　　　　　 ◢\n\n#game #games #RxaKi #MINECRAFT #PLATFORMER\n\n制作協力\n@Tako_raisu（弟）\n

@Stage\n\nwhen flag clicked\nset volume to (60) %\nforever\n    play sound [maikura v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (マイクラの背景 v)\n\nwhen I receive [洞窟はいつ v]\nswitch backdrop to (背景2 v)\n\nwhen I receive [出た v]\nswitch backdrop to (マイクラ夜 v)\n\nwhen flag clicked\nforever\n\n@1\n\ndefine 初期化\nswitch costume to (すてぃぶ v)\nset [yy v] to [0]\nset [xx v] to [0]\ngo to x: (-200) y: (50)\n\nwhen flag clicked\nswitch costume to (すてぃぶ v)\nset rotation style [left-right v]\nshow\nset [xx v] to [0]\nset [yy v] to [0]\n初期化\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>> then\n        if <<touching (14 v)?> or <touching (ソウルサンド v)?>> then\n            point in direction (90)\n            change [xx v] by (0.5)\n        else\n            point in direction (90)\n            change [xx v] by (1)\n        end\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <[0] > (mouse x)>>> then\n        if <<touching (14 v)?> or <touching (ソウルサンド v)?>> then\n            point in direction (-90)\n            change [xx v] by (-0.5)\n        else\n            point in direction (-90)\n            change [xx v] by (-1)\n        end\n    end\n    set [xx v] to ((xx) * (0.9))\n    change x by (xx)\n    if <touching (2 v)?> then\n        change y by (6)\n    end\n    if <touching (2 v)?> then\n        change y by (-6)\n        change x by (() - (xx))\n    end\n    if <not <touching (14 v)?>> then\n        change [yy v] by (-1)\n    end\n    change y by (yy)\n    if <touching (2 v)?> then\n        change y by ((-1) * (yy))\n        set [yy v] to [0]\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n            set [yy v] to [15]\n        end\n    end\n    if <touching (3 v)?> then\n        broadcast (itai v)\n        start sound [ダメージ v]\n        switch costume to (コスチューム3 v)\n        初期化\n    end\n    if <<(x position) > [230]> or <touching (17 v)?>> then\n        if <not <(ステージ) = [46]>> then\n            broadcast (next v)\n            change [ステージ v] by (1)\n            初期化\n        end\n    end\nend\n\nchange [yy v] by (-1)\n\nwait (0.3) seconds\n\nif <(y position) > [180]> then\n    if <(ステージ) = [1]> then\nend\n\nwhen I receive [終わり v]\n\ngo to (random position v)\n\nchange [ステージ v] by (1)\n\n\n    if <(ステージ) = [6]> then\nend\n\nwhen flag clicked\nforever\n    wait until <touching (14 v)?>\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n        set [yy v] to [5]\n    else\n        change [yy v] by (-0.25)\n    end\nend\n\ngo to x: (0) y: (0)\n\nwhen I receive [a v]\nshow\ngo to x: (-200) y: (50)\n\nwhen flag clicked\nforever\n\nset [yy v] to [5]\n\nchange [yy v] by (-0.25)\n\nwhen flag clicked\nforever\n    if <<touching (2 v)?> and <<<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> or <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>>>> then\n        play sound (pick random (2) to (3)) until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <[44] < (ステージ)> then\n        switch costume to (らくら v)\n    end\nend\n\nwhen flag clicked\n\nwait until <touching (ソウルサンド v)?>\n\n\nchange [yy v] by (-1)\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [らくら]> then\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>> then\n            if <<touching (14 v)?> or <touching (ソウルサンド v)?>> then\n                point in direction (90)\n                change [xx v] by (0.5)\n            else\n                point in direction (90)\n                change [xx v] by (1)\n            end\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <[0] > (mouse x)>>> then\n            if <<touching (14 v)?> or <touching (ソウルサンド v)?>> then\n                point in direction (-90)\n                change [xx v] by (-0.5)\n            else\n                point in direction (-90)\n                change [xx v] by (-1)\n            end\n        end\n        set [xx v] to ((xx) * (0.9))\n        change x by (xx)\n        if <touching (2 v)?> then\n            change y by (6)\n        end\n        if <touching (2 v)?> then\n            change y by (-6)\n            change x by (() - (xx))\n        end\n        if <not <touching (14 v)?>> then\n            change [yy v] by (-1)\n        end\n        change y by (yy)\n        if <touching (2 v)?> then\n            change y by ((-1) * (yy))\n            set [yy v] to [0]\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n                set [yy v] to [25]\n            end\n        end\n        if <touching (3 v)?> then\n            broadcast (itai v)\n            start sound [ダメージ v]\n            switch costume to (コスチューム3 v)\n            初期化\n        end\n    end\nend\n\nif <<(x position) > [230]> or <touching (17 v)?>> then\n    if <not <(ステージ) = [50]>> then\n        broadcast (next v)\n        change [ステージ v] by (1)\n        初期化\n    end\nend\n\n@2\n\nwhen flag clicked\nhide variable [☁ world records v]\nhide variable [time v]\ngo to [front v] layer\nset [ステージ v] to [1]\nforever\n    switch costume to (ステージ)\nend\n\nset [ステージ v] to [18]\n\nwhen flag clicked\nset [time v] to [0]\nforever\n    if <(ステージ) = [46]> then\n        show variable [☁ world records v]\n        show variable [time v]\n        if <(time) < (☁ World Records)> then\n            set [☁ world records v] to (time)\n        end\n    else\n        wait (1) seconds\n        change [time v] by (1)\n    end\nend\n\nset [☁ world records v] to [200]\n\n@3\n\nwhen flag clicked\nset [ステージ v] to [1]\nforever\n    switch costume to (ステージ)\nend\n\n@4\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nclear graphic effects\nset size to (500) %\nset rotation style [all around v]\npoint in direction (180)\nhide\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        if <<key (space v) pressed?> or <key (1 v) pressed?>> then\n            repeat (3)\n                turn right (-15) degrees\n            end\n            broadcast (攻撃 v)\n            repeat (3)\n                turn right (15) degrees\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        if <<key (space v) pressed?> or <mouse down?>> then\n            repeat (3)\n                turn right (15) degrees\n            end\n            broadcast (攻撃 v)\n            repeat (3)\n                turn right (-15) degrees\n            end\n        end\n    end\nend\n\nwhen I receive [攻撃準備 v]\nif <(costume [number v]) = [1]> then\n    repeat (3)\n        turn right (15) degrees\n    end\n    broadcast (攻撃 v)\n    repeat (3)\n        turn right (-15) degrees\n    end\n    point in direction (180)\nend\n\nwhen I receive [攻撃準備 v]\nif <(costume [number v]) = [2]> then\n    repeat (3)\n        turn right (-15) degrees\n    end\n    broadcast (攻撃 v)\n    repeat (3)\n        turn right (15) degrees\n    end\n    point in direction (180)\nend\n\nwhen flag clicked\nforever\n    repeat (10)\n        change [color v] effect by (0.5)\n    end\n    wait (0.1) seconds\n    repeat (10)\n        change [color v] effect by (-0.5)\n    end\nend\n\nif <touching (1 v)?> then\nend\n\nwhen I receive [ちゃんとしてる v]\nshow\nbroadcast (おく v)\nswitch costume to (ダイヤモンドの剣 v)\nforever\n    go to (1 v)\n    if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        switch costume to (ダイヤモンドの剣2 v)\n    end\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        switch costume to (ダイヤモンドの剣 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <[6] < (ステージ)> then\nend\n\n@5\n\nwhen I receive [攻撃 v]\nif <touching (4 v)?> then\n    start sound [ダメージ v]\n    repeat (5)\n        change x by (10)\n    end\n    change [ゾンビhp v] by (-1)\n    wait () seconds\n    if <(ゾンビHP) = [0]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\ngo to x: (245) y: (-66)\nswitch costume to (ゾンビ v)\nset size to (60) %\nforever\n    if <(ステージ) = [6]> then\n        create clone of (_myself_ v)\n        wait until <(ステージ) = [9]>\n    end\nend\n\nwhen I receive [メッセージ1 v]\nstop [all v]\n\nwhen I start as a clone\nforever\n    if <touching (1 v)?> then\n        broadcast (攻撃された v)\n        wait (1) seconds\n    end\nend\n\nwhen I start as a clone\nshow\nset rotation style [left-right v]\nforever\n    change [y v] by (-1)\n    if <([x position v] of [1 v]) > (x position)> then\n        point in direction (90)\n        change [x2 v] by (1)\n    end\n    if <([x position v] of [1 v]) < (x position)> then\n        point in direction (-90)\n        change [x2 v] by (-1)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\n    if <touching (2 v)?> then\n        change y by (6)\n    end\n    if <touching (2 v)?> then\n        change y by (-6)\n        change x by (() - (X2))\n    end\n    change y by (y)\n    if <touching (2 v)?> then\n        change y by ((-1) * (y))\n        set [y v] to [0]\n        if <([y position v] of [1 v]) > (y position)> then\n            set [y v] to [15]\n        end\n    end\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwait (pick random (5) to (15)) seconds\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [next v]\ndelete this clone\n\n@6\n\nwhen I receive [攻撃 v]\nif <touching (4 v)?> then\n    start sound [ダメージ v]\n    repeat (5)\n        change x by (10)\n    end\n    change [ゾンビhp v] by (-1)\n    wait () seconds\n    if <(ゾンビHP) = [0]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (245) y: (-66)\nswitch costume to (エンダーマン（ノーマル） v)\nset size to (60) %\nforever\n    if <(ステージ) = [10]> then\n        create clone of (_myself_ v)\n        wait until <(ステージ) = [11]>\n    end\nend\n\nwhen I receive [メッセージ1 v]\nstop [all v]\n\nwhen I start as a clone\nforever\n    if <<(えんだ――変数) = [0]> and <touching (1 v)?>> then\n        broadcast (攻撃された v)\n        wait (1) seconds\n    end\n    if <<(えんだ――変数) = [威嚇]> and <touching (1 v)?>> then\n        broadcast (弓当たる v)\n        wait (1) seconds\n    end\nend\n\nwhen I start as a clone\nset [ゾンビhp v] to [20]\nshow\nset rotation style [left-right v]\nset rotation style [left-right v]\nforever\n    change [y v] by (-1)\n    if <([x position v] of [1 v]) > (x position)> then\n        point in direction (90)\n        change [x2 v] by (1)\n    end\n    if <([x position v] of [1 v]) < (x position)> then\n        point in direction (-90)\n        change [x2 v] by (-1)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\n    if <touching (2 v)?> then\n        change y by (6)\n    end\n    if <touching (2 v)?> then\n        change y by (-6)\n        change x by (() - (X2))\n    end\n    change y by (y)\n    if <touching (2 v)?> then\n        change y by ((-1) * (y))\n        set [y v] to [0]\n        if <([y position v] of [1 v]) > (y position)> then\n            set [y v] to [15]\n        end\n    end\nend\n\nwhen I start as a clone\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwhen I start as a clone\ngo to x: (0) y: (90)\nset [brightness v] effect to (0)\nforever\n    wait (3) seconds\n    switch costume to (エンダーマン（威嚇） v)\n    set [えんだ――変数 v] to [威嚇]\n    repeat (12)\n        glide (0.01) secs to (1 v)\n        wait (0.1) seconds\n    end\n    go to x: (x position) y: (y position)\n    switch costume to (エンダーマン（ノーマル） v)\n    set [えんだ――変数 v] to [0]\nend\n\ngo to x: (pick random (-3) to (3)) y: (y position)\n\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nchange x by (3)\nchange x by (-3)\nchange x by (-3)\nchange x by (3)\n\nwhen I receive [next v]\ndelete this clone\n\n@7\n\nwhen flag clicked\nhide\ngo to [back v] layer\ngo [forward v] (1) layers\nset size to (200) %\nset [brightness v] effect to (0)\ngo to x: (50) y: (-35)\nforever\n    switch costume to (ステージ)\n    go to [back v] layer\n    show\nend\n\nset [brightness v] effect to (-18)\n\nswitch costume to (ステージ1 v)\nset [brightness v] effect to (0)\nshow\n\nset [ステージ v] to [9]\n\nif <(ステージ) = [11]> then\n\nbroadcast (次元は違う v)\n\nswitch costume to (ステージ5 v)\n\n@8\n\nwhen flag clicked\ngo to [front v] layer\nshow\ngo to x: (-1) y: (160)\nset size to (150) %\nset [hp v] to [20]\nswitch costume to (health20 v)\n\nwhen I receive [攻撃された v]\nstart sound [ダメージ v]\nchange [hp v] by (-1)\nif <[0] > (HP)> then\n    broadcast (終わり v)\nend\nnext costume\n\nwhen I receive [終わり v]\nbroadcast (a v)\nset [hp v] to [20]\n\nwhen I receive [ゲーム終了です v]\n\nhide\n\nwhen flag clicked\nforever\n    if <touching (すてぃいいいいいぶ v)?> then\n        set [ghost v] effect to (80)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [次元は違う v]\nhide\n\nwhen flag clicked\nshow\n\nwhen I receive [next v]\nset [hp v] to [20]\nswitch costume to (health20 v)\n\nwhen I receive [弓当たる v]\nstart sound [ダメージ v]\nchange [hp v] by (-2)\nif <[0] > (HP)> then\n    broadcast (終わり v)\nend\nswitch costume to ((costume [number v]) + (2))\n\nrepeat (2)\n    next costume\nend\n\nwhen flag clicked\nforever\n    if <[0] > (HP)> then\n        broadcast (終わり v)\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nswitch costume to (health20 v)\n\nwhen I receive [itai v]\nstart sound [ダメージ v]\nchange [hp v] by (-3)\nif <[0] > (HP)> then\n    broadcast (終わり v)\nend\nswitch costume to ((costume [number v]) + (3))\n\nwhen I receive [うぉーでんざぱわー v]\nstart sound [ダメージ v]\nchange [hp v] by (-5)\nif <[0] > (HP)> then\n    broadcast (終わり v)\nend\nswitch costume to ((costume [number v]) + (5))\n\n@9\n\nwhen flag clicked\nset [tixesuto v] to [OFF]\nswitch costume to (chest v)\nhide\nforever\n    if <(ステージ) = [7]> then\n        show\n        if <<touching (1 v)?> and <<key (space v) pressed?> or <<touching (mouse-pointer v)?> and <mouse down?>>>> then\n            set [tixesuto v] to [ON]\n            broadcast (ちゃんとしてる v)\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (1 v)?> and <not <(tixesuto) = [ON]>>> then\n        say [スペースキーまたはクリックでチェストをあける/Open chest with spacebar or click]\n    else\n        say []\n    end\nend\n\n@10\n\nwhen I receive [攻撃 v]\nif <touching (4 v)?> then\n    start sound [ダメージ v]\n    repeat (5)\n        change x by (10)\n    end\n    change [ゾンビhp v] by (-1)\n    wait () seconds\n    if <(ゾンビHP) = [0]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset [ゾンビhp v] to [5]\nset rotation style [left-right v]\nhide\ngo to x: (245) y: (-66)\nswitch costume to (ゾンビ v)\nset size to (60) %\nforever\n    if <(ステージ) = [8]> then\n        create clone of (_myself_ v)\n        wait until <(ステージ) = [9]>\n    end\nend\n\nwhen I receive [メッセージ1 v]\nstop [all v]\n\nwhen I start as a clone\nforever\n    if <touching (1 v)?> then\n        broadcast (攻撃された v)\n        wait (1) seconds\n    end\nend\n\nwhen I start as a clone\nshow\nset rotation style [left-right v]\nforever\n    change [y v] by (-1)\n    if <([x position v] of [1 v]) > (x position)> then\n        point in direction (90)\n        change [x2 v] by (1)\n    end\n    if <([x position v] of [1 v]) < (x position)> then\n        point in direction (-90)\n        change [x2 v] by (-1)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\n    if <touching (2 v)?> then\n        change y by (6)\n    end\n    if <touching (2 v)?> then\n        change y by (-6)\n        change x by (() - (X2))\n    end\n    change y by (y)\n    if <touching (2 v)?> then\n        change y by ((-1) * (y))\n        set [y v] to [0]\n        if <([y position v] of [1 v]) > (y position)> then\n            set [y v] to [15]\n        end\n    end\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwait (pick random (5) to (15)) seconds\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [next v]\ndelete this clone\n\n@11\n\nwhen I receive [攻撃 v]\nif <touching (4 v)?> then\n    start sound [ダメージ v]\n    repeat (5)\n        change x by (10)\n    end\n    change [ゾンビhp v] by (-1)\n    wait () seconds\n    if <(ゾンビHP) = [0]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\ngo to x: (245) y: (-66)\nswitch costume to (スケルトン v)\nset size to (60) %\nforever\n    if <(ステージ) = [9]> then\n        go to x: (130) y: (y position)\n        show\n        set y to ([y position v] of [1 v])\n    else\n        hide\n    end\nend\n\nwhen I receive [メッセージ1 v]\nstop [all v]\n\nwhen I start as a clone\nset [ゾンビhp v] to [5]\nshow\nset rotation style [left-right v]\ngo to x: (160) y: (-66)\nforever\n    if <touching (2 v)?> then\n        change y by (6)\n    end\n    if <touching (2 v)?> then\n        change y by (-6)\n        change x by (() - (X2))\n    end\n    change y by (y)\n    if <touching (2 v)?> then\n        change y by ((-1) * (y))\n        set [y v] to [0]\n        if <([y position v] of [1 v]) > (y position)> then\n            set [y v] to [15]\n        end\n    end\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n\nwait (pick random (5) to (15)) seconds\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [next v]\ndelete this clone\n\nwait until <(ステージ) = [10]>\n\nwhen flag clicked\nforever\n    if <touching (1 v)?> then\n        broadcast (攻撃された v)\n        wait (0.11) seconds\n    end\nend\n\n@12\n\nwhen flag clicked\nhide\nforever\n    if <(ステージ) = [9]> then\n        go to [back v] layer\n        set rotation style [all around v]\n        set size to (100) %\n        point in direction (45)\n        show\n        switch costume to (弓 v)\n        forever\n            wait (0.5) seconds\n            switch costume to (弓2 v)\n            wait (0.1) seconds\n            switch costume to (弓3 v)\n            wait (0.3) seconds\n            create clone of (_myself_ v)\n            switch costume to (弓 v)\n        end\n    else\n        hide\n    end\nend\n\ngo to x: (60) y: (85)\n\nwhen I start as a clone\nswitch costume to (矢 v)\ngo to [front v] layer\nset [ghost v] effect to (0)\nshow\nrepeat (18)\n    change x by (-20)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    go to (11 v)\nend\n\nwhen I start as a clone\nforever\n    if <touching (1 v)?> then\n        broadcast (弓当たる v)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ステージ) = [10]> then\n        stop [other scripts in sprite v]\n        hide\n    end\nend\n\n@26\n\nif  then\n    go to x: (0) y: (90)\n    set [brightness v] effect to (0)\n    forever\n        wait (3) seconds\n        switch costume to (エンダーマン（威嚇） v)\n        repeat (24)\n            go to x: (pick random (-3) to (3)) y: (90)\n        end\n        go to x: (0) y: (90)\n        switch costume to (エンダーマン（ノーマル） v)\n    end\nend\n\nwhen I receive [えんだーいやー v]\nif <(costume [name v]) = [クリーパー]> then\n    go to x: (190) y: (90)\n    set [brightness v] effect to (0)\n    forever\n        wait (3) seconds\n        repeat (6)\n            set [brightness v] effect to (100)\n            wait (0.2) seconds\n            set [brightness v] effect to (0)\n            wait (0.2) seconds\n        end\n        broadcast (クリーパー爆破 v)\n        set [brightness v] effect to (100)\n        wait (0.5) seconds\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [クリーパー爆破]> then\n    go to x: ((x position) + (pick random (-10) to (10))) y: ((y position) + (pick random (-10) to (10)))\n    set [brightness v] effect to (pick random (50) to (100))\n    set size to (pick random (50) to (100)) %\n    set [ghost v] effect to (0)\n    point in direction (pick random (0) to (360))\n    show\n    repeat (10)\n        move (3) steps\n        change size by (5)\n        change [ghost v] effect by (pick random (2) to (10))\n    end\n    delete this clone\nend\n\nwhen I receive [クリーパー爆破 v]\nif <(costume [name v]) = [クリーパー爆破のとき必要]> then\n    go to x: (190) y: (90)\n    repeat (30)\n        switch costume to (クリーパー爆破 v)\n        create clone of (_myself_ v)\n        wait (0) seconds\n    end\n    switch costume to (クリーパー v)\n    create clone of (_myself_ v)\n    switch costume to (クリーパー爆破のとき必要 v)\nend\n\n@13\n\nwhen [a v] key pressed\nif <(username) = [_Ma-in_]> then\n    broadcast (next v)\n    broadcast (a v)\n    change [ステージ v] by (1)\nend\n\n@14\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (50)\n    switch costume to (ステージ)\nend\n\nset [ステージ v] to [12]\n\n@15\n\nwhen I receive [攻撃 v]\nif <touching (4 v)?> then\n    start sound [ダメージ v]\n    repeat (5)\n        change x by (10)\n    end\n    change [ゾンビhp v] by (-1)\n    wait () seconds\n    if <(ゾンビHP) = [0]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\ngo to x: (245) y: (-66)\nswitch costume to (ゾンビ v)\nset size to (60) %\nforever\n    if <(ステージ) = [12]> then\n        create clone of (_myself_ v)\n        wait until <(ステージ) = [13]>\n    end\nend\n\nwhen I receive [メッセージ1 v]\nstop [all v]\n\nwhen I start as a clone\nforever\n    if <touching (1 v)?> then\n        broadcast (攻撃された v)\n        wait (1) seconds\n    end\nend\n\nwhen I start as a clone\nset [ゾンビhp v] to [5]\nshow\nset rotation style [left-right v]\nforever\n    change [y v] by (-0.25)\n    if <([x position v] of [1 v]) > (x position)> then\n        point in direction (90)\n        change [x2 v] by (0.5)\n    end\n    if <([x position v] of [1 v]) < (x position)> then\n        point in direction (-90)\n        change [x2 v] by (-0.5)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\n    if <touching (2 v)?> then\n        change y by (6)\n    end\n    if <touching (2 v)?> then\n        change y by (-6)\n        change x by (() - (X2))\n    end\n    change y by (y)\n    if <touching (2 v)?> then\n        change y by ((-1) * (y))\n        set [y v] to [0]\n        if <([y position v] of [1 v]) > (y position)> then\n            set [y v] to [5]\n        end\n    end\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwait (pick random (5) to (15)) seconds\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [next v]\ndelete this clone\n\n@16\n\nwhen I receive [攻撃 v]\nif <touching (4 v)?> then\n    start sound [ダメージ v]\n    repeat (5)\n        change x by (10)\n    end\n    change [ゾンビhp v] by (-1)\n    wait () seconds\n    if <(ゾンビHP) = [0]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\ngo to x: (245) y: (60)\nswitch costume to (ゾンビ v)\nset size to (60) %\nforever\n    if <(ステージ) = [16]> then\n        create clone of (_myself_ v)\n        wait until <(ステージ) = [15]>\n    end\nend\n\nwhen I receive [メッセージ1 v]\nstop [all v]\n\nwhen I start as a clone\nforever\n    if <touching (1 v)?> then\n        broadcast (攻撃された v)\n        wait (1) seconds\n    end\nend\n\nwhen I start as a clone\nset [ゾンビhp v] to [5]\nshow\nset rotation style [left-right v]\nforever\n    change [y v] by (-1)\n    if <([x position v] of [1 v]) > (x position)> then\n        point in direction (90)\n        change [x2 v] by (1)\n    end\n    if <([x position v] of [1 v]) < (x position)> then\n        point in direction (-90)\n        change [x2 v] by (-1)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\n    if <touching (2 v)?> then\n        change y by (6)\n    end\n    if <touching (2 v)?> then\n        change y by (-6)\n        change x by (() - (X2))\n    end\n    change y by (y)\n    if <touching (2 v)?> then\n        change y by ((-1) * (y))\n        set [y v] to [0]\n        if <([y position v] of [1 v]) > (y position)> then\n            set [y v] to [15]\n        end\n    end\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwait (pick random (5) to (15)) seconds\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [next v]\ndelete this clone\n\n@17\n\nwhen flag clicked\nforever\n    switch costume to (ステージ)\nend\n\n@ア\n\nwhen flag clicked\nforever\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\nforever\n    if <touching (1 v)?> then\n        broadcast (攻撃された v)\n        wait (0.1) seconds\n    end\nend\n\n@ソウルサンド\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    switch costume to (ステージ)\nend\n\n@18\n\nwhen I receive [攻撃 v]\nif <touching (4 v)?> then\n    start sound [ダメージ v]\n    repeat (5)\n        change x by (10)\n    end\n    change [ゾンビhp v] by (-1)\n    wait () seconds\n    if <(ゾンビHP) = [0]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\ngo to x: (245) y: (60)\nswitch costume to (pigguman v)\nset size to (60) %\nforever\n    if <(ステージ) = [20]> then\n        create clone of (_myself_ v)\n        wait until <(ステージ) = [21]>\n    end\nend\n\nwhen I receive [メッセージ1 v]\nstop [all v]\n\nwhen I start as a clone\nforever\n    if <touching (1 v)?> then\n        broadcast (弓当たる v)\n        wait (1) seconds\n    end\nend\n\nwhen I start as a clone\nset [ゾンビhp v] to [10]\nshow\nset rotation style [left-right v]\nforever\n    change [y v] by (-1)\n    if <([x position v] of [1 v]) > (x position)> then\n        point in direction (90)\n        change [x2 v] by (1)\n    end\n    if <([x position v] of [1 v]) < (x position)> then\n        point in direction (-90)\n        change [x2 v] by (-1)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\n    if <touching (2 v)?> then\n        change y by (6)\n    end\n    if <touching (2 v)?> then\n        change y by (-6)\n        change x by (() - (X2))\n    end\n    change y by (y)\n    if <touching (2 v)?> then\n        change y by ((-1) * (y))\n        set [y v] to [0]\n        if <([y position v] of [1 v]) > (y position)> then\n            set [y v] to [15]\n        end\n    end\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwait (pick random (5) to (15)) seconds\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [next v]\ndelete this clone\n\n@19\n\nwhen I receive [攻撃 v]\nif <touching (4 v)?> then\n    start sound [ダメージ v]\n    repeat (5)\n        change x by (10)\n    end\n    change [ゾンビhp v] by (-1)\n    wait () seconds\n    if <(ゾンビHP) = [0]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\ngo to x: (245) y: (60)\nswitch costume to (ブレイズ v)\nset size to (60) %\nforever\n    if <(ステージ) = [21]> then\n        go to x: (160) y: (-66)\n        set [ゾンビhp v] to [15]\n        show\n        set rotation style [left-right v]\n        forever\n            repeat (10)\n                set [y v] to (pick random (2) to (5))\n                change y by (y)\n            end\n            repeat (10)\n                set [y v] to (pick random (-2) to (-5))\n                change y by (y)\n            end\n            repeat (10)\n                set [y v] to (pick random (-2) to (-5))\n                change y by (y)\n            end\n            repeat (10)\n                set [y v] to (pick random (2) to (5))\n                change y by (y)\n            end\n        end\n    else\n        hide\n    end\nend\n\nwait until <(ステージ) = [22]>\n\nwhen I receive [メッセージ1 v]\nstop [all v]\n\nwhen I start as a clone\nforever\n    if <touching (1 v)?> then\n        broadcast (弓当たる v)\n        wait (1) seconds\n    end\nend\n\nchange [y v] by (-1)\nif <([x position v] of [1 v]) > (x position)> then\n    point in direction (90)\n    change [x2 v] by (1)\nend\nif <([x position v] of [1 v]) < (x position)> then\n    point in direction (-90)\n    change [x2 v] by (-1)\nend\nset [x2 v] to ((X2) * (0.9))\nchange x by (X2)\nif <touching (2 v)?> then\n    change y by (6)\nend\nif <touching (2 v)?> then\n    change y by (-6)\n    change x by (() - (X2))\nend\nchange y by (y)\nif <touching (2 v)?> then\n    change y by ((-1) * (y))\n    set [y v] to [0]\n    if <([y position v] of [1 v]) > (y position)> then\n        change [y v] by (1)\n    end\nend\n\nset [y v] to [15]\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (180) y: (-66)\nend\n\nwait (pick random (5) to (15)) seconds\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [next v]\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(ステージ) = [22]> then\n        hide\n        stop [other scripts in sprite v]\n    end\nend\n\n@20\n\nwhen flag clicked\nhide\nforever\n    if <(ステージ) = [21]> then\n        go to [back v] layer\n        set rotation style [all around v]\n        set size to (100) %\n        point in direction (45)\n        forever\n            wait (0.8) seconds\n            create clone of (_myself_ v)\n        end\n    else\n        hide\n    end\nend\n\ngo to x: (60) y: (85)\n\nwhen I start as a clone\nswitch costume to (コスチューム1 \(21\) v)\ngo to [front v] layer\nset [ghost v] effect to (0)\nshow\nrepeat (18)\n    change x by (-20)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    go to x: (160) y: ([y position v] of [19 v])\nend\n\nwhen I start as a clone\nforever\n    if <touching (1 v)?> then\n        broadcast (弓当たる v)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ステージ) = [22]> then\n        stop [other scripts in sprite v]\n        hide\n    end\nend\n\n@21\n\nwhen I receive [攻撃 v]\nif <touching (4 v)?> then\n    start sound [ダメージ v]\n    repeat (5)\n        change x by (10)\n    end\n    change [ゾンビhp v] by (-1)\n    wait () seconds\n    if <(ゾンビHP) = [0]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\ngo to x: (245) y: (60)\nswitch costume to (ウィザスケ先輩 v)\nset size to (60) %\nforever\n    if <(ステージ) = [22]> then\n        create clone of (_myself_ v)\n        wait until <(ステージ) = [23]>\n    end\nend\n\nwhen I receive [メッセージ1 v]\nstop [all v]\n\nwhen I start as a clone\nforever\n    if <touching (1 v)?> then\n        broadcast (弓当たる v)\n        wait (1) seconds\n    end\nend\n\nwhen I start as a clone\nset [ゾンビhp v] to [10]\nshow\nset rotation style [left-right v]\nforever\n    change [y v] by (-1)\n    if <([x position v] of [1 v]) > (x position)> then\n        point in direction (90)\n        change [x2 v] by (1)\n    end\n    if <([x position v] of [1 v]) < (x position)> then\n        point in direction (-90)\n        change [x2 v] by (-1)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\n    if <touching (2 v)?> then\n        change y by (6)\n    end\n    if <touching (2 v)?> then\n        change y by (-6)\n        change x by (() - (X2))\n    end\n    change y by (y)\n    if <touching (2 v)?> then\n        change y by ((-1) * (y))\n        set [y v] to [0]\n        if <([y position v] of [1 v]) > (y position)> then\n            set [y v] to [15]\n        end\n    end\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwait (pick random (5) to (15)) seconds\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [next v]\ndelete this clone\n\n@22\n\nwhen I receive [攻撃 v]\nif <touching (4 v)?> then\n    start sound [ダメージ v]\n    repeat (5)\n        change x by (10)\n    end\n    change [ゾンビhp v] by (-1)\n    wait () seconds\n    if <(ゾンビHP) = [0]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (245) y: (-66)\nswitch costume to (エンダーマン（ノーマル） v)\nset size to (60) %\nforever\n    if <(ステージ) = [23]> then\n        create clone of (_myself_ v)\n        wait until <(ステージ) = [24]>\n    end\nend\n\nwhen I receive [メッセージ1 v]\nstop [all v]\n\nwhen I start as a clone\nforever\n    if <<(えんだ――変数) = [0]> and <touching (1 v)?>> then\n        broadcast (攻撃された v)\n        wait (1) seconds\n    end\n    if <<(えんだ――変数) = [威嚇]> and <touching (1 v)?>> then\n        broadcast (弓当たる v)\n        wait (1) seconds\n    end\nend\n\nwhen I start as a clone\nset [ゾンビhp v] to [20]\nshow\nset rotation style [left-right v]\nset rotation style [left-right v]\nforever\n    change [y v] by (-1)\n    if <([x position v] of [1 v]) > (x position)> then\n        point in direction (90)\n        change [x2 v] by (1)\n    end\n    if <([x position v] of [1 v]) < (x position)> then\n        point in direction (-90)\n        change [x2 v] by (-1)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\n    if <touching (2 v)?> then\n        change y by (6)\n    end\n    if <touching (2 v)?> then\n        change y by (-6)\n        change x by (() - (X2))\n    end\n    change y by (y)\n    if <touching (2 v)?> then\n        change y by ((-1) * (y))\n        set [y v] to [0]\n        if <([y position v] of [1 v]) > (y position)> then\n            set [y v] to [15]\n        end\n    end\nend\n\nwhen I start as a clone\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwhen I start as a clone\ngo to x: (0) y: (90)\nset [brightness v] effect to (0)\nforever\n    wait (3) seconds\n    switch costume to (エンダーマン（威嚇） v)\n    set [えんだ――変数 v] to [威嚇]\n    repeat (12)\n        glide (0.01) secs to (1 v)\n        wait (0.1) seconds\n    end\n    go to x: (x position) y: (y position)\n    switch costume to (エンダーマン（ノーマル） v)\n    set [えんだ――変数 v] to [0]\nend\n\ngo to x: (pick random (-3) to (3)) y: (y position)\n\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nchange x by (3)\nchange x by (-3)\nchange x by (-3)\nchange x by (3)\n\nwhen I receive [next v]\ndelete this clone\n\n@23\n\nwhen I receive [攻撃 v]\nif <touching (4 v)?> then\n    start sound [ダメージ v]\n    repeat (5)\n        change x by (10)\n    end\n    change [ゾンビhp v] by (-1)\n    wait () seconds\n    if <(ゾンビHP) = [0]> then\n        set [判定 v] to [撃破]\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset [判定 v] to [No]\nset rotation style [left-right v]\nhide\ngo to x: (245) y: (60)\nswitch costume to (uxoooxxooxox v)\nset size to (60) %\nforever\n    if <(ステージ) = [36]> then\n        create clone of (_myself_ v)\n        wait until <(ステージ) = [37]>\n    end\nend\n\nwhen I receive [メッセージ1 v]\nstop [all v]\n\nwhen I start as a clone\nforever\n    if <touching (1 v)?> then\n        broadcast (うぉーでんざぱわー v)\n        wait (1) seconds\n    end\nend\n\nwhen I start as a clone\nset [ゾンビhp v] to [30]\nshow\nset rotation style [left-right v]\nforever\n    change [y v] by (-1)\n    if <([x position v] of [1 v]) > (x position)> then\n        point in direction (90)\n        change [x2 v] by (1)\n    end\n    if <([x position v] of [1 v]) < (x position)> then\n        point in direction (-90)\n        change [x2 v] by (-1)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\n    if <touching (2 v)?> then\n        change y by (6)\n    end\n    if <touching (2 v)?> then\n        change y by (-6)\n        change x by (() - (X2))\n    end\n    change y by (y)\n    if <touching (2 v)?> then\n        change y by ((-1) * (y))\n        set [y v] to [0]\n        if <([y position v] of [1 v]) > (y position)> then\n            set [y v] to [15]\n        end\n    end\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwait (pick random (5) to (15)) seconds\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [next v]\nif <(ステージ) = [37]> then\n    if <not <(判定) = [撃破]>> then\n        change [ステージ v] by (-1)\n    end\nend\n\nif  then\nend\n\n@エンダードラゴン\n\nwhen flag clicked\nset [エンダードラゴン v] to [0]\nhide\nforever\n    if <(ステージ) = [40]> then\n        show\n        broadcast (エンダードラゴン1 v)\n        wait until <(ステージ) = [41]>\n    end\nend\n\nwhen I receive [エンダードラゴン1 v]\nforever\n    set [エンダードラゴン v] to [1]\n    repeat (9)\n        change [エンダードラゴン v] by (1)\n        wait (0.001) seconds\n    end\n    repeat (9)\n        change [エンダードラゴン v] by (-1)\n        wait (0.001) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    switch costume to (エンダードラゴン)\nend\n\nwhen I receive [攻撃 v]\nwait (0.15) seconds\nif <touching (4 v)?> then\n    start sound (pick random (1) to (3))\n    change [ｈp v] by (-50)\n    if <(Ｈp) < [1]> then\n        set [enndeorの判定 v] to [撃破]\n        hide\n    end\n    if <(ステージ) = [41]> then\n        change [エンダードラゴン v] by (10)\n        wait (0.2) seconds\n        change [エンダードラゴン v] by (-10)\n    end\nend\n\nwhen flag clicked\nset [enndeorの判定 v] to [No]\nhide variable [ｈp v]\nset [ｈp v] to [1000]\nset [エンダードラゴン v] to [0]\nset rotation style [left-right v]\nset size to (80) %\nhide\nforever\n    if <(ステージ) = [40]> then\n        go to x: (-13) y: (-35)\n        show\n        repeat until <(ステージ) = [41]>\n            wait (1) seconds\n            point in direction (90)\n            repeat (50)\n                change x by (1)\n                change y by (1)\n            end\n            point in direction (-90)\n            repeat (50)\n                change x by (-1)\n                change y by (-1)\n            end\n            point in direction (-90)\n            repeat (50)\n                change x by (-1)\n                change y by (-1)\n            end\n            point in direction (90)\n            repeat (50)\n                change x by (1)\n                change y by (1)\n            end\n            wait (4) seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (1 v)?> then\n        broadcast (うぉーでんざぱわー v)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ステージ) = [41]> then\n        hide\n    end\nend\n\nwhen I receive [next v]\nif <(ステージ) = [41]> then\n    if <not <(enndeorの判定) = [撃破]>> then\n        change [ステージ v] by (-1)\n    end\nend\n\nif <not <(username) = [_Ma-in_]>> then\nend\n\n@24\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\ngo to x: (245) y: (60)\nswitch costume to (スニファー v)\nset size to (80) %\nforever\n    if <(ステージ) = [43]> then\n        create clone of (_myself_ v)\n        wait until <(ステージ) = [44]>\n    end\nend\n\nwhen I receive [メッセージ1 v]\nstop [all v]\n\nwhen I start as a clone\nforever\n    if <touching (1 v)?> then\nend\n\nwhen I start as a clone\nset [ゾンビhp v] to [10]\nshow\nset rotation style [left-right v]\nforever\n    change [y v] by (-1)\n    if <([x position v] of [1 v]) > (x position)> then\n        point in direction (90)\n        change [x2 v] by (1)\n    end\n    if <([x position v] of [1 v]) < (x position)> then\n        point in direction (-90)\n        change [x2 v] by (-1)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\n    if <touching (2 v)?> then\n        change y by (6)\n    end\n    if <touching (2 v)?> then\n        change y by (-6)\n        change x by (() - (X2))\n    end\n    change y by (y)\n    if <touching (2 v)?> then\n        change y by ((-1) * (y))\n        set [y v] to [0]\n    end\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (-180) y: (-66)\nend\n\nwhen I start as a clone\nif <(y position) = (pick random (-185) to (-103))> then\n    go to x: (245) y: (-66)\nend\n\nwait (pick random (5) to (15)) seconds\n\nwhen I receive [next v]\n\nwhen I receive [next v]\n\nwhen I receive [攻撃 v]\n\nif <touching (4 v)?> then\n    start sound [ダメージ v]\n    repeat (5)\n        change x by (10)\n    end\n    change [ゾンビhp v] by (-1)\n    wait () seconds\n    if <(ゾンビHP) = [0]> then\n        delete this clone\n    end\nend\n\nif <([y position v] of [1 v]) > (y position)> then\n    set [y v] to [15]\nend\n\ndelete this clone\n\ndelete this clone\n\n@25\n\nwhen this sprite clicked\nif <not <(ステージ) = [1]>> then\n    broadcast (a v)\n    change [ステージ v] by (-1)\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@27\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\ngo to [front v] layer\nset [brightness v] effect to (100)\nshow\nrepeat (5)\n    change [brightness v] effect by (-20)\nend\n\nwhen [timer v] > (0)\nforever\n    reset timer\nend\n\nturn right (15) degrees\n\n