Adventure Platformer (Minecraft Platformer) 
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景2 v)\n\nwhen I receive [スタート v]\nwait (1) seconds\nwait until <(item (1) of [information v]) = [8]>\nswitch backdrop to (背景3 v)\nwait until <(item (1) of [information v]) = [14]>\nswitch backdrop to (背景2 v)\nwait until <(item (1) of [information v]) = [20]>\nswitch backdrop to (背景4 v)\nwait until <(item (1) of [information v]) = [22]>\nswitch backdrop to (背景2 v)\n\nreplace item (1) of [information v] with ((item (1) of [information v]) + (1))\n\n@special effects\n\nwhen I receive [スタート v]\nset size to (100) %\nclear graphic effects\nshow\nforever\n    switch costume to (item (1) of [information v])\nend\n\nwhen I receive [スタート v]\nforever\n    turn right (0.4) degrees\n    change size by ([cos v] of (item (6) of [information 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 [information 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 [settings v]) = [10]> or <(item (1) of [settings v]) = [16]>> then\n        hide\n    end\nend\n\n@player\n\nwhen I receive [スタート v]\nreplace item (8) of [information v] with [20]\nreplace item (2) of [information v] with [0]\nreplace item (3) of [information v] with [0]\nreplace item (1) of [information v] with [1]\nreplace item (14) of [information v] with ((0.5) + ((0.5) * <(item (1) of [settings v]) = [19]>))\nset [speed v] to [0.5]\nset [is there life? v] to [1]\nclear graphic effects\nset size to (55) %\nwait (0.01) seconds\nプレイヤー [1]\npoint in direction (90)\nreplace item (2) of [information v] with [0]\nreplace item (3) of [information v] with [0]\nclear graphic effects\ngo to x: (-200) y: (0)\nshow\nforever\n    if <<not <(item (8) of [information v]) = [0]>> and <(Is there life?) = [1]>> then\n        if <not <(item (26) of [information v]) = [1]>> then\n            if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <(mouse x) < [0]>> and <(Attack state) = [0]>>> then\n                point in direction (-90)\n                if <<touching (oxygen gauge judgment v)?> or <touching (magma v)?>> then\n                    replace item (2) of [information v] with ((item (2) of [information v]) + ((0) - ((item (14) of [information v]) / (2))))\n                else\n                    replace item (2) of [information v] with ((item (2) of [information v]) + ((0) - (item (14) of [information 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 <(Attack state) = [0]>>> then\n                point in direction (90)\n                if <<touching (oxygen gauge judgment v)?> or <touching (magma determination v)?>> then\n                    replace item (2) of [information v] with ((item (2) of [information v]) + ((item (14) of [information v]) / (2)))\n                else\n                    replace item (2) of [information v] with ((item (2) of [information v]) + (item (14) of [information v]))\n                end\n            end\n        end\n        replace item (2) of [information v] with ((item (2) of [information v]) * (0.9))\n        change x by (item (2) of [information v])\n        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <<touching (background v)?> or <touching (player fixed v)?>>>> then\n            change y by (1)\n            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <<touching (background v)?> or <touching (player fixed v)?>>>> then\n                change y by (1)\n                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <<touching (background v)?> or <touching (player fixed v)?>>>> then\n                    change y by (1)\n                    if <<touching (ground v)?> or <<touching (ground – sand v)?> or <<touching (background v)?> or <touching (player fixed v)?>>>> then\n                        change y by (1)\n                        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <<touching (background v)?> or <touching (player fixed v)?>>>> then\n                            change y by (1)\n                            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <<touching (background v)?> or <touching (player fixed v)?>>>> then\n                                change y by (1)\n                                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <<touching (background v)?> or <touching (player fixed v)?>>>> then\n                                    change x by ((0) - (item (2) of [information 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 <(Attack state) = [0]>>> then\n                                        if <not <(item (26) of [information v]) = [1]>> then\n                                            if <not <<touching (water v)?> or <touching (magma determination v)?>>> then\n                                                if <[0] < (item (2) of [information v])> then\n                                                    replace item (2) of [information v] with [-4]\n                                                else\n                                                    replace item (2) of [information v] with [4]\n                                                end\n                                                replace item (3) of [information v] with ((9) + ((4) * <(item (1) of [settings v]) = [20]>))\n                                                移動処理 (y position) [✕]\n                                            end\n                                        end\n                                    else\n                                        replace item (2) of [information v] with [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        replace item (3) of [information v] with ((item (3) of [information v]) - (0.8))\n        if <<<touching (oxygen gauge judgment v)?> or <touching (magma determination v)?>> and <(item (3) of [information v]) < [-2]>> then\n            replace item (3) of [information v] with [-2]\n        end\n        change y by (item (3) of [information v])\n        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <<touching (background v)?> or <touching (player fixed v)?>>>> then\n            change y by ((0) - (item (3) of [information v]))\n            replace item (3) of [information v] with [0]\n        end\n        change y by (-2)\n        if <not <(item (26) of [information v]) = [1]>> then\n            if <<touching (oxygen gauge judgment v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(Attack state) = [0]>>>> then\n                replace item (3) of [information v] with ((4) + ((1) * <(item (1) of [settings v]) = [20]>))\n            else\n                if <<touching (magma determination v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(Attack state) = [0]>>>> then\n                    replace item (3) of [information v] with ((4) + ((1) * <(item (1) of [settings v]) = [20]>))\n                else\n                    if <<touching (ground v)?> or <<touching (ground – sand v)?> or <<touching (background v)?> or <touching (player fixed v)?>>>> then\n                        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(Attack state) = [0]>>> then\n                            replace item (3) of [information v] with ((11) + ((3) * <(item (1) of [settings 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 [information v]) = [21]>> and <not <(item (1) of [information v]) = [17]>>> and <not <(item (1) of [information v]) = [20]>>> and <not <(item (1) of [information v]) = [13]>>>> then\n        if <(item (19) of [information v]) = [0]> then\n            replace item (1) of [information v] with ((item (1) of [information v]) + (1))\n            ▶ノックバック [0] [0]\n            broadcast (NEXT v)\n            go to x: (-200) y: ((0) - ((50) * <(item (1) of [information v]) = [19]>))\n            replace item (1) of [move processing 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 [settings v]) = [12]> then\n        if <<touching (flare v)?> and <not <([costume # v] of [flare v]) = [3]>>> then\n            敵攻撃 [-7] [6]\n            wait (0.4) seconds\n        end\n        if <<touching (cyborg v)?> and <not <([costume # v] of [cyborg v]) = [3]>>> then\n            敵攻撃 [-7] [1]\n            wait (0.4) seconds\n        end\n        if <<touching (evil spirits  v)?> or <touching (zombified piglin v)?>> then\n            敵攻撃 [-7] [1]\n            wait (0.4) seconds\n        end\n        if <touching (skeleton v)?> then\n            敵攻撃 [-4] [2]\n            wait (0.4) seconds\n        end\n        if <touching (magma v)?> then\n            敵攻撃 [-5] [✕]\n            wait (0.3) seconds\n        end\n        if <touching (cactus v)?> then\n            敵攻撃 [-5] [✕]\n            wait (0.3) seconds\n        end\n        if <<(y position) < [-178]> and <not <(item (1) of [information v]) = [15]>>> then\n            敵攻撃 [-20] [✕]\n        end\n        if <touching (explosion 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 [settings v]) = [13]> then\n            if <<touching (flare v)?> and <not <([costume # v] of [flare v]) = [3]>>> then\n                敵攻撃 [-8] [6]\n                wait (0.4) seconds\n            end\n            if <<touching (cyborg v)?> and <not <([costume # v] of [cyborg v]) = [3]>>> then\n                敵攻撃 [-8] [1]\n                wait (0.4) seconds\n            end\n            if <<touching (evil spirits  v)?> or <touching (zombified piglin v)?>> then\n                敵攻撃 [-8] [1]\n                wait (0.4) seconds\n            end\n            if <touching (skeleton v)?> then\n                敵攻撃 [-5] [2]\n                wait (0.4) seconds\n            end\n            if <touching (magma v)?> then\n                敵攻撃 [-6] [✕]\n                wait (0.3) seconds\n            end\n            if <touching (cactus v)?> then\n                敵攻撃 [-6] [✕]\n                wait (0.3) seconds\n            end\n            if <<(y position) < [-178]> and <not <(item (1) of [information v]) = [15]>>> then\n                敵攻撃 [-20] [✕]\n            end\n            if <touching (explosion 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 (magma v)?> then\n                敵攻撃 [-4] [✕]\n                wait (0.3) seconds\n            end\n            if <touching (cactus v)?> then\n                敵攻撃 [-4] [✕]\n                wait (0.3) seconds\n            end\n            if <<(y position) < [-178]> and <not <(item (1) of [information v]) = [15]>>> then\n                敵攻撃 [-20] [✕]\n            end\n            if <touching (explosion 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 [settings v]) = [12]> then\n    敵攻撃 [-5] [3]\nelse\n    敵攻撃 [-4] [3]\nend\n\ndefine 敵攻撃 (攻撃力) (なに？)\nif <not <(item (8) of [information v]) = [0]>> then\n    if <(item (1) of [settings v]) = [16]> then\n        if <(item (1) of [information v]) = [21]> then\n            replace item (8) of [information v] with ((item (8) of [information v]) + (攻撃力))\n        else\n            replace item (8) of [information v] with ((item (8) of [information v]) + ([ceiling v] of ((攻撃力) * (0.3)) ))\n        end\n    else\n        replace item (8) of [information v] with ((item (8) of [information v]) + (攻撃力))\n    end\n    broadcast (ダメージ v)\n    start sound [damage v]\n    if <(item (1) of [settings v]) = [16]> then\n        if <(なに？) = [1]> then\n            if <(x position) < (Mob position x)> then\n                ▶ノックバック [-6] [6]\n            else\n                ▶ノックバック [6] [6]\n            end\n        end\n        if <(なに？) = [2]> then\n            if <(x position) < (Skeleton position x)> then\n                ▶ノックバック [-6] [6]\n            else\n                ▶ノックバック [6] [6]\n            end\n        end\n        if <(なに？) = [3]> then\n            if <(x position) < (Skeleton 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 [information 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 [information 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 [information 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 [information v])> then\n                ▶ノックバック [-10] [12]\n            else\n                ▶ノックバック [10] [12]\n            end\n        end\n    else\n        if <(なに？) = [1]> then\n            if <(x position) < (Mob position x)> then\n                ▶ノックバック [-10] [10]\n            else\n                ▶ノックバック [10] [10]\n            end\n        end\n        if <(なに？) = [2]> then\n            if <(x position) < (Skeleton position x)> then\n                ▶ノックバック [-10] [10]\n            else\n                ▶ノックバック [10] [10]\n            end\n        end\n        if <(なに？) = [3]> then\n            if <(x position) < (Skeleton 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 [information 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 [information 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 [information 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 [information 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 [information v] with (x)\nreplace item (3) of [information v] with (y)\n\nwhen I receive [スタート v]\nset [fire spread damage v] to [0]\nforever\n    if <touching (magma v)?> then\n        set [fire spread damage v] to [4]\n    end\nend\n\nwhen I receive [スタート v]\nreplace item (8) of [information v] with [20]\nforever\n    if <(item (8) of [information v]) < [0.01]> then\n        broadcast (やられた v)\n        replace item (2) of [information v] with [0]\n        replace item (3) of [information v] with [0]\n        replace item (8) of [information v] with [0]\n        wait until <not <(item (8) of [information v]) < [0.01]>>\n    end\nend\n\nwhen I receive [スタート v]\ndelete all of [move processing v]\ninsert [-100] at (1) of [move processing v] \nset [time record v] to [0]\nwait (0.01) seconds\nforever\n    if <(item (1) of [move processing v]) < (y position)> then\n        移動処理 (y position) [✕]\n    end\n    if <<touching (water v)?> or <touching (magma v)?>> then\n        移動処理 (y position) [✕]\n    end\nend\n\ndefine 移動処理 (y) (スピード)\nif <not <(y) = [ダメージ]>> then\n    insert ([ceiling v] of (y) ) at (1) of [move processing v] \nelse\n    broadcast (ダメージ v)\n    if <(item (1) of [settings v]) = [16]> then\n        replace item (8) of [information v] with ((item (8) of [information v]) + ([ceiling v] of ((スピード) * (0.2)) ))\n    else\n        replace item (8) of [information v] with ((item (8) of [information v]) + (スピード))\n    end\n    set [time record v] to [0]\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (for determining fall damage v)?> then\n        wait until <not <touching (for determining fall damage v)?>>\n        wait until <touching (for determining fall damage v)?>\n        set [time record v] to ((item (1) of [move processing v]) - (round (y position)))\n        replace item (1) of [move processing v] with [-100]\n        if <[0] < ((time record) - (105))> then\n            if <(item (2) of [settings v]) = [4]> then\n                移動処理 [ダメージ] ((0) - ([ceiling v] of (((time record) - (105)) / (10)) ))\n            else\n                if <(item (2) of [settings v]) = [12]> then\n                    移動処理 [ダメージ] ((0) - ([ceiling v] of (((time record) - (105)) / (9)) ))\n                else\n                    移動処理 [ダメージ] ((0) - ([ceiling v] of (((time record) - (105)) / (8)) ))\n                end\n            end\n            start sound [damage v]\n        end\n    end\nend\n\nwhen I receive [リスポーン v]\nreplace item (8) of [information v] with [20]\nif <(item (1) of [information v]) = [18]> then\n    go to x: (-200) y: (-75)\nelse\n    if <(item (1) of [information v]) = [21]> then\n        go to x: (-100) y: (-50)\n    else\n        if <(item (1) of [information v]) = [19]> then\n            go to x: (-200) y: (-50)\n        else\n            if <(item (1) of [information v]) = [16]> then\n                go to x: (-180) y: (0)\n            else\n                if <(item (1) of [information v]) = [14]> then\n                    go to x: (-155) y: (-55)\n                else\n                    if <(item (1) of [information 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 [information v] with [20]\nプレイヤー [1]\nset [ghost v] effect to (0)\nshow\n\nwhen I receive [スタート v]\nforever\n    if <(item (8) of [information v]) = [0]> then\n        set [fire spread damage v] to [0]\n        hide\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <<not <(item (8) of [information v]) = [0]>> and <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <(mouse x) < [0]>> and <(Attack state) = [0]>>> or <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<mouse down?> and <[0] < (mouse x)>> and <(Attack state) = [0]>>>>> then\n        set volume to (100) %\n        wait (0.05) seconds\n        if <touching (oxygen gauge judgment v)?> then\n            play sound (pick random (4) to (8)) until done\n        else\n            if <touching (ground v)?> then\n                play sound (pick random (1) to (2)) until done\n            end\n            if <touching (ground – sand v)?> then\n                play sound (pick random (9) to (13)) until done\n            end\n            if <touching (background 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 [settings v]) = [14]> and <not <(item (1) of [settings v]) = [9]>>> then\n        forever\n    end\n    if <<(item (3) of [settings v]) = [14]> and <(item (1) of [settings v]) = [9]>> then\n        wait (0.2) seconds\n    else\n        if <(item (1) of [settings v]) = [9]> then\n            wait (0.2) seconds\n        else\n            if <(item (2) of [settings v]) = [4]> then\n                wait (4) seconds\n            else\n                if <(item (2) of [settings 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 [information v]) < [20]> and <not <(item (8) of [information v]) = [0]>>> then\n        replace item (8) of [information v] with ((item (8) of [information v]) + (1))\n    end\nend\n\nwhen I receive [リスポーン v]\nreplace item (1) of [move processing v] with [0]\n\nwhen I receive [スタート v]\nforever\n    if <not <(Fire spread damage) = [0]>> then\n        start sound (pick random (18) to (20))\n        change [fire spread damage v] by (-1)\n        replace item (8) of [information v] with ((item (8) of [information v]) - (1))\n        broadcast (ダメージ v)\n        wait (1.3) seconds\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    wait until <<touching (water v)?> and <touching (oxygen gauge judgment v)?>>\n    wait (1) seconds\n    if <[0] < (Oxygen Gauge)> then\n        if <<touching (water v)?> and <touching (oxygen gauge judgment v)?>> then\n            wait (0.1) seconds\n            if <<touching (water v)?> and <touching (oxygen gauge judgment v)?>> then\n                change [oxygen gauge v] by (-1)\n                wait (0.15) seconds\n                change [oxygen gauge v] by (-1)\n            end\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <(Oxygen Gauge) = [0]> then\n        replace item (8) of [information v] with ((item (8) of [information v]) - (1))\n        start sound [damage v]\n        broadcast (ダメージ v)\n        wait (1) seconds\n    end\nend\n\nwhen I receive [スタート v]\nset [oxygen gauge v] to [20]\nforever\n    if <not <touching (oxygen gauge judgment v)?>> then\n        if <(Oxygen Gauge) < [20]> then\n            change [oxygen gauge v] by (2)\n        end\n        wait (0.5) seconds\n    end\nend\n\nwhen I receive [やられた v]\nset [oxygen gauge v] to [20]\nset [fire spread damage v] to [0]\n\nwhen I receive [スタート v]\nforever\n    if <not <touching (oxygen gauge judgment v)?>> then\n        replace item (4) of [settings v] with [水外]\n    end\n    if <touching (oxygen gauge judgment v)?> then\n        replace item (4) of [settings v] with [水中]\n    end\nend\n\ndefine プレイヤー (x)\nif <(item (1) of [settings 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 [for critical attack determination v] to (y position)\nforever\n    repeat until <not <(for critical attack determination) < (y position)>>\n        set [for critical attack determination v] to (y position)\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <(y position) < (for critical attack determination)> then\n        set [result v] to [クリティカル攻撃可能]\n    else\n        set [result v] to [クリティカル攻撃不可能]\n    end\n    if <touching (for determining fall damage v)?> then\n        set [for critical attack determination v] to (y position)\n    end\nend\n\nwhen flag clicked\nreplace item (1) of [information v] with [1]\nreplace item (8) of [information v] with [20]\nforever\n    if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n        replace item (5) of [settings v] with [1]\n    else\n        replace item (5) of [settings v] with [0]\n    end\nend\n\nwhen [space v] key pressed\nif <<<(item (7) of [information v]) = [0]> and <(item (5) of [settings v]) = [1]>> and <(item (1) of [settings v]) = [10]>> then\n    point towards (death beam judgment v)\nend\n\nwhen I receive [スタート v]\nreplace item (13) of [information v] with [0]\nforever\n    if <<touching color (#4801b8)?> and <<(item (1) of [information v]) = [7]> or <(item (1) of [information v]) = [13]>>> then\n        start sound [Nether portal v]\n        repeat until <(item (13) of [information v]) = [18]>\n            wait (0.2) seconds\n            if <touching color (#4801b8)?> then\n                replace item (13) of [information v] with ((item (13) of [information v]) + (1))\n            else\n                replace item (13) of [information v] with [0]\n            end\n        end\n        play sound [Nether portal 2 v] until done\n        replace item (1) of [information v] with ((item (1) of [information v]) + (1))\n        ▶ノックバック [0] [0]\n        broadcast (NEXT v)\n        go to x: (-155) y: (-55)\n        replace item (1) of [move processing v] with [0]\n    end\nend\n\nwhen I receive [スタート v]\nreplace item (8) of [information v] with [20]\n\nwhen flag clicked\nreplace item (8) of [information v] with [20]\n\nwhen I receive [スタート v]\nforever\n    if <<(y position) < [-178]> and <(item (1) of [information v]) = [15]>> then\n        replace item (1) of [information v] with ((item (1) of [information v]) + (1))\n        ▶ノックバック [0] [0]\n        broadcast (NEXT v)\n        go to x: (-170) y: (300)\n        replace item (1) of [move processing v] with [0]\n    end\n    if <<[238] < (x position)> and <(item (1) of [information v]) = [17]>> then\n        replace item (1) of [information v] with ((item (1) of [information v]) + (1))\n        ▶ノックバック [0] [0]\n        broadcast (NEXT v)\n        go to x: (-300) y: (-50)\n        replace item (1) of [move processing v] with [0]\n    end\n    if <<[60] > (y position)> and <<[60] < (x position)> and <(item (1) of [information v]) = [19]>>> then\n        replace item (1) of [information v] with ((item (1) of [information v]) + (1))\n        ▶ノックバック [0] [0]\n        broadcast (NEXT v)\n        go to x: (-180) y: (-50)\n        replace item (1) of [move processing v] with [0]\n    end\n    if <<[238] < (x position)> and <(item (1) of [information v]) = [20]>> then\n        replace item (1) of [information v] with ((item (1) of [information v]) + (1))\n        ▶ノックバック [0] [0]\n        broadcast (NEXT v)\n        go to x: (-75) y: (-50)\n        replace item (1) of [move processing v] with [0]\n    end\n    if <<<(y position) < [-60]> and <<(x position) < [40]> and <[-40] < (x position)>>> and <<(item (1) of [information v]) = [21]> and <(item (33) of [information v]) = [1]>>> then\n        replace item (1) of [information v] with ((item (1) of [information 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 [move processing v] with [0]\n        repeat until <(item (35) of [information v]) = [x]>\n            go to x: (-200) y: (0)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nreplace item (26) of [information v] with [0]\nwait (1) seconds\nwait until <<[-50] < (x position)> and <(item (1) of [information v]) = [19]>>\nreplace item (26) of [information v] with [1]\nbroadcast (エンダーアイ v)\nwait (10) seconds\nreplace item (26) of [information v] with [0]\n\n@Health2\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to ((item (8) of [information v]) + (1))\nend\n\nwhen I receive [ クリーパー　 v]\nwait (0.01) seconds\nif <not <(item (1) of [settings 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 [settings 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@kinds of 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 [attack v] to [0]\nforever\n    switch costume to (Belongings)\n    if <[0] < ([direction v] of [player v])> then\n        set [right and left v] to [右]\n        go to x: (([x position v] of [player v]) + (15)) y: (([y position v] of [player v]) + (-5))\n        if <(attack) = [0]> then\n            point in direction (-100)\n        end\n    else\n        set [right and left v] to [左]\n        go to x: (([x position v] of [player v]) + (-15)) y: (([y position v] of [player v]) + (-5))\n        if <(attack) = [0]> then\n            point in direction (100)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nset [belongings v] to [1]\nif <(item (1) of [settings v]) = [16]> then\n    set [belongings v] to [11]\nend\nshow\nforever\n    if <(item (1) of [settings v]) = [10]> then\n        hide\n    end\n    if <(right and left) = [右]> then\n        switch costume to ((Belongings) + (1))\n    else\n        switch costume to (Belongings)\n    end\nend\n\nwhen I receive [attack v]\nif <[0] < ([direction v] of [player v])> then\n    point in direction (-99)\nelse\n    point in direction (100)\nend\nset [attack v] to [1]\nif <(right and left) = [右]> then\n    repeat (4)\n        turn right (15) degrees\n    end\nelse\n    repeat (4)\n        turn left (15) degrees\n    end\nend\nset [attack v] to [0]\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        broadcast (attack v)\n        if <(item (1) of [settings 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 [settings v]) = [10]> then\n        hide\n        set [belongings v] to [ソニックブーム]\n    end\nend\n\n@ground\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to (item (1) of [information v])\nend\n\n@upgrade\n\nwhen I receive [スタート v]\nset size to (100) %\nclear graphic effects\nshow\nforever\n    switch costume to (item (1) of [information v])\n    if <touching (player v)?> then\n        set [belongings 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 [information 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 [information 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 [settings v]) = [10]> or <(item (1) of [settings v]) = [16]>> then\n        hide\n    end\nend\n\n@Ground – Sand\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to (item (1) of [information v])\nend\n\n@background\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to (item (1) of [information v])\nend\n\n@For determining fall damage\n\nwhen I receive [スタート v]\nset [ghost v] effect to (99)\ngo to [front v] layer\nforever\n    switch costume to (item (1) of [information v])\nend\n\n@background2\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 [information v])\nend\n\n@decoration\n\nwhen I receive [スタート v]\nforever\n    switch costume to (item (1) of [information v])\nend\n\n@water\n\nwhen I receive [スタート v]\ngo to [front v] layer\ngo [backward v] (10) layers\nforever\n    switch costume to (item (1) of [information v])\n    set [ghost v] effect to (40)\nend\n\n@magma\n\nwhen I receive [スタート v]\nforever\n    switch costume to (item (1) of [information 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@sun\n\nwhen flag clicked\nreplace item (6) of [information v] with [0]\nset size to (100) %\nshow\nforever\n    go to [back v] layer\n    replace item (6) of [information v] with ((item (6) of [information v]) + (10))\nend\n\nwhen flag clicked\nforever\n    change size by ([cos v] of (item (6) of [information v]) )\nend\n\nwhen I receive [スタート v]\nwait (1) seconds\nwait until <(item (1) of [information v]) = [8]>\nhide\n\n@turbo\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/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/time v] to ((round ((timer) * (100))) / (100))\nshow variable [time/time v]\nstop [this script v]\n\n@cactus\n\nwhen I receive [スタート v]\nforever\n    switch costume to (item (1) of [information v])\n    go to [back v] layer\nend\n\n@particles\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 [information v]) y: (item (5) of [information 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 (ground v)?> or <<touching (ground – sand v)?> or <<touching (background v)?> or <<touching (magma 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 (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n            change y by (1)\n            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                change y by (1)\n                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                    change y by (1)\n                    if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                        change y by (1)\n                        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                            change y by (1)\n                            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                change y by (1)\n                                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                    change y by (1)\n                                    if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                        change y by (1)\n                                        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                            change y by (1)\n                                            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                                change y by (1)\n                                                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                                    change y by (1)\n                                                    if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background 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 [information v]) y: (item (5) of [information 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 [information v]) y: (item (5) of [information 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 [information v]) y: (item (5) of [information 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 [vauden location v]) y: (item (2) of [vauden location 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 [settings 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 (ground v)?> or <<touching (ground – sand v)?> or <<touching (background v)?> or <<touching (magma 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 (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n            change y by (1)\n            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                change y by (1)\n                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                    change y by (1)\n                    if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                        change y by (1)\n                        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                            change y by (1)\n                            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                change y by (1)\n                                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                    change y by (1)\n                                    if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                        change y by (1)\n                                        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                            change y by (1)\n                                            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                                change y by (1)\n                                                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                                    change y by (1)\n                                                    if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background 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 [information v]) y: (item (5) of [information v])\n    Particles\nend\n\n@diamond sword item\n\nwhen I receive [スタート v]\nforever\n    go to [front v] layer\n    if <(item (6) of [settings v]) = [18]> then\n        show\n        forever\n            go to [front v] layer\n            if <touching (mouse-pointer v)?> then\n                set [attack state 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 [attack state v] to [0]\n            end\n        end\n    end\n    hide\nend\n\n@skeleton\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 [information v]) = [5]>\nスケルトン召喚魔法 [5] [300] [-15] [0.5] 秒待つ\nwait until <(item (1) of [information v]) = [16]>\nスケルトン召喚魔法 [20] [300] [100] [0] 秒待つ\n\nwhen I receive [スタート v]\nforever\n    set [skeleton spacing v] to ((round ([x position v] of [player v])) - (round (Skeleton position x)))\nend\n\nwhen I start as a clone\nshow\nforever\n    if <([x position v] of [player v]) < (Skeleton position x)> then\n        set [skeleton orientation v] to [-90]\n        point in direction (-90)\n    else\n        set [skeleton orientation v] to [90]\n        point in direction (90)\n    end\nend\n\nwhen I receive [next v]\nset [the presence of a skeleton 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 [the presence of a skeleton 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 [information v]) = [0]>> then\n        if <<((round ([x position v] of [player v])) - (round (Skeleton position x))) < [-200]> and <((round ([x position v] of [player v])) - (round (Skeleton position x))) < [0]>> then\n            if <touching (water 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 [player v])) - (round (Skeleton position x)))> and <((round ([x position v] of [player v])) - (round (Skeleton position x))) < [0]>> then\n            if <touching (water 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 [player v])) - (round (Skeleton position x)))> and <((round ([x position v] of [player v])) - (round (Skeleton position x))) < [170]>> then\n            if <touching (water 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 [player v])) - (round (Skeleton position x)))> then\n            if <touching (water 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 (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n            change y by (1)\n            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                change y by (1)\n                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                    change y by (1)\n                    if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                        change y by (1)\n                        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                            change y by (1)\n                            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                change y by (1)\n                                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                    change x by ((0) - (スケルトンx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [player 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 (water v)?> and <(スケルトンy) < [-2]>> then\n            set [スケルトンy v] to [-2]\n        end\n        change y by (スケルトンy)\n        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n            change y by ((0) - (スケルトンy))\n            set [スケルトンy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (water v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [スケルトンy v] to [4]\n        else\n            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                if <(y position) < ([y position v] of [player 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 [mob position x v] to (x position)\n    set [mob position 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 [information v] with ((item (12) of [information v]) + (1))\n    replace item (9) of [information v] with [0]\n    start sound [Skeleton_death v]\n    replace item (4) of [information v] with (x position)\n    replace item (5) of [information v] with (y position)\n    broadcast (スケルトン v)\n    repeat (5)\n        change [ghost v] effect by (20)\n    end\n    set [the presence of a skeleton 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 [settings v]) = [12]> then\n    set [hp v] to [18]\nelse\n    set [hp v] to [22]\nend\nforever\n    if <touching (magma v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n    end\n    if <touching (cactus v)?> then\n        ダメージ [-3]\n        wait (0.3) seconds\n    end\n    if <<touching (kinds of sword v)?> and <(attack) = [1]>> then\n        if <([x position v] of [player v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        if <(result) = [クリティカル攻撃可能]> then\n            ダメージ ([floor v] of (([costume name v] of [kinds of sword v]) * (1.5)) )\n            set [attack position x v] to (x position)\n            set [attack position y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [kinds of sword v])\n        end\n        wait until <(attack) = [0]>\n        wait (0.3) seconds\n        switch costume to (スケルトン v)\n    end\n    if <touching (death beam supplement 4 v)?> then\n        if <([x position v] of [player 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 (explosion v)?> then\n        ダメージ [-16]\n        if <(item (4) of [information v]) < (x position)> then\n            ノックバック [15] [12]\n        else\n            ノックバック [-15] [12]\n        end\n        wait (0.3) seconds\n    end\n    if <touching (explosion 2 v)?> then\n        ダメージ [-14]\n        if <([x position v] of [player 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 [skeleton position x v] to (x position)\n    set [skeleton position y v] to (y position)\nend\n\ndefine スケルトン召喚魔法 (ステージ) (x) (y) (n) 秒待つ\nif <not <(item (2) of [settings v]) = [4]>> then\n    if <(item (1) of [information v]) = (ステージ)> then\n        wait (n) seconds\n        go to x: (x) y: (y)\n        create clone of (_myself_ v)\n        create clone of (bow v)\n    end\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [やられた v]\nset [the presence of a skeleton v] to [0]\ndelete this clone\n\nwhen I start as a clone\nif <(item (1) of [information v]) = [31]> then\n    delete this clone\nend\n\n@bow\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 <(Skeleton orientation) = [90]> then\n            change x by (20)\n        end\n        if <(Skeleton orientation) = [-90]> then\n            change x by (-20)\n        end\n    end\n    repeat until <<<<touching (_edge_ v)?> or <touching (player v)?>> or <<touching (cactus v)?> or <<touching (magma v)?> or <<touching (ground v)?> or <<touching (background v)?> or <touching (ground – sand v)?>>>>>> or <<touching (kinds of sword v)?> and <(attack) = [1]>>>\n        if <(Skeleton orientation) = [90]> then\n            change x by (22)\n        end\n        if <(Skeleton orientation) = [-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 <(The presence of a skeleton) = [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 (player 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 <(Skeleton orientation) = [90]> then\n            point in direction (-135)\n            go to x: ((Skeleton position x) + (20)) y: ((Skeleton position y) + (-2))\n        end\n        if <(Skeleton orientation) = [-90]> then\n            point in direction (45)\n            go to x: ((Skeleton position x) + (-20)) y: ((Skeleton position y) + (-2))\n        end\n    end\nend\n\n@evil spirits \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 [information v]) = [0]>> then\n        if <([x position v] of [player v]) < (x position)> then\n            point in direction (-90)\n            if <touching (water 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 [player v])> then\n            point in direction (90)\n            if <touching (water 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 (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n            change y by (1)\n            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                change y by (1)\n                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                    change y by (1)\n                    if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                        change y by (1)\n                        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                            change y by (1)\n                            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                change y by (1)\n                                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                    change x by ((0) - (ゾンビx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [player 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 (water v)?> and <(ゾンビy) < [-2]>> then\n            set [ゾンビy v] to [-2]\n        end\n        change y by (ゾンビy)\n        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n            change y by ((0) - (ゾンビy))\n            set [ゾンビy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (water v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [ゾンビy v] to [4]\n        else\n            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                if <(y position) < ([y position v] of [player 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 [mob position x v] to (x position)\n    set [mob position 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 [settings 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 (magma v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n        switch costume to (player v)\n    end\n    if <touching (cactus v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n        switch costume to (player v)\n    end\n    if <<touching (kinds of sword v)?> and <(attack) = [1]>> then\n        if <([x position v] of [player v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        if <(result) = [クリティカル攻撃可能]> then\n            ダメージ ([floor v] of (([costume name v] of [kinds of sword v]) * (1.5)) )\n            set [attack position x v] to (x position)\n            set [attack position y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [kinds of sword v])\n        end\n        wait until <(attack) = [0]>\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\n    if <touching (explosion v)?> then\n        ダメージ [-15]\n        if <(item (4) of [information 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 (death beam supplement 4 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [player 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 (explosion 2 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [player 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 [information v] with [0]\n    replace item (12) of [information v] with ((item (12) of [information v]) + (1))\n    switch costume to (player2 v)\n    start sound [倒した v]\n    broadcast (ゾンビ v)\n    replace item (4) of [information v] with (x position)\n    replace item (5) of [information 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 [information v]) = [1]>\nゾンビ召喚魔法 [1] [300] [0] [0.2] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [information v]) = [5]>\nゾンビ召喚魔法 [5] [300] [-70] [0.7] 秒待つ [2] 回繰り返す\nwait until <(item (1) of [information v]) = [6]>\nゾンビ召喚魔法 [6] [300] [-100] [0.7] 秒待つ [3] 回繰り返す\nwait until <(item (1) of [information v]) = [16]>\nゾンビ召喚魔法 [16] [300] [-100] [1] 秒待つ [2] 回繰り返す\nwait until <(item (1) of [information 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 [settings v]) = [4]>> then\n    if <(item (1) of [information 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 [information v] with [1]\nreplace item (12) of [information v] with [0]\n\nwhen I start as a clone\nif <(item (1) of [information v]) = [31]> then\n    delete this clone\nend\n\n@bombers\n\nwhen I receive [スタート v]\ngo to [front v] layer\nhide\nwait (0.01) seconds\nwait until <(item (1) of [information v]) = [6]>\nクリーパー [6] [300] [-100] [1] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [information 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 [information v]) = [0]>> then\n        if <(モード) = [0]> then\n            if <([x position v] of [player v]) < (x position)> then\n                point in direction (-90)\n                if <touching (water 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 [player v])> then\n                point in direction (90)\n                if <touching (water 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 (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n            change y by (1)\n            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                change y by (1)\n                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                    change y by (1)\n                    if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                        change y by (1)\n                        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                            change y by (1)\n                            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                change y by (1)\n                                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                    change x by ((0) - (クリーパーx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [player 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 (water v)?> and <(クリーパーy) < [-2]>> then\n            set [クリーパーy v] to [-2]\n        end\n        change y by (クリーパーy)\n        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n            change y by ((0) - (クリーパーy))\n            set [クリーパーy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (water v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [クリーパーy v] to [4]\n        else\n            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                if <(y position) < ([y position v] of [player 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 [mob position x v] to (x position)\n    set [mob position 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 [settings 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 (magma v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n    end\n    if <touching (cactus v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n    end\n    if <<touching (kinds of sword v)?> and <(attack) = [1]>> then\n        if <(result) = [クリティカル攻撃可能]> then\n            ダメージ ([floor v] of (([costume name v] of [kinds of sword v]) * (1.5)) )\n            set [attack position x v] to (x position)\n            set [attack position y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [kinds of sword v])\n        end\n        if <([x position v] of [player v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        wait until <(attack) = [0]>\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\n    if <touching (explosion v)?> then\n        ダメージ [-16]\n        if <(item (4) of [information 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 (death beam supplement 4 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [player 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 (explosion 2 v)?> then\n        ダメージ [-15]\n        if <([x position v] of [player 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 [player 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 [player v]) < [130]> then\n            set [brightness v] effect to (75)\n            replace item (4) of [information v] with (x position)\n            replace item (5) of [information 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 [settings v]) = [4]>> then\n    if <(item (1) of [information 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        change [ghost v] effect by (25)\n        replace item (12) of [information v] with ((item (12) of [information v]) + (1))\n        replace item (9) of [information v] with [0]\n        set [brightness v] effect to (75)\n        replace item (4) of [information v] with (x position)\n        replace item (5) of [information 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 [information v]) = [31]> then\n    delete this clone\nend\n\n@explosion\n\nwhen I receive [クリーパー v]\ngo to x: (item (4) of [information v]) y: (item (5) of [information 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@denote\n\nwhen I receive [やられた v]\nset [costume v] to [7]\nrepeat (2)\n    switch costume to (costume)\n    create clone of (_myself_ v)\n    change [costume v] by (1)\nend\n\nwhen I receive [リスポーン v]\ndelete this clone\n\nwhen I receive [a v]\nset [costume v] to [1]\nrepeat (2)\n    switch costume to (costume)\n    create clone of (_myself_ v)\n    change [costume v] by (1)\nend\n\nwhen flag clicked\nset [costume v] to [1]\nreplace item (6) of [settings v] with [17]\nreplace item (1) of [settings v] with [3]\nreplace item (2) of [settings v] with [12]\nreplace item (3) of [settings v] with [5]\nbroadcast (a v)\n\nwhen I start as a clone\nset [クローン番号 v] to ((costume) - (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 [settings v])\n    初期設定 [0] [40] [0]\n    描画 [自動回復]\nend\nif <(クローン番号) = [4]> then\n    switch costume to (item (1) of [settings 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 [settings 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 [settings 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 [settings v]) = [20]> then\n                        replace item (1) of [settings v] with [3]\n                    else\n                        if <(item (1) of [settings v]) = [3]> then\n                            replace item (1) of [settings v] with [10]\n                        else\n                            if <(item (1) of [settings v]) = [10]> then\n                                replace item (1) of [settings v] with [9]\n                            else\n                                if <(item (1) of [settings v]) = [9]> then\n                                    replace item (1) of [settings v] with [15]\n                                else\n                                    if <(item (1) of [settings v]) = [15]> then\n                                        replace item (1) of [settings v] with [16]\n                                    else\n                                        if <(item (1) of [settings v]) = [16]> then\n                                            replace item (1) of [settings v] with [19]\n                                        else\n                                            if <(item (1) of [settings v]) = [19]> then\n                                                replace item (1) of [settings v] with [11]\n                                            else\n                                                if <(item (1) of [settings v]) = [11]> then\n                                                    replace item (1) of [settings 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 [settings v])\n                    wait until <not <mouse down?>>\n                else\n                    if <(new game/setting) = [難易度]> then\n                        if <(item (2) of [settings v]) = [13]> then\n                            replace item (2) of [settings v] with [4]\n                        else\n                            if <(item (2) of [settings v]) = [4]> then\n                                replace item (2) of [settings v] with [12]\n                            else\n                                replace item (2) of [settings v] with [13]\n                            end\n                        end\n                        switch costume to (item (2) of [settings v])\n                        wait until <not <mouse down?>>\n                    else\n                        if <(new game/setting) = [自動回復]> then\n                            if <(item (3) of [settings v]) = [14]> then\n                                replace item (3) of [settings v] with [5]\n                            else\n                                replace item (3) of [settings v] with [14]\n                            end\n                            switch costume to (item (3) of [settings 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 [settings v]) = [18]> then\n                                            replace item (6) of [settings v] with [17]\n                                        else\n                                            replace item (6) of [settings v] with [18]\n                                        end\n                                        switch costume to (item (6) of [settings 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 [costume v] to [17]\nswitch costume to (costume)\ncreate clone of (_myself_ v)\nwait () seconds\nset [costume v] to [3]\nrepeat (4)\n    switch costume to (costume)\n    create clone of (_myself_ v)\n    change [costume v] by (1)\nend\n\nwhen I receive [完了 v]\ndelete this clone\n\nwhen I receive [完了 v]\nset [costume v] to [1]\nrepeat (2)\n    switch costume to (costume)\n    create clone of (_myself_ v)\n    change [costume 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@Hardcore Life\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nwait (0.01) seconds\nif <(item (1) of [settings 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 [settings v]) = [11]> then\n    forever\n        switch costume to ((item (8) of [information v]) + (1))\n    end\nend\n\nwhen I receive [やられた v]\nhide\n\n@critical hit\n\nwhen I start as a clone\nif <(n) = [0]> then\n    set [n v] to [8]\n    go to x: (Attack position x) y: (Attack position 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 [information v])>\ndelete this clone\n\nwhen I start as a clone\nif <[4] < (item (1) of [information 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@oxygen gauge judgment\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 [information v])\nend\n\n@Oxygen\n\nwhen I receive [スタート v]\nforever\n    if <(item (4) of [settings v]) = [水中]> then\n        wait (0.05) seconds\n        if <(item (4) of [settings v]) = [水中]> then\n            show\n        end\n    else\n        if <(Oxygen Gauge) = [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 ((Oxygen Gauge) + (1))\nend\n\n@Magma determination\n\nwhen I receive [スタート v]\nset [ghost v] effect to (99)\nforever\n    switch costume to (item (1) of [information v])\nend\n\n@Death Beam Supplement 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 [information v]) = [0]> and <<(item (5) of [settings v]) = [1]> and <(item (1) of [settings 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 [information v] with [1]\n    go to (player v)\n    point towards (death beam judgment 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 [information v] with [0]\n\nwhen flag clicked\nreplace item (7) of [information v] with [0]\n\nwhen I receive [attack v]\nif <<(item (7) of [information v]) = [0]> and <<(item (5) of [settings v]) = [1]> and <(item (1) of [settings 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 [information v] with [1]\n    go to (player v)\n    point towards (death beam judgment 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@Death_Beam2\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 [information v]) = [0]> and <<(item (5) of [settings v]) = [1]> and <(item (1) of [settings v]) = [10]>>> then\n    wait () seconds\n    go to (player v)\n    point towards (death beam judgment 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 [information v]) = [0]> and <<(item (5) of [settings v]) = [1]> and <(item (1) of [settings v]) = [10]>>> then\n    wait () seconds\n    go to (player v)\n    point towards (death beam judgment 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@Death Beam Supplement 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 [information v]) = [0]> and <<(item (5) of [settings v]) = [1]> and <(item (1) of [settings v]) = [10]>>> then\n    wait () seconds\n    go to (player v)\n    point towards (death beam judgment 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 [information v]) = [0]> and <<(item (5) of [settings v]) = [1]> and <(item (1) of [settings v]) = [10]>>> then\n    wait () seconds\n    go to (player v)\n    point towards (death beam judgment 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@Death Beam judgment\n\nwhen flag clicked\nhide\nforever\n    go to x: (Mob position x) y: (Mob position y)\nend\n\n@Explosion 2\n\nwhen I receive [爆発剣 v]\nif <<<(item (1) of [settings v]) = [15]> and <(z) = [0]>> and <not <(item (8) of [information 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 <(right and left) = [右]> then\n    go to x: (([x position v] of [player v]) + (40)) y: (([y position v] of [player v]) + (-5))\nelse\n    go to x: (([x position v] of [player v]) + (-40)) y: (([y position v] of [player 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 [settings v]) = [15]> and <(z) = [0]>> and <not <(item (8) of [information v]) = [0]>>> then\n    start sound [get4 v]\n    create clone of (_myself_ v)\nend\n\n@Player Fixed\n\nwhen flag clicked\nset [ghost v] effect to (99)\nhide\nforever\n    go to (player v)\nend\n\nwhen [space v] key pressed\nif <<<(item (7) of [information v]) = [0]> and <(item (5) of [settings v]) = [1]>> and <(item (1) of [settings v]) = [10]>> then\n    show\n    wait (1.4) seconds\n    hide\nend\n\nwhen I receive [attack v]\nif <<<(item (7) of [information v]) = [0]> and <(item (5) of [settings v]) = [1]>> and <(item (1) of [settings v]) = [10]>> then\n    show\n    wait (1.4) seconds\n    hide\nend\n\n@door\n\nwhen flag clicked\nhide\n\nwhen I receive [エンドロールend-end v]\nshow\n\n@speedrun time\n\nwhen flag clicked\nhide\n\nwhen I receive [エンドロールend-end v]\nshow\n\n@main page\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n@zombified piglin\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 [information v]) = [0]>> then\n        if <([x position v] of [player v]) < (x position)> then\n            point in direction (-90)\n            if <touching (magma determination 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 [player v])> then\n            point in direction (90)\n            if <touching (magma determination 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 (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n            change y by (1)\n            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                change y by (1)\n                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                    change y by (1)\n                    if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                        change y by (1)\n                        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                            change y by (1)\n                            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                change y by (1)\n                                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                    change x by ((0) - (ゾンビx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [player 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 (magma determination v)?> and <(ゾンビy) < [-2]>> then\n            set [ゾンビy v] to [-2]\n        end\n        change y by (ゾンビy)\n        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n            change y by ((0) - (ゾンビy))\n            set [ゾンビy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (magma determination v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [ゾンビy v] to [4]\n        else\n            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                if <(y position) < ([y position v] of [player 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 [mob position x v] to (x position)\n    set [mob position 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 [settings 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 (kinds of sword v)?> and <(attack) = [1]>> then\n        if <([x position v] of [player v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        if <(result) = [クリティカル攻撃可能]> then\n            ダメージ ([floor v] of (([costume name v] of [kinds of sword v]) * (1.5)) )\n            set [attack position x v] to (x position)\n            set [attack position y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [kinds of sword v])\n        end\n        wait until <(attack) = [0]>\n        wait (0.3) seconds\n        switch costume to (player3 v)\n    end\n    if <touching (explosion v)?> then\n        ダメージ [-15]\n        if <(item (4) of [information 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 (death beam supplement 4 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [player 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 (explosion 2 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [player 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 [information v] with [0]\n    replace item (12) of [information v] with ((item (12) of [information v]) + (1))\n    switch costume to (player2 v)\n    start sound [pigdeath v]\n    broadcast (ゾンビピグリン v)\n    replace item (4) of [information v] with (x position)\n    replace item (5) of [information 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 [information v]) = [8]>\nゾンビピグリン召喚魔法 [8] [300] [-70] [0.2] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [information 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 [settings v]) = [4]>> then\n    if <(item (1) of [information 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 [information v] with [1]\nreplace item (12) of [information v] with [0]\n\nwhen I start as a clone\nif <(item (1) of [information v]) = [31]> then\n    delete this clone\nend\n\n@cyborg\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 [information v]) = [0]>> then\n        if <<<not <(HP) = [-100]>> and <([x position v] of [player v]) < (x position)>> or <<([x position v] of [player v]) < (x position)> and <[0] < (item (15) of [information v])>>> then\n            point in direction (-90)\n            if <touching (magma determination 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 [player v])>> or <<(x position) < ([x position v] of [player v])> and <[0] < (item (15) of [information v])>>> then\n            point in direction (90)\n            if <touching (magma determination 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 (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n            change y by (1)\n            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                change y by (1)\n                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                    change y by (1)\n                    if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                        change y by (1)\n                        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                            change y by (1)\n                            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                change y by (1)\n                                if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                                    change x by ((0) - (ゾンビx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [player 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 (magma determination v)?> and <(ゾンビy) < [-2]>> then\n            set [ゾンビy v] to [-2]\n        end\n        change y by (ゾンビy)\n        if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n            change y by ((0) - (ゾンビy))\n            set [ゾンビy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (magma determination v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [ゾンビy v] to [4]\n        else\n            if <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>> then\n                if <(y position) < ([y position v] of [player v])> then\n                    if <<<not <(HP) = [-100]>> and <[1] = (pick random (1) to (15))>> or <<[0] < (item (15) of [information 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 [mob position x v] to (x position)\n    set [mob position 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 [information v]) = [10]> then\n    replace item (19) of [information v] with [1]\n    set [hp v] to [-100]\n    if <(item (2) of [settings v]) = [12]> then\n        replace item (15) of [information v] with [50]\n        replace item (16) of [information v] with [50]\n    else\n        replace item (15) of [information v] with [60]\n        replace item (16) of [information v] with [60]\n    end\nelse\n    if <(item (2) of [settings 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 (kinds of sword v)?> and <(attack) = [1]>> then\n        if <([x position v] of [player v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        if <(result) = [クリティカル攻撃可能]> then\n            ダメージ ([floor v] of (([costume name v] of [kinds of sword v]) * (1.5)) )\n            set [attack position x v] to (x position)\n            set [attack position y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [kinds of sword v])\n        end\n        wait until <(attack) = [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 [information v])> then\n            switch costume to (player v)\n        end\n    end\n    if <touching (explosion v)?> then\n        ダメージ [-15]\n        if <(item (4) of [information 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 [information v])> then\n            switch costume to (player v)\n        end\n    end\n    if <touching (death beam supplement 4 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [player 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 [information v])> then\n            switch costume to (player v)\n        end\n        wait (1) seconds\n    end\n    if <touching (explosion 2 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [player 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 [information 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 [information v] with ((item (15) of [information 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 [information v] with [0]\n    replace item (12) of [information v] with ((item (12) of [information v]) + (1))\n    switch costume to (player4 v)\n    start sound [Enderman death v]\n    broadcast (ゾンビ v)\n    replace item (4) of [information v] with (x position)\n    replace item (5) of [information 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 [information v]) < [0.01]> then\n    replace item (17) of [information v] with (x position)\n    replace item (18) of [information 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 (player v)?>\n    repeat (25)\n        change size by (5)\n        change [ghost v] effect by (5)\n    end\n    replace item (19) of [information 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 [information 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 [settings v]) = [4]>> then\n    if <(item (1) of [information 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 [information v] with [1]\nreplace item (12) of [information v] with [0]\nreplace item (15) of [information v] with [1]\nreplace item (16) of [information v] with [0]\n\nwhen I start as a clone\nif <(item (1) of [information 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 [information v] with [0]\n\n@pen\n\nwhen I receive [リスポーン v]\nwait until <(item (1) of [information v]) = [10]>\nwait until <[10] < (item (15) of [information v])>\ngo to x: (0) y: (0)\nswitch costume to (コスチューム2 v)\nif <not <(item (2) of [settings v]) = [4]>> then\n    create clone of (_myself_ v)\nend\nswitch costume to (コスチューム1 v)\nrepeat until <(item (15) of [information 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 [information v]) (item (16) of [information v])\n\nwhen I receive [スタート v]\nerase all\nwait (1) seconds\nwait until <(item (1) of [information v]) = [10]>\nwait until <[10] < (item (15) of [information v])>\ngo to x: (0) y: (0)\nswitch costume to (コスチューム2 v)\nif <not <(item (2) of [settings v]) = [4]>> then\n    create clone of (_myself_ v)\nend\nswitch costume to (コスチューム1 v)\nrepeat until <(item (15) of [information v]) < [0.01]>\n    描画\nend\nerase all\nwait until <[12] = (item (1) of [information v])>\nwait until <[10] < (item (15) of [information v])>\ngo to x: (0) y: (0)\nswitch costume to (コスチューム3 v)\nif <not <(item (2) of [settings v]) = [4]>> then\n    create clone of (_myself_ v)\nend\nswitch costume to (コスチューム1 v)\nrepeat until <(item (15) of [information v]) < [0.01]>\n    描画\nend\nerase all\nwait until <[21] = (item (1) of [information v])>\nwait until <[10] < (item (15) of [information v])>\ngo to x: (0) y: (0)\nswitch costume to (コスチューム4 v)\nif <not <(item (2) of [settings v]) = [4]>> then\n    create clone of (_myself_ v)\nend\nswitch costume to (コスチューム1 v)\nrepeat until <(item (15) of [information v]) < [0.01]>\n    描画\nend\nerase all\n\nwhen I receive [リスポーン v]\nwait until <[12] = (item (1) of [information v])>\nwait until <[10] < (item (15) of [information v])>\ngo to x: (0) y: (0)\nswitch costume to (コスチューム3 v)\nif <not <(item (2) of [settings v]) = [4]>> then\n    create clone of (_myself_ v)\nend\nswitch costume to (コスチューム1 v)\nrepeat until <(item (15) of [information v]) < [0.01]>\n    描画\nend\nerase all\n\nwhen I start as a clone\nshow\nwait until <(item (15) of [information v]) < [0.01]>\ndelete this clone\n\nwhen I receive [リスポーン v]\nwait until <[21] = (item (1) of [information v])>\nwait until <[10] < (item (15) of [information v])>\ngo to x: (0) y: (0)\nswitch costume to (コスチューム4 v)\nif <not <(item (2) of [settings v]) = [4]>> then\n    create clone of (_myself_ v)\nend\nswitch costume to (コスチューム1 v)\nrepeat until <(item (15) of [information 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 [settings v]) = [4]> then\n        replace item (15) of [information v] with [0]\n        erase all\n    end\nend\n\n@flare\n\nwhen I start as a clone\nforever\n    set [skeleton position x v] to (x position)\n    set [skeleton position y v] to (y position)\nend\n\nwhen I start as a clone\nswitch costume to (スケルトン v)\nset [the presence of a skeleton 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 [information v]) = [0]>> then\n        if <[0] < (item (15) of [information v])> then\n            if <<((round ([x position v] of [player v])) - (round (Skeleton position x))) < [-200]> and <((round ([x position v] of [player v])) - (round (Skeleton position x))) < [0]>> then\n                if <touching (water 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 [player v])) - (round (Skeleton position x)))> and <((round ([x position v] of [player v])) - (round (Skeleton position x))) < [0]>> then\n                if <touching (water 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 [player v])) - (round (Skeleton position x)))> and <((round ([x position v] of [player v])) - (round (Skeleton position x))) < [170]>> then\n                if <touching (water 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 [player v])) - (round (Skeleton position x)))> then\n                if <touching (water 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 (ground v)?> or <<touching (sprite 5 v)?> or <touching (background v)?>>> then\n            change y by (1)\n            if <<touching (ground v)?> or <<touching (sprite 5 v)?> or <touching (background v)?>>> then\n                change y by (1)\n                if <<touching (ground v)?> or <<touching (sprite 5 v)?> or <touching (background v)?>>> then\n                    change y by (1)\n                    if <<touching (ground v)?> or <<touching (sprite 5 v)?> or <touching (background v)?>>> then\n                        change y by (1)\n                        if <<touching (ground v)?> or <<touching (sprite 5 v)?> or <touching (background v)?>>> then\n                            change y by (1)\n                            if <<touching (ground v)?> or <<touching (sprite 5 v)?> or <touching (background v)?>>> then\n                                change y by (1)\n                                if <<touching (ground v)?> or <<touching (sprite 5 v)?> or <touching (background v)?>>> then\n                                    change x by ((0) - (スケルトンx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [player 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 [information 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 (ground v)?> or <<touching (sprite 5 v)?> or <touching (background 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 [player v]) + (50))> then\n            if <[1] = (pick random (1) to (10))> then\n                if <[0] < (item (15) of [information 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 [information v] with (x position)\n    replace item (25) of [information 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 [information v]) = [12]>\nスケルトン召喚魔法 [12] [300] [100] [1] 秒待つ\n\nwhen I receive [スタート v]\nforever\n    set [skeleton spacing v] to ((round ([x position v] of [player v])) - (round (Skeleton position x)))\nend\n\nwhen I start as a clone\nshow\nforever\n    if <[0] < (item (15) of [information v])> then\n        if <([x position v] of [player v]) < (Skeleton position x)> then\n            set [skeleton orientation v] to [-90]\n            point in direction (-90)\n        else\n            set [skeleton orientation v] to [90]\n            point in direction (90)\n        end\n    end\nend\n\ndefine ダメージ (ダメージ量)\nswitch costume to (スケルトン2 v)\nreplace item (15) of [information v] with ((item (15) of [information v]) + (ダメージ量))\nif <(item (15) of [information v]) < [0.01]> then\n    replace item (17) of [information v] with (x position)\n    replace item (18) of [information 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 (player v)?>\n    repeat (25)\n        change size by (5)\n        change [ghost v] effect by (5)\n    end\n    replace item (19) of [information 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 [information 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 [settings v]) = [12]> then\n    replace item (15) of [information v] with [24]\n    replace item (16) of [information v] with [24]\nelse\n    replace item (15) of [information v] with [34]\n    replace item (16) of [information v] with [34]\nend\nforever\n    if <touching (magma v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n    end\n    if <touching (cactus v)?> then\n        ダメージ [-3]\n        wait (0.3) seconds\n    end\n    if <<touching (kinds of sword v)?> and <(attack) = [1]>> then\n        if <([x position v] of [player v]) < (x position)> then\n            ノックバック [10] [7]\n        else\n            ノックバック [-10] [7]\n        end\n        if <(result) = [クリティカル攻撃可能]> then\n            ダメージ ([floor v] of (([costume name v] of [kinds of sword v]) * (1.5)) )\n            set [attack position x v] to (x position)\n            set [attack position y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [kinds of sword v])\n        end\n        wait until <(attack) = [0]>\n        wait (0.3) seconds\n        if <[0] < (item (15) of [information v])> then\n            switch costume to (スケルトン v)\n        end\n    end\n    if <touching (death beam supplement 4 v)?> then\n        if <([x position v] of [player 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 [information v])> then\n            switch costume to (スケルトン v)\n        end\n        wait (1) seconds\n    end\n    if <touching (explosion v)?> then\n        ダメージ [-16]\n        if <(item (4) of [information v]) < (x position)> then\n            ノックバック [15] [9]\n        else\n            ノックバック [-15] [9]\n        end\n        wait (0.3) seconds\n    end\n    if <touching (explosion 2 v)?> then\n        ダメージ [-14]\n        if <([x position v] of [player 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 [information 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 [settings v]) = [4]>> then\n    if <(item (1) of [information 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 [information v]) = [31]> then\n    delete this clone\nend\n\nwhen I start as a clone\nreplace item (19) of [information v] with [1]\nwait (1) seconds\nrepeat until <(item (15) of [information v]) < [0.01]>\n    replace item (20) of [information v] with (x position)\n    replace item (21) of [information v] with (y position)\n    broadcast (ブレイズ v)\n    if <not <(item (15) of [information 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 [mob position x v] to (x position)\n    set [mob position y v] to (y position)\nend\n\n@fireball\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 [information v]) = [0]> then\n    delete this clone\nend\ngo to x: (item (20) of [information v]) y: (item (21) of [information v])\nshow\npoint towards (player v)\nturn right (pick random (-5) to (5)) degrees\nrepeat until <<touching (player v)?> or <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>>>\n    move (8) steps\nend\nreplace item (22) of [information v] with (x position)\nreplace item (23) of [information 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 [information v]) y: (item (23) of [information 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@eyes of ender\n\nwhen flag clicked\nhide\n\nwhen I receive [エンダーアイ v]\nwait (1) seconds\ngo to (player 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 [information v]) = [22]>> then\n        if <(item (15) of [information v]) < [2]> then\n            if <not <(item (15) of [information 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 [information v]) < [2]> then\n        if <not <(item (15) of [information 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 [information v]) < [2]>>\nrepeat until <(item (15) of [information v]) = [0]>\n    if <not <(item (2) of [settings 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 [information v]) < [2]>>\n    wait until <(item (15) of [information v]) < [1]>\n    if <not <(item (2) of [settings 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@final dragon\n\ndefine damage (amount of damage)\nreplace item (28) of [information v] with [10]\nreplace item (15) of [information v] with ((item (15) of [information v]) + (amount of damage))\nif <(item (15) of [information v]) < [0.01]> then\n    replace item (17) of [information v] with (x position)\n    replace item (18) of [information 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 Knockback (x) (y)\nset [スケルトンx v] to (x)\nset [スケルトンy v] to (y)\n\nwhen flag clicked\nreplace item (27) of [information v] with [1]\nforever\n    if <(item (27) of [information v]) < [10]> then\n        replace item (27) of [information v] with ((item (27) of [information v]) + (1))\n        wait (0.01) seconds\n    else\n        repeat until <(item (27) of [information v]) = [1]>\n            replace item (27) of [information v] with ((item (27) of [information 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 [information v])> then\n        switch costume to ((item (27) of [information v]) + (item (28) of [information 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 [information v]) = [21]>\nif <(item (2) of [settings v]) = [12]> then\n    replace item (15) of [information v] with [300]\n    replace item (16) of [information v] with [300]\nelse\n    replace item (15) of [information v] with [350]\n    replace item (16) of [information v] with [350]\nend\nforever\n    if <<touching (kinds of sword v)?> and <(attack) = [1]>> then\n        if <(result) = [クリティカル攻撃可能]> then\n            set [attack position x v] to ([x position v] of [kinds of sword v])\n            set [attack position y v] to ([y position v] of [kinds of sword v])\n            broadcast (クリティカル v)\n            damage ([floor v] of (([costume name v] of [kinds of sword v]) * (1.5)) )\n        else\n            damage ([costume name v] of [kinds of sword v])\n        end\n        wait until <(attack) = [0]>\n        wait (0.3) seconds\n    end\n    if <touching (death beam supplement 4 v)?> then\n        damage [-16]\n        wait (0.3) seconds\n        if <[0] < (item (15) of [information v])> then\n            switch costume to (スケルトン v)\n        end\n        wait (1) seconds\n    end\n    if <touching (explosion v)?> then\n        damage [-16]\n        wait (0.3) seconds\n    end\n    if <touching (explosion 2 v)?> then\n        damage [-14]\n        wait (0.3) seconds\n    end\nend\n\nwhen I receive [スタート v]\nwait (1) seconds\nwait until <(item (1) of [information v]) = [21]>\nreplace item (19) of [information v] with [1]\nwait (1) seconds\nrepeat until <(item (15) of [information v]) < [0.01]>\n    if <not <(item (2) of [settings v]) = [4]>> then\n        replace item (20) of [information v] with (x position)\n        replace item (21) of [information v] with (y position)\n        broadcast (ブレス v)\n        if <not <(item (15) of [information 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 [information v]) = [21]>\nforever\n    replace item (24) of [information v] with (x position)\n    replace item (25) of [information 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 [information v]) = [21]>\nforever\n    repeat (pick random (1) to (2))\n        repeat until <[100] < (x position)>\n            if <[0.01] < (item (15) of [information 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 [information 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 [information 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 [information 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 [information 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 [information 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 [information v]) = [21]>\nif <not <(item (2) of [settings v]) = [4]>> then\n    show\nend\n\nwhen I receive [リスポーン v]\nif <[0.01] < (item (15) of [information v])> then\n    if <(item (1) of [information v]) = [21]> then\n        show\n    end\nend\n\nwhen I receive [#四国を四角に v]\nwait (0.3) seconds\nreplace item (28) of [information v] with [0]\n\nwhen I receive [スタート v]\nclear graphic effects\nwait (1) seconds\nwait until <(item (1) of [information v]) = [21]>\nwait until <(item (15) of [information 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 [information 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 [settings v]) = [4]> then\n    replace item (33) of [information v] with [1]\nelse\n    replace item (33) of [information v] with [0]\nend\n\nreplace item (1) of [information v] with ((item (1) of [information v]) + (1))\n\nwhen I receive [スタート v]\nwait (1) seconds\nwait until <(item (1) of [information v]) = [21]>\nforever\n    set [mob position x v] to (x position)\n    set [mob position y v] to (y position)\nend\n\n@dragon breath\n\nwhen I receive [ブレス v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(item (8) of [information v]) = [0]> then\n    delete this clone\nend\ngo to (final dragon v)\nshow\npoint towards (player v)\nturn right (pick random (-5) to (5)) degrees\nrepeat until <<touching (player v)?> or <<touching (ground v)?> or <<touching (ground – sand v)?> or <touching (background v)?>>>>\n    move (7) steps\nend\nreplace item (22) of [information v] with (x position)\nreplace item (23) of [information 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 [information v]) y: (item (23) of [information 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@nether star\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nset [hekopyon v] to [1]\nif <(item (29) of [information v]) = [0]> then\n    go to x: (-196) y: (137)\nelse\n    go to x: (196) y: (137)\nend\nwait until <<<<touching (kinds of sword v)?> and <(attack) = [1]>> or <touching (death beam supplement 4 v)?>> or <touching (explosion 2 v)?>>\nreplace item (22) of [information v] with (x position)\nreplace item (23) of [information v] with (y position)\ncreate clone of (爆発3 v)\ndelete this clone\n\nwhen I receive [リスポーン v]\nif <<(item (1) of [information v]) = [21]> and <(hekopyon) = [0]>> then\n    if <not <(item (2) of [settings v]) = [4]>> then\n        replace item (29) of [information v] with [0]\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n        replace item (29) of [information v] with [1]\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [リスポーン v]\nreplace item (30) of [information 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 [information v]) = [0]> then\n        if <not <(item (8) of [information v]) = [0]>> then\n            replace item (30) of [information v] with [1]\n            replace item (31) of [information v] with (x position)\n            replace item (32) of [information v] with (y position)\n            broadcast (エンドラ回復 v)\n            wait (1) seconds\n            broadcast (1 v)\n            wait (3) seconds\n            replace item (30) of [information v] with [0]\n        end\n    end\nend\n\nwhen I receive [スタート v]\nreplace item (30) of [information v] with [0]\n\nwhen I receive [スタート v]\nwait (1) seconds\nif <not <(item (2) of [settings v]) = [4]>> then\n    wait until <(item (1) of [information v]) = [21]>\n    replace item (29) of [information v] with [0]\n    create clone of (_myself_ v)\n    wait (0.01) seconds\n    replace item (29) of [information 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 [information v]) = [21]>\nforever\n    set [mob position x v] to (x position)\n    set [mob position 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 [information v]) < ((item (16) of [information v]) - (10))> then\n    show\n    go to x: (item (31) of [information v]) y: (item (32) of [information v])\n    point towards (final dragon v)\n    repeat until <touching (final dragon v)?>\n        if <[0] < (item (15) of [information v])> then\n            create clone of (_myself_ v)\n            move (12) steps\n        end\n    end\n    if <[0] < (item (15) of [information v])> then\n        replace item (15) of [information v] with ((item (15) of [information v]) + (8))\n    end\n    repeat (3)\n        if <[0] < (item (15) of [information 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 [information 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 [information v]) < [0.01]> then\n        hide\n    end\nend\n\n@Sprite 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 [information 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 [information 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 [information 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 [information v]) = [x]> then\n        delete this clone\n    end\nend\n\nwhen I receive [エンドロールend v]\nreplace item (35) of [information v] with [0]\nrepeat (30)\n    wait (0.3) seconds\nend\nbroadcast (エンドロールend-end v)\nreplace item (35) of [information v] with [x]\n\n@Sprite 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@Sprite 12\n\n@Sprite 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@Representation with\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 [☁ cloud variables v] to (item (5) of [chore v])\nend\n\nwhen flag clicked\nreplace item (1) of [chore v] with [1]\nreplace item (2) of [chore v] with [0]\nreplace item (3) of [chore v] with [1]\nreplace item (4) of [chore v] with []\nreplace item (5) of [chore v] with []\nset [1 v] to []\n高速処理-定義\n\ndefine 高速処理-定義\nrepeat (length of (username))\n    replace item (2) of [chore v] with [0]\n    repeat until <(letter (item (1) of [chore v]) of (username)) = (item (item (2) of [chore v]) of [candidate v])>\n        replace item (2) of [chore v] with ((item (2) of [chore v]) + (1))\n    end\n    replace item (1) of [chore v] with ((item (1) of [chore v]) + (1))\n    if <(length of (item (2) of [chore v])) = [1]> then\n        replace item (2) of [chore v] with (join [0] (item (2) of [chore v]))\n    end\n    replace item (5) of [chore v] with (join (item (5) of [chore v]) (item (2) of [chore v]))\nend\nset [☁ cloud recording v] to (item (5) of [chore v])\n高速処理-定義2\n\ndefine 高速処理-定義2\nrepeat ((length of (☁ Cloud Recording)) * (2))\n    replace item (4) of [chore v] with (join (letter (item (3) of [chore v]) of (☁ Cloud Recording)) (letter ((item (3) of [chore v]) + (1)) of (☁ Cloud Recording)))\n    set [1 v] to (join (1) (item (item (4) of [chore v]) of [candidate v]))\n    replace item (3) of [chore v] with ((item (3) of [chore v]) + (2))\nend\n\nwhen flag clicked\nforever\n    replace item (3) of [chore v] with [1]\n    set [1 v] to []\n    高速処理-定義2\nend\n\n@Sprite 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
Guys, this game has been fixed\n---->New Update<-------\n- cooler dragon breath effect\n- the exploding sword is officially orange\n-new texture for sword(for update 20 blox fruit and clownpierce texture pack)\n- all the sound got translate for easier edits and remix\n- a player detector, and the tip of the arrow got changed\n- the netherite mode has a diamond helmet to show that are u taking damage or not\n- all the mobs got reworked\n- sonic boom got reworked into death beam and is currently getting buff\n- the sun and clouds got change a little\n- dragon breath and fireball got re-texture\n- zombified piglins got made brighter\nNotes:\nMy Glitch finder found a glitch that cyborg can be immortal, so I made that if the cyborg is immortal, let it kill you and also I set a timer for it to be immortal.\nAlso, at first sometimes, your health bar will not appear but after u die once, it just reappears again.\nSpeedruns:\nMy Glitch Finder-394:17 normal mode\nMine: 161.07 Peace mode and 2.68-explosive, 3.00 normal mode\nRecommended game modes:\n- explosive sword for speedrunner\n- death beam for relaxing\n- normal is for most skill required\n- most fun is netherite\n