(English) Minecraft Platformer Part 5

Instructions: This project is an English remix of "Minecraft Platformer 5". It is currently not finished. 

@Stage\n\nwhen flag clicked\nswitch backdrop to (背景2 v)\n\nwhen I receive [スタート v]\nwait (1) seconds\nwait until <(item (1) of [情報 v]) = [8]>\nswitch backdrop to (背景3 v)\nwait until <(item (1) of [情報 v]) = [14]>\nswitch backdrop to (背景2 v)\nwait until <(item (1) of [情報 v]) = [20]>\nswitch backdrop to (背景4 v)\nwait until <(item (1) of [情報 v]) = [22]>\nswitch backdrop to (背景2 v)\n\nreplace item (1) of [情報 v] with ((item (1) of [情報 v]) + (1))\n\n@ピカー\n\nwhen I receive [スタート v]\nset size to (100) %\nclear graphic effects\nshow\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\nwhen I receive [スタート v]\nforever\n    turn right (0.4) degrees\n    change size by ([cos v] of (item (6) of [情報 v]) )\nend\n\nwhen I receive [スタート v]\n表示 [4] まで待つ [-140] [20]\n表示 [7] まで待つ [-80] [0]\n表示 [11] まで待つ [-20] [-30]\n表示 [13] まで待つ [40] [-10]\n表示 [20] まで待つ [150] [110]\n\nwhen I receive [k v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\n\ndefine 表示 (a) まで待つ (x) (ｙ)\nwait until <(item (1) of [情報 v]) = (a)>\ngo to x: (x) y: (ｙ)\nset size to (100) %\nclear graphic effects\nshow\n\nwhen I receive [スタート v]\nforever\n    if <<(item (1) of [設定 v]) = [10]> or <(item (1) of [設定 v]) = [16]>> then\n        hide\n    end\nend\n\n@Steve\n\nwhen I receive [スタート v]\nreplace item (8) of [情報 v] with [20]\nreplace item (2) of [情報 v] with [0]\nreplace item (3) of [情報 v] with [0]\nreplace item (1) of [情報 v] with [1]\nreplace item (14) of [情報 v] with ((0.5) + ((0.5) * <(item (1) of [設定 v]) = [19]>))\nset [スピード v] to [0.5]\nset [命はあるんか v] to [1]\nclear graphic effects\nset size to (55) %\nwait (0.01) seconds\nプレイヤー [1]\npoint in direction (90)\nreplace item (2) of [情報 v] with [0]\nreplace item (3) of [情報 v] with [0]\nclear graphic effects\ngo to x: (-200) y: (0)\nshow\nforever\n    if <<not <(item (8) of [情報 v]) = [0]>> and <(命はあるんか) = [1]>> then\n        if <not <(item (26) of [情報 v]) = [1]>> then\n            if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <(mouse x) < [0]>> and <(攻撃状態) = [0]>>> then\n                point in direction (-90)\n                if <<touching (酸素ゲージ判定用 v)?> or <touching (マグマ v)?>> then\n                    replace item (2) of [情報 v] with ((item (2) of [情報 v]) + ((0) - ((item (14) of [情報 v]) / (2))))\n                else\n                    replace item (2) of [情報 v] with ((item (2) of [情報 v]) + ((0) - (item (14) of [情報 v])))\n                end\n            end\n            if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<mouse down?> and <[0] < (mouse x)>> and <(攻撃状態) = [0]>>> then\n                point in direction (90)\n                if <<touching (酸素ゲージ判定用 v)?> or <touching (マグマ判定 v)?>> then\n                    replace item (2) of [情報 v] with ((item (2) of [情報 v]) + ((item (14) of [情報 v]) / (2)))\n                else\n                    replace item (2) of [情報 v] with ((item (2) of [情報 v]) + (item (14) of [情報 v]))\n                end\n            end\n        end\n        replace item (2) of [情報 v] with ((item (2) of [情報 v]) * (0.9))\n        change x by (item (2) of [情報 v])\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n            change y by (1)\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n                change y by (1)\n                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n                    change y by (1)\n                    if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n                        change y by (1)\n                        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n                            change y by (1)\n                            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n                                change y by (1)\n                                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n                                    change x by ((0) - (item (2) of [情報 v]))\n                                    change y by (-5)\n                                    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>> then\n                                        if <not <(item (26) of [情報 v]) = [1]>> then\n                                            if <not <<touching (水 v)?> or <touching (マグマ判定 v)?>>> then\n                                                if <[0] < (item (2) of [情報 v])> then\n                                                    replace item (2) of [情報 v] with [-4]\n                                                else\n                                                    replace item (2) of [情報 v] with [4]\n                                                end\n                                                replace item (3) of [情報 v] with ((9) + ((4) * <(item (1) of [設定 v]) = [20]>))\n                                                移動処理 (y position) [✕]\n                                            end\n                                        end\n                                    else\n                                        replace item (2) of [情報 v] with [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        replace item (3) of [情報 v] with ((item (3) of [情報 v]) - (0.8))\n        if <<<touching (酸素ゲージ判定用 v)?> or <touching (マグマ判定 v)?>> and <(item (3) of [情報 v]) < [-2]>> then\n            replace item (3) of [情報 v] with [-2]\n        end\n        change y by (item (3) of [情報 v])\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n            change y by ((0) - (item (3) of [情報 v]))\n            replace item (3) of [情報 v] with [0]\n        end\n        change y by (-2)\n        if <not <(item (26) of [情報 v]) = [1]>> then\n            if <<touching (酸素ゲージ判定用 v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>>> then\n                replace item (3) of [情報 v] with ((4) + ((1) * <(item (1) of [設定 v]) = [20]>))\n            else\n                if <<touching (マグマ判定 v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>>> then\n                    replace item (3) of [情報 v] with ((4) + ((1) * <(item (1) of [設定 v]) = [20]>))\n                else\n                    if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n                        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>> then\n                            replace item (3) of [情報 v] with ((11) + ((3) * <(item (1) of [設定 v]) = [20]>))\n                        end\n                    end\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <<[238] < (x position)> and <<<<not <(item (1) of [情報 v]) = [21]>> and <not <(item (1) of [情報 v]) = [17]>>> and <not <(item (1) of [情報 v]) = [20]>>> and <not <(item (1) of [情報 v]) = [13]>>>> then\n        if <(item (19) of [情報 v]) = [0]> then\n            replace item (1) of [情報 v] with ((item (1) of [情報 v]) + (1))\n            ▶ノックバック [0] [0]\n            broadcast (NEXT v)\n            go to x: (-200) y: ((0) - ((50) * <(item (1) of [情報 v]) = [19]>))\n            replace item (1) of [移動処理 v] with [0]\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (ヴォーデン v)?> then\n        敵攻撃 [-20] [5]\n        wait (0.5) seconds\n    end\n    if <(item (2) of [設定 v]) = [12]> then\n        if <<touching (スケルトン2 v)?> and <not <([costume # v] of [スケルトン2 v]) = [3]>>> then\n            敵攻撃 [-7] [6]\n            wait (0.4) seconds\n        end\n        if <<touching (ゾンビ3 v)?> and <not <([costume # v] of [ゾンビ3 v]) = [3]>>> then\n            敵攻撃 [-7] [1]\n            wait (0.4) seconds\n        end\n        if <<touching (zombie v)?> or <touching (ゾンビ2 v)?>> then\n            敵攻撃 [-7] [1]\n            wait (0.4) seconds\n        end\n        if <touching (スケルトン v)?> then\n            敵攻撃 [-4] [2]\n            wait (0.4) seconds\n        end\n        if <touching (マグマ v)?> then\n            敵攻撃 [-5] [✕]\n            wait (0.3) seconds\n        end\n        if <touching (サボテン v)?> then\n            敵攻撃 [-5] [✕]\n            wait (0.3) seconds\n        end\n        if <<(y position) < [-178]> and <not <(item (1) of [情報 v]) = [15]>>> then\n            敵攻撃 [-20] [✕]\n        end\n        if <touching (爆発 v)?> then\n            敵攻撃 [-16] [4]\n            wait (0.3) seconds\n        end\n        if <touching (ソニックブーム補完用2 v)?> then\n            敵攻撃 [-14] [5]\n            wait (1.5) seconds\n        end\n        if <touching (爆発3 v)?> then\n            敵攻撃 [-2] [6]\n            wait (0.3) seconds\n        end\n        if <touching (スプライト7 v)?> then\n            敵攻撃 [-1] [7]\n            wait (0.3) seconds\n        end\n    else\n        if <(item (2) of [設定 v]) = [13]> then\n            if <<touching (スケルトン2 v)?> and <not <([costume # v] of [スケルトン2 v]) = [3]>>> then\n                敵攻撃 [-8] [6]\n                wait (0.4) seconds\n            end\n            if <<touching (ゾンビ3 v)?> and <not <([costume # v] of [ゾンビ3 v]) = [3]>>> then\n                敵攻撃 [-8] [1]\n                wait (0.4) seconds\n            end\n            if <<touching (zombie v)?> or <touching (ゾンビ2 v)?>> then\n                敵攻撃 [-8] [1]\n                wait (0.4) seconds\n            end\n            if <touching (スケルトン v)?> then\n                敵攻撃 [-5] [2]\n                wait (0.4) seconds\n            end\n            if <touching (マグマ v)?> then\n                敵攻撃 [-6] [✕]\n                wait (0.3) seconds\n            end\n            if <touching (サボテン v)?> then\n                敵攻撃 [-6] [✕]\n                wait (0.3) seconds\n            end\n            if <<(y position) < [-178]> and <not <(item (1) of [情報 v]) = [15]>>> then\n                敵攻撃 [-20] [✕]\n            end\n            if <touching (爆発 v)?> then\n                敵攻撃 [-18] [4]\n                wait (0.3) seconds\n            end\n            if <touching (ソニックブーム補完用2 v)?> then\n                敵攻撃 [-16] [5]\n                wait (1.5) seconds\n            end\n            if <touching (爆発3 v)?> then\n                敵攻撃 [-3] [6]\n                wait (0.3) seconds\n            end\n            if <touching (スプライト7 v)?> then\n                敵攻撃 [-1] [7]\n                wait (0.3) seconds\n            end\n        else\n            if <touching (マグマ v)?> then\n                敵攻撃 [-4] [✕]\n                wait (0.3) seconds\n            end\n            if <touching (サボテン v)?> then\n                敵攻撃 [-4] [✕]\n                wait (0.3) seconds\n            end\n            if <<(y position) < [-178]> and <not <(item (1) of [情報 v]) = [15]>>> then\n                敵攻撃 [-20] [✕]\n            end\n            if <touching (爆発 v)?> then\n                敵攻撃 [-14] [4]\n                wait (0.3) seconds\n            end\n            if <touching (スプライト7 v)?> then\n                敵攻撃 [-1] [7]\n                wait (0.3) seconds\n            end\n        end\n    end\nend\n\nwhen I receive [ダメージ v]\nrepeat (10)\n    プレイヤー [0]\nend\nプレイヤー [1]\n\nwhen I receive [弓矢 v]\nif <(item (2) of [設定 v]) = [12]> then\n    敵攻撃 [-5] [3]\nelse\n    敵攻撃 [-4] [3]\nend\n\ndefine 敵攻撃 (攻撃力) (なに？)\nif <not <(item (8) of [情報 v]) = [0]>> then\n    if <(item (1) of [設定 v]) = [16]> then\n        if <(item (1) of [情報 v]) = [21]> then\n            replace item (8) of [情報 v] with ((item (8) of [情報 v]) + (攻撃力))\n        else\n            replace item (8) of [情報 v] with ((item (8) of [情報 v]) + ([ceiling v] of ((攻撃力) * (0.3)) ))\n        end\n    else\n        replace item (8) of [情報 v] with ((item (8) of [情報 v]) + (攻撃力))\n    end\n    broadcast (ダメージ v)\n    start sound [ダメージ v]\n    if <(item (1) of [設定 v]) = [16]> then\n        if <(なに？) = [1]> then\n            if <(x position) < (モブの位置x)> then\n                ▶ノックバック [-6] [6]\n            else\n                ▶ノックバック [6] [6]\n            end\n        end\n        if <(なに？) = [2]> then\n            if <(x position) < (スケルトン位置x)> then\n                ▶ノックバック [-6] [6]\n            else\n                ▶ノックバック [6] [6]\n            end\n        end\n        if <(なに？) = [3]> then\n            if <(x position) < (スケルトン位置x)> then\n                ▶ノックバック [-5] [5]\n            else\n                ▶ノックバック [5] [5]\n            end\n        end\n        if <(なに？) = [4]> then\n            if <(x position) < (item (4) of [情報 v])> then\n                ▶ノックバック [-7] [7]\n            else\n                ▶ノックバック [7] [7]\n            end\n        end\n        if <(なに？) = [5]> then\n            if <(x position) < (item (4) of [情報 v])> then\n                ▶ノックバック [-6] [6]\n            else\n                ▶ノックバック [6] [6]\n            end\n        end\n        if <(なに？) = [6]> then\n            if <(x position) < (item (22) of [情報 v])> then\n                ▶ノックバック [-6] [6]\n            else\n                ▶ノックバック [6] [6]\n            end\n        end\n        if <(なに？) = [7]> then\n        if <(なに？) = [8]> then\n            if <(x position) < (item (24) of [情報 v])> then\n                ▶ノックバック [-10] [12]\n            else\n                ▶ノックバック [10] [12]\n            end\n        end\n    else\n        if <(なに？) = [1]> then\n            if <(x position) < (モブの位置x)> then\n                ▶ノックバック [-10] [10]\n            else\n                ▶ノックバック [10] [10]\n            end\n        end\n        if <(なに？) = [2]> then\n            if <(x position) < (スケルトン位置x)> then\n                ▶ノックバック [-10] [10]\n            else\n                ▶ノックバック [10] [10]\n            end\n        end\n        if <(なに？) = [3]> then\n            if <(x position) < (スケルトン位置x)> then\n                ▶ノックバック [-8.5] [8.5]\n            else\n                ▶ノックバック [8.5] [8.5]\n            end\n        end\n        if <(なに？) = [4]> then\n            if <(x position) < (item (4) of [情報 v])> then\n                ▶ノックバック [-15] [12]\n            else\n                ▶ノックバック [15] [12]\n            end\n        end\n        if <(なに？) = [5]> then\n            if <(x position) < (item (4) of [情報 v])> then\n                ▶ノックバック [-10] [10]\n            else\n                ▶ノックバック [10] [10]\n            end\n        end\n        if <(なに？) = [6]> then\n            if <(x position) < (item (22) of [情報 v])> then\n                ▶ノックバック [-10] [10]\n            else\n                ▶ノックバック [10] [10]\n            end\n        end\n        if <(なに？) = [7]> then\n        if <(なに？) = [8]> then\n            if <(x position) < (item (24) of [情報 v])> then\n                ▶ノックバック [-10] [12]\n            else\n                ▶ノックバック [10] [12]\n            end\n        end\n    end\nend\n\nwhen I receive [スタート v]\nswitch costume to (普通 v)\n\ndefine ▶ノックバック (x) (y)\nreplace item (2) of [情報 v] with (x)\nreplace item (3) of [情報 v] with (y)\n\nwhen I receive [スタート v]\nset [延焼ダメージ v] to [0]\nforever\n    if <touching (マグマ v)?> then\n        set [延焼ダメージ v] to [4]\n    end\nend\n\nwhen I receive [スタート v]\nreplace item (8) of [情報 v] with [20]\nforever\n    if <(item (8) of [情報 v]) < [0.01]> then\n        broadcast (やられた v)\n        replace item (2) of [情報 v] with [0]\n        replace item (3) of [情報 v] with [0]\n        replace item (8) of [情報 v] with [0]\n        wait until <not <(item (8) of [情報 v]) < [0.01]>>\n    end\nend\n\nwhen I receive [スタート v]\ndelete all of [移動処理 v]\ninsert [-100] at (1) of [移動処理 v] \nset [記録 v] to [0]\nwait (0.01) seconds\nforever\n    if <(item (1) of [移動処理 v]) < (y position)> then\n        移動処理 (y position) [✕]\n    end\n    if <<touching (水 v)?> or <touching (マグマ v)?>> then\n        移動処理 (y position) [✕]\n    end\nend\n\ndefine 移動処理 (y) (スピード)\nif <not <(y) = [ダメージ]>> then\n    insert ([ceiling v] of (y) ) at (1) of [移動処理 v] \nelse\n    broadcast (ダメージ v)\n    if <(item (1) of [設定 v]) = [16]> then\n        replace item (8) of [情報 v] with ((item (8) of [情報 v]) + ([ceiling v] of ((スピード) * (0.2)) ))\n    else\n        replace item (8) of [情報 v] with ((item (8) of [情報 v]) + (スピード))\n    end\n    set [記録 v] to [0]\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (落下ダメージの判定用 v)?> then\n        wait until <not <touching (落下ダメージの判定用 v)?>>\n        wait until <touching (落下ダメージの判定用 v)?>\n        set [記録 v] to ((item (1) of [移動処理 v]) - (round (y position)))\n        replace item (1) of [移動処理 v] with [-100]\n        if <[0] < ((記録) - (105))> then\n            if <(item (2) of [設定 v]) = [4]> then\n                移動処理 [ダメージ] ((0) - ([ceiling v] of (((記録) - (105)) / (10)) ))\n            else\n                if <(item (2) of [設定 v]) = [12]> then\n                    移動処理 [ダメージ] ((0) - ([ceiling v] of (((記録) - (105)) / (9)) ))\n                else\n                    移動処理 [ダメージ] ((0) - ([ceiling v] of (((記録) - (105)) / (8)) ))\n                end\n            end\n            start sound [ダメージ v]\n        end\n    end\nend\n\nwhen I receive [リスポーン v]\nreplace item (8) of [情報 v] with [20]\nif <(item (1) of [情報 v]) = [18]> then\n    go to x: (-200) y: (-75)\nelse\n    if <(item (1) of [情報 v]) = [21]> then\n        go to x: (-100) y: (-50)\n    else\n        if <(item (1) of [情報 v]) = [19]> then\n            go to x: (-200) y: (-50)\n        else\n            if <(item (1) of [情報 v]) = [16]> then\n                go to x: (-180) y: (0)\n            else\n                if <(item (1) of [情報 v]) = [14]> then\n                    go to x: (-155) y: (-55)\n                else\n                    if <(item (1) of [情報 v]) = [8]> then\n                        go to x: (-155) y: (-55)\n                    else\n                        go to x: (-200) y: (0)\n                    end\n                end\n            end\n        end\n    end\nend\npoint in direction (90)\n▶ノックバック [0] [0]\nreplace item (8) of [情報 v] with [20]\nプレイヤー [1]\nset [ghost v] effect to (0)\nshow\n\nwhen I receive [スタート v]\nforever\n    if <(item (8) of [情報 v]) = [0]> then\n        set [延焼ダメージ v] to [0]\n        hide\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <<not <(item (8) of [情報 v]) = [0]>> and <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <(mouse x) < [0]>> and <(攻撃状態) = [0]>>> or <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<mouse down?> and <[0] < (mouse x)>> and <(攻撃状態) = [0]>>>>> then\n        set volume to (100) %\n        wait (0.05) seconds\n        if <touching (酸素ゲージ判定用 v)?> then\n            play sound (pick random (4) to (8)) until done\n        else\n            if <touching (地面ー土 v)?> then\n                play sound (pick random (1) to (2)) until done\n            end\n            if <touching (地面ー砂 v)?> then\n                play sound (pick random (9) to (13)) until done\n            end\n            if <touching (地面ー石 v)?> then\n                play sound (pick random (14) to (17)) until done\n            end\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <<(item (3) of [設定 v]) = [14]> and <not <(item (1) of [設定 v]) = [9]>>> then\n        forever\n        end\n    end\n    if <<(item (3) of [設定 v]) = [14]> and <(item (1) of [設定 v]) = [9]>> then\n        wait (0.2) seconds\n    else\n        if <(item (1) of [設定 v]) = [9]> then\n            wait (0.2) seconds\n        else\n            if <(item (2) of [設定 v]) = [4]> then\n                wait (4) seconds\n            else\n                if <(item (2) of [設定 v]) = [12]> then\n                    wait (5) seconds\n                else\n                    wait (6) seconds\n                end\n            end\n        end\n    end\n    if <<(item (8) of [情報 v]) < [20]> and <not <(item (8) of [情報 v]) = [0]>>> then\n        replace item (8) of [情報 v] with ((item (8) of [情報 v]) + (1))\n    end\nend\n\nwhen I receive [リスポーン v]\nreplace item (1) of [移動処理 v] with [0]\n\nwhen I receive [スタート v]\nforever\n    if <not <(延焼ダメージ) = [0]>> then\n        start sound (pick random (18) to (20))\n        change [延焼ダメージ v] by (-1)\n        replace item (8) of [情報 v] with ((item (8) of [情報 v]) - (1))\n        broadcast (ダメージ v)\n        wait (1.3) seconds\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    wait until <<touching (水 v)?> and <touching (酸素ゲージ判定用 v)?>>\n    wait (1) seconds\n    if <[0] < (酸素ゲージ)> then\n        if <<touching (水 v)?> and <touching (酸素ゲージ判定用 v)?>> then\n            wait (0.1) seconds\n            if <<touching (水 v)?> and <touching (酸素ゲージ判定用 v)?>> then\n                change [酸素ゲージ v] by (-1)\n                wait (0.15) seconds\n                change [酸素ゲージ v] by (-1)\n            end\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <(酸素ゲージ) = [0]> then\n        replace item (8) of [情報 v] with ((item (8) of [情報 v]) - (1))\n        start sound [ダメージ v]\n        broadcast (ダメージ v)\n        wait (1) seconds\n    end\nend\n\nwhen I receive [スタート v]\nset [酸素ゲージ v] to [20]\nforever\n    if <not <touching (酸素ゲージ判定用 v)?>> then\n        if <(酸素ゲージ) < [20]> then\n            change [酸素ゲージ v] by (2)\n        end\n        wait (0.5) seconds\n    end\nend\n\nwhen I receive [やられた v]\nset [酸素ゲージ v] to [20]\nset [延焼ダメージ v] to [0]\n\nwhen I receive [スタート v]\nforever\n    if <not <touching (酸素ゲージ判定用 v)?>> then\n        replace item (4) of [設定 v] with [水外]\n    end\n    if <touching (酸素ゲージ判定用 v)?> then\n        replace item (4) of [設定 v] with [水中]\n    end\nend\n\ndefine プレイヤー (x)\nif <(item (1) of [設定 v]) = [16]> then\n    if <(x) = [1]> then\n        switch costume to (普通5 v)\n    else\n        switch costume to (スティーブ やられた5 v)\n    end\nelse\n    if <(x) = [1]> then\n        switch costume to (普通 v)\n    else\n        switch costume to (スティーブ やられた v)\n    end\nend\n\nwhen I receive [スタート v]\nset [クリティカル攻撃判定用 v] to (y position)\nforever\n    repeat until <not <(クリティカル攻撃判定用) < (y position)>>\n        set [クリティカル攻撃判定用 v] to (y position)\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <(y position) < (クリティカル攻撃判定用)> then\n        set [結果 v] to [クリティカル攻撃可能]\n    else\n        set [結果 v] to [クリティカル攻撃不可能]\n    end\n    if <touching (落下ダメージの判定用 v)?> then\n        set [クリティカル攻撃判定用 v] to (y position)\n    end\nend\n\nwhen flag clicked\nreplace item (1) of [情報 v] with [1]\nreplace item (8) of [情報 v] with [20]\nforever\n    if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n        replace item (5) of [設定 v] with [1]\n    else\n        replace item (5) of [設定 v] with [0]\n    end\nend\n\nwhen [space v] key pressed\nif <<<(item (7) of [情報 v]) = [0]> and <(item (5) of [設定 v]) = [1]>> and <(item (1) of [設定 v]) = [10]>> then\n    point towards (ソニックブーム判定 v)\nend\n\nwhen I receive [スタート v]\nreplace item (13) of [情報 v] with [0]\nforever\n    if <<touching color (#4801b8)?> and <<(item (1) of [情報 v]) = [7]> or <(item (1) of [情報 v]) = [13]>>> then\n        start sound [ネザーゲート v]\n        repeat until <(item (13) of [情報 v]) = [18]>\n            wait (0.2) seconds\n            if <touching color (#4801b8)?> then\n                replace item (13) of [情報 v] with ((item (13) of [情報 v]) + (1))\n            else\n                replace item (13) of [情報 v] with [0]\n            end\n        end\n        play sound [ネザーゲート2 v] until done\n        replace item (1) of [情報 v] with ((item (1) of [情報 v]) + (1))\n        ▶ノックバック [0] [0]\n        broadcast (NEXT v)\n        go to x: (-155) y: (-55)\n        replace item (1) of [移動処理 v] with [0]\n    end\nend\n\nwhen I receive [スタート v]\nreplace item (8) of [情報 v] with [20]\n\nwhen flag clicked\nreplace item (8) of [情報 v] with [20]\n\nwhen I receive [スタート v]\nforever\n    if <<(y position) < [-178]> and <(item (1) of [情報 v]) = [15]>> then\n        replace item (1) of [情報 v] with ((item (1) of [情報 v]) + (1))\n        ▶ノックバック [0] [0]\n        broadcast (NEXT v)\n        go to x: (-170) y: (300)\n        replace item (1) of [移動処理 v] with [0]\n    end\n    if <<[238] < (x position)> and <(item (1) of [情報 v]) = [17]>> then\n        replace item (1) of [情報 v] with ((item (1) of [情報 v]) + (1))\n        ▶ノックバック [0] [0]\n        broadcast (NEXT v)\n        go to x: (-300) y: (-50)\n        replace item (1) of [移動処理 v] with [0]\n    end\n    if <<[60] > (y position)> and <<[60] < (x position)> and <(item (1) of [情報 v]) = [19]>>> then\n        replace item (1) of [情報 v] with ((item (1) of [情報 v]) + (1))\n        ▶ノックバック [0] [0]\n        broadcast (NEXT v)\n        go to x: (-180) y: (-50)\n        replace item (1) of [移動処理 v] with [0]\n    end\n    if <<[238] < (x position)> and <(item (1) of [情報 v]) = [20]>> then\n        replace item (1) of [情報 v] with ((item (1) of [情報 v]) + (1))\n        ▶ノックバック [0] [0]\n        broadcast (NEXT v)\n        go to x: (-75) y: (-50)\n        replace item (1) of [移動処理 v] with [0]\n    end\n    if <<<(y position) < [-60]> and <<(x position) < [40]> and <[-40] < (x position)>>> and <<(item (1) of [情報 v]) = [21]> and <(item (33) of [情報 v]) = [1]>>> then\n        replace item (1) of [情報 v] with ((item (1) of [情報 v]) + (1))\n        ▶ノックバック [0] [0]\n        broadcast (/xp 10000L @s v)\n        broadcast (NEXT v)\n        go to x: (-200) y: (0)\n        replace item (1) of [移動処理 v] with [0]\n        repeat until <(item (35) of [情報 v]) = [x]>\n            go to x: (-200) y: (0)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nreplace item (26) of [情報 v] with [0]\nwait (1) seconds\nwait until <<[-50] < (x position)> and <(item (1) of [情報 v]) = [19]>>\nreplace item (26) of [情報 v] with [1]\nbroadcast (エンダーアイ v)\nwait (10) seconds\nreplace item (26) of [情報 v] with [0]\n\n@Health2\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to ((item (8) of [情報 v]) + (1))\nend\n\nwhen I receive [スタート v]\nwait (0.01) seconds\nif <not <(item (1) of [設定 v]) = [11]>> then\n    show\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [やられた v]\nhide\n\nwhen I receive [リスポーン v]\nhide\nif <not <(item (1) of [設定 v]) = [11]>> then\n    show\n    go to [front v] layer\nend\n\nwhen I receive [ダメージ v]\nrepeat (2)\n    set [brightness v] effect to (40)\n    wait (0.1) seconds\n    set [brightness v] effect to (0)\n    wait (0.1) seconds\nend\n\n@Sword\n\nwhen flag clicked\nforever\n    if <[100] < (direction)> then\n        point in direction (100)\n    end\n    if <(direction) < [-100]> then\n        point in direction (-100)\n    end\nend\n\nwhen I receive [スタート v]\nset [攻撃 v] to [0]\nforever\n    switch costume to (持ち物)\n    if <[0] < ([direction v] of [steve v])> then\n        set [右左 v] to [右]\n        go to x: (([x position v] of [steve v]) + (15)) y: (([y position v] of [steve v]) + (-5))\n        if <(攻撃) = [0]> then\n            point in direction (-100)\n        end\n    else\n        set [右左 v] to [左]\n        go to x: (([x position v] of [steve v]) + (-15)) y: (([y position v] of [steve v]) + (-5))\n        if <(攻撃) = [0]> then\n            point in direction (100)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nset [持ち物 v] to [1]\nif <(item (1) of [設定 v]) = [16]> then\n    set [持ち物 v] to [11]\nend\nshow\nforever\n    if <(item (1) of [設定 v]) = [10]> then\n        hide\n    end\n    if <(右左) = [右]> then\n        switch costume to ((持ち物) + (1))\n    else\n        switch costume to (持ち物)\n    end\nend\n\nwhen I receive [attack v]\nif <[0] < ([direction v] of [steve v])> then\n    point in direction (-100)\nelse\n    point in direction (100)\nend\nset [攻撃 v] to [1]\nif <(右左) = [右]> then\n    repeat (4)\n        turn right (15) degrees\n    end\nelse\n    repeat (4)\n        turn left (15) degrees\n    end\nend\nset [攻撃 v] to [0]\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        broadcast (attack v)\n        if <(item (1) of [設定 v]) = [15]> then\n            broadcast (爆発剣 v)\n        end\n    end\n    wait until <not <key (space v) pressed?>>\nend\n\nwhen I receive [リスポーン v]\nwait () seconds\nshow\n\nwhen I receive [やられた v]\nhide\n\nwhen I receive [スタート v]\nforever\n    if <(item (1) of [設定 v]) = [10]> then\n        hide\n        set [持ち物 v] to [ソニックブーム]\n    end\nend\n\n@地面ー土\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@アップグレード\n\nwhen I receive [スタート v]\nset size to (100) %\nclear graphic effects\nshow\nforever\n    switch costume to (item (1) of [情報 v])\n    if <touching (steve v)?> then\n        set [持ち物 v] to (costume [name v])\n        broadcast (k v)\n        repeat (20)\n            change [ghost v] effect by (5)\n            change size by (5)\n        end\n        hide\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    change size by ([cos v] of (item (6) of [情報 v]) )\nend\n\nwhen I receive [スタート v]\n表示 [4] まで待つ [-140] [20]\n表示 [7] まで待つ [-80] [0]\n表示 [11] まで待つ [-20] [-30]\n表示 [13] まで待つ [40] [-10]\n表示 [20] まで待つ [150] [110]\n\ndefine 表示 (a) まで待つ (x) (y)\nwait until <(item (1) of [情報 v]) = (a)>\ngo to x: (x) y: (y)\nset size to (100) %\nclear graphic effects\nshow\n\nwhen I receive [スタート v]\nforever\n    if <<(item (1) of [設定 v]) = [10]> or <(item (1) of [設定 v]) = [16]>> then\n        hide\n    end\nend\n\n@地面ー砂\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@地面ー石\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@落下ダメージの判定用\n\nwhen I receive [スタート v]\nset [ghost v] effect to (99)\ngo to [front v] layer\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@背景\n\nwhen I receive [スタート v]\nset [brightness v] effect to (-18)\nset [ghost v] effect to (0)\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@装飾\n\nwhen I receive [スタート v]\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@水\n\nwhen I receive [スタート v]\ngo to [front v] layer\ngo [backward v] (10) layers\nforever\n    switch costume to (item (1) of [情報 v])\n    set [ghost v] effect to (40)\nend\n\n@マグマ\n\nwhen I receive [スタート v]\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\nwhen flag clicked\nclear graphic effects\nforever\n    repeat (5)\n        change [brightness v] effect by (1)\n        wait (0.1) seconds\n    end\n    repeat (5)\n        change [brightness v] effect by (-1)\n        wait (0.1) seconds\n    end\nend\n\n@太陽\n\nwhen flag clicked\nreplace item (6) of [情報 v] with [0]\nset size to (100) %\nshow\nforever\n    go to [back v] layer\n    replace item (6) of [情報 v] with ((item (6) of [情報 v]) + (10))\nend\n\nwhen flag clicked\nforever\n    change size by ([cos v] of (item (6) of [情報 v]) )\nend\n\nwhen I receive [スタート v]\nwait (1) seconds\nwait until <(item (1) of [情報 v]) = [8]>\nhide\n\n@ターボ\n\nwhen I receive [最後 v]\nshow\nstop [all v]\n\nwhen I receive [スタート v]\nforever\n    if <(φ\(*￣0￣\)) > [20]> then\n        broadcast (最後 v)\n    end\nend\n\nwhen I receive [スタート v]\nset [φ\(*￣0￣\) v] to [0]\nforever\n    change [φ\(*￣0￣\) v] by (1)\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide variable [タイム/time v]\nhide\nforever\n    wait (0.1) seconds\n    set [φ\(*￣0￣\) v] to [0]\nend\n\nwhen I receive [スタート v]\nreset timer\n\nwhen I receive [エンドロールend-end v]\nset [タイム/time v] to ((round ((timer) * (100))) / (100))\nshow variable [タイム/time v]\nstop [this script v]\n\n@サボテン\n\nwhen I receive [スタート v]\nforever\n    switch costume to (item (1) of [情報 v])\n    go to [back v] layer\nend\n\n@残骸\n\nwhen flag clicked\nhide\n\nwhen I receive [スティーブ v]\nrepeat (2)\n    switch costume to (pick random (1) to (4))\n    go to x: (item (4) of [情報 v]) y: (item (5) of [情報 v])\n    Particles\nend\n\nwhen I start as a clone\nif <<not <[11] < (costume [number v])>> or <[17] < (costume [number v])>> then\n    set [ghost v] effect to (0)\n    set [color v] effect to (pick random (-5) to (5))\n    set [brightness v] effect to (pick random (-30) to (10))\n    show\n    set [xv v] to (pick random (-8) to (8))\n    set [yv v] to (pick random (5) to (20))\n    repeat until <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <<touching (マグマ v)?> or <touching (_edge_ v)?>>>>>\n        change [yv v] by (-2)\n        set [xv v] to ((xv) * (0.9))\n        set [yv v] to ((yv) * (0.9))\n        change x by (xv)\n        change y by (yv)\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 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 y by (1)\n                                                    else\n                                                        change y by (-1)\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\ndefine Particles\nrepeat (4)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(複製対策) = [1]> then\n    delete this clone\nend\nset [複製対策 v] to [1]\n\nwhen I receive [スケルトン v]\nrepeat (2)\n    switch costume to (pick random (4) to (5))\n    go to x: (item (4) of [情報 v]) y: (item (5) of [情報 v])\n    Particles\nend\n\nwhen I receive [ゾンビ v]\nrepeat (2)\n    switch costume to (pick random (1) to (3))\n    go to x: (item (4) of [情報 v]) y: (item (5) of [情報 v])\n    Particles\nend\n\nwhen I receive [ クリーパー　 v]\nrepeat (2)\n    switch costume to (pick random (8) to (9))\n    go to x: (item (4) of [情報 v]) y: (item (5) of [情報 v])\n    Particles\nend\n\nwhen I receive [ヴォーデンスポーン v]\nwait (0.1) seconds\nrepeat (15)\n    switch costume to (pick random (10) to (11))\n    go to x: (item (1) of [ヴォーデン位置 v]) y: (item (2) of [ヴォーデン位置 v])\n    Particles\n    wait (0.1) seconds\nend\n\nwhen I receive [ポータル開通 v]\nrepeat (10)\n    switch costume to (pick random (12) to (13))\n    go to x: (75) y: (20)\n    Particles\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\nif <<(costume [number v]) = [12]> or <(costume [number v]) = [13]>> then\n    set [ghost v] effect to (0)\n    set [color v] effect to (pick random (-5) to (5))\n    set [brightness v] effect to (pick random (-30) to (10))\n    show\n    set [xv v] to (pick random (-8) to (8))\n    set [yv v] to (pick random (5) to (20))\n    repeat (pick random (15) to (25))\n        change [yv v] by (-2)\n        set [xv v] to ((xv) * (0.9))\n        set [yv v] to ((yv) * (0.9))\n        change x by (xv)\n        change y by (yv)\n    end\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\nwhen I receive [エンドラend v]\nwait (0.1) seconds\nrepeat (15)\n    if <not <(item (2) of [設定 v]) = [4]>> then\n        switch costume to (pick random (14) to (17))\n        go to x: (pick random (-50) to (50)) y: (pick random (120) to (80))\n        Particles\n        wait (0.1) seconds\n    end\nend\n\nwhen I start as a clone\nif <<(costume [number v]) = [14]> or <<(costume [number v]) = [15]> or <<(costume [number v]) = [16]> or <(costume [number v]) = [17]>>>> then\n    set [ghost v] effect to (0)\n    set [color v] effect to (pick random (-5) to (5))\n    set [brightness v] effect to (pick random (-30) to (10))\n    show\n    set [xv v] to (pick random (-10) to (10))\n    set [yv v] to (pick random (15) to (25))\n    repeat until <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <<touching (マグマ v)?> or <touching (_edge_ v)?>>>>>\n        change [yv v] by (-2)\n        set [xv v] to ((xv) * (0.9))\n        set [yv v] to ((yv) * (0.9))\n        change x by (xv)\n        change y by (yv)\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 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 y by (1)\n                                                    else\n                                                        change y by (-1)\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\nwhen I receive [ゾンビピグリン v]\nrepeat (2)\n    switch costume to (pick random (18) to (20))\n    go to x: (item (4) of [情報 v]) y: (item (5) of [情報 v])\n    Particles\nend\n\n@攻撃ボタン\n\nwhen I receive [スタート v]\nforever\n    go to [front v] layer\n    if <(item (6) of [設定 v]) = [18]> then\n        show\n        forever\n            go to [front v] layer\n            if <touching (mouse-pointer v)?> then\n                set [攻撃状態 v] to [1]\n                set [ghost v] effect to (10)\n                if <mouse down?> then\n                    broadcast (attack v)\n                    wait (0.1) seconds\n                    wait until <not <mouse down?>>\n                end\n            else\n                set [ghost v] effect to (70)\n                set [攻撃状態 v] to [0]\n            end\n        end\n    end\n    hide\nend\n\n@スケルトン\n\nwhen I receive [スタート v]\ngo to x: (250) y: (0)\ngo to [front v] layer\nhide\nwait (0.01) seconds\nwait until <(item (1) of [情報 v]) = [5]>\nスケルトン召喚魔法 [5] [300] [-15] [0.5] 秒待つ\nwait until <(item (1) of [情報 v]) = [16]>\nスケルトン召喚魔法 [20] [300] [100] [0] 秒待つ\n\nwhen I receive [スタート v]\nforever\n    set [スケルトンの間合いの距離 v] to ((round ([x position v] of [steve v])) - (round (スケルトン位置x)))\nend\n\nwhen I start as a clone\nshow\nforever\n    if <([x position v] of [steve v]) < (スケルトン位置x)> then\n        set [スケルトン向き v] to [-90]\n        point in direction (-90)\n    else\n        set [スケルトン向き v] to [90]\n        point in direction (90)\n    end\nend\n\nwhen I receive [next v]\nset [スケルトンの存在 v] to [0]\ndelete this clone\n\nwhen I receive [リスポーン v]\nスケルトン召喚魔法 [5] [300] [-70] [0] 秒待つ\nスケルトン召喚魔法 [24] [300] [0] [0] 秒待つ\nスケルトン召喚魔法 [29] [300] [0] [1] 秒待つ\nスケルトン召喚魔法 [30] [300] [100] [4] 秒待つ\n\nwhen I start as a clone\nswitch costume to (スケルトン v)\nset [スケルトンの存在 v] to [1]\nclear graphic effects\nset size to (65) %\nwait (0.01) seconds\npoint in direction (-90)\nset [スケルトンx v] to [0]\nset [スケルトンy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(item (8) of [情報 v]) = [0]>> then\n        if <<((round ([x position v] of [steve v])) - (round (スケルトン位置x))) < [-200]> and <((round ([x position v] of [steve v])) - (round (スケルトン位置x))) < [0]>> then\n            if <touching (水 v)?> then\n                change [スケルトンx v] by (-0.2)\n            else\n                change [スケルトンx v] by (-0.3)\n            end\n        end\n        if <<[-170] < ((round ([x position v] of [steve v])) - (round (スケルトン位置x)))> and <((round ([x position v] of [steve v])) - (round (スケルトン位置x))) < [0]>> then\n            if <touching (水 v)?> then\n                change [スケルトンx v] by (0.2)\n            else\n                change [スケルトンx v] by (0.3)\n            end\n        end\n        if <<[0] < ((round ([x position v] of [steve v])) - (round (スケルトン位置x)))> and <((round ([x position v] of [steve v])) - (round (スケルトン位置x))) < [170]>> then\n            if <touching (水 v)?> then\n                change [スケルトンx v] by (-0.2)\n            else\n                change [スケルトンx v] by (-0.3)\n            end\n        end\n        if <[200] < ((round ([x position v] of [steve v])) - (round (スケルトン位置x)))> then\n            if <touching (水 v)?> then\n                change [スケルトンx v] by (0.2)\n            else\n                change [スケルトンx v] by (0.3)\n            end\n        end\n        set [スケルトンx v] to ((スケルトンx) * (0.9))\n        change x by (スケルトンx)\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 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 <not <(y position) < ([y position v] of [steve v])>> then\n                                        set [スケルトンx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [スケルトンy v] by (-0.9)\n        if <<touching (水 v)?> and <(スケルトンy) < [-2]>> then\n            set [スケルトンy v] to [-2]\n        end\n        change y by (スケルトンy)\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n            change y by ((0) - (スケルトンy))\n            set [スケルトンy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (水 v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [スケルトンy v] to [4]\n        else\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                if <(y position) < ([y position v] of [steve v])> then\n                    if <[1] = (pick random (1) to (15))> then\n                        set [スケルトンy v] to [12]\n                    end\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nforever\n    set [モブの位置x v] to (x position)\n    set [モブの位置y v] to (y position)\nend\n\ndefine ダメージ (ダメージ量)\nswitch costume to (スケルトン2 v)\nchange [hp v] by (ダメージ量)\nif <(HP) < [0.01]> then\n    replace item (12) of [情報 v] with ((item (12) of [情報 v]) + (1))\n    replace item (9) of [情報 v] with [0]\n    start sound [Skeleton_death v]\n    replace item (4) of [情報 v] with (x position)\n    replace item (5) of [情報 v] with (y position)\n    broadcast (スケルトン v)\n    repeat (5)\n        change [ghost v] effect by (20)\n    end\n    set [スケルトンの存在 v] to [0]\n    delete this clone\nelse\n    if <(pick random (1) to (2)) = [1]> then\n        start sound [skeletonhurt2 v]\n    else\n        start sound [skeletondeath v]\n    end\nend\nwait (0.25) seconds\nswitch costume to (スケルトン v)\n\ndefine ノックバック (x) (y)\nset [スケルトンx v] to (x)\nset [スケルトンy v] to (y)\n\nwhen I start as a clone\nif <(item (2) of [設定 v]) = [12]> then\n    set [hp v] to [18]\nelse\n    set [hp v] to [22]\nend\nforever\n    if <touching (マグマ v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n    end\n    if <touching (サボテン v)?> then\n        ダメージ [-3]\n        wait (0.3) seconds\n    end\n    if <<touching (sword v)?> and <(攻撃) = [1]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        if <(結果) = [クリティカル攻撃可能]> then\n            ダメージ ([floor v] of (([costume name v] of [sword v]) * (1.5)) )\n            set [攻撃位置x v] to (x position)\n            set [攻撃位置y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [sword v])\n        end\n        wait until <(攻撃) = [0]>\n        wait (0.3) seconds\n        switch costume to (スケルトン v)\n    end\n    if <touching (ソニックブーム補完用4 v)?> then\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        ダメージ [-16]\n        wait (0.3) seconds\n        switch costume to (スケルトン v)\n        wait (1) seconds\n    end\n    if <touching (爆発 v)?> then\n        ダメージ [-16]\n        if <(item (4) of [情報 v]) < (x position)> then\n            ノックバック [15] [12]\n        else\n            ノックバック [-15] [12]\n        end\n        wait (0.3) seconds\n    end\n    if <touching (爆発2 v)?> then\n        ダメージ [-14]\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [14] [12]\n        else\n            ノックバック [-14] [12]\n        end\n        wait (0.3) seconds\n        switch costume to (スケルトン v)\n    end\n    if <(y position) < [-160]> then\n        ダメージ [-100]\n        wait (0.3) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    set [スケルトン位置x v] to (x position)\n    set [スケルトン位置y v] to (y position)\nend\n\ndefine スケルトン召喚魔法 (ステージ) (x) (y) (n) 秒待つ\nif <not <(item (2) of [設定 v]) = [4]>> then\n    if <(item (1) of [情報 v]) = (ステージ)> then\n        wait (n) seconds\n        go to x: (x) y: (y)\n        create clone of (_myself_ v)\n        create clone of (弓 v)\n    end\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [やられた v]\nset [スケルトンの存在 v] to [0]\ndelete this clone\n\nwhen I start as a clone\nif <(item (1) of [情報 v]) = [31]> then\n    delete this clone\nend\n\n@弓\n\nwhen flag clicked\nset size to (80) %\ngo to [front v] layer\nswitch costume to (1 v)\n\nwhen I start as a clone\nif <(costume [name v]) = [4]> then\n    go to [front v] layer\n    set [ghost v] effect to (0)\n    set rotation style [all around v]\n    show\n    repeat (2)\n        if <(スケルトン向き) = [90]> then\n            change x by (20)\n        end\n        if <(スケルトン向き) = [-90]> then\n            change x by (-20)\n        end\n    end\n    repeat until <<<<touching (_edge_ v)?> or <touching (steve v)?>> or <<touching (サボテン v)?> or <<touching (マグマ v)?> or <<touching (地面ー土 v)?> or <<touching (地面ー石 v)?> or <touching (地面ー砂 v)?>>>>>> or <<touching (sword v)?> and <(攻撃) = [1]>>>\n        if <(スケルトン向き) = [90]> then\n            change x by (22)\n        end\n        if <(スケルトン向き) = [-90]> then\n            change x by (-22)\n        end\n        change [ghost v] effect by (2)\n        change y by (-1.5)\n        turn left (0.5) degrees\n    end\n    repeat (2)\n        change [ghost v] effect by (50)\n    end\n    delete this clone\nend\nset rotation style [all around v]\n\nwhen I start as a clone\nforever\n    if <not <(costume [name v]) = [4]>> then\n        if <(スケルトンの存在) = [0]> then\n            delete this clone\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nif <(costume [name v]) = [4]> then\n    start sound [弓矢射撃音 v]\n    wait until <touching (steve v)?>\n    broadcast (弓矢 v)\nend\n\nwhen I start as a clone\nshow\nif <not <(costume [name v]) = [4]>> then\n    forever\n        switch costume to (1 v)\n        wait (1.5) seconds\n        switch costume to (2 v)\n        wait (1) seconds\n        switch costume to (3 v)\n        wait (1) seconds\n        switch costume to (4 v)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nif <not <(costume [name v]) = [4]>> then\n    forever\n        if <(スケルトン向き) = [90]> then\n            point in direction (-135)\n            go to x: ((スケルトン位置x) + (20)) y: ((スケルトン位置y) + (-2))\n        end\n        if <(スケルトン向き) = [-90]> then\n            point in direction (45)\n            go to x: ((スケルトン位置x) + (-20)) y: ((スケルトン位置y) + (-2))\n        end\n    end\nend\n\n@Zombie\n\nwhen I start as a clone\nclear graphic effects\nset size to (58) %\nwait (0.01) seconds\npoint in direction (90)\nset [ゾンビx v] to [0]\nset [ゾンビy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(item (8) of [情報 v]) = [0]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            point in direction (-90)\n            if <touching (水 v)?> then\n                change [ゾンビx v] by (-0.14)\n            else\n                change [ゾンビx v] by (-0.2)\n            end\n        end\n        if <(x position) < ([x position v] of [steve v])> then\n            point in direction (90)\n            if <touching (水 v)?> then\n                change [ゾンビx v] by (0.14)\n            else\n                change [ゾンビx v] by (0.2)\n            end\n        end\n        set [ゾンビx v] to ((ゾンビx) * (0.9))\n        change x by (ゾンビx)\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 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 <not <(y position) < ([y position v] of [steve v])>> then\n                                        set [ゾンビx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [ゾンビy v] by (-0.9)\n        if <<touching (水 v)?> and <(ゾンビy) < [-2]>> then\n            set [ゾンビy v] to [-2]\n        end\n        change y by (ゾンビy)\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n            change y by ((0) - (ゾンビy))\n            set [ゾンビy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (水 v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [ゾンビy v] to [4]\n        else\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                if <(y position) < ([y position v] of [steve v])> then\n                    if <[1] = (pick random (1) to (15))> then\n                        set [ゾンビy v] to [12]\n                    end\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nforever\n    set [モブの位置x v] to (x position)\n    set [モブの位置y v] to (y position)\nend\n\nwhen I receive [やられた v]\ndelete this clone\n\nwhen I start as a clone\nif <(item (2) of [設定 v]) = [12]> then\n    set [hp v] to [18]\nelse\n    set [hp v] to [22]\nend\nswitch costume to (player v)\nforever\n    if <touching (マグマ v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n        switch costume to (player v)\n    end\n    if <touching (サボテン v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n        switch costume to (player v)\n    end\n    if <<touching (sword v)?> and <(攻撃) = [1]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        if <(結果) = [クリティカル攻撃可能]> then\n            ダメージ ([floor v] of (([costume name v] of [sword v]) * (1.5)) )\n            set [攻撃位置x v] to (x position)\n            set [攻撃位置y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [sword v])\n        end\n        wait until <(攻撃) = [0]>\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\n    if <touching (爆発 v)?> then\n        ダメージ [-15]\n        if <(item (4) of [情報 v]) < (x position)> then\n            ノックバック [15] [12]\n        else\n            ノックバック [-15] [12]\n        end\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\n    if <touching (ソニックブーム補完用4 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        wait (0.3) seconds\n        switch costume to (player v)\n        wait (1) seconds\n    end\n    if <touching (爆発2 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [14] [12]\n        else\n            ノックバック [-14] [12]\n        end\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\n    if <(y position) < [-160]> then\n        ダメージ [-100]\n        wait (0.3) seconds\n    end\nend\n\ndefine ダメージ (ダメージ量)\nchange [hp v] by (ダメージ量)\nif <(pick random (1) to (2)) = [1]> then\n    start sound [攻撃 v]\n    switch costume to (player2 v)\nelse\n    start sound [攻撃2 v]\n    switch costume to (player2 v)\nend\nif <(HP) < [0.01]> then\n    replace item (9) of [情報 v] with [0]\n    replace item (12) of [情報 v] with ((item (12) of [情報 v]) + (1))\n    switch costume to (player2 v)\n    start sound [倒した v]\n    broadcast (ゾンビ v)\n    replace item (4) of [情報 v] with (x position)\n    replace item (5) of [情報 v] with (y position)\n    repeat (4)\n        change [ghost v] effect by (25)\n    end\n    delete this clone\nend\n\nwhen I receive [スタート v]\ngo to x: (250) y: (0)\ngo to [front v] layer\nhide\nwait (0.01) seconds\nwait until <(item (1) of [情報 v]) = [1]>\nゾンビ召喚魔法 [1] [300] [0] [0.2] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [情報 v]) = [5]>\nゾンビ召喚魔法 [5] [300] [-70] [0.7] 秒待つ [2] 回繰り返す\nwait until <(item (1) of [情報 v]) = [6]>\nゾンビ召喚魔法 [6] [300] [-100] [0.7] 秒待つ [3] 回繰り返す\nwait until <(item (1) of [情報 v]) = [16]>\nゾンビ召喚魔法 [16] [300] [-100] [1] 秒待つ [2] 回繰り返す\nwait until <(item (1) of [情報 v]) = [17]>\nゾンビ召喚魔法 [17] [300] [-100] [0.5] 秒待つ [4] 回繰り返す\n\ndefine ノックバック (x) (y)\nset [ゾンビx v] to (x)\nset [ゾンビy v] to (y)\n\ndefine ゾンビ召喚魔法 (ステージ) (x) (y) (n) 秒待つ (a) 回繰り返す\nif <not <(item (2) of [設定 v]) = [4]>> then\n    if <(item (1) of [情報 v]) = (ステージ)> then\n        repeat (a)\n            wait (n) seconds\n            go to x: (x) y: (y)\n            create clone of (_myself_ v)\n        end\n    end\nend\n\nwhen I receive [リスポーン v]\nゾンビ召喚魔法 [1] [300] [0] [0.2] 秒待つ [1] 回繰り返す\nゾンビ召喚魔法 [5] [300] [-70] [0.7] 秒待つ [2] 回繰り返す\nゾンビ召喚魔法 [6] [300] [-100] [0.7] 秒待つ [3] 回繰り返す\nゾンビ召喚魔法 [16] [300] [-100] [1] 秒待つ [2] 回繰り返す\nゾンビ召喚魔法 [17] [300] [-100] [0.5] 秒待つ [4] 回繰り返す\n\nwhen I receive [next v]\ndelete this clone\n\nwhen flag clicked\nreplace item (9) of [情報 v] with [1]\nreplace item (12) of [情報 v] with [0]\n\nwhen I start as a clone\nif <(item (1) of [情報 v]) = [31]> then\n    delete this clone\nend\n\n@Creeper\n\nwhen I receive [スタート v]\ngo to [front v] layer\nhide\nwait (0.01) seconds\nwait until <(item (1) of [情報 v]) = [6]>\nクリーパー [6] [300] [-100] [1] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [情報 v]) = [17]>\nクリーパー [17] [300] [-100] [1.3] 秒待つ [2] 回繰り返す\n\nwhen I start as a clone\nclear graphic effects\nset size to (65) %\nwait (0.01) seconds\npoint in direction (90)\nset [クリーパーx v] to [0]\nset [クリーパーy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(item (8) of [情報 v]) = [0]>> then\n        if <(モード) = [0]> then\n            if <([x position v] of [steve v]) < (x position)> then\n                point in direction (-90)\n                if <touching (水 v)?> then\n                    change [クリーパーx v] by (-0.14)\n                else\n                    change [クリーパーx v] by (-0.2)\n                end\n            end\n            if <(x position) < ([x position v] of [steve v])> then\n                point in direction (90)\n                if <touching (水 v)?> then\n                    change [クリーパーx v] by (0.14)\n                else\n                    change [クリーパーx v] by (0.2)\n                end\n            end\n        end\n        set [クリーパーx v] to ((クリーパーx) * (0.9))\n        change x by (クリーパーx)\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 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 <not <(y position) < ([y position v] of [steve v])>> then\n                                        set [クリーパーx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [クリーパーy v] by (-0.9)\n        if <<touching (水 v)?> and <(クリーパーy) < [-2]>> then\n            set [クリーパーy v] to [-2]\n        end\n        change y by (クリーパーy)\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n            change y by ((0) - (クリーパーy))\n            set [クリーパーy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (水 v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [クリーパーy v] to [4]\n        else\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                if <(y position) < ([y position v] of [steve v])> then\n                    if <(モード) = [0]> then\n                        if <[1] = (pick random (1) to (15))> then\n                            set [クリーパーy v] to [10]\n                        end\n                    end\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nforever\n    set [モブの位置x v] to (x position)\n    set [モブの位置y v] to (y position)\nend\n\nwhen I receive [やられた v]\ndelete this clone\n\nwhen I start as a clone\nif <(item (2) of [設定 v]) = [12]> then\n    set [hp v] to [18]\nelse\n    set [hp v] to [22]\nend\nswitch costume to (player v)\nforever\n    if <touching (マグマ v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n    end\n    if <touching (サボテン v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n    end\n    if <<touching (sword v)?> and <(攻撃) = [1]>> then\n        if <(結果) = [クリティカル攻撃可能]> then\n            ダメージ ([floor v] of (([costume name v] of [sword v]) * (1.5)) )\n            set [攻撃位置x v] to (x position)\n            set [攻撃位置y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [sword v])\n        end\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        wait until <(攻撃) = [0]>\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\n    if <touching (爆発 v)?> then\n        ダメージ [-16]\n        if <(item (4) of [情報 v]) < (x position)> then\n            ノックバック [15] [12]\n        else\n            ノックバック [-15] [12]\n        end\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\n    if <touching (ソニックブーム補完用4 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        wait (0.3) seconds\n        switch costume to (player v)\n        wait (1) seconds\n    end\n    if <touching (爆発2 v)?> then\n        ダメージ [-15]\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [14] [12]\n        else\n            ノックバック [-14] [12]\n        end\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\nend\n\ndefine ダメージ (ダメージ量)\nclear graphic effects\nchange [hp v] by (ダメージ量)\nif <(pick random (1) to (3)) = [1]> then\n    start sound [Creeper_hurt_1 v]\n    switch costume to (player2 v)\nelse\n    if <(pick random (1) to (2)) = [1]> then\n        start sound [Creeper_hurt2 v]\n        switch costume to (player2 v)\n    else\n        start sound [Creeper_hurt4 v]\n        switch costume to (player2 v)\n    end\nend\n\ndefine ノックバック (x) (y)\nset [クリーパーx v] to (x)\nset [クリーパーy v] to (y)\n\nwhen I start as a clone\nset [モード v] to [0]\nclear graphic effects\nforever\n    if <(distance to [steve v]) < [50]> then\n        set [モード v] to [1]\n        start sound [Fuse v]\n        repeat (3)\n            set [brightness v] effect to (75)\n            wait (0.2) seconds\n            set [brightness v] effect to (0)\n            wait (0.25) seconds\n        end\n        if <(distance to [steve v]) < [130]> then\n            set [brightness v] effect to (75)\n            replace item (4) of [情報 v] with (x position)\n            replace item (5) of [情報 v] with (y position)\n            repeat (3)\n                change size by (10)\n                change [ghost v] effect by (33)\n            end\n            broadcast (クリーパー v)\n            delete this clone\n        end\n        set [モード v] to [0]\n    end\nend\n\ndefine クリーパー (ステージ) (x) (y) (n) 秒待つ (a) 回繰り返す\nif <not <(item (2) of [設定 v]) = [4]>> then\n    if <(item (1) of [情報 v]) = (ステージ)> then\n        repeat (a)\n            wait (n) seconds\n            go to x: (x) y: (y)\n            create clone of (_myself_ v)\n        end\n    end\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [リスポーン v]\nクリーパー [6] [300] [-100] [1] 秒待つ [1] 回繰り返す\nクリーパー [17] [300] [-100] [1.3] 秒待つ [2] 回繰り返す\n\nwhen I start as a clone\nforever\n    if <(HP) < [0.01]> then\n        replace item (12) of [情報 v] with ((item (12) of [情報 v]) + (1))\n        replace item (9) of [情報 v] with [0]\n        set [brightness v] effect to (75)\n        replace item (4) of [情報 v] with (x position)\n        replace item (5) of [情報 v] with (y position)\n        repeat (3)\n            change [ghost v] effect by (33)\n        end\n        broadcast ( クリーパー　 v)\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nif <(item (1) of [情報 v]) = [31]> then\n    delete this clone\nend\n\n@爆発\n\nwhen I receive [クリーパー v]\ngo to x: (item (4) of [情報 v]) y: (item (5) of [情報 v])\nswitch costume to (explosion_0 v)\nshow\nrepeat (7)\n    wait () seconds\n    next costume\nend\nhide\n\nwhen I receive [クリーパー v]\nwait (0.2) seconds\nstart sound [get4 v]\n\n@Buttons\n\nwhen I receive [やられた v]\nset [コスチューム v] to [7]\nrepeat (2)\n    switch costume to (コスチューム)\n    create clone of (_myself_ v)\n    change [コスチューム v] by (1)\nend\n\nwhen I receive [リスポーン v]\ndelete this clone\n\nwhen I receive [a v]\nset [コスチューム v] to [1]\nrepeat (2)\n    switch costume to (コスチューム)\n    create clone of (_myself_ v)\n    change [コスチューム v] by (1)\nend\n\nwhen flag clicked\nset [コスチューム v] to [1]\nreplace item (6) of [設定 v] with [17]\nreplace item (1) of [設定 v] with [3]\nreplace item (2) of [設定 v] with [12]\nreplace item (3) of [設定 v] with [5]\nbroadcast (a v)\n\nwhen I start as a clone\nset [クローン番号 v] to ((コスチューム) - (1))\nif <(クローン番号) = [1]> then\n    初期設定 [０] [-30] [0]\n    描画 [New Game]\nend\nif <(クローン番号) = [2]> then\n    初期設定 [0] [-105] [0]\n    描画 [Setting]\nend\nif <(クローン番号) = [3]> then\n    switch costume to (item (3) of [設定 v])\n    初期設定 [0] [40] [0]\n    描画 [自動回復]\nend\nif <(クローン番号) = [4]> then\n    switch costume to (item (1) of [設定 v])\n    初期設定 [０] [-10] [0]\n    描画 [ゲームモード]\nend\nif <(クローン番号) = [16]> then\n    初期設定 [0] [90] [0]\n    描画 [機器]\nend\nif <(クローン番号) = [5]> then\n    switch costume to (item (2) of [設定 v])\n    初期設定 [0] [-60] [0]\n    描画 [難易度]\nend\nif <(クローン番号) = [6]> then\n    初期設定 [0] [-130] [0]\n    描画 [完了]\nend\nif <(クローン番号) = [7]> then\n    初期設定 [0] [0] [100]\n    描画 [完了]\nend\nif <(クローン番号) = [8]> then\n    if <not <(item (1) of [設定 v]) = [11]>> then\n        初期設定 [0] [-80] [0]\n        描画 [リスポーン]\n    end\nend\n\ndefine 初期設定 (x) (y) (サイズ)\ngo to x: (x) y: (y)\nset size to (サイズ) %\nshow\ngo to [front v] layer\nif <not <(クローン番号) = [7]>> then\n    repeat until <(round (size)) = [100]>\n        change size by (((100) - (size)) / (7))\n    end\nend\n\ndefine 描画 (new game/setting)\nforever\n    if <touching (mouse-pointer v)?> then\n        if <not <(クローン番号) = [7]>> then\n            if <mouse down?> then\n                start sound [Click v]\n                if <(new game/setting) = [New Game]> then\n                    broadcast (New Game v)\n                else\n                    if <(new game/setting) = [Setting]> then\n                        broadcast (Setting v)\n                    end\n                end\n                if <(new game/setting) = [ゲームモード]> then\n                    if <(item (1) of [設定 v]) = [20]> then\n                        replace item (1) of [設定 v] with [3]\n                    else\n                        if <(item (1) of [設定 v]) = [3]> then\n                            replace item (1) of [設定 v] with [10]\n                        else\n                            if <(item (1) of [設定 v]) = [10]> then\n                                replace item (1) of [設定 v] with [9]\n                            else\n                                if <(item (1) of [設定 v]) = [9]> then\n                                    replace item (1) of [設定 v] with [15]\n                                else\n                                    if <(item (1) of [設定 v]) = [15]> then\n                                        replace item (1) of [設定 v] with [16]\n                                    else\n                                        if <(item (1) of [設定 v]) = [16]> then\n                                            replace item (1) of [設定 v] with [19]\n                                        else\n                                            if <(item (1) of [設定 v]) = [19]> then\n                                                replace item (1) of [設定 v] with [11]\n                                            else\n                                                if <(item (1) of [設定 v]) = [11]> then\n                                                    replace item (1) of [設定 v] with [20]\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                    switch costume to (item (1) of [設定 v])\n                    wait until <not <mouse down?>>\n                else\n                    if <(new game/setting) = [難易度]> then\n                        if <(item (2) of [設定 v]) = [13]> then\n                            replace item (2) of [設定 v] with [4]\n                        else\n                            if <(item (2) of [設定 v]) = [4]> then\n                                replace item (2) of [設定 v] with [12]\n                            else\n                                replace item (2) of [設定 v] with [13]\n                            end\n                        end\n                        switch costume to (item (2) of [設定 v])\n                        wait until <not <mouse down?>>\n                    else\n                        if <(new game/setting) = [自動回復]> then\n                            if <(item (3) of [設定 v]) = [14]> then\n                                replace item (3) of [設定 v] with [5]\n                            else\n                                replace item (3) of [設定 v] with [14]\n                            end\n                            switch costume to (item (3) of [設定 v])\n                            wait until <not <mouse down?>>\n                        else\n                            if <(new game/setting) = [完了]> then\n                                broadcast (完了 v)\n                            else\n                                if <(new game/setting) = [リスポーン]> then\n                                    broadcast (リスポーン v)\n                                else\n                                    if <(new game/setting) = [機器]> then\n                                        if <(item (6) of [設定 v]) = [18]> then\n                                            replace item (6) of [設定 v] with [17]\n                                        else\n                                            replace item (6) of [設定 v] with [18]\n                                        end\n                                        switch costume to (item (6) of [設定 v])\n                                        wait until <not <mouse down?>>\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n            set [brightness v] effect to (30)\n            if <(round (size)) < [110]> then\n                change size by (((110) - (size)) / (4))\n            end\n        end\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set [brightness v] effect to (0)\n        if <[100] < (round (size))> then\n            change size by (((100) - (size)) / (4))\n        end\n    end\nend\n\nwhen I receive [new game v]\nif <<(クローン番号) = [1]> or <(クローン番号) = [2]>> then\n    delete this clone\nend\nbroadcast (スタート v)\n\nwhen I receive [setting v]\nif <<(クローン番号) = [1]> or <(クローン番号) = [2]>> then\n    delete this clone\nend\nset [コスチューム v] to [17]\nswitch costume to (コスチューム)\ncreate clone of (_myself_ v)\nwait () seconds\nset [コスチューム v] to [3]\nrepeat (4)\n    switch costume to (コスチューム)\n    create clone of (_myself_ v)\n    change [コスチューム v] by (1)\nend\n\nwhen I receive [完了 v]\ndelete this clone\n\nwhen I receive [完了 v]\nset [コスチューム v] to [1]\nrepeat (2)\n    switch costume to (コスチューム)\n    create clone of (_myself_ v)\n    change [コスチューム v] by (1)\nend\n\nchange [ライフ v] by (-10)\n\n@サムネ\n\nwhen flag clicked\ngo to [front v] layer\nset size to (100) %\nshow\nswitch costume to (コスチューム3 v)\ncreate clone of (_myself_ v)\nswitch costume to (kuri-pa-2- v)\nforever\n    repeat (10)\n        change size by (0.5)\n    end\n    repeat (10)\n        change size by (-0.5)\n    end\nend\n\nwhen I receive [スタート v]\nhide\n\nwhen I start as a clone\nshow\n\n@ハードコアーライフ\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nwait (0.01) seconds\nif <(item (1) of [設定 v]) = [11]> then\n    show\n    go to [front v] layer\nend\n\nwhen I receive [スタート v]\ngo to [front v] layer\nif <(item (1) of [設定 v]) = [11]> then\n    forever\n        switch costume to ((item (8) of [情報 v]) + (1))\n    end\nend\n\nwhen I receive [やられた v]\nhide\n\n@クリティカル\n\nwhen I start as a clone\nif <(n) = [0]> then\n    set [n v] to [8]\n    go to x: (攻撃位置x) y: (攻撃位置y)\n    show\n    switch costume to (pick random (1) to (3))\n    set [brightness v] effect to (pick random (10) to (50))\n    set size to (pick random (50) to (100)) %\n    point in direction (pick random (0) to (360))\n    repeat (15)\n        move (n) steps\n        set [n v] to ((n) * (0.8))\n        change size by (5)\n        change [ghost v] effect by (pick random (5) to (8))\n    end\n    move (8) steps\n    change size by (5)\n    change [ghost v] effect by (50)\n    delete this clone\nend\ndelete this clone\n\nwhen I receive [クリティカル v]\nブロック名\n\ndefine ブロック名\nrepeat (10)\n    create clone of (_myself_ v)\nend\n\n@Clouds\n\nwhen I receive [スタート v]\nhide\nset [cloud_num v] to [0]\nset [cloud x v] to [-100]\ncreate clone of (_myself_ v)\nchange [cloud_num v] by (1)\nset [cloud x v] to [100]\ncreate clone of (_myself_ v)\nchange [cloud_num v] by (1)\nforever\n    if <(Cloud_Num) < [10]> then\n        if <(pick random (1) to (5)) = [1]> then\n            set [cloud x v] to [300]\n            change [cloud_num v] by (1)\n            create clone of (_myself_ v)\n        end\n        wait (3) seconds\n    end\nend\n\nwhen I start as a clone\nwait until <[7] < (item (1) of [情報 v])>\ndelete this clone\n\nwhen I start as a clone\nif <[4] < (item (1) of [情報 v])> then\n    hide\n    delete this clone\nelse\n    go to [back v] layer\n    go [forward v] (1) layers\n    repeat until <[5] < (backdrop [number v])>\n        set [cloud y v] to (pick random (100) to (170))\n        if <(#Biome) = [2]> then\n            go [forward v] (5) layers\n            set [cloud y v] to (pick random (-80) to (0))\n            set [ghost v] effect to (50)\n        end\n        switch costume to ((1) + (pick random (1) to (10)))\n        set y to (cloud y)\n        repeat until <(cloud x) < [-400]>\n            show\n            set x to (cloud x)\n            change [cloud x v] by (-0.4)\n            set [ghost v] effect to (20)\n        end\n        change [cloud_num v] by (-1)\n        delete this clone\n    end\nend\n\nwhen flag clicked\nhide\n\n@酸素ゲージ判定用\n\nwhen I receive [スタート v]\ngo to [front v] layer\ngo [backward v] (10) layers\nset [ghost v] effect to (99)\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@Oxygen\n\nwhen I receive [スタート v]\nforever\n    if <(item (4) of [設定 v]) = [水中]> then\n        wait (0.05) seconds\n        if <(item (4) of [設定 v]) = [水中]> then\n            show\n        end\n    else\n        if <(酸素ゲージ) = [20]> then\n            wait (0.5) seconds\n            hide\n        end\n    end\nend\n\nwhen I receive [next v]\ngo to [front v] layer\n\nwhen I receive [リスポーン v]\ngo to [front v] layer\n\nwhen I receive [スタート v]\nforever\n    go to [front v] layer\n    switch costume to ((酸素ゲージ) + (1))\nend\n\n@マグマ判定\n\nwhen I receive [スタート v]\nset [ghost v] effect to (99)\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@ソニックブーム補完用3\n\nwhen I start as a clone\nshow\nset size to (pick random (80) to (100)) %\nswitch costume to (pick random (1) to (3))\n\nwhen I receive [ソニックブーム破裂-プレイヤー v]\nswitch costume to ((costume [number v]) + (3))\nwait (0.1) seconds\nswitch costume to ((costume [number v]) + (3))\ndelete this clone\n\ndefine a\nmove (30) steps\n\nwhen [space v] key pressed\nif <<(item (7) of [情報 v]) = [0]> and <<(item (5) of [設定 v]) = [1]> and <(item (1) of [設定 v]) = [10]>>> then\n    set [pitch v] effect to (pick random (40) to (70))\n    start sound [wardenkamisugiwarotanngo4 v]\n    wait () seconds\n    replace item (7) of [情報 v] with [1]\n    go to (steve v)\n    point towards (ソニックブーム判定 v)\n    repeat (2)\n        a\n        create clone of (_myself_ v)\n    end\n    repeat until <touching (_edge_ v)?>\n        a\n        create clone of (_myself_ v)\n    end\n    wait (0.06) seconds\n    broadcast (ソニックブーム破裂-プレイヤー v)\nend\n\nwhen I receive [ソニックブーム破裂-プレイヤー v]\nwait (2) seconds\nreplace item (7) of [情報 v] with [0]\n\nwhen flag clicked\nreplace item (7) of [情報 v] with [0]\n\nwhen I receive [attack v]\nif <<(item (7) of [情報 v]) = [0]> and <<(item (5) of [設定 v]) = [1]> and <(item (1) of [設定 v]) = [10]>>> then\n    set [pitch v] effect to (pick random (40) to (70))\n    start sound [wardenkamisugiwarotanngo4 v]\n    wait () seconds\n    replace item (7) of [情報 v] with [1]\n    go to (steve v)\n    point towards (ソニックブーム判定 v)\n    repeat (2)\n        a\n        create clone of (_myself_ v)\n    end\n    repeat until <touching (_edge_ v)?>\n        a\n        create clone of (_myself_ v)\n    end\n    wait (0.06) seconds\n    broadcast (ソニックブーム破裂-プレイヤー v)\nend\n\n@sonic_boom2\n\nwhen I start as a clone\nshow\nswitch costume to (コスチューム1 v)\nset size to (pick random (350) to (400)) %\n\ndefine a\nmove (30) steps\n\nwhen I receive [ソニックブーム破裂-プレイヤー v]\nrepeat (15)\n    wait (0) seconds\n    next costume\nend\ndelete this clone\n\nwhen [space v] key pressed\nif <<(item (7) of [情報 v]) = [0]> and <<(item (5) of [設定 v]) = [1]> and <(item (1) of [設定 v]) = [10]>>> then\n    wait () seconds\n    go to (steve v)\n    point towards (ソニックブーム判定 v)\n    repeat (2)\n        a\n        create clone of (_myself_ v)\n    end\n    repeat until <touching (_edge_ v)?>\n        a\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [attack v]\nif <<(item (7) of [情報 v]) = [0]> and <<(item (5) of [設定 v]) = [1]> and <(item (1) of [設定 v]) = [10]>>> then\n    wait () seconds\n    go to (steve v)\n    point towards (ソニックブーム判定 v)\n    repeat (2)\n        a\n        create clone of (_myself_ v)\n    end\n    repeat until <touching (_edge_ v)?>\n        a\n        create clone of (_myself_ v)\n    end\nend\n\n@ソニックブーム補完用4\n\nwhen I receive [ソニックブーム破裂-プレイヤー v]\nswitch costume to ((costume [number v]) + (3))\nwait (0.1) seconds\nswitch costume to ((costume [number v]) + (3))\ndelete this clone\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\nshow\n\ndefine a\nmove (30) steps\n\nwhen [space v] key pressed\nif <<(item (7) of [情報 v]) = [0]> and <<(item (5) of [設定 v]) = [1]> and <(item (1) of [設定 v]) = [10]>>> then\n    wait () seconds\n    go to (steve v)\n    point towards (ソニックブーム判定 v)\n    repeat (2)\n        a\n        create clone of (_myself_ v)\n    end\n    repeat until <touching (_edge_ v)?>\n        a\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [attack v]\nif <<(item (7) of [情報 v]) = [0]> and <<(item (5) of [設定 v]) = [1]> and <(item (1) of [設定 v]) = [10]>>> then\n    wait () seconds\n    go to (steve v)\n    point towards (ソニックブーム判定 v)\n    repeat (2)\n        a\n        create clone of (_myself_ v)\n    end\n    repeat until <touching (_edge_ v)?>\n        a\n        create clone of (_myself_ v)\n    end\nend\n\n@ソニックブーム判定\n\nwhen flag clicked\nhide\nforever\n    go to x: (モブの位置x) y: (モブの位置y)\nend\n\n@爆発2\n\nwhen I receive [爆発剣 v]\nif <<<(item (1) of [設定 v]) = [15]> and <(z) = [0]>> and <not <(item (8) of [情報 v]) = [0]>>> then\n    start sound [get4 v]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [z v] to [1]\nif <(右左) = [右]> then\n    go to x: (([x position v] of [steve v]) + (40)) y: (([y position v] of [steve v]) + (-5))\nelse\n    go to x: (([x position v] of [steve v]) + (-40)) y: (([y position v] of [steve v]) + (-5))\nend\nshow\nswitch costume to (explosion_0 v)\nrepeat (7)\n    wait () seconds\n    next costume\nend\nhide\ndelete this clone\n\nwhen I receive [attack v]\nif <<<(item (1) of [設定 v]) = [15]> and <(z) = [0]>> and <not <(item (8) of [情報 v]) = [0]>>> then\n    start sound [get4 v]\n    create clone of (_myself_ v)\nend\n\n@プレイヤー固定\n\nwhen flag clicked\nset [ghost v] effect to (99)\nhide\nforever\n    go to (steve v)\nend\n\nwhen [space v] key pressed\nif <<<(item (7) of [情報 v]) = [0]> and <(item (5) of [設定 v]) = [1]>> and <(item (1) of [設定 v]) = [10]>> then\n    show\n    wait (1.4) seconds\n    hide\nend\n\nwhen I receive [attack v]\nif <<<(item (7) of [情報 v]) = [0]> and <(item (5) of [設定 v]) = [1]>> and <(item (1) of [設定 v]) = [10]>> then\n    show\n    wait (1.4) seconds\n    hide\nend\n\n@スプライト1\n\nwhen flag clicked\nhide\n\nwhen I receive [エンドロールend-end v]\nshow\n\n@スプライト2\n\nwhen flag clicked\nhide\n\nwhen I receive [エンドロールend-end v]\nshow\n\n@スプライト3\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n@ゾンビ2\n\nwhen I start as a clone\nclear graphic effects\nset size to (58) %\nwait (0.01) seconds\npoint in direction (90)\nset [ゾンビx v] to [0]\nset [ゾンビy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(item (8) of [情報 v]) = [0]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            point in direction (-90)\n            if <touching (マグマ判定 v)?> then\n                change [ゾンビx v] by (-0.14)\n            else\n                change [ゾンビx v] by (-0.2)\n            end\n        end\n        if <(x position) < ([x position v] of [steve v])> then\n            point in direction (90)\n            if <touching (マグマ判定 v)?> then\n                change [ゾンビx v] by (0.14)\n            else\n                change [ゾンビx v] by (0.2)\n            end\n        end\n        set [ゾンビx v] to ((ゾンビx) * (0.9))\n        change x by (ゾンビx)\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 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 <not <(y position) < ([y position v] of [steve v])>> then\n                                        set [ゾンビx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [ゾンビy v] by (-0.9)\n        if <<touching (マグマ判定 v)?> and <(ゾンビy) < [-2]>> then\n            set [ゾンビy v] to [-2]\n        end\n        change y by (ゾンビy)\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n            change y by ((0) - (ゾンビy))\n            set [ゾンビy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (マグマ判定 v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [ゾンビy v] to [4]\n        else\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                if <(y position) < ([y position v] of [steve v])> then\n                    if <[1] = (pick random (1) to (15))> then\n                        set [ゾンビy v] to [12]\n                    end\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nforever\n    set [モブの位置x v] to (x position)\n    set [モブの位置y v] to (y position)\nend\n\nwhen I receive [やられた v]\ndelete this clone\n\nwhen I start as a clone\nif <(item (2) of [設定 v]) = [12]> then\n    set [hp v] to [18]\nelse\n    set [hp v] to [22]\nend\nswitch costume to (player3 v)\nforever\n    if <<touching (sword v)?> and <(攻撃) = [1]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        if <(結果) = [クリティカル攻撃可能]> then\n            ダメージ ([floor v] of (([costume name v] of [sword v]) * (1.5)) )\n            set [攻撃位置x v] to (x position)\n            set [攻撃位置y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [sword v])\n        end\n        wait until <(攻撃) = [0]>\n        wait (0.3) seconds\n        switch costume to (player3 v)\n    end\n    if <touching (爆発 v)?> then\n        ダメージ [-15]\n        if <(item (4) of [情報 v]) < (x position)> then\n            ノックバック [15] [12]\n        else\n            ノックバック [-15] [12]\n        end\n        wait (0.3) seconds\n        switch costume to (player3 v)\n    end\n    if <touching (ソニックブーム補完用4 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        wait (0.3) seconds\n        switch costume to (player3 v)\n        wait (1) seconds\n    end\n    if <touching (爆発2 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [14] [12]\n        else\n            ノックバック [-14] [12]\n        end\n        wait (0.3) seconds\n        switch costume to (player3 v)\n    end\n    if <(y position) < [-160]> then\n        ダメージ [-100]\n        wait (0.3) seconds\n    end\nend\n\ndefine ダメージ (ダメージ量)\nchange [hp v] by (ダメージ量)\nswitch costume to (player2 v)\nif <(pick random (1) to (3)) = [1]> then\n    start sound [pig1 v]\nelse\n    if <(pick random (1) to (2)) = [1]> then\n        start sound [pig2 v]\n    else\n        start sound [pig3 v]\n    end\nend\nif <(HP) < [0.01]> then\n    replace item (9) of [情報 v] with [0]\n    replace item (12) of [情報 v] with ((item (12) of [情報 v]) + (1))\n    switch costume to (player2 v)\n    start sound [pigdeath v]\n    broadcast (ゾンビピグリン v)\n    replace item (4) of [情報 v] with (x position)\n    replace item (5) of [情報 v] with (y position)\n    repeat (4)\n        change [ghost v] effect by (25)\n    end\n    delete this clone\nend\n\nwhen I receive [スタート v]\ngo to x: (250) y: (0)\ngo to [front v] layer\nhide\nwait (0.01) seconds\nwait until <(item (1) of [情報 v]) = [8]>\nゾンビピグリン召喚魔法 [8] [300] [-70] [0.2] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [情報 v]) = [9]>\nゾンビピグリン召喚魔法 [9] [300] [0] [0.2] 秒待つ [2] 回繰り返す\n\ndefine ノックバック (x) (y)\nset [ゾンビx v] to (x)\nset [ゾンビy v] to (y)\n\ndefine ゾンビピグリン召喚魔法 (ステージ) (x) (y) (n) 秒待つ (a) 回繰り返す\nif <not <(item (2) of [設定 v]) = [4]>> then\n    if <(item (1) of [情報 v]) = (ステージ)> then\n        repeat (a)\n            wait (n) seconds\n            go to x: (x) y: (y)\n            create clone of (_myself_ v)\n        end\n    end\nend\n\nwhen I receive [リスポーン v]\nゾンビピグリン召喚魔法 [8] [300] [-70] [0.2] 秒待つ [1] 回繰り返す\nゾンビピグリン召喚魔法 [9] [300] [0] [0.2] 秒待つ [2] 回繰り返す\n\nwhen I receive [next v]\ndelete this clone\n\nwhen flag clicked\nreplace item (9) of [情報 v] with [1]\nreplace item (12) of [情報 v] with [0]\n\nwhen I start as a clone\nif <(item (1) of [情報 v]) = [31]> then\n    delete this clone\nend\n\n@ゾンビ3\n\nwhen I start as a clone\nclear graphic effects\nset size to (58) %\nwait (0.01) seconds\npoint in direction (90)\nset [ゾンビx v] to [0]\nset [ゾンビy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(item (8) of [情報 v]) = [0]>> then\n        if <<<not <(HP) = [-100]>> and <([x position v] of [steve v]) < (x position)>> or <<([x position v] of [steve v]) < (x position)> and <[0] < (item (15) of [情報 v])>>> then\n            point in direction (-90)\n            if <touching (マグマ判定 v)?> then\n                change [ゾンビx v] by (-0.14)\n            else\n                change [ゾンビx v] by (-0.17)\n            end\n        end\n        if <<<not <(HP) = [-100]>> and <(x position) < ([x position v] of [steve v])>> or <<(x position) < ([x position v] of [steve v])> and <[0] < (item (15) of [情報 v])>>> then\n            point in direction (90)\n            if <touching (マグマ判定 v)?> then\n                change [ゾンビx v] by (0.14)\n            else\n                change [ゾンビx v] by (0.17)\n            end\n        end\n        set [ゾンビx v] to ((ゾンビx) * (0.9))\n        change x by (ゾンビx)\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 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 <not <(y position) < ([y position v] of [steve v])>> then\n                                        set [ゾンビx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [ゾンビy v] by (-0.9)\n        if <<touching (マグマ判定 v)?> and <(ゾンビy) < [-2]>> then\n            set [ゾンビy v] to [-2]\n        end\n        change y by (ゾンビy)\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n            change y by ((0) - (ゾンビy))\n            set [ゾンビy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (マグマ判定 v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [ゾンビy v] to [4]\n        else\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                if <(y position) < ([y position v] of [steve v])> then\n                    if <<<not <(HP) = [-100]>> and <[1] = (pick random (1) to (15))>> or <<[0] < (item (15) of [情報 v])> and <[1] = (pick random (1) to (15))>>> then\n                        set [ゾンビy v] to [12]\n                    end\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nforever\n    set [モブの位置x v] to (x position)\n    set [モブの位置y v] to (y position)\nend\n\nwhen I receive [やられた v]\ndelete this clone\n\nwhen I start as a clone\nif <(item (1) of [情報 v]) = [10]> then\n    replace item (19) of [情報 v] with [1]\n    set [hp v] to [-100]\n    if <(item (2) of [設定 v]) = [12]> then\n        replace item (15) of [情報 v] with [50]\n        replace item (16) of [情報 v] with [50]\n    else\n        replace item (15) of [情報 v] with [60]\n        replace item (16) of [情報 v] with [60]\n    end\nelse\n    if <(item (2) of [設定 v]) = [12]> then\n        set [hp v] to [36]\n    else\n        set [hp v] to [40]\n    end\nend\nswitch costume to (player v)\nforever\n    if <<touching (sword v)?> and <(攻撃) = [1]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        if <(結果) = [クリティカル攻撃可能]> then\n            ダメージ ([floor v] of (([costume name v] of [sword v]) * (1.5)) )\n            set [攻撃位置x v] to (x position)\n            set [攻撃位置y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [sword v])\n        end\n        wait until <(攻撃) = [0]>\n        wait (0.3) seconds\n        if <not <(HP) = [-100]>> then\n            switch costume to (player v)\n        end\n        if <[0] < (item (15) of [情報 v])> then\n            switch costume to (player v)\n        end\n    end\n    if <touching (爆発 v)?> then\n        ダメージ [-15]\n        if <(item (4) of [情報 v]) < (x position)> then\n            ノックバック [15] [12]\n        else\n            ノックバック [-15] [12]\n        end\n        wait (0.3) seconds\n        if <not <(HP) = [-100]>> then\n            switch costume to (player v)\n        end\n        if <[0] < (item (15) of [情報 v])> then\n            switch costume to (player v)\n        end\n    end\n    if <touching (ソニックブーム補完用4 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        wait (0.3) seconds\n        if <not <(HP) = [-100]>> then\n            switch costume to (player v)\n        end\n        if <[0] < (item (15) of [情報 v])> then\n            switch costume to (player v)\n        end\n        wait (1) seconds\n    end\n    if <touching (爆発2 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [14] [12]\n        else\n            ノックバック [-14] [12]\n        end\n        wait (0.3) seconds\n        if <not <(HP) = [-100]>> then\n            switch costume to (player v)\n        end\n        if <[0] < (item (15) of [情報 v])> then\n            switch costume to (player v)\n        end\n    end\n    if <(y position) < [-160]> then\n        ダメージ [-100]\n        wait (0.3) seconds\n    end\nend\n\ndefine ダメージ (ダメージ量)\nif <(HP) = [-100]> then\n    replace item (15) of [情報 v] with ((item (15) of [情報 v]) + (ダメージ量))\nelse\n    change [hp v] by (ダメージ量)\nend\nif <(pick random (1) to (2)) = [1]> then\n    start sound [Enderman hurt v]\n    switch costume to (player4 v)\nelse\n    start sound [Enderman screams v]\n    switch costume to (player4 v)\nend\nif <<(HP) < [0.01]> and <not <(HP) = [-100]>>> then\n    replace item (9) of [情報 v] with [0]\n    replace item (12) of [情報 v] with ((item (12) of [情報 v]) + (1))\n    switch costume to (player4 v)\n    start sound [Enderman death v]\n    broadcast (ゾンビ v)\n    replace item (4) of [情報 v] with (x position)\n    replace item (5) of [情報 v] with (y position)\n    repeat (4)\n        change [ghost v] effect by (25)\n    end\n    delete this clone\nend\nif <(item (15) of [情報 v]) < [0.01]> then\n    replace item (17) of [情報 v] with (x position)\n    replace item (18) of [情報 v] with (y position)\n    broadcast (エンダーパール v)\n    switch costume to (コスチューム1 v)\n    start sound [Enderman death v]\n    wait (0.5) seconds\n    wait until <touching (steve v)?>\n    repeat (25)\n        change size by (5)\n        change [ghost v] effect by (5)\n    end\n    replace item (19) of [情報 v] with [0]\n    delete this clone\nend\n\nwhen I receive [スタート v]\ngo to x: (250) y: (0)\ngo to [front v] layer\nhide\nwait (0.01) seconds\nwait until <(item (1) of [情報 v]) = [10]>\nゾンビピグリン召喚魔法 [10] [300] [0] [0.2] 秒待つ [1] 回繰り返す\n\ndefine ノックバック (x) (y)\nset [ゾンビx v] to (x)\nset [ゾンビy v] to (y)\n\ndefine ゾンビピグリン召喚魔法 (ステージ) (x) (y) (n) 秒待つ (a) 回繰り返す\nif <not <(item (2) of [設定 v]) = [4]>> then\n    if <(item (1) of [情報 v]) = (ステージ)> then\n        repeat (a)\n            wait (n) seconds\n            go to x: (x) y: (y)\n            create clone of (_myself_ v)\n        end\n    end\nend\n\nwhen I receive [リスポーン v]\nゾンビピグリン召喚魔法 [10] [300] [0] [0.2] 秒待つ [1] 回繰り返す\n\nwhen I receive [next v]\ndelete this clone\n\nwhen flag clicked\nreplace item (9) of [情報 v] with [1]\nreplace item (12) of [情報 v] with [0]\nreplace item (15) of [情報 v] with [1]\nreplace item (16) of [情報 v] with [0]\n\nwhen I start as a clone\nif <(item (1) of [情報 v]) = [31]> then\n    delete this clone\nend\n\nwhen I receive [エンダーパール v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [リスポーン v]\nswitch costume to (player v)\n\nwhen I receive [next v]\nswitch costume to (player v)\n\nwhen flag clicked\nreplace item (19) of [情報 v] with [0]\n\n@ぺん\n\nwhen I receive [リスポーン v]\nwait until <(item (1) of [情報 v]) = [10]>\nwait until <[10] < (item (15) of [情報 v])>\ngo to x: (0) y: (0)\nswitch costume to (コスチューム2 v)\nif <not <(item (2) of [設定 v]) = [4]>> then\n    create clone of (_myself_ v)\nend\nswitch costume to (コスチューム1 v)\nrepeat until <(item (15) of [情報 v]) < [0.01]>\n    描画\nend\nerase all\n\ndefine メーター (現在値) (最大値)\nset pen color to (#3d2867)\ngo to x: (-150) y: (150)\nset pen size to (15)\npen down\ngo to x: (150) y: (150)\npen up\ngo to x: (-150) y: (150)\nset pen color to (#5664ff)\nset pen size to (10)\npen down\ngo to x: ((-150) + (((([abs v] of (x position) ) * (2)) / (最大値)) * (現在値))) y: (y position)\npen up\n\ndefine 線\nset pen color to (#000000)\nset pen size to (5)\ngo to x: (-183) y: (180)\nrepeat (5)\n    change x by (((183) + (183)) / (5))\n    pen down\n    repeat (30)\n        go to x: (x position) y: ((((y position) - (-180)) * (0.8)) + (-180))\n    end\n    pen up\n    repeat (30)\n        go to x: (x position) y: ((((y position) - (180)) * (0.8)) + (180))\n    end\nend\n\n線\n\ndefine 描画\npen up\nerase all\ngo to x: (-150) y: (150)\nメーター (item (15) of [情報 v]) (item (16) of [情報 v])\n\nwhen I receive [スタート v]\nerase all\nwait (1) seconds\nwait until <(item (1) of [情報 v]) = [10]>\nwait until <[10] < (item (15) of [情報 v])>\ngo to x: (0) y: (0)\nswitch costume to (コスチューム2 v)\nif <not <(item (2) of [設定 v]) = [4]>> then\n    create clone of (_myself_ v)\nend\nswitch costume to (コスチューム1 v)\nrepeat until <(item (15) of [情報 v]) < [0.01]>\n    描画\nend\nerase all\nwait until <[12] = (item (1) of [情報 v])>\nwait until <[10] < (item (15) of [情報 v])>\ngo to x: (0) y: (0)\nswitch costume to (コスチューム3 v)\nif <not <(item (2) of [設定 v]) = [4]>> then\n    create clone of (_myself_ v)\nend\nswitch costume to (コスチューム1 v)\nrepeat until <(item (15) of [情報 v]) < [0.01]>\n    描画\nend\nerase all\nwait until <[21] = (item (1) of [情報 v])>\nwait until <[10] < (item (15) of [情報 v])>\ngo to x: (0) y: (0)\nswitch costume to (コスチューム4 v)\nif <not <(item (2) of [設定 v]) = [4]>> then\n    create clone of (_myself_ v)\nend\nswitch costume to (コスチューム1 v)\nrepeat until <(item (15) of [情報 v]) < [0.01]>\n    描画\nend\nerase all\n\nwhen I receive [リスポーン v]\nwait until <[12] = (item (1) of [情報 v])>\nwait until <[10] < (item (15) of [情報 v])>\ngo to x: (0) y: (0)\nswitch costume to (コスチューム3 v)\nif <not <(item (2) of [設定 v]) = [4]>> then\n    create clone of (_myself_ v)\nend\nswitch costume to (コスチューム1 v)\nrepeat until <(item (15) of [情報 v]) < [0.01]>\n    描画\nend\nerase all\n\nwhen I start as a clone\nshow\nwait until <(item (15) of [情報 v]) < [0.01]>\ndelete this clone\n\nwhen I receive [リスポーン v]\nwait until <[21] = (item (1) of [情報 v])>\nwait until <[10] < (item (15) of [情報 v])>\ngo to x: (0) y: (0)\nswitch costume to (コスチューム4 v)\nif <not <(item (2) of [設定 v]) = [4]>> then\n    create clone of (_myself_ v)\nend\nswitch costume to (コスチューム1 v)\nrepeat until <(item (15) of [情報 v]) < [0.01]>\n    描画\nend\nerase all\n\nwhen I receive [やられた v]\ndelete this clone\n\nwhen I receive [スタート v]\nwait (1) seconds\nforever\n    if <(item (2) of [設定 v]) = [4]> then\n        replace item (15) of [情報 v] with [0]\n        erase all\n    end\nend\n\n@スケルトン2\n\nwhen I start as a clone\nforever\n    set [スケルトン位置x v] to (x position)\n    set [スケルトン位置y v] to (y position)\nend\n\nwhen I start as a clone\nswitch costume to (スケルトン v)\nset [スケルトンの存在 v] to [1]\nclear graphic effects\nset size to (65) %\nwait (0.01) seconds\npoint in direction (-90)\nset [スケルトンx v] to [0]\nset [スケルトンy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(item (8) of [情報 v]) = [0]>> then\n        if <[0] < (item (15) of [情報 v])> then\n            if <<((round ([x position v] of [steve v])) - (round (スケルトン位置x))) < [-200]> and <((round ([x position v] of [steve v])) - (round (スケルトン位置x))) < [0]>> then\n                if <touching (水 v)?> then\n                    change [スケルトンx v] by (-0.1)\n                else\n                    change [スケルトンx v] by (-0.1)\n                end\n            end\n            if <<[-170] < ((round ([x position v] of [steve v])) - (round (スケルトン位置x)))> and <((round ([x position v] of [steve v])) - (round (スケルトン位置x))) < [0]>> then\n                if <touching (水 v)?> then\n                    change [スケルトンx v] by (0.1)\n                else\n                    change [スケルトンx v] by (0.1)\n                end\n            end\n            if <<[0] < ((round ([x position v] of [steve v])) - (round (スケルトン位置x)))> and <((round ([x position v] of [steve v])) - (round (スケルトン位置x))) < [170]>> then\n                if <touching (水 v)?> then\n                    change [スケルトンx v] by (-0.1)\n                else\n                    change [スケルトンx v] by (-0.1)\n                end\n            end\n            if <[200] < ((round ([x position v] of [steve v])) - (round (スケルトン位置x)))> then\n                if <touching (水 v)?> then\n                    change [スケルトンx v] by (0.1)\n                else\n                    change [スケルトンx v] by (0.1)\n                end\n            end\n        end\n        set [スケルトンx v] to ((スケルトンx) * (0.9))\n        change x by (スケルトンx)\n        if <<touching (地面ー土 v)?> or <<touching (スプライト5 v)?> or <touching (地面ー石 v)?>>> then\n            change y by (1)\n            if <<touching (地面ー土 v)?> or <<touching (スプライト5 v)?> or <touching (地面ー石 v)?>>> then\n                change y by (1)\n                if <<touching (地面ー土 v)?> or <<touching (スプライト5 v)?> or <touching (地面ー石 v)?>>> then\n                    change y by (1)\n                    if <<touching (地面ー土 v)?> or <<touching (スプライト5 v)?> or <touching (地面ー石 v)?>>> then\n                        change y by (1)\n                        if <<touching (地面ー土 v)?> or <<touching (スプライト5 v)?> or <touching (地面ー石 v)?>>> then\n                            change y by (1)\n                            if <<touching (地面ー土 v)?> or <<touching (スプライト5 v)?> or <touching (地面ー石 v)?>>> then\n                                change y by (1)\n                                if <<touching (地面ー土 v)?> or <<touching (スプライト5 v)?> or <touching (地面ー石 v)?>>> then\n                                    change x by ((0) - (スケルトンx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [steve v])>> then\n                                        set [スケルトンx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        if <[0] < (item (15) of [情報 v])> then\n            set [スケルトンy v] to ((スケルトンy) * (0.9))\n        else\n            change [スケルトンy v] by (-1)\n        end\n        change y by (スケルトンy)\n        if <<touching (地面ー土 v)?> or <<touching (スプライト5 v)?> or <touching (地面ー石 v)?>>> then\n            change y by ((0) - (スケルトンy))\n            set [スケルトンy v] to [0]\n        end\n        change y by (-2)\n        if <(y position) < (([y position v] of [steve v]) + (50))> then\n            if <[1] = (pick random (1) to (10))> then\n                if <[0] < (item (15) of [情報 v])> then\n                    set [スケルトンy v] to [3]\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nforever\n    replace item (24) of [情報 v] with (x position)\n    replace item (25) of [情報 v] with (y position)\nend\n\nwhen I receive [スタート v]\ngo to x: (250) y: (0)\ngo to [front v] layer\nhide\nwait (0.01) seconds\nwait until <(item (1) of [情報 v]) = [12]>\nスケルトン召喚魔法 [12] [300] [100] [1] 秒待つ\n\nwhen I receive [スタート v]\nforever\n    set [スケルトンの間合いの距離 v] to ((round ([x position v] of [steve v])) - (round (スケルトン位置x)))\nend\n\nwhen I start as a clone\nshow\nforever\n    if <[0] < (item (15) of [情報 v])> then\n        if <([x position v] of [steve v]) < (スケルトン位置x)> then\n            set [スケルトン向き v] to [-90]\n            point in direction (-90)\n        else\n            set [スケルトン向き v] to [90]\n            point in direction (90)\n        end\n    end\nend\n\ndefine ダメージ (ダメージ量)\nswitch costume to (スケルトン2 v)\nreplace item (15) of [情報 v] with ((item (15) of [情報 v]) + (ダメージ量))\nif <(item (15) of [情報 v]) < [0.01]> then\n    replace item (17) of [情報 v] with (x position)\n    replace item (18) of [情報 v] with (y position)\n    broadcast (ブレイズロット v)\n    start sound [撃破 v]\n    switch costume to (コスチューム1 v)\n    wait (0.5) seconds\n    wait until <touching (steve v)?>\n    repeat (25)\n        change size by (5)\n        change [ghost v] effect by (5)\n    end\n    replace item (19) of [情報 v] with [0]\n    delete this clone\nelse\n    if <(pick random (1) to (2)) = [1]> then\n        start sound [ブレイズダメージ2 v]\n    else\n        start sound [ブレイズダメージ v]\n    end\nend\nwait (0.25) seconds\nif <[0] < (item (15) of [情報 v])> then\n    switch costume to (スケルトン v)\nend\n\ndefine ノックバック (x) (y)\nset [スケルトンx v] to (x)\nset [スケルトンy v] to (y)\n\nwhen I start as a clone\nif <(item (2) of [設定 v]) = [12]> then\n    replace item (15) of [情報 v] with [24]\n    replace item (16) of [情報 v] with [24]\nelse\n    replace item (15) of [情報 v] with [34]\n    replace item (16) of [情報 v] with [34]\nend\nforever\n    if <touching (マグマ v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n    end\n    if <touching (サボテン v)?> then\n        ダメージ [-3]\n        wait (0.3) seconds\n    end\n    if <<touching (sword v)?> and <(攻撃) = [1]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [10] [7]\n        else\n            ノックバック [-10] [7]\n        end\n        if <(結果) = [クリティカル攻撃可能]> then\n            ダメージ ([floor v] of (([costume name v] of [sword v]) * (1.5)) )\n            set [攻撃位置x v] to (x position)\n            set [攻撃位置y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [sword v])\n        end\n        wait until <(攻撃) = [0]>\n        wait (0.3) seconds\n        if <[0] < (item (15) of [情報 v])> then\n            switch costume to (スケルトン v)\n        end\n    end\n    if <touching (ソニックブーム補完用4 v)?> then\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [10] [7]\n        else\n            ノックバック [-10] [7]\n        end\n        ダメージ [-16]\n        wait (0.3) seconds\n        if <[0] < (item (15) of [情報 v])> then\n            switch costume to (スケルトン v)\n        end\n        wait (1) seconds\n    end\n    if <touching (爆発 v)?> then\n        ダメージ [-16]\n        if <(item (4) of [情報 v]) < (x position)> then\n            ノックバック [15] [9]\n        else\n            ノックバック [-15] [9]\n        end\n        wait (0.3) seconds\n    end\n    if <touching (爆発2 v)?> then\n        ダメージ [-14]\n        if <([x position v] of [steve v]) < (x position)> then\n            ノックバック [14] [9]\n        else\n            ノックバック [-14] [9]\n        end\n        wait (0.3) seconds\n        if <[0] < (item (15) of [情報 v])> then\n            switch costume to (スケルトン v)\n        end\n    end\n    if <(y position) < [-160]> then\n        ダメージ [-100]\n        wait (0.3) seconds\n    end\nend\n\ndefine スケルトン召喚魔法 (ステージ) (x) (y) (n) 秒待つ\nif <not <(item (2) of [設定 v]) = [4]>> then\n    if <(item (1) of [情報 v]) = (ステージ)> then\n        wait (n) seconds\n        go to x: (x) y: (y)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [やられた v]\ndelete this clone\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [リスポーン v]\nスケルトン召喚魔法 [12] [300] [100] [1] 秒待つ\n\nwhen I start as a clone\nif <(item (1) of [情報 v]) = [31]> then\n    delete this clone\nend\n\nwhen I start as a clone\nreplace item (19) of [情報 v] with [1]\nwait (1) seconds\nrepeat until <(item (15) of [情報 v]) < [0.01]>\n    replace item (20) of [情報 v] with (x position)\n    replace item (21) of [情報 v] with (y position)\n    broadcast (ブレイズ v)\n    if <not <(item (15) of [情報 v]) < [0.01]>> then\n        wait (pick random (6) to (8)) seconds\n    end\nend\n\nwhen I receive [ブレイズロット v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [スタート v]\nswitch costume to (スケルトン v)\n\nwhen I receive [リスポーン v]\nswitch costume to (スケルトン v)\n\nwhen I start as a clone\nforever\n    set [モブの位置x v] to (x position)\n    set [モブの位置y v] to (y position)\nend\n\n@スプライト4\n\nwhen I receive [ブレイズ v]\nrepeat (3)\n    create clone of (_myself_ v)\n    wait (0.2) seconds\nend\n\nwhen I start as a clone\nif <(item (8) of [情報 v]) = [0]> then\n    delete this clone\nend\ngo to x: (item (20) of [情報 v]) y: (item (21) of [情報 v])\nshow\npoint towards (steve v)\nturn right (pick random (-5) to (5)) degrees\nrepeat until <<touching (steve v)?> or <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>>>\n    move (8) steps\nend\nreplace item (22) of [情報 v] with (x position)\nreplace item (23) of [情報 v] with (y position)\ncreate clone of (爆発3 v)\ndelete this clone\n\nwhen I start as a clone\nwait (1) seconds\nforever\n    if <touching (_edge_ v)?> then\n        wait (0.1) seconds\n        delete this clone\n    end\nend\n\n@爆発3\n\nwhen I start as a clone\ngo to x: (item (22) of [情報 v]) y: (item (23) of [情報 v])\nshow\nstart sound [get4 v]\nswitch costume to (explosion_0 v)\nrepeat (7)\n    wait () seconds\n    next costume\nend\nhide\ndelete this clone\n\n@スプライト6\n\nwhen flag clicked\nhide\n\nwhen I receive [エンダーアイ v]\nwait (1) seconds\ngo to (steve v)\nshow\nrepeat until <[60] < (y position)>\n    change y by (1.5)\nend\nrepeat until <[75] < (x position)>\n    change x by (1.5)\nend\nrepeat until <(y position) < [20]>\n    change y by (-1.5)\nend\nhide\nrepeat (3)\n    start sound (pick random (1) to (3))\n    wait (0.3) seconds\nend\nbroadcast (ポータル開通 v)\nstart sound [ポータル開通音 v]\n\n@bgm1\n\nwhen flag clicked\nset volume to (100) %\nforever\n    play sound [c418-sweden-minecraft-volume-alpha v] until done\nend\n\nwhen flag clicked\nforever\n    if <not <(item (1) of [情報 v]) = [22]>> then\n        if <(item (15) of [情報 v]) < [2]> then\n            if <not <(item (15) of [情報 v]) = [1]>> then\n                change volume by (10)\n            end\n        else\n            change volume by (-10)\n        end\n    end\nend\n\nwhen I receive [エンドロールend-end v]\nset volume to (100) %\n\nwhen I receive [/xp 10000l @s v]\nset volume to (0) %\n\n@bgm2\n\nwhen flag clicked\nforever\n    if <(item (15) of [情報 v]) < [2]> then\n        if <not <(item (15) of [情報 v]) = [1]>> then\n            change volume by (-10)\n        end\n    else\n        change volume by (10)\n    end\nend\n\nwhen I receive [スタート v]\nwait (1) seconds\nwait until <not <(item (15) of [情報 v]) < [2]>>\nrepeat until <(item (15) of [情報 v]) = [0]>\n    if <not <(item (2) of [設定 v]) = [4]>> then\n        play sound [boss-中 v] until done\n    end\nend\n\nwhen I receive [/xp 10000l @s v]\nset volume to (0) %\n\n@bgm3\n\nwhen I receive [スタート v]\nwait (1) seconds\nforever\n    wait until <not <(item (15) of [情報 v]) < [2]>>\n    wait until <(item (15) of [情報 v]) < [1]>\n    if <not <(item (2) of [設定 v]) = [4]>> then\n        play sound [boss-撃破 v] until done\n    end\nend\n\nwhen I receive [/xp 10000l @s v]\nset volume to (0) %\n\n@スケルトン3\n\ndefine ダメージ (ダメージ量)\nreplace item (28) of [情報 v] with [10]\nreplace item (15) of [情報 v] with ((item (15) of [情報 v]) + (ダメージ量))\nif <(item (15) of [情報 v]) < [0.01]> then\n    replace item (17) of [情報 v] with (x position)\n    replace item (18) of [情報 v] with (y position)\n    wait (0.5) seconds\nelse\n    if <(pick random (1) to (3)) = [1]> then\n        start sound [1 v]\n    else\n        if <(pick random (1) to (2)) = [1]> then\n            start sound [2 v]\n        else\n            start sound [3 v]\n        end\n    end\nend\nbroadcast (#四国を四角に v)\n\ndefine ノックバック (x) (y)\nset [スケルトンx v] to (x)\nset [スケルトンy v] to (y)\n\nwhen flag clicked\nreplace item (27) of [情報 v] with [1]\nforever\n    if <(item (27) of [情報 v]) < [10]> then\n        replace item (27) of [情報 v] with ((item (27) of [情報 v]) + (1))\n        wait (0.01) seconds\n    else\n        repeat until <(item (27) of [情報 v]) = [1]>\n            replace item (27) of [情報 v] with ((item (27) of [情報 v]) - (1))\n            wait (0.01) seconds\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <[0.01] < (item (15) of [情報 v])> then\n        switch costume to ((item (27) of [情報 v]) + (item (28) of [情報 v]))\n    else\n        switch costume to (コスチューム2 v)\n    end\nend\n\nwhen I receive [スタート v]\nwait (1) seconds\nwait until <(item (1) of [情報 v]) = [21]>\nif <(item (2) of [設定 v]) = [12]> then\n    replace item (15) of [情報 v] with [300]\n    replace item (16) of [情報 v] with [300]\nelse\n    replace item (15) of [情報 v] with [350]\n    replace item (16) of [情報 v] with [350]\nend\nforever\n    if <<touching (sword v)?> and <(攻撃) = [1]>> then\n        if <(結果) = [クリティカル攻撃可能]> then\n            set [攻撃位置x v] to ([x position v] of [sword v])\n            set [攻撃位置y v] to ([y position v] of [sword v])\n            broadcast (クリティカル v)\n            ダメージ ([floor v] of (([costume name v] of [sword v]) * (1.5)) )\n        else\n            ダメージ ([costume name v] of [sword v])\n        end\n        wait until <(攻撃) = [0]>\n        wait (0.3) seconds\n    end\n    if <touching (ソニックブーム補完用4 v)?> then\n        ダメージ [-16]\n        wait (0.3) seconds\n        if <[0] < (item (15) of [情報 v])> then\n            switch costume to (スケルトン v)\n        end\n        wait (1) seconds\n    end\n    if <touching (爆発 v)?> then\n        ダメージ [-16]\n        wait (0.3) seconds\n    end\n    if <touching (爆発2 v)?> then\n        ダメージ [-14]\n        wait (0.3) seconds\n    end\nend\n\nwhen I receive [スタート v]\nwait (1) seconds\nwait until <(item (1) of [情報 v]) = [21]>\nreplace item (19) of [情報 v] with [1]\nwait (1) seconds\nrepeat until <(item (15) of [情報 v]) < [0.01]>\n    if <not <(item (2) of [設定 v]) = [4]>> then\n        replace item (20) of [情報 v] with (x position)\n        replace item (21) of [情報 v] with (y position)\n        broadcast (ブレス v)\n        if <not <(item (15) of [情報 v]) < [0.01]>> then\n            wait (pick random (9) to (14)) seconds\n        end\n    end\nend\n\nwhen I receive [スタート v]\nwait (1) seconds\nwait until <(item (1) of [情報 v]) = [21]>\nforever\n    replace item (24) of [情報 v] with (x position)\n    replace item (25) of [情報 v] with (y position)\nend\n\nwhen I receive [スタート v]\nclear graphic effects\nset size to (50) %\nwait (0.01) seconds\ngo to x: (-100) y: (100)\npoint in direction (90)\nclear graphic effects\nwait (1) seconds\nwait until <(item (1) of [情報 v]) = [21]>\nforever\n    repeat (pick random (1) to (2))\n        repeat until <[100] < (x position)>\n            if <[0.01] < (item (15) of [情報 v])> then\n                change x by (1)\n                point in direction (90)\n            end\n        end\n        repeat until <(x position) < [-100]>\n            if <[0.01] < (item (15) of [情報 v])> then\n                change x by (-1)\n                point in direction (-90)\n            end\n        end\n    end\n    if <[0.01] < (item (15) of [情報 v])> then\n        if <[0] < (x position)> then\n            point in direction (-90)\n        else\n            point in direction (90)\n        end\n    end\n    repeat until <(y position) < [-30]>\n        if <[0.01] < (item (15) of [情報 v])> then\n            change y by (-1)\n        end\n    end\n    repeat until <(round (x position)) = [0]>\n        if <[0.01] < (item (15) of [情報 v])> then\n            if <[0] < (x position)> then\n                change x by (-1)\n            else\n                change x by (1)\n            end\n        end\n    end\n    wait (pick random (4) to (7)) seconds\n    repeat until <[100] < (y position)>\n        if <[0.01] < (item (15) of [情報 v])> then\n            change y by (1)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nhide\nwait (1) seconds\nwait until <(item (1) of [情報 v]) = [21]>\nif <not <(item (2) of [設定 v]) = [4]>> then\n    show\nend\n\nwhen I receive [リスポーン v]\nif <[0.01] < (item (15) of [情報 v])> then\n    if <(item (1) of [情報 v]) = [21]> then\n        show\n    end\nend\n\nwhen I receive [#四国を四角に v]\nwait (0.3) seconds\nreplace item (28) of [情報 v] with [0]\n\nwhen I receive [スタート v]\nclear graphic effects\nwait (1) seconds\nwait until <(item (1) of [情報 v]) = [21]>\nwait until <(item (15) of [情報 v]) < [0.01]>\nif <[0] < (x position)> then\n    repeat until <(x position) = [0]>\n        change x by (-1)\n        point in direction (-90)\n    end\nelse\n    repeat until <(x position) = [0]>\n        change x by (1)\n        point in direction (90)\n    end\nend\nrepeat until <[100] < (y position)>\n    change y by (1)\nend\nbroadcast (エンドラend v)\nrepeat (100)\n    change [brightness v] effect by (1)\n    change [ghost v] effect by (2)\n    wait (0.01) seconds\nend\nreplace item (33) of [情報 v] with [1]\nhide\n\nwhen I receive [エンドラend v]\nrepeat (25)\n    create clone of (爆発4 v)\n    wait (0.05) seconds\nend\n\nwhen I receive [スタート v]\nwait (1) seconds\nif <(item (2) of [設定 v]) = [4]> then\n    replace item (33) of [情報 v] with [1]\nelse\n    replace item (33) of [情報 v] with [0]\nend\n\nwhen I receive [スタート v]\nwait (1) seconds\nwait until <(item (1) of [情報 v]) = [21]>\nforever\n    set [モブの位置x v] to (x position)\n    set [モブの位置y v] to (y position)\nend\n\nreplace item (1) of [情報 v] with ((item (1) of [情報 v]) + (1))\n\n@スプライト8\n\nwhen I receive [ブレス v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(item (8) of [情報 v]) = [0]> then\n    delete this clone\nend\ngo to (スケルトン3 v)\nshow\npoint towards (steve v)\nturn right (pick random (-5) to (5)) degrees\nrepeat until <<touching (steve v)?> or <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>>>\n    move (7) steps\nend\nreplace item (22) of [情報 v] with (x position)\nreplace item (23) of [情報 v] with (y position)\nbroadcast (l v)\ndelete this clone\n\nwhen I start as a clone\nwait (1) seconds\nforever\n    if <touching (_edge_ v)?> then\n        wait (0.1) seconds\n        delete this clone\n    end\nend\n\nwhen I receive [l v]\nrepeat (25)\n    create clone of (スプライト7 v)\nend\n\nwhen I receive [やられた v]\ndelete this clone\n\n@スプライト7\n\nwhen I start as a clone\nshow\ngo to x: (item (22) of [情報 v]) y: (item (23) of [情報 v])\nset [a v] to (x position)\nset [z v] to (y position)\nswitch costume to (pick random (1) to (4))\nchange x by (pick random (-50) to (50))\nchange y by (pick random (-20) to (20))\n\nwhen I start as a clone\nwait (pick random (7) to (9)) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [やられた v]\ndelete this clone\n\n@スプライト9\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nset [hekopyon v] to [1]\nif <(item (29) of [情報 v]) = [0]> then\n    go to x: (-196) y: (137)\nelse\n    go to x: (196) y: (137)\nend\nwait until <<<<touching (sword v)?> and <(攻撃) = [1]>> or <touching (ソニックブーム補完用4 v)?>> or <touching (爆発2 v)?>>\nreplace item (22) of [情報 v] with (x position)\nreplace item (23) of [情報 v] with (y position)\ncreate clone of (爆発3 v)\ndelete this clone\n\nwhen I receive [リスポーン v]\nif <<(item (1) of [情報 v]) = [21]> and <(hekopyon) = [0]>> then\n    if <not <(item (2) of [設定 v]) = [4]>> then\n        replace item (29) of [情報 v] with [0]\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        replace item (29) of [情報 v] with [1]\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [リスポーン v]\nreplace item (30) of [情報 v] with [0]\n\nwhen I start as a clone\nforever\n    wait (pick random (8.0) to (15.0)) seconds\n    if <(item (30) of [情報 v]) = [0]> then\n        if <not <(item (8) of [情報 v]) = [0]>> then\n            replace item (30) of [情報 v] with [1]\n            replace item (31) of [情報 v] with (x position)\n            replace item (32) of [情報 v] with (y position)\n            broadcast (エンドラ回復 v)\n            wait (1) seconds\n            broadcast (1 v)\n            wait (3) seconds\n            replace item (30) of [情報 v] with [0]\n        end\n    end\nend\n\nwhen I receive [スタート v]\nreplace item (30) of [情報 v] with [0]\n\nwhen I receive [スタート v]\nwait (1) seconds\nif <not <(item (2) of [設定 v]) = [4]>> then\n    wait until <(item (1) of [情報 v]) = [21]>\n    replace item (29) of [情報 v] with [0]\n    create clone of (_myself_ v)\n    wait (0.01) seconds\n    replace item (29) of [情報 v] with [1]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nwait (1) seconds\nwait until <(item (1) of [情報 v]) = [21]>\nforever\n    set [モブの位置x v] to (x position)\n    set [モブの位置y v] to (y position)\nend\n\nwhen I receive [next v]\ndelete this clone\n\n@スプライト10\n\nwhen I receive [エンドラ回復 v]\nif <(item (15) of [情報 v]) < ((item (16) of [情報 v]) - (10))> then\n    show\n    go to x: (item (31) of [情報 v]) y: (item (32) of [情報 v])\n    point towards (スケルトン3 v)\n    repeat until <touching (スケルトン3 v)?>\n        if <[0] < (item (15) of [情報 v])> then\n            create clone of (_myself_ v)\n            move (12) steps\n        end\n    end\n    if <[0] < (item (15) of [情報 v])> then\n        replace item (15) of [情報 v] with ((item (15) of [情報 v]) + (8))\n    end\n    repeat (3)\n        if <[0] < (item (15) of [情報 v])> then\n            create clone of (_myself_ v)\n            move (12) steps\n        end\n    end\n    hide\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (4))\nif <(item (8) of [情報 v]) = [0]> then\n    delete this clone\nend\nwait (2) seconds\ndelete this clone\n\nwhen I receive [1 v]\ndelete this clone\n\nwhen I receive [やられた v]\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(item (15) of [情報 v]) < [0.01]> then\n        hide\n    end\nend\n\n@スプライト5\n\nwhen I start as a clone\nshow\ngo to [front v] layer\nclear graphic effects\nset [brightness v] effect to (-20)\ngo to x: (0) y: (-345)\nrepeat until <[0] = (round (y position))>\n    change y by (0.3)\nend\nif <(item (35) of [情報 v]) = [1]> then\n    broadcast (/effect @s health_boost 100 10 true v)\nend\nrepeat until <[345] = (round (y position))>\n    change y by (0.3)\nend\ndelete this clone\n\nwhen I receive [/effect @s health_boost 100 10 true v]\nif <(item (35) of [情報 v]) = [1]> then\n    create clone of (_myself_ v)\nend\n\nwhen I receive [/xp 10000l @s v]\ngo to [front v] layer\nshow\ngo to x: (0) y: (0)\nbroadcast (/effect @s health_boost 100 10 true v)\nrepeat until <[345] = (round (y position))>\n    change y by (0.3)\nend\nhide\n\nwhen flag clicked\nreplace item (35) of [情報 v] with [1]\nset [brightness v] effect to (-20)\nhide\n\nwhen I receive [エンドロールend v]\nrepeat (80)\n    wait (0.3) seconds\n    change [brightness v] effect by (-2)\nend\nhide\n\nwhen I receive [エンドロールend-end v]\ndelete this clone\n\nwhen I receive [エンドロールend-end v]\nhide\n\nwhen I start as a clone\nforever\n    if <(item (35) of [情報 v]) = [x]> then\n        delete this clone\n    end\nend\n\nwhen I receive [エンドロールend v]\nreplace item (35) of [情報 v] with [0]\nrepeat (30)\n    wait (0.3) seconds\nend\nbroadcast (エンドロールend-end v)\nreplace item (35) of [情報 v] with [x]\n\n@スプライト11\n\nwhen I receive [/xp 10000l @s v]\nswitch costume to (コスチューム1 v)\nif <(y) = [0]> then\n    create clone of (_myself_ v)\nend\nwait (13) seconds\nswitch costume to (コスチューム2 v)\nif <(y) = [0]> then\n    create clone of (_myself_ v)\nend\nwait (20) seconds\nswitch costume to (コスチューム3 v)\nif <(y) = [0]> then\n    create clone of (_myself_ v)\nend\nwait (12) seconds\nbroadcast (エンドロールend v)\nrepeat (80)\n    wait (0.3) seconds\n    change volume by (-2)\nend\n\nwhen I start as a clone\nset [y v] to [1]\ngo to x: (0) y: (-1000)\nshow\nrepeat until <(y position) = [434]>\n    go to [front v] layer\n    change y by (1)\nend\ndelete this clone\n\nwhen I receive [エンドロールend v]\nrepeat (80)\n    wait (0.1) seconds\n    change [brightness v] effect by (-2)\nend\n\nwhen I receive [エンドロールend-end v]\ndelete this clone\n\nwhen I receive [エンドロールend-end v]\nset volume to (0) %\n\nwhen I receive [/xp 10000l @s v]\nset volume to (100) %\nforever\n    play sound [魔王魂  ピアノ39 v] until done\nend\n\n@スプライト12\n\n@スプライト13\n\nwhen I receive [/xp 10000l @s v]\nshow\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [エンドロールend-end v]\nhide\n\n@表示用\n\nwhen [0 v] key pressed\nhide variable [1 v]\n\nwhen [1 v] key pressed\nshow variable [1 v]\n\nif <(username) = [kuri-pa-2]> then\nend\n\nwhen flag clicked\nwait (10) seconds\nforever\n    wait (10) seconds\n    set [☁ クラウド変数 v] to (item (5) of [雑用 v])\nend\n\nwhen flag clicked\nreplace item (1) of [雑用 v] with [1]\nreplace item (2) of [雑用 v] with [0]\nreplace item (3) of [雑用 v] with [1]\nreplace item (4) of [雑用 v] with []\nreplace item (5) of [雑用 v] with []\nset [1 v] to []\n高速処理-定義\n\ndefine 高速処理-定義\nrepeat (length of (username))\n    replace item (2) of [雑用 v] with [0]\n    repeat until <(letter (item (1) of [雑用 v]) of (username)) = (item (item (2) of [雑用 v]) of [候補 v])>\n        replace item (2) of [雑用 v] with ((item (2) of [雑用 v]) + (1))\n    end\n    replace item (1) of [雑用 v] with ((item (1) of [雑用 v]) + (1))\n    if <(length of (item (2) of [雑用 v])) = [1]> then\n        replace item (2) of [雑用 v] with (join [0] (item (2) of [雑用 v]))\n    end\n    replace item (5) of [雑用 v] with (join (item (5) of [雑用 v]) (item (2) of [雑用 v]))\nend\nset [☁ クラウド記録 v] to (item (5) of [雑用 v])\n高速処理-定義2\n\ndefine 高速処理-定義2\nrepeat ((length of (☁ クラウド記録)) * (2))\n    replace item (4) of [雑用 v] with (join (letter (item (3) of [雑用 v]) of (☁ クラウド記録)) (letter ((item (3) of [雑用 v]) + (1)) of (☁ クラウド記録)))\n    set [1 v] to (join (1) (item (item (4) of [雑用 v]) of [候補 v]))\n    replace item (3) of [雑用 v] with ((item (3) of [雑用 v]) + (2))\nend\n\nwhen flag clicked\nforever\n    replace item (3) of [雑用 v] with [1]\n    set [1 v] to []\n    高速処理-定義2\nend\n\n@スプライト14\n\nwhen flag clicked\nif <(username) = [ImageToMinecraft]> then\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ncreate clone of (_myself_ v)\ndelete this clone\n\nwhen I start as a clone\nshow\n\n