Sushi Platformer
@Stage\n\nwhen flag clicked\nforever\n    play sound [c418-sweden-minecraft-volume-alpha v] until done\nend\n\n@ピカー\n\nwhen I receive [スタート v]\nset size to (100) %\nclear graphic effects\nshow\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\nwhen I receive [スタート v]\nforever\n    turn right (0.4) degrees\n    change size by ([cos v] of (item (6) of [情報 v]) )\nend\n\nwhen I receive [スタート v]\n表示 [6] まで待つ [-130] [0]\n表示 [10] まで待つ [-20] [-30]\n表示 [16] まで待つ [90] [-50]\n表示 [22] まで待つ [-15] [100]\n表示 [28] まで待つ [-150] [0]\n\nwhen I receive [k v]\nrepeat (20)\n    change [ghost v] effect by (5)\n    change size by (5)\nend\nhide\n\nwhen flag clicked\nhide\n\ndefine 表示 (a) まで待つ (x) (ｙ)\nwait until <(item (1) of [情報 v]) = (a)>\ngo to x: (x) y: (ｙ)\nset size to (100) %\nclear graphic effects\nshow\n\nwhen I receive [スタート v]\nforever\n    if <<(item (1) of [設定 v]) = [10]> or <(item (1) of [設定 v]) = [16]>> then\n        hide\n    end\nend\n\n@プレイヤー\n\nwhen I receive [スタート v]\nreplace item (8) of [情報 v] with [20]\nreplace item (2) of [情報 v] with [0]\nreplace item (3) of [情報 v] with [0]\nreplace item (1) of [情報 v] with [1]\nset [スピード v] to [0.5]\nset [命はあるんか v] to [1]\nclear graphic effects\nset size to (55) %\nwait (0.01) seconds\nプレイヤー [1]\npoint in direction (90)\nreplace item (2) of [情報 v] with [0]\nreplace item (3) of [情報 v] with [0]\nclear graphic effects\ngo to x: (-200) y: (0)\nshow\nforever\n    if <<not <(item (8) of [情報 v]) = [0]>> and <(命はあるんか) = [1]>> then\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <(mouse x) < [0]>> and <(攻撃状態) = [0]>>> then\n            point in direction (-90)\n            if <<touching (酸素ゲージ判定用 v)?> or <touching (マグマ v)?>> then\n                replace item (2) of [情報 v] with ((item (2) of [情報 v]) + ((0) - ((スピード) / (2))))\n            else\n                replace item (2) of [情報 v] with ((item (2) of [情報 v]) + ((0) - (スピード)))\n            end\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<mouse down?> and <[0] < (mouse x)>> and <(攻撃状態) = [0]>>> then\n            point in direction (90)\n            if <<touching (酸素ゲージ判定用 v)?> or <touching (マグマ判定 v)?>> then\n                replace item (2) of [情報 v] with ((item (2) of [情報 v]) + ((スピード) / (2)))\n            else\n                replace item (2) of [情報 v] with ((item (2) of [情報 v]) + (スピード))\n            end\n        end\n        replace item (2) of [情報 v] with ((item (2) of [情報 v]) * (0.9))\n        change x by (item (2) of [情報 v])\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n            change y by (1)\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n                change y by (1)\n                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n                    change y by (1)\n                    if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n                        change y by (1)\n                        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n                            change y by (1)\n                            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n                                change y by (1)\n                                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n                                    change x by ((0) - (item (2) of [情報 v]))\n                                    change y by (-5)\n                                    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>> then\n                                        if <not <<touching (水 v)?> or <touching (マグマ判定 v)?>>> then\n                                            if <[0] < (item (2) of [情報 v])> then\n                                                replace item (2) of [情報 v] with [-4]\n                                            else\n                                                replace item (2) of [情報 v] with [4]\n                                            end\n                                            replace item (3) of [情報 v] with [9]\n                                            処理 (y position) [✕]\n                                        end\n                                    else\n                                        replace item (2) of [情報 v] with [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        replace item (3) of [情報 v] with ((item (3) of [情報 v]) - (0.8))\n        if <<<touching (酸素ゲージ判定用 v)?> or <touching (マグマ判定 v)?>> and <(item (3) of [情報 v]) < [-2]>> then\n            replace item (3) of [情報 v] with [-2]\n        end\n        change y by (item (3) of [情報 v])\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n            change y by ((0) - (item (3) of [情報 v]))\n            replace item (3) of [情報 v] with [0]\n        end\n        change y by (-2)\n        if <<touching (酸素ゲージ判定用 v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>>> then\n            replace item (3) of [情報 v] with [4]\n        else\n            if <<touching (マグマ判定 v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>>> then\n                replace item (3) of [情報 v] with [6]\n            else\n                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (プレイヤー固定 v)?>>>> then\n                    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>> then\n                        replace item (3) of [情報 v] with [11]\n                    end\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <<[238] < (x position)> and <not <(item (1) of [情報 v]) = [31]>>> then\n        replace item (1) of [情報 v] with ((item (1) of [情報 v]) + (1))\n        ▶ノックバック [0] [0]\n        broadcast (NEXT v)\n        go to x: (-200) y: (0)\n        replace item (1) of [移動処理 v] with [0]\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (ヴォーデン v)?> then\n        敵攻撃 [-20] [5]\n        wait (0.5) seconds\n    end\n    if <(item (2) of [設定 v]) = [12]> then\n        if <touching (ゾンビ v)?> then\n            敵攻撃 [-7] [1]\n            wait (0.4) seconds\n        end\n        if <touching (スケルトン v)?> then\n            敵攻撃 [-4] [2]\n            wait (0.4) seconds\n        end\n        if <touching (マグマ v)?> then\n            敵攻撃 [-5] [✕]\n            wait (0.3) seconds\n        end\n        if <touching (サボテン v)?> then\n            敵攻撃 [-5] [✕]\n            wait (0.3) seconds\n        end\n        if <(y position) < [-178]> then\n            敵攻撃 [-20] [✕]\n        end\n        if <touching (爆発 v)?> then\n            敵攻撃 [-16] [4]\n            wait (0.3) seconds\n        end\n        if <touching (ソニックブーム補完用2 v)?> then\n            敵攻撃 [-14] [5]\n            wait (1.5) seconds\n        end\n    else\n        if <(item (2) of [設定 v]) = [13]> then\n            if <touching (ゾンビ v)?> then\n                敵攻撃 [-8] [1]\n                wait (0.4) seconds\n            end\n            if <touching (スケルトン v)?> then\n                敵攻撃 [-5] [2]\n                wait (0.4) seconds\n            end\n            if <touching (マグマ v)?> then\n                敵攻撃 [-6] [✕]\n                wait (0.3) seconds\n            end\n            if <touching (サボテン v)?> then\n                敵攻撃 [-6] [✕]\n                wait (0.3) seconds\n            end\n            if <(y position) < [-178]> then\n                敵攻撃 [-20] [✕]\n            end\n            if <touching (爆発 v)?> then\n                敵攻撃 [-18] [4]\n                wait (0.3) seconds\n            end\n            if <touching (ソニックブーム補完用2 v)?> then\n                敵攻撃 [-16] [5]\n                wait (1.5) seconds\n            end\n        else\n            if <touching (マグマ v)?> then\n                敵攻撃 [-4] [✕]\n                wait (0.3) seconds\n            end\n            if <touching (サボテン v)?> then\n                敵攻撃 [-4] [✕]\n                wait (0.3) seconds\n            end\n            if <(y position) < [-178]> then\n                敵攻撃 [-20] [✕]\n            end\n            if <touching (爆発 v)?> then\n                敵攻撃 [-14] [4]\n                wait (0.3) seconds\n            end\n        end\n    end\nend\n\nwhen I receive [ダメージ v]\nrepeat (10)\n    プレイヤー [0]\nend\nプレイヤー [1]\n\nwhen I receive [弓矢 v]\nif <(item (2) of [設定 v]) = [12]> then\n    敵攻撃 [-5] [3]\nelse\n    敵攻撃 [-4] [3]\nend\n\ndefine 敵攻撃 (攻撃力) (なに？)\nif <not <(item (8) of [情報 v]) = [0]>> then\n    if <(item (1) of [設定 v]) = [16]> then\n        replace item (8) of [情報 v] with ((item (8) of [情報 v]) + ([ceiling v] of ((攻撃力) * (0.2)) ))\n    else\n        replace item (8) of [情報 v] with ((item (8) of [情報 v]) + (攻撃力))\n    end\n    broadcast (ダメージ v)\n    start sound [ダメージ v]\n    if <(item (1) of [設定 v]) = [16]> then\n        if <(なに？) = [1]> then\n            if <(x position) < (モブの位置x)> then\n                ▶ノックバック [-6] [6]\n            else\n                ▶ノックバック [6] [6]\n            end\n        end\n        if <(なに？) = [2]> then\n            if <(x position) < (スケルトン位置x)> then\n                ▶ノックバック [-6] [6]\n            else\n                ▶ノックバック [6] [6]\n            end\n        end\n        if <(なに？) = [3]> then\n            if <(x position) < (スケルトン位置x)> then\n                ▶ノックバック [-5] [5]\n            else\n                ▶ノックバック [5] [5]\n            end\n        end\n        if <(なに？) = [4]> then\n            if <(x position) < (item (4) of [情報 v])> then\n                ▶ノックバック [-7] [7]\n            else\n                ▶ノックバック [7] [7]\n            end\n        end\n        if <(なに？) = [5]> then\n            if <(x position) < (item (4) of [情報 v])> then\n                ▶ノックバック [-6] [6]\n            else\n                ▶ノックバック [6] [6]\n            end\n        end\n    else\n        if <(なに？) = [1]> then\n            if <(x position) < (モブの位置x)> then\n                ▶ノックバック [-10] [10]\n            else\n                ▶ノックバック [10] [10]\n            end\n        end\n        if <(なに？) = [2]> then\n            if <(x position) < (スケルトン位置x)> then\n                ▶ノックバック [-10] [10]\n            else\n                ▶ノックバック [10] [10]\n            end\n        end\n        if <(なに？) = [3]> then\n            if <(x position) < (スケルトン位置x)> then\n                ▶ノックバック [-8.5] [8.5]\n            else\n                ▶ノックバック [8.5] [8.5]\n            end\n        end\n        if <(なに？) = [4]> then\n            if <(x position) < (item (4) of [情報 v])> then\n                ▶ノックバック [-15] [12]\n            else\n                ▶ノックバック [15] [12]\n            end\n        end\n        if <(なに？) = [5]> then\n            if <(x position) < (item (4) of [情報 v])> then\n                ▶ノックバック [-10] [10]\n            else\n                ▶ノックバック [10] [10]\n            end\n        end\n    end\nend\n\nwhen I receive [スタート v]\nswitch costume to (普通 v)\nforever\n    if <(y position) < [-178]> then\n        敵攻撃 [-20] [✕]\n    end\nend\n\ndefine ▶ノックバック (x) (y)\nreplace item (2) of [情報 v] with (x)\nreplace item (3) of [情報 v] with (y)\n\nwhen I receive [スタート v]\nset [延焼ダメージ v] to [0]\nforever\n    if <touching (マグマ v)?> then\n        set [延焼ダメージ v] to [4]\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <(item (8) of [情報 v]) < [0.01]> then\n        broadcast (やられた v)\n        replace item (2) of [情報 v] with [0]\n        replace item (3) of [情報 v] with [0]\n        repeat until <(item (8) of [情報 v]) = [20]>\n            replace item (8) of [情報 v] with [0]\n        end\n    end\nend\n\nwhen I receive [スタート v]\ndelete all of [移動処理 v]\ninsert [-100] at (1) of [移動処理 v] \nset [記録 v] to [0]\nwait (0.01) seconds\nforever\n    if <(item (1) of [移動処理 v]) < (y position)> then\n        処理 (y position) [✕]\n    end\n    if <<touching (水 v)?> or <touching (マグマ v)?>> then\n        処理 (y position) [✕]\n    end\nend\n\ndefine 処理 (y) (スピード)\nif <not <(y) = [ダメージ]>> then\n    insert ([ceiling v] of (y) ) at (1) of [移動処理 v] \nelse\n    broadcast (ダメージ v)\n    if <(item (1) of [設定 v]) = [16]> then\n        replace item (8) of [情報 v] with ((item (8) of [情報 v]) + ([ceiling v] of ((スピード) * (0.2)) ))\n    else\n        replace item (8) of [情報 v] with ((item (8) of [情報 v]) + (スピード))\n    end\n    set [記録 v] to [0]\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (落下ダメージの判定用 v)?> then\n        wait until <not <touching (落下ダメージの判定用 v)?>>\n        wait until <touching (落下ダメージの判定用 v)?>\n        set [記録 v] to ((item (1) of [移動処理 v]) - (round (y position)))\n        replace item (1) of [移動処理 v] with [-100]\n        if <[0] < ((記録) - (105))> then\n            if <(item (2) of [設定 v]) = [4]> then\n                処理 [ダメージ] ((0) - ([ceiling v] of (((記録) - (105)) / (10)) ))\n            else\n                if <(item (2) of [設定 v]) = [12]> then\n                    処理 [ダメージ] ((0) - ([ceiling v] of (((記録) - (105)) / (9)) ))\n                else\n                    処理 [ダメージ] ((0) - ([ceiling v] of (((記録) - (105)) / (8)) ))\n                end\n            end\n            start sound [ダメージ v]\n        end\n    end\nend\n\nwhen I receive [リスポーン v]\ngo to x: (-200) y: (0)\npoint in direction (90)\n▶ノックバック [0] [0]\nreplace item (8) of [情報 v] with [20]\nプレイヤー [1]\nset [ghost v] effect to (0)\nshow\n\nwhen I receive [スタート v]\nforever\n    if <(item (8) of [情報 v]) = [0]> then\n        set [延焼ダメージ v] to [0]\n        hide\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <<not <(item (8) of [情報 v]) = [0]>> and <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <(mouse x) < [0]>> and <(攻撃状態) = [0]>>> or <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<mouse down?> and <[0] < (mouse x)>> and <(攻撃状態) = [0]>>>>> then\n        wait (0.05) seconds\n        if <touching (酸素ゲージ判定用 v)?> then\n            play sound (pick random (4) to (8)) until done\n        else\n            if <touching (地面ー土 v)?> then\n                play sound (pick random (1) to (2)) until done\n            end\n            if <touching (地面ー砂 v)?> then\n                play sound (pick random (9) to (13)) until done\n            end\n            if <touching (地面ー石 v)?> then\n                play sound (pick random (14) to (17)) until done\n            end\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <(item (1) of [設定 v]) = [9]> then\n        wait (0.2) seconds\n    else\n        if <(item (3) of [設定 v]) = [5]> then\n            if <(item (2) of [設定 v]) = [4]> then\n                wait (4) seconds\n            else\n                if <(item (2) of [設定 v]) = [12]> then\n                    wait (5) seconds\n                else\n                    wait (6) seconds\n                end\n            end\n        end\n    end\n    if <<(item (3) of [設定 v]) = [5]> or <(item (1) of [設定 v]) = [9]>> then\n        if <<(item (8) of [情報 v]) < [20]> and <not <(item (8) of [情報 v]) = [0]>>> then\n            replace item (8) of [情報 v] with ((item (8) of [情報 v]) + (1))\n        end\n    end\nend\n\nwhen I receive [リスポーン v]\nreplace item (1) of [移動処理 v] with [0]\n\nwhen I receive [スタート v]\nforever\n    if <not <(延焼ダメージ) = [0]>> then\n        start sound (pick random (18) to (20))\n        change [延焼ダメージ v] by (-1)\n        replace item (8) of [情報 v] with ((item (8) of [情報 v]) - (1))\n        broadcast (ダメージ v)\n        wait (1.3) seconds\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    wait until <<touching (水 v)?> and <touching (酸素ゲージ判定用 v)?>>\n    wait (1) seconds\n    if <[0] < (酸素ゲージ)> then\n        if <<touching (水 v)?> and <touching (酸素ゲージ判定用 v)?>> then\n            wait (0.1) seconds\n            if <<touching (水 v)?> and <touching (酸素ゲージ判定用 v)?>> then\n                change [酸素ゲージ v] by (-1)\n                wait (0.15) seconds\n                change [酸素ゲージ v] by (-1)\n            end\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <(酸素ゲージ) = [0]> then\n        replace item (8) of [情報 v] with ((item (8) of [情報 v]) - (1))\n        start sound [ダメージ v]\n        broadcast (ダメージ v)\n        wait (1) seconds\n    end\nend\n\nwhen I receive [スタート v]\nset [酸素ゲージ v] to [20]\nforever\n    if <not <touching (酸素ゲージ判定用 v)?>> then\n        if <(酸素ゲージ) < [20]> then\n            change [酸素ゲージ v] by (2)\n        end\n        wait (0.5) seconds\n    end\nend\n\nwhen I receive [やられた v]\nset [酸素ゲージ v] to [20]\nset [延焼ダメージ v] to [0]\n\nwhen I receive [スタート v]\nforever\n    if <not <touching (酸素ゲージ判定用 v)?>> then\n        replace item (4) of [設定 v] with [水外]\n    end\n    if <touching (酸素ゲージ判定用 v)?> then\n        replace item (4) of [設定 v] with [水中]\n    end\nend\n\ndefine プレイヤー (x)\nif <(item (1) of [設定 v]) = [16]> then\n    if <(x) = [1]> then\n        switch costume to (普通5 v)\n    else\n        switch costume to (スティーブ やられた5 v)\n    end\nelse\n    if <(x) = [1]> then\n        switch costume to (普通 v)\n    else\n        switch costume to (スティーブ やられた v)\n    end\nend\n\nwhen I receive [スタート v]\nset [クリティカル攻撃判定用 v] to (y position)\nforever\n    repeat until <not <(クリティカル攻撃判定用) < (y position)>>\n        set [クリティカル攻撃判定用 v] to (y position)\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <(y position) < (クリティカル攻撃判定用)> then\n        set [結果 v] to [クリティカル攻撃可能]\n    else\n        set [結果 v] to [クリティカル攻撃不可能]\n    end\n    if <touching (落下ダメージの判定用 v)?> then\n        set [クリティカル攻撃判定用 v] to (y position)\n    end\nend\n\nwhen flag clicked\nreplace item (1) of [情報 v] with [1]\nreplace item (8) of [情報 v] with [20]\nforever\n    if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <touching (スカルクシュリーカー v)?>>>> then\n        replace item (5) of [設定 v] with [1]\n    else\n        replace item (5) of [設定 v] with [0]\n    end\nend\n\nwhen [space v] key pressed\nif <<<(item (7) of [情報 v]) = [0]> and <(item (5) of [設定 v]) = [1]>> and <(item (1) of [設定 v]) = [10]>> then\n    point towards (ソニックブーム判定 v)\nend\n\nreplace item (1) of [情報 v] with [20]\n\n@Health2\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to ((item (8) of [情報 v]) + (1))\nend\n\nwhen I receive [スタート v]\nwait (0.01) seconds\nif <not <(item (1) of [設定 v]) = [11]>> then\n    show\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [やられた v]\nhide\n\nwhen I receive [リスポーン v]\nhide\nif <not <(item (1) of [設定 v]) = [11]>> then\n    show\n    go to [front v] layer\nend\n\nwhen I receive [ダメージ v]\nrepeat (2)\n    set [brightness v] effect to (40)\n    wait (0.1) seconds\n    set [brightness v] effect to (0)\n    wait (0.1) seconds\nend\n\n@剣\n\nwhen flag clicked\nforever\n    if <[100] < (direction)> then\n        point in direction (100)\n    end\n    if <(direction) < [-100]> then\n        point in direction (-100)\n    end\nend\n\nwhen I receive [スタート v]\nset [攻撃 v] to [0]\nforever\n    switch costume to (持ち物)\n    if <[0] < ([direction v] of [プレイヤー v])> then\n        set [右左 v] to [右]\n        go to x: (([x position v] of [プレイヤー v]) + (15)) y: (([y position v] of [プレイヤー v]) + (-5))\n        if <(攻撃) = [0]> then\n            point in direction (-100)\n        end\n    else\n        set [右左 v] to [左]\n        go to x: (([x position v] of [プレイヤー v]) + (-15)) y: (([y position v] of [プレイヤー v]) + (-5))\n        if <(攻撃) = [0]> then\n            point in direction (100)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nset [持ち物 v] to [1]\nif <(item (1) of [設定 v]) = [16]> then\n    set [持ち物 v] to [11]\nend\nshow\nforever\n    if <(item (1) of [設定 v]) = [10]> then\n        hide\n    end\n    if <(右左) = [右]> then\n        switch costume to ((持ち物) + (1))\n    else\n        switch costume to (持ち物)\n    end\nend\n\nwhen I receive [attack v]\nif <[0] < ([direction v] of [プレイヤー v])> then\n    point in direction (-100)\nelse\n    point in direction (100)\nend\nset [攻撃 v] to [1]\nif <(右左) = [右]> then\n    repeat (4)\n        turn right (15) degrees\n    end\nelse\n    repeat (4)\n        turn left (15) degrees\n    end\nend\nset [攻撃 v] to [0]\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        broadcast (attack v)\n        if <(item (1) of [設定 v]) = [15]> then\n            broadcast (爆発剣 v)\n        end\n    end\n    wait until <not <key (space v) pressed?>>\nend\n\nwhen I receive [リスポーン v]\nwait () seconds\nshow\n\nwhen I receive [やられた v]\nhide\n\nwhen I receive [スタート v]\nforever\n    if <(item (1) of [設定 v]) = [10]> then\n        hide\n        set [持ち物 v] to [ソニックブーム]\n    end\nend\n\n@地面ー土\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@アップグレード\n\nwhen I receive [スタート v]\nset size to (100) %\nclear graphic effects\nshow\nforever\n    switch costume to (item (1) of [情報 v])\n    if <touching (プレイヤー v)?> then\n        set [持ち物 v] to (costume [name v])\n        broadcast (k v)\n        repeat (20)\n            change [ghost v] effect by (5)\n            change size by (5)\n        end\n        hide\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    change size by ([cos v] of (item (6) of [情報 v]) )\nend\n\nwhen I receive [スタート v]\n表示 [6] まで待つ [-130] [0]\n表示 [10] まで待つ [-20] [-30]\n表示 [16] まで待つ [90] [-50]\n表示 [22] まで待つ [-15] [100]\n表示 [28] まで待つ [-150] [0]\n\ndefine 表示 (a) まで待つ (x) (y)\nwait until <(item (1) of [情報 v]) = (a)>\ngo to x: (x) y: (y)\nset size to (100) %\nclear graphic effects\nshow\n\nwhen I receive [スタート v]\nforever\n    if <<(item (1) of [設定 v]) = [10]> or <(item (1) of [設定 v]) = [16]>> then\n        hide\n    end\nend\n\n@地面ー石\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@地面ー砂\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@落下ダメージの判定用\n\nwhen I receive [スタート v]\nset [ghost v] effect to (99)\ngo to [front v] layer\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@背景\n\nwhen I receive [スタート v]\nset [brightness v] effect to (-18)\nset [ghost v] effect to (0)\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@装飾\n\nwhen I receive [スタート v]\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@水\n\nwhen I receive [スタート v]\ngo to [front v] layer\ngo [backward v] (10) layers\nforever\n    switch costume to (item (1) of [情報 v])\n    set [ghost v] effect to (40)\nend\n\n@マグマ\n\nwhen I receive [スタート v]\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\nwhen flag clicked\nclear graphic effects\nforever\n    repeat (5)\n        change [brightness v] effect by (1)\n        wait (0.1) seconds\n    end\n    repeat (5)\n        change [brightness v] effect by (-1)\n        wait (0.1) seconds\n    end\nend\n\n@太陽\n\nwhen flag clicked\nreplace item (6) of [情報 v] with [0]\nset size to (100) %\nshow\nforever\n    go to [back v] layer\n    replace item (6) of [情報 v] with ((item (6) of [情報 v]) + (10))\nend\n\nwhen flag clicked\nforever\n    change size by ([cos v] of (item (6) of [情報 v]) )\nend\n\n@ターボ\n\nwhen I receive [最後 v]\nshow\nstop [all v]\n\nwhen I receive [スタート v]\nforever\n    if <(φ\(*￣0￣\)) > [20]> then\n        broadcast (最後 v)\n    end\nend\n\nwhen I receive [スタート v]\nset [φ\(*￣0￣\) v] to [0]\nforever\n    change [φ\(*￣0￣\) v] by (1)\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide variable [タイム/time v]\nhide variable [☁ 世界記録 v]\nhide\nforever\n    wait (0.01) seconds\n    set [φ\(*￣0￣\) v] to [0]\nend\n\nwhen I receive [スタート v]\nreset timer\nwait (1) seconds\nforever\n    if <<(item (1) of [情報 v]) = [31]> and <[-50] < ([x position v] of [プレイヤー v])>> then\n        set [タイム/time v] to ((round ((timer) * (100))) / (100))\n        if <(タイム/time) < (☁ 世界記録)> then\n            set [☁ 世界記録 v] to (タイム/time)\n        end\n        show variable [☁ 世界記録 v]\n        show variable [タイム/time v]\n        stop [this script v]\n    end\nend\n\nreplace item (1) of [情報 v] with [30]\n\n@サボテン\n\nwhen I receive [スタート v]\nforever\n    switch costume to (item (1) of [情報 v])\n    go to [back v] layer\nend\n\n@残骸\n\nwhen flag clicked\nhide\n\nwhen I receive [スティーブ v]\nswitch costume to (pick random (1) to (4))\nrepeat (2)\n    go to x: (item (4) of [情報 v]) y: (item (5) of [情報 v])\n    Particles\nend\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nset [color v] effect to (pick random (-5) to (5))\nset [brightness v] effect to (pick random (-30) to (10))\nshow\nset [xv v] to (pick random (-8) to (8))\nset [yv v] to (pick random (5) to (20))\nrepeat until <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <<touching (地面ー石 v)?> or <<touching (マグマ v)?> or <touching (_edge_ v)?>>>>>\n    change [yv v] by (-2)\n    set [xv v] to ((xv) * (0.9))\n    set [yv v] to ((yv) * (0.9))\n    change x by (xv)\n    change y by (yv)\n    if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n        change y by (1)\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n            change y by (1)\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                change y by (1)\n                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                    change y by (1)\n                    if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                        change y by (1)\n                        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                            change y by (1)\n                            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                                change y by (1)\n                                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                                    change y by (1)\n                                    if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                                        change y by (1)\n                                        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                                            change y by (1)\n                                            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                                                change y by (1)\n                                                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                                                    change y by (1)\n                                                else\n                                                    change y by (-1)\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nrepeat (20)\n    change [ghost v] effect by (5)\nend\ndelete this clone\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]\nswitch costume to (pick random (4) to (5))\nrepeat (2)\n    go to x: (item (4) of [情報 v]) y: (item (5) of [情報 v])\n    Particles\nend\n\nwhen I receive [ゾンビ v]\nswitch costume to (pick random (1) to (3))\nrepeat (2)\n    go to x: (item (4) of [情報 v]) y: (item (5) of [情報 v])\n    Particles\nend\n\nwhen I receive [ クリーパー　 v]\nswitch costume to (pick random (8) to (9))\nrepeat (2)\n    go to x: (item (4) of [情報 v]) y: (item (5) of [情報 v])\n    Particles\nend\n\nwhen I receive [ヴォーデンスポーン v]\nwait (0.1) seconds\nswitch costume to (pick random (10) to (11))\nrepeat (15)\n    go to x: (item (1) of [ヴォーデン位置 v]) y: (item (2) of [ヴォーデン位置 v])\n    Particles\n    wait (0.1) seconds\nend\n\n@攻撃ボタン\n\nwhen I receive [スタート v]\nforever\n    go to [front v] layer\n    if <(item (6) of [設定 v]) = [18]> then\n        show\n        forever\n            go to [front v] layer\n            if <touching (mouse-pointer v)?> then\n                set [攻撃状態 v] to [1]\n                set [ghost v] effect to (10)\n                if <mouse down?> then\n                    broadcast (attack v)\n                    wait (0.1) seconds\n                    wait until <not <mouse down?>>\n                end\n            else\n                set [ghost v] effect to (70)\n                set [攻撃状態 v] to [0]\n            end\n        end\n    end\n    hide\nend\n\n@スケルトン\n\nwhen I start as a clone\nswitch costume to (スケルトン v)\nset [スケルトンの存在 v] to [1]\nclear graphic effects\nset size to (65) %\nwait (0.01) seconds\npoint in direction (-90)\nset [スケルトンx v] to [0]\nset [スケルトンy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(item (8) of [情報 v]) = [0]>> then\n        if <<((round ([x position v] of [プレイヤー v])) - (round (スケルトン位置x))) < [-200]> and <((round ([x position v] of [プレイヤー v])) - (round (スケルトン位置x))) < [0]>> then\n            if <touching (水 v)?> then\n                change [スケルトンx v] by (-0.2)\n            else\n                change [スケルトンx v] by (-0.3)\n            end\n        end\n        if <<[-170] < ((round ([x position v] of [プレイヤー v])) - (round (スケルトン位置x)))> and <((round ([x position v] of [プレイヤー v])) - (round (スケルトン位置x))) < [0]>> then\n            if <touching (水 v)?> then\n                change [スケルトンx v] by (0.2)\n            else\n                change [スケルトンx v] by (0.3)\n            end\n        end\n        if <<[0] < ((round ([x position v] of [プレイヤー v])) - (round (スケルトン位置x)))> and <((round ([x position v] of [プレイヤー v])) - (round (スケルトン位置x))) < [170]>> then\n            if <touching (水 v)?> then\n                change [スケルトンx v] by (-0.2)\n            else\n                change [スケルトンx v] by (-0.3)\n            end\n        end\n        if <[200] < ((round ([x position v] of [プレイヤー v])) - (round (スケルトン位置x)))> then\n            if <touching (水 v)?> then\n                change [スケルトンx v] by (0.2)\n            else\n                change [スケルトンx v] by (0.3)\n            end\n        end\n        set [スケルトンx v] to ((スケルトンx) * (0.9))\n        change x by (スケルトンx)\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n            change y by (1)\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                change y by (1)\n                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                    change y by (1)\n                    if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                        change y by (1)\n                        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                            change y by (1)\n                            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                                change y by (1)\n                                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                                    change x by ((0) - (スケルトンx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [プレイヤー v])>> then\n                                        set [スケルトンx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [スケルトンy v] by (-0.9)\n        if <<touching (水 v)?> and <(スケルトンy) < [-2]>> then\n            set [スケルトンy v] to [-2]\n        end\n        change y by (スケルトンy)\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n            change y by ((0) - (スケルトンy))\n            set [スケルトンy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (水 v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [スケルトンy v] to [4]\n        else\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                if <(y position) < ([y position v] of [プレイヤー v])> then\n                    if <[1] = (pick random (1) to (15))> then\n                        set [スケルトンy v] to [12]\n                    end\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nforever\n    set [モブの位置x v] to (x position)\n    set [モブの位置y v] to (y position)\nend\n\nwhen I receive [スタート v]\ngo to x: (250) y: (0)\ngo to [front v] layer\nhide\nwait (0.01) seconds\nwait until <(item (1) of [情報 v]) = [3]>\nスケルトン召喚魔法 [3] [300] [-15] [0.5] 秒待つ\nwait until <(item (1) of [情報 v]) = [10]>\nスケルトン召喚魔法 [10] [300] [50] [0] 秒待つ\nwait until <(item (1) of [情報 v]) = [14]>\nスケルトン召喚魔法 [14] [300] [-15] [0.5] 秒待つ\nwait until <(item (1) of [情報 v]) = [20]>\nスケルトン召喚魔法 [20] [300] [100] [0] 秒待つ\nwait until <(item (1) of [情報 v]) = [24]>\nスケルトン召喚魔法 [24] [300] [0] [0] 秒待つ\nwait until <(item (1) of [情報 v]) = [29]>\nスケルトン召喚魔法 [29] [300] [0] [1] 秒待つ\nwait until <(item (1) of [情報 v]) = [30]>\nスケルトン召喚魔法 [30] [300] [100] [4] 秒待つ\n\nwhen I receive [スタート v]\nforever\n    set [スケルトンの間合いの距離 v] to ((round ([x position v] of [プレイヤー v])) - (round (スケルトン位置x)))\nend\n\nwhen I start as a clone\nshow\nforever\n    if <([x position v] of [プレイヤー v]) < (スケルトン位置x)> then\n        set [スケルトン向き v] to [-90]\n        point in direction (-90)\n    else\n        set [スケルトン向き v] to [90]\n        point in direction (90)\n    end\nend\n\ndefine ダメージ (ダメージ量)\nswitch costume to (スケルトン2 v)\nchange [hp v] by (ダメージ量)\nif <(HP) < [0.01]> then\n    replace item (12) of [情報 v] with ((item (12) of [情報 v]) + (1))\n    replace item (9) of [情報 v] with [0]\n    start sound [Skeleton_death v]\n    replace item (4) of [情報 v] with (x position)\n    replace item (5) of [情報 v] with (y position)\n    broadcast (スケルトン v)\n    repeat (5)\n        change [ghost v] effect by (20)\n    end\n    set [スケルトンの存在 v] to [0]\n    delete this clone\nelse\n    if <(pick random (1) to (2)) = [1]> then\n        start sound [skeletonhurt2 v]\n    else\n        start sound [skeletondeath v]\n    end\nend\nwait (0.25) seconds\nswitch costume to (スケルトン v)\n\ndefine ノックバック (x) (y)\nset [スケルトンx v] to (x)\nset [スケルトンy v] to (y)\n\nwhen I start as a clone\nif <(item (2) of [設定 v]) = [12]> then\n    set [hp v] to [18]\nelse\n    set [hp v] to [22]\nend\nforever\n    if <touching (マグマ v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n    end\n    if <touching (サボテン v)?> then\n        ダメージ [-3]\n        wait (0.3) seconds\n    end\n    if <<touching (剣 v)?> and <(攻撃) = [1]>> then\n        if <([x position v] of [プレイヤー v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        if <(結果) = [クリティカル攻撃可能]> then\n            ダメージ (([costume name v] of [剣 v]) - (2))\n            set [攻撃位置x v] to (x position)\n            set [攻撃位置y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [剣 v])\n        end\n        wait until <(攻撃) = [0]>\n        wait (0.3) seconds\n        switch costume to (スケルトン v)\n    end\n    if <touching (ソニックブーム補完用4 v)?> then\n        if <([x position v] of [プレイヤー v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        ダメージ [-16]\n        wait (0.3) seconds\n        switch costume to (スケルトン v)\n        wait (1) seconds\n    end\n    if <touching (爆発 v)?> then\n        ダメージ [-16]\n        if <(item (4) of [情報 v]) < (x position)> then\n            ノックバック [15] [12]\n        else\n            ノックバック [-15] [12]\n        end\n        wait (0.3) seconds\n    end\n    if <touching (爆発2 v)?> then\n        ダメージ [-14]\n        if <([x position v] of [プレイヤー v]) < (x position)> then\n            ノックバック [14] [12]\n        else\n            ノックバック [-14] [12]\n        end\n        wait (0.3) seconds\n        switch costume to (スケルトン v)\n    end\n    if <(y position) < [-160]> then\n        ダメージ [-100]\n        wait (0.3) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    set [スケルトン位置x v] to (x position)\n    set [スケルトン位置y v] to (y position)\nend\n\ndefine スケルトン召喚魔法 (ステージ) (x) (y) (n) 秒待つ\nif <not <(item (2) of [設定 v]) = [4]>> then\n    if <(item (1) of [情報 v]) = (ステージ)> then\n        wait (n) seconds\n        go to x: (x) y: (y)\n        create clone of (_myself_ v)\n        create clone of (弓 v)\n    end\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [やられた v]\nset [スケルトンの存在 v] to [0]\ndelete this clone\n\nwhen I receive [next v]\nset [スケルトンの存在 v] to [0]\ndelete this clone\n\nwhen I receive [リスポーン v]\nスケルトン召喚魔法 [3] [300] [0] [0] 秒待つ\nスケルトン召喚魔法 [10] [300] [50] [0] 秒待つ\nスケルトン召喚魔法 [14] [300] [-15] [0.5] 秒待つ\nスケルトン召喚魔法 [20] [300] [100] [0] 秒待つ\nスケルトン召喚魔法 [24] [300] [0] [0] 秒待つ\nスケルトン召喚魔法 [29] [300] [0] [1] 秒待つ\nスケルトン召喚魔法 [30] [300] [100] [4] 秒待つ\n\nwhen I start as a clone\nif <(item (1) of [情報 v]) = [31]> then\n    delete this clone\nend\n\n@弓\n\nwhen flag clicked\nset size to (80) %\ngo to [front v] layer\nswitch costume to (1 v)\n\nwhen I start as a clone\nif <(costume [name v]) = [4]> then\n    go to [front v] layer\n    set [ghost v] effect to (0)\n    set rotation style [all around v]\n    show\n    repeat (2)\n        if <(スケルトン向き) = [90]> then\n            change x by (20)\n        end\n        if <(スケルトン向き) = [-90]> then\n            change x by (-20)\n        end\n    end\n    repeat until <<<<touching (_edge_ v)?> or <touching (プレイヤー v)?>> or <<touching (サボテン v)?> or <<touching (マグマ v)?> or <<touching (地面ー土 v)?> or <<touching (地面ー石 v)?> or <touching (地面ー砂 v)?>>>>>> or <<touching (剣 v)?> and <(攻撃) = [1]>>>\n        if <(スケルトン向き) = [90]> then\n            change x by (22)\n        end\n        if <(スケルトン向き) = [-90]> then\n            change x by (-22)\n        end\n        change [ghost v] effect by (2)\n        change y by (-1.5)\n        turn left (0.5) degrees\n    end\n    repeat (2)\n        change [ghost v] effect by (50)\n    end\n    delete this clone\nend\nset rotation style [all around v]\n\nwhen I start as a clone\nforever\n    if <not <(costume [name v]) = [4]>> then\n        if <(スケルトンの存在) = [0]> then\n            delete this clone\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nif <(costume [name v]) = [4]> then\n    start sound [弓矢射撃音 v]\n    wait until <touching (プレイヤー v)?>\n    broadcast (弓矢 v)\nend\n\nwhen I start as a clone\nshow\nif <not <(costume [name v]) = [4]>> then\n    forever\n        switch costume to (1 v)\n        wait (1.5) seconds\n        switch costume to (2 v)\n        wait (1) seconds\n        switch costume to (3 v)\n        wait (1) seconds\n        switch costume to (4 v)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nif <not <(costume [name v]) = [4]>> then\n    forever\n        if <(スケルトン向き) = [90]> then\n            point in direction (-135)\n            go to x: ((スケルトン位置x) + (20)) y: ((スケルトン位置y) + (-2))\n        end\n        if <(スケルトン向き) = [-90]> then\n            point in direction (45)\n            go to x: ((スケルトン位置x) + (-20)) y: ((スケルトン位置y) + (-2))\n        end\n    end\nend\n\n@進捗\n\nwhen I receive [スタート v]\nreplace item (10) of [ヴォーデン位置 v] with [1]\n進捗どうですか☆ [1]\nwait until <(item (9) of [情報 v]) = [0]>\n進捗どうですか☆ [3]\n\nwhen I start as a clone\ngo to [front v] layer\nshow\nrepeat (5)\n    change x by (18)\nend\nrepeat (4)\n    change x by (14)\nend\nrepeat (4)\n    change x by (10)\nend\nwait (2) seconds\nrepeat (4)\n    change x by (-10)\nend\nrepeat (4)\n    change x by (-14)\nend\nrepeat (5)\n    change x by (-18)\nend\ndelete this clone\n\nwhen I receive [リスポーン v]\nif <(item (10) of [情報 v]) = [1]> then\n    進捗どうですか☆ [2]\nend\nreplace item (10) of [情報 v] with [0]\n\ndefine 進捗どうですか☆ (blueytr35)\nwait (0.2) seconds\nswitch costume to (blueytr35)\ncreate clone of (_myself_ v)\nstart sound [in \(1\) v]\n\nwhen I receive [クリーパー v]\nif <(item (11) of [情報 v]) = [1]> then\n    進捗どうですか☆ [5]\nend\nreplace item (11) of [情報 v] with [0]\n\nwhen I receive [スタート v]\ngo to x: (-321) y: (154)\nwait (1) seconds\nwait until <(持ち物) = [5]>\n進捗どうですか☆ [6]\nwait until <(持ち物) = [9]>\n進捗どうですか☆ [9]\n\nwhen I receive [スタート v]\nwait (1) seconds\nwait until <[14] < (item (12) of [情報 v])>\n進捗どうですか☆ [7]\n\nwhen I receive [スタート v]\nwait (1) seconds\nwait until <<(item (1) of [情報 v]) = [31]> and <[-50] < ([x position v] of [プレイヤー v])>>\ngo to x: (-321) y: (100)\n進捗どうですか☆ [8]\n\n@ゾンビ\n\nwhen I start as a clone\nclear graphic effects\nset size to (58) %\nwait (0.01) seconds\npoint in direction (90)\nset [ゾンビx v] to [0]\nset [ゾンビy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(item (8) of [情報 v]) = [0]>> then\n        if <([x position v] of [プレイヤー v]) < (x position)> then\n            point in direction (-90)\n            if <touching (水 v)?> then\n                change [ゾンビx v] by (-0.14)\n            else\n                change [ゾンビx v] by (-0.2)\n            end\n        end\n        if <(x position) < ([x position v] of [プレイヤー v])> then\n            point in direction (90)\n            if <touching (水 v)?> then\n                change [ゾンビx v] by (0.14)\n            else\n                change [ゾンビx v] by (0.2)\n            end\n        end\n        set [ゾンビx v] to ((ゾンビx) * (0.9))\n        change x by (ゾンビx)\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n            change y by (1)\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                change y by (1)\n                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                    change y by (1)\n                    if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                        change y by (1)\n                        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                            change y by (1)\n                            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                                change y by (1)\n                                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                                    change x by ((0) - (ゾンビx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [プレイヤー v])>> then\n                                        set [ゾンビx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [ゾンビy v] by (-0.9)\n        if <<touching (水 v)?> and <(ゾンビy) < [-2]>> then\n            set [ゾンビy v] to [-2]\n        end\n        change y by (ゾンビy)\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n            change y by ((0) - (ゾンビy))\n            set [ゾンビy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (水 v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [ゾンビy v] to [4]\n        else\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                if <(y position) < ([y position v] of [プレイヤー v])> then\n                    if <[1] = (pick random (1) to (15))> then\n                        set [ゾンビy v] to [12]\n                    end\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nforever\n    set [モブの位置x v] to (x position)\n    set [モブの位置y v] to (y position)\nend\n\nwhen I receive [やられた v]\ndelete this clone\n\nwhen I start as a clone\nif <(item (2) of [設定 v]) = [12]> then\n    set [hp v] to [18]\nelse\n    set [hp v] to [22]\nend\nswitch costume to (player v)\nforever\n    if <touching (マグマ v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n        switch costume to (player v)\n    end\n    if <touching (サボテン v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n        switch costume to (player v)\n    end\n    if <<touching (剣 v)?> and <(攻撃) = [1]>> then\n        if <([x position v] of [プレイヤー v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        if <(結果) = [クリティカル攻撃可能]> then\n            ダメージ (([costume name v] of [剣 v]) - (2))\n            set [攻撃位置x v] to (x position)\n            set [攻撃位置y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [剣 v])\n        end\n        wait until <(攻撃) = [0]>\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\n    if <touching (爆発 v)?> then\n        ダメージ [-15]\n        if <(item (4) of [情報 v]) < (x position)> then\n            ノックバック [15] [12]\n        else\n            ノックバック [-15] [12]\n        end\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\n    if <touching (ソニックブーム補完用4 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [プレイヤー v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        wait (0.3) seconds\n        switch costume to (player v)\n        wait (1) seconds\n    end\n    if <touching (爆発2 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [プレイヤー v]) < (x position)> then\n            ノックバック [14] [12]\n        else\n            ノックバック [-14] [12]\n        end\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\n    if <(y position) < [-160]> then\n        ダメージ [-100]\n        wait (0.3) seconds\n    end\nend\n\ndefine ダメージ (ダメージ量)\nchange [hp v] by (ダメージ量)\nif <(pick random (1) to (2)) = [1]> then\n    start sound [攻撃 v]\n    switch costume to (player2 v)\nelse\n    start sound [攻撃2 v]\n    switch costume to (player2 v)\nend\nif <(HP) < [0.01]> then\n    replace item (9) of [情報 v] with [0]\n    replace item (12) of [情報 v] with ((item (12) of [情報 v]) + (1))\n    switch costume to (player2 v)\n    start sound [倒した v]\n    broadcast (ゾンビ v)\n    replace item (4) of [情報 v] with (x position)\n    replace item (5) of [情報 v] with (y position)\n    repeat (4)\n        change [ghost v] effect by (25)\n    end\n    delete this clone\nend\n\nwhen I receive [スタート v]\ngo to x: (250) y: (0)\ngo to [front v] layer\nhide\nwait (0.01) seconds\nwait until <(item (1) of [情報 v]) = [1]>\nゾンビ召喚魔法 [1] [300] [0] [0.2] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [情報 v]) = [10]>\nゾンビ召喚魔法 [10] [300] [50] [0.7] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [情報 v]) = [12]>\nゾンビ召喚魔法 [12] [300] [0] [1] 秒待つ [3] 回繰り返す\nwait until <(item (1) of [情報 v]) = [14]>\nゾンビ召喚魔法 [14] [300] [0] [1] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [情報 v]) = [19]>\nゾンビ召喚魔法 [19] [300] [100] [1] 秒待つ [2] 回繰り返す\nwait until <(item (1) of [情報 v]) = [20]>\nゾンビ召喚魔法 [20] [300] [100] [0.5] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [情報 v]) = [21]>\nゾンビ召喚魔法 [21] [300] [0] [0.7] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [情報 v]) = [24]>\nゾンビ召喚魔法 [24] [300] [0] [0.5] 秒待つ [3] 回繰り返す\nゾンビ召喚魔法 [24] [300] [0] [1] 秒待つ [2] 回繰り返す\nwait until <(item (1) of [情報 v]) = [29]>\nゾンビ召喚魔法 [29] [300] [0] (pick random (0.4) to (0.7)) 秒待つ [5] 回繰り返す\nwait until <(item (1) of [情報 v]) = [30]>\nゾンビ召喚魔法 [30] [300] [100] (pick random (1) to (1.5)) 秒待つ [6] 回繰り返す\n\ndefine ノックバック (x) (y)\nset [ゾンビx v] to (x)\nset [ゾンビy v] to (y)\n\ndefine ゾンビ召喚魔法 (ステージ) (x) (y) (n) 秒待つ (a) 回繰り返す\nif <not <(item (2) of [設定 v]) = [4]>> then\n    if <(item (1) of [情報 v]) = (ステージ)> then\n        repeat (a)\n            wait (n) seconds\n            go to x: (x) y: (y)\n            create clone of (_myself_ v)\n        end\n    end\nend\n\nwhen I receive [リスポーン v]\nゾンビ召喚魔法 [1] [300] [0] [0.2] 秒待つ [1] 回繰り返す\nゾンビ召喚魔法 [10] [300] [50] [0.7] 秒待つ [1] 回繰り返す\nゾンビ召喚魔法 [12] [300] [0] [1] 秒待つ [3] 回繰り返す\nゾンビ召喚魔法 [14] [300] [0] [1] 秒待つ [1] 回繰り返す\nゾンビ召喚魔法 [19] [300] [100] [1] 秒待つ [2] 回繰り返す\nゾンビ召喚魔法 [20] [300] [100] [0.5] 秒待つ [1] 回繰り返す\nゾンビ召喚魔法 [21] [300] [0] [0.7] 秒待つ [1] 回繰り返す\nゾンビ召喚魔法 [24] [300] [0] [0.5] 秒待つ [3] 回繰り返す\nゾンビ召喚魔法 [24] [300] [0] [1] 秒待つ [2] 回繰り返す\nゾンビ召喚魔法 [29] [300] [0] (pick random (0.4) to (0.7)) 秒待つ [5] 回繰り返す\nゾンビ召喚魔法 [30] [300] [100] (pick random (0.7) to (1)) 秒待つ [6] 回繰り返す\n\nwhen I receive [next v]\ndelete this clone\n\nwhen flag clicked\nreplace item (9) of [情報 v] with [1]\nreplace item (12) of [情報 v] with [0]\n\nwhen I start as a clone\nif <(item (1) of [情報 v]) = [31]> then\n    delete this clone\nend\n\n@クリーパー\n\nwhen I start as a clone\nclear graphic effects\nset size to (65) %\nwait (0.01) seconds\npoint in direction (90)\nset [クリーパーx v] to [0]\nset [クリーパーy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(item (8) of [情報 v]) = [0]>> then\n        if <(モード) = [0]> then\n            if <([x position v] of [プレイヤー v]) < (x position)> then\n                point in direction (-90)\n                if <touching (水 v)?> then\n                    change [クリーパーx v] by (-0.14)\n                else\n                    change [クリーパーx v] by (-0.2)\n                end\n            end\n            if <(x position) < ([x position v] of [プレイヤー v])> then\n                point in direction (90)\n                if <touching (水 v)?> then\n                    change [クリーパーx v] by (0.14)\n                else\n                    change [クリーパーx v] by (0.2)\n                end\n            end\n        end\n        set [クリーパーx v] to ((クリーパーx) * (0.9))\n        change x by (クリーパーx)\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n            change y by (1)\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                change y by (1)\n                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                    change y by (1)\n                    if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                        change y by (1)\n                        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                            change y by (1)\n                            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                                change y by (1)\n                                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                                    change x by ((0) - (クリーパーx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [プレイヤー v])>> then\n                                        set [クリーパーx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [クリーパーy v] by (-0.9)\n        if <<touching (水 v)?> and <(クリーパーy) < [-2]>> then\n            set [クリーパーy v] to [-2]\n        end\n        change y by (クリーパーy)\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n            change y by ((0) - (クリーパーy))\n            set [クリーパーy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (水 v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [クリーパーy v] to [4]\n        else\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                if <(y position) < ([y position v] of [プレイヤー v])> then\n                    if <(モード) = [0]> then\n                        if <[1] = (pick random (1) to (15))> then\n                            set [クリーパーy v] to [10]\n                        end\n                    end\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nforever\n    set [モブの位置x v] to (x position)\n    set [モブの位置y v] to (y position)\nend\n\nwhen I receive [やられた v]\ndelete this clone\n\nwhen I start as a clone\nif <(item (2) of [設定 v]) = [12]> then\n    set [hp v] to [18]\nelse\n    set [hp v] to [22]\nend\nswitch costume to (player v)\nforever\n    if <touching (マグマ v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n    end\n    if <touching (サボテン v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n    end\n    if <<touching (剣 v)?> and <(攻撃) = [1]>> then\n        if <(結果) = [クリティカル攻撃可能]> then\n            ダメージ (([costume name v] of [剣 v]) - (2))\n            set [攻撃位置x v] to (x position)\n            set [攻撃位置y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [剣 v])\n        end\n        if <([x position v] of [プレイヤー v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        wait until <(攻撃) = [0]>\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\n    if <touching (爆発 v)?> then\n        ダメージ [-16]\n        if <(item (4) of [情報 v]) < (x position)> then\n            ノックバック [15] [12]\n        else\n            ノックバック [-15] [12]\n        end\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\n    if <touching (ソニックブーム補完用4 v)?> then\n        ダメージ [-16]\n        if <([x position v] of [プレイヤー v]) < (x position)> then\n            ノックバック [10] [10]\n        else\n            ノックバック [-10] [10]\n        end\n        wait (0.3) seconds\n        switch costume to (player v)\n        wait (1) seconds\n    end\n    if <touching (爆発2 v)?> then\n        ダメージ [-15]\n        if <([x position v] of [プレイヤー 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\nwhen I receive [スタート v]\ngo to [front v] layer\nhide\nwait (0.01) seconds\nwait until <(item (1) of [情報 v]) = [7]>\nクリーパー [7] [100] [-50] [0] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [情報 v]) = [12]>\nクリーパー [12] [300] [0] [0] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [情報 v]) = [13]>\nクリーパー [13] [300] [-100] [0.5] 秒待つ [2] 回繰り返す\nwait until <(item (1) of [情報 v]) = [14]>\nクリーパー [14] [300] [0] [0.5] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [情報 v]) = [19]>\nクリーパー [19] [300] [100] [1.3] 秒待つ [2] 回繰り返す\nwait until <(item (1) of [情報 v]) = [20]>\nクリーパー [20] [300] [100] [1] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [情報 v]) = [29]>\nクリーパー [29] [300] [0] [1] 秒待つ [1] 回繰り返す\nwait until <(item (1) of [情報 v]) = [30]>\nクリーパー [30] [300] [100] [2] 秒待つ [4] 回繰り返す\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 [プレイヤー 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 [プレイヤー v]) < [130]> then\n            set [brightness v] effect to (75)\n            replace item (4) of [情報 v] with (x position)\n            replace item (5) of [情報 v] with (y position)\n            repeat (3)\n                change size by (10)\n                change [ghost v] effect by (33)\n            end\n            broadcast (クリーパー v)\n            delete this clone\n        end\n        set [モード v] to [0]\n    end\nend\n\ndefine クリーパー (ステージ) (x) (y) (n) 秒待つ (a) 回繰り返す\nif <not <(item (2) of [設定 v]) = [4]>> then\n    if <(item (1) of [情報 v]) = (ステージ)> then\n        repeat (a)\n            wait (n) seconds\n            go to x: (x) y: (y)\n            create clone of (_myself_ v)\n        end\n    end\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [リスポーン v]\nクリーパー [7] [100] [-50] [0] 秒待つ [1] 回繰り返す\nクリーパー [12] [300] [0] [0] 秒待つ [1] 回繰り返す\nクリーパー [13] [300] [-100] [0.5] 秒待つ [2] 回繰り返す\nクリーパー [14] [300] [0] [0.5] 秒待つ [1] 回繰り返す\nクリーパー [19] [300] [100] [1.3] 秒待つ [2] 回繰り返す\nクリーパー [20] [300] [100] [1] 秒待つ [1] 回繰り返す\nクリーパー [29] [300] [0] [1] 秒待つ [1] 回繰り返す\nクリーパー [30] [300] [100] [2] 秒待つ [4] 回繰り返す\n\nwhen I start as a clone\nforever\n    if <(HP) < [0.01]> then\n        replace item (12) of [情報 v] with ((item (12) of [情報 v]) + (1))\n        replace item (9) of [情報 v] with [0]\n        set [brightness v] effect to (75)\n        replace item (4) of [情報 v] with (x position)\n        replace item (5) of [情報 v] with (y position)\n        repeat (3)\n            change [ghost v] effect by (33)\n        end\n        broadcast ( クリーパー　 v)\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nif <(item (1) of [情報 v]) = [31]> then\n    delete this clone\nend\n\n@爆発\n\nwhen I receive [クリーパー v]\ngo to x: (item (4) of [情報 v]) y: (item (5) of [情報 v])\nswitch costume to (explosion_0 v)\nshow\nrepeat (7)\n    wait () seconds\n    next costume\nend\nhide\n\nwhen I receive [クリーパー v]\nwait (0.2) seconds\nstart sound [get4 v]\n\n@表示\n\nwhen flag clicked\nset [コスチューム v] to [1]\nreplace item (6) of [設定 v] with [17]\nreplace item (1) of [設定 v] with [3]\nreplace item (2) of [設定 v] with [12]\nreplace item (3) of [設定 v] with [5]\nbroadcast (a v)\n\nwhen I start as a clone\nset [クローン番号 v] to ((コスチューム) - (1))\nif <(クローン番号) = [1]> then\n    初期設定 [０] [-30] [0]\n    描画 [New Game]\nend\nif <(クローン番号) = [2]> then\n    初期設定 [0] [-105] [0]\n    描画 [Setting]\nend\nif <(クローン番号) = [3]> then\n    switch costume to (item (3) of [設定 v])\n    初期設定 [0] [40] [0]\n    描画 [自動回復]\nend\nif <(クローン番号) = [4]> then\n    switch costume to (item (1) of [設定 v])\n    初期設定 [０] [-10] [0]\n    描画 [ゲームモード]\nend\nif <(クローン番号) = [16]> then\n    初期設定 [0] [90] [0]\n    描画 [機器]\nend\nif <(クローン番号) = [5]> then\n    switch costume to (item (2) of [設定 v])\n    初期設定 [0] [-60] [0]\n    描画 [難易度]\nend\nif <(クローン番号) = [6]> then\n    初期設定 [0] [-130] [0]\n    描画 [完了]\nend\nif <(クローン番号) = [7]> then\n    初期設定 [0] [0] [100]\n    描画 [完了]\nend\nif <(クローン番号) = [8]> then\n    if <not <(item (1) of [設定 v]) = [11]>> then\n        初期設定 [0] [-80] [0]\n        描画 [リスポーン]\n    end\nend\n\ndefine 初期設定 (x) (y) (サイズ)\ngo to x: (x) y: (y)\nset size to (サイズ) %\nshow\ngo to [front v] layer\nif <not <(クローン番号) = [7]>> then\n    repeat until <(round (size)) = [100]>\n        change size by (((100) - (size)) / (7))\n    end\nend\n\ndefine 描画 (new game/setting)\nforever\n    if <touching (mouse-pointer v)?> then\n        if <not <(クローン番号) = [7]>> then\n            if <mouse down?> then\n                start sound [Click v]\n                if <(new game/setting) = [New Game]> then\n                    broadcast (New Game v)\n                else\n                    if <(new game/setting) = [Setting]> then\n                        broadcast (Setting v)\n                    end\n                end\n                if <(new game/setting) = [ゲームモード]> then\n                    if <(item (1) of [設定 v]) = [11]> then\n                        replace item (1) of [設定 v] with [3]\n                    else\n                        if <(item (1) of [設定 v]) = [3]> then\n                            replace item (1) of [設定 v] with [10]\n                        else\n                            if <(item (1) of [設定 v]) = [10]> then\n                                replace item (1) of [設定 v] with [9]\n                            else\n                                if <(item (1) of [設定 v]) = [15]> then\n                                    replace item (1) of [設定 v] with [11]\n                                else\n                                    if <(item (1) of [設定 v]) = [16]> then\n                                        replace item (1) of [設定 v] with [15]\n                                    else\n                                        replace item (1) of [設定 v] with [16]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                    switch costume to (item (1) of [設定 v])\n                    wait until <not <mouse down?>>\n                else\n                    if <(new game/setting) = [難易度]> then\n                        if <(item (2) of [設定 v]) = [13]> then\n                            replace item (2) of [設定 v] with [4]\n                        else\n                            if <(item (2) of [設定 v]) = [4]> then\n                                replace item (2) of [設定 v] with [12]\n                            else\n                                replace item (2) of [設定 v] with [13]\n                            end\n                        end\n                        switch costume to (item (2) of [設定 v])\n                        wait until <not <mouse down?>>\n                    else\n                        if <(new game/setting) = [自動回復]> then\n                            if <(item (3) of [設定 v]) = [14]> then\n                                replace item (3) of [設定 v] with [5]\n                            else\n                                replace item (3) of [設定 v] with [14]\n                            end\n                            switch costume to (item (3) of [設定 v])\n                            wait until <not <mouse down?>>\n                        else\n                            if <(new game/setting) = [完了]> then\n                                broadcast (完了 v)\n                            else\n                                if <(new game/setting) = [リスポーン]> then\n                                    broadcast (リスポーン v)\n                                else\n                                    if <(new game/setting) = [機器]> then\n                                        if <(item (6) of [設定 v]) = [18]> then\n                                            replace item (6) of [設定 v] with [17]\n                                        else\n                                            replace item (6) of [設定 v] with [18]\n                                        end\n                                        switch costume to (item (6) of [設定 v])\n                                        wait until <not <mouse down?>>\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n            set [brightness v] effect to (30)\n            if <(round (size)) < [110]> then\n                change size by (((110) - (size)) / (4))\n            end\n        end\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set [brightness v] effect to (0)\n        if <[100] < (round (size))> then\n            change size by (((100) - (size)) / (4))\n        end\n    end\nend\n\nwhen I receive [new game v]\nif <<(クローン番号) = [1]> or <(クローン番号) = [2]>> then\n    delete this clone\nend\nbroadcast (スタート v)\n\nwhen I receive [setting v]\nif <<(クローン番号) = [1]> or <(クローン番号) = [2]>> then\n    delete this clone\nend\nset [コスチューム v] to [17]\nswitch costume to (コスチューム)\ncreate clone of (_myself_ v)\nwait () seconds\nset [コスチューム v] to [3]\nrepeat (4)\n    switch costume to (コスチューム)\n    create clone of (_myself_ v)\n    change [コスチューム v] by (1)\nend\n\nwhen I receive [完了 v]\ndelete this clone\n\nwhen I receive [完了 v]\nset [コスチューム v] to [1]\nrepeat (2)\n    switch costume to (コスチューム)\n    create clone of (_myself_ v)\n    change [コスチューム v] by (1)\nend\n\nwhen I receive [やられた v]\nset [コスチューム v] to [7]\nrepeat (2)\n    switch costume to (コスチューム)\n    create clone of (_myself_ v)\n    change [コスチューム v] by (1)\nend\n\nchange [ライフ v] by (-10)\n\nwhen I receive [リスポーン v]\ndelete this clone\n\nwhen I receive [a v]\nset [コスチューム v] to [1]\nrepeat (2)\n    switch costume to (コスチューム)\n    create clone of (_myself_ v)\n    change [コスチューム v] by (1)\nend\n\n@サムネ\n\nwhen flag clicked\ngo to [front v] layer\nset size to (100) %\nshow\nswitch costume to (コスチューム3 v)\ncreate clone of (_myself_ v)\nswitch costume to (kuri-pa-2- v)\nforever\n    repeat (10)\n        change size by (0.5)\n    end\n    repeat (10)\n        change size by (-0.5)\n    end\nend\n\nwhen I receive [スタート v]\nhide\n\nwhen I start as a clone\nshow\n\n@ハードコアーライフ\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nwait (0.01) seconds\nif <(item (1) of [設定 v]) = [11]> then\n    show\n    go to [front v] layer\nend\n\nwhen I receive [スタート v]\ngo to [front v] layer\nif <(item (1) of [設定 v]) = [11]> then\n    forever\n        switch costume to ((item (8) of [情報 v]) + (1))\n    end\nend\n\nwhen I receive [やられた v]\nhide\n\n@クリティカル\n\nwhen I start as a clone\nif <(n) = [0]> then\n    set [n v] to [8]\n    go to x: (攻撃位置x) y: (攻撃位置y)\n    show\n    switch costume to (pick random (1) to (3))\n    set [brightness v] effect to (pick random (10) to (50))\n    set size to (pick random (50) to (100)) %\n    point in direction (pick random (0) to (360))\n    repeat (15)\n        move (n) steps\n        set [n v] to ((n) * (0.8))\n        change size by (5)\n        change [ghost v] effect by (pick random (5) to (8))\n    end\n    move (8) steps\n    change size by (5)\n    change [ghost v] effect by (50)\n    delete this clone\nend\ndelete this clone\n\nwhen I receive [クリティカル v]\nブロック名\n\ndefine ブロック名\nrepeat (10)\n    create clone of (_myself_ v)\nend\n\n@Clouds\n\nwhen I start as a clone\nif <[5] < (backdrop [number 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\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\n@酸素ゲージ判定用\n\nwhen I receive [スタート v]\ngo to [front v] layer\ngo [backward v] (10) layers\nset [ghost v] effect to (99)\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@Oxygen\n\nwhen I receive [スタート v]\nforever\n    if <(item (4) of [設定 v]) = [水中]> then\n        wait (0.05) seconds\n        if <(item (4) of [設定 v]) = [水中]> then\n            show\n        end\n    else\n        if <(酸素ゲージ) = [20]> then\n            wait (0.5) seconds\n            hide\n        end\n    end\nend\n\nwhen I receive [next v]\ngo to [front v] layer\n\nwhen I receive [リスポーン v]\ngo to [front v] layer\n\nwhen I receive [スタート v]\nforever\n    go to [front v] layer\n    switch costume to ((酸素ゲージ) + (1))\nend\n\n@マグマ判定\n\nwhen I receive [スタート v]\nset [ghost v] effect to (99)\nforever\n    switch costume to (item (1) of [情報 v])\nend\n\n@ヴォーデン\n\nwhen I start as a clone\nstart sound [wardenkamisugiwarotanngo6 v]\nswitch costume to (player v)\nclear graphic effects\nset size to (65) %\nset [ghost v] effect to (100)\nshow\nwait (0.01) seconds\npoint in direction (-90)\nset [ヴォーデンx v] to [0]\nset [ヴォーデンy v] to [0]\nrepeat (20)\n    change [ghost v] effect by (-5)\n    wait (0.1) seconds\nend\nreplace item (3) of [ヴォーデン位置 v] with (pick random (80) to (110))\nforever\n    if <not <(item (8) of [情報 v]) = [0]>> then\n        if <not <(item (3) of [ヴォーデン位置 v]) = [0]>> then\n            replace item (3) of [ヴォーデン位置 v] with ((item (3) of [ヴォーデン位置 v]) - (1))\n        end\n        if <(item (3) of [ヴォーデン位置 v]) = [0]> then\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>> then\n                if <([x position v] of [プレイヤー v]) < (x position)> then\n                    point in direction (-90)\n                else\n                    point in direction (90)\n                end\n                wait (1) seconds\n                broadcast (ソニックブーム v)\n                wait (1) seconds\n                replace item (3) of [ヴォーデン位置 v] with (pick random (30) to (40))\n            end\n        end\n        if <<([x position v] of [プレイヤー v]) < (x position)> and <(distance to [プレイヤー v]) < [200]>> then\n            point in direction (-90)\n            if <<touching (水 v)?> or <touching (マグマ判定 v)?>> then\n                change [ヴォーデンx v] by (-0.1)\n            else\n                change [ヴォーデンx v] by (-0.17)\n            end\n        else\n            if <(item (4) of [ヴォーデン位置 v]) = [1]> then\n                point in direction (-90)\n                change [ヴォーデンx v] by (pick random (-0.1) to (-0.07))\n            end\n        end\n        if <<(x position) < ([x position v] of [プレイヤー v])> and <(distance to [プレイヤー v]) < [200]>> then\n            point in direction (90)\n            if <<touching (水 v)?> or <touching (マグマ判定 v)?>> then\n                change [ヴォーデンx v] by (0.1)\n            else\n                change [ヴォーデンx v] by (0.17)\n            end\n        else\n            if <(item (4) of [ヴォーデン位置 v]) = [-1]> then\n                point in direction (90)\n                change [ヴォーデンx v] by (pick random (0.1) to (0.07))\n            end\n        end\n        set [ヴォーデンx v] to ((ヴォーデンx) * (0.9))\n        change x by (ヴォーデンx)\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or >> then\n            change y by (1)\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or >> then\n                change y by (1)\n                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or >> then\n                    change y by (1)\n                    if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or >> then\n                        change y by (1)\n                        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or >> then\n                            change y by (1)\n                            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or >> then\n                                change y by (1)\n                                if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or >> then\n                                    change x by ((0) - (ヴォーデンx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [プレイヤー v])>> then\n                                        set [ヴォーデンx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [ヴォーデンy v] by (-0.9)\n        if <<touching (水 v)?> and <(ヴォーデンy) < [-2]>> then\n            set [ヴォーデンy v] to [-2]\n        end\n        change y by (ヴォーデンy)\n        if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or >> 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 [プレイヤー v])> and <(distance to [プレイヤー v]) < [200]>> and <<touching (酸素ゲージ判定用 v)?> or <touching (マグマ判定 v)?>>> then\n            set [ヴォーデンy v] to [4]\n        else\n            if <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or >> then\n                if <<(y position) < ([y position v] of [プレイヤー v])> and <(distance to [プレイヤー v]) < [200]>> then\n                    set [ヴォーデンy v] to [10]\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nforever\n    set [モブの位置x v] to (x position)\n    set [モブの位置y v] to (y position)\nend\n\nwhen I receive [やられた v]\ndelete this clone\n\nwhen I start as a clone\nif <(item (2) of [設定 v]) = [12]> then\n    set [hp v] to [600]\nelse\n    set [hp v] to [730]\nend\nswitch costume to (player v)\nforever\n    if <touching (サボテン v)?> then\n        ダメージ [-4]\n        wait (0.25) seconds\n    end\n    if <<touching (剣 v)?> and <(攻撃) = [1]>> then\n        if <not <<touching (地面ー土 v)?> or <<touching (地面ー砂 v)?> or <touching (地面ー石 v)?>>>> then\n            ダメージ (([costume name v] of [剣 v]) - (2))\n            set [攻撃位置x v] to (x position)\n            set [攻撃位置y v] to (y position)\n            broadcast (クリティカル v)\n        else\n            ダメージ ([costume name v] of [剣 v])\n        end\n        wait until <(攻撃) = [0]>\n        switch costume to (player v)\n    end\n    if <touching (爆発 v)?> then\n        ダメージ [-16]\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\n    if <touching (ソニックブーム補完用4 v)?> then\n        ダメージ [-16]\n        wait (0.3) seconds\n        switch costume to (player v)\n        wait (1) seconds\n    end\n    if <touching (爆発2 v)?> then\n        ダメージ [-15]\n        wait (0.3) seconds\n        switch costume to (player v)\n    end\nend\n\ndefine ダメージ (ダメージ量)\nclear graphic effects\nchange [hp v] by (ダメージ量)\nstart sound [wardenkamisugiwarotanngo9 v]\nswitch costume to (player3 v)\n\nwhen I receive [スタート v]\nset [警戒レベル v] to [0]\ngo to [front v] layer\nhide\n\ndefine ノックバック (x) (y)\nset [ヴォーデンx v] to (x)\nset [ヴォーデンy v] to (y)\n\ndefine ヴォーデン (ステージ) (x) (y) (n) 秒待つ\nif <not <(item (2) of [設定 v]) = [4]>> then\n    if <(item (1) of [情報 v]) = (ステージ)> then\n        wait (n) seconds\n        go to x: (x) y: (y)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [スカルクシュリーカー v]\nchange [警戒レベル v] by (1)\nif <[5] = (警戒レベル)> then\n    broadcast (ヴォーデンスポーン v)\nend\n\nwhen I start as a clone\nforever\n    if <(HP) < [0.01]> then\n        set [brightness v] effect to (75)\n        replace item (4) of [情報 v] with (x position)\n        replace item (5) of [情報 v] with (y position)\n        repeat (3)\n            change [ghost v] effect by (33)\n        end\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nwait (1) seconds\nreplace item (4) of [情報 v] with [1]\nwait (pick random (3) to (4)) seconds\nforever\n    if <not <(distance to [プレイヤー v]) < [200]>> then\n        if <[150] < (x position)> then\n            replace item (4) of [情報 v] with [1]\n        else\n            if <(x position) < [-150]> then\n                replace item (4) of [情報 v] with [-1]\n            else\n                replace item (4) of [情報 v] with (pick random (-1) to (1))\n            end\n        end\n    end\n    wait (pick random (1) to (3)) seconds\nend\n\nwhen I start as a clone\nwait until <[10] < (警戒レベル)>\nreplace item (4) of [情報 v] with [0]\n\nwhen I receive [ヴォーデンスポーン v]\nヴォーデン [15] [130] [-72] [0] 秒待つ\nヴォーデン [16] [110] [-72] [0] 秒待つ\n\nwhen I receive [リスポーン v]\nset [警戒レベル v] to [0]\n\nwhen I start as a clone\nforever\n    replace item (1) of [ヴォーデン位置 v] with (x position)\n    replace item (2) of [ヴォーデン位置 v] with (y position)\nend\n\nwhen flag clicked\ndelete all of [ヴォーデン位置 v]\nrepeat (3)\n    insert [] at (1) of [ヴォーデン位置 v] \nend\n\n@スカルクシュリーカー\n\nwhen flag clicked\ngo to [front v] layer\nhide\nwait (1) seconds\nwait until <(item (1) of [情報 v]) = [15]>\ngo to x: (-115) y: (-80)\nshow\nwait until <(item (1) of [情報 v]) = [17]>\nhide\n\nwhen flag clicked\nforever\n    repeat until <not <(distance to [プレイヤー v]) < [100]>>\n        if <<[0.1] < ([abs v] of (item (2) of [情報 v]) )> or <[0.1] < ([abs v] of (item (3) of [情報 v]) )>> then\n            if <<(item (1) of [情報 v]) = [15]> or <(item (1) of [情報 v]) = [16]>> then\n                broadcast (スカルクシュリーカー v)\n                wait (2) seconds\n            end\n        end\n    end\nend\n\n@スカルクカタリスト\n\nwhen flag clicked\ngo to [front v] layer\nhide\nwait (1) seconds\nwait until <(item (1) of [情報 v]) = [15]>\ngo to x: (0) y: (-80)\nshow\nwait until <(item (1) of [情報 v]) = [16]>\ngo to x: (180) y: (-109)\nshow\nwait until <(item (1) of [情報 v]) = [17]>\ngo to x: (-171) y: (-108)\nshow\nwait until <(item (1) of [情報 v]) = [18]>\nhide\n\nwhen flag clicked\nforever\n    repeat until <not <(distance to [プレイヤー v]) < [100]>>\n        if <<[1] < ([abs v] of (item (2) of [情報 v]) )> or <[1] < ([abs v] of (item (3) of [情報 v]) )>> then\n            if <<<(item (1) of [情報 v]) = [15]> or <(item (1) of [情報 v]) = [16]>> or <(item (1) of [情報 v]) = [17]>> then\n                broadcast (スカルクカタリスト v)\n                wait (1) seconds\n            end\n        end\n    end\nend\n\n@soul2\n\nwhen I receive [スカルクカタリスト v]\nshow\nswitch costume to (soul_0 v)\nrepeat (10)\n    next costume\n    wait (0.01) seconds\nend\nhide\n\nwhen flag clicked\nhide\nforever\n    if <(item (1) of [情報 v]) = [15]> then\n        go to x: ([x position v] of [スカルクカタリスト v]) y: (-50)\n    end\n    if <(item (1) of [情報 v]) = [16]> then\n        go to x: ([x position v] of [スカルクカタリスト v]) y: (-80)\n    end\n    if <(item (1) of [情報 v]) = [17]> then\n        go to x: ([x position v] of [スカルクカタリスト v]) y: (-80)\n    end\nend\n\n@ソニックブーム補完用\n\nwhen I receive [ソニックブーム v]\nset [pitch v] effect to (pick random (40) to (70))\nstart sound [wardenkamisugiwarotanngo4 v]\ngo to x: (item (1) of [ヴォーデン位置 v]) y: (item (2) of [ヴォーデン位置 v])\npoint towards (プレイヤー v)\nrepeat until <touching (_edge_ v)?>\n    a\n    create clone of (_myself_ v)\nend\nwait (0.2) seconds\nbroadcast (ソニックブーム破裂 v)\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\ndefine a\nmove (30) steps\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\n@shriek\n\nwhen I receive [スカルクシュリーカー v]\nstart sound (pick random (1) to (2))\nswitch costume to (vibration v)\nrepeat (5)\n    create clone of (_myself_ v)\n    wait (0.16) seconds\nend\nwait (1) seconds\n\nwhen flag clicked\nhide\nforever\n    if <(item (1) of [情報 v]) = [15]> then\n        go to x: ([x position v] of [スカルクシュリーカー v]) y: (-60)\n    end\n    if <(item (1) of [情報 v]) = [16]> then\n        go to x: ([x position v] of [スカルクシュリーカー v]) y: (-60)\n    end\nend\n\nwhen I start as a clone\nshow\nclear graphic effects\nforever\n    change y by (1.8)\n    change [ghost v] effect by (3)\n    change size by (10)\nend\n\nwhen I start as a clone\nshow\n\nwhen I start as a clone\nshow\nwait (1) seconds\ndelete this clone\n\n@sonic_boom\n\nwhen I receive [ソニックブーム v]\ngo to x: (item (1) of [ヴォーデン位置 v]) y: (item (2) of [ヴォーデン位置 v])\npoint towards (プレイヤー v)\nrepeat until <touching (_edge_ v)?>\n    a\n    create clone of (_myself_ v)\nend\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\n@ソニックブーム補完用2\n\nwhen I receive [ソニックブーム v]\ngo to x: (item (1) of [ヴォーデン位置 v]) y: (item (2) of [ヴォーデン位置 v])\npoint towards (プレイヤー v)\nrepeat until <touching (_edge_ v)?>\n    a\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\nshow\n\ndefine a\nmove (30) steps\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\n@ソニックブーム補完用3\n\nwhen I start as a clone\nshow\nset size to (pick random (80) to (100)) %\nswitch costume to (pick random (1) to (3))\n\ndefine a\nmove (30) steps\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 [space v] key pressed\nif <<(item (7) of [情報 v]) = [0]> and <<(item (5) of [設定 v]) = [1]> and <(item (1) of [設定 v]) = [10]>>> then\n    set [pitch v] effect to (pick random (40) to (70))\n    start sound [wardenkamisugiwarotanngo4 v]\n    wait () seconds\n    replace item (7) of [情報 v] with [1]\n    go to (プレイヤー v)\n    point towards (ソニックブーム判定 v)\n    repeat (2)\n        a\n        create clone of (_myself_ v)\n    end\n    repeat until <touching (_edge_ v)?>\n        a\n        create clone of (_myself_ v)\n    end\n    wait (0.06) seconds\n    broadcast (ソニックブーム破裂-プレイヤー v)\nend\n\nwhen I receive [ソニックブーム破裂-プレイヤー v]\nwait (2) seconds\nreplace item (7) of [情報 v] with [0]\n\nwhen flag clicked\nreplace item (7) of [情報 v] with [0]\n\nwhen I receive [attack v]\nif <<(item (7) of [情報 v]) = [0]> and <<(item (5) of [設定 v]) = [1]> and <(item (1) of [設定 v]) = [10]>>> then\n    set [pitch v] effect to (pick random (40) to (70))\n    start sound [wardenkamisugiwarotanngo4 v]\n    wait () seconds\n    replace item (7) of [情報 v] with [1]\n    go to (プレイヤー v)\n    point towards (ソニックブーム判定 v)\n    repeat (2)\n        a\n        create clone of (_myself_ v)\n    end\n    repeat until <touching (_edge_ v)?>\n        a\n        create clone of (_myself_ v)\n    end\n    wait (0.06) seconds\n    broadcast (ソニックブーム破裂-プレイヤー v)\nend\n\n@sonic_boom2\n\nwhen I start as a clone\nshow\nswitch costume to (コスチューム1 v)\nset size to (pick random (350) to (400)) %\n\ndefine a\nmove (30) steps\n\nwhen I receive [ソニックブーム破裂-プレイヤー v]\nrepeat (15)\n    wait (0) seconds\n    next costume\nend\ndelete this clone\n\nwhen [space v] key pressed\nif <<(item (7) of [情報 v]) = [0]> and <<(item (5) of [設定 v]) = [1]> and <(item (1) of [設定 v]) = [10]>>> then\n    wait () seconds\n    go to (プレイヤー v)\n    point towards (ソニックブーム判定 v)\n    repeat (2)\n        a\n        create clone of (_myself_ v)\n    end\n    repeat until <touching (_edge_ v)?>\n        a\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [attack v]\nif <<(item (7) of [情報 v]) = [0]> and <<(item (5) of [設定 v]) = [1]> and <(item (1) of [設定 v]) = [10]>>> then\n    wait () seconds\n    go to (プレイヤー v)\n    point towards (ソニックブーム判定 v)\n    repeat (2)\n        a\n        create clone of (_myself_ v)\n    end\n    repeat until <touching (_edge_ v)?>\n        a\n        create clone of (_myself_ v)\n    end\nend\n\n@ソニックブーム補完用4\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\nshow\n\ndefine a\nmove (30) steps\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 [space v] key pressed\nif <<(item (7) of [情報 v]) = [0]> and <<(item (5) of [設定 v]) = [1]> and <(item (1) of [設定 v]) = [10]>>> then\n    wait () seconds\n    go to (プレイヤー v)\n    point towards (ソニックブーム判定 v)\n    repeat (2)\n        a\n        create clone of (_myself_ v)\n    end\n    repeat until <touching (_edge_ v)?>\n        a\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [attack v]\nif <<(item (7) of [情報 v]) = [0]> and <<(item (5) of [設定 v]) = [1]> and <(item (1) of [設定 v]) = [10]>>> then\n    wait () seconds\n    go to (プレイヤー v)\n    point towards (ソニックブーム判定 v)\n    repeat (2)\n        a\n        create clone of (_myself_ v)\n    end\n    repeat until <touching (_edge_ v)?>\n        a\n        create clone of (_myself_ v)\n    end\nend\n\n@ソニックブーム判定\n\nwhen flag clicked\nhide\nforever\n    go to x: (モブの位置x) y: (モブの位置y)\nend\n\n@爆発2\n\nwhen I receive [爆発剣 v]\nif <<(item (1) of [設定 v]) = [15]> and <not <(item (8) of [情報 v]) = [0]>>> then\n    start sound [get4 v]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(右左) = [右]> then\n    go to x: (([x position v] of [プレイヤー v]) + (40)) y: (([y position v] of [プレイヤー v]) + (-5))\nelse\n    go to x: (([x position v] of [プレイヤー v]) + (-40)) y: (([y position v] of [プレイヤー v]) + (-5))\nend\nshow\nswitch costume to (explosion_0 v)\nrepeat (7)\n    wait () seconds\n    next costume\nend\nhide\ndelete this clone\n\nwhen I receive [attack v]\nif <<(item (1) of [設定 v]) = [15]> and <not <(item (8) of [情報 v]) = [0]>>> then\n    start sound [get4 v]\n    create clone of (_myself_ v)\nend\n\n@プレイヤー固定\n\nwhen flag clicked\nset [ghost v] effect to (99)\nhide\nforever\n    go to (プレイヤー v)\nend\n\nwhen [space v] key pressed\nif <<<(item (7) of [情報 v]) = [0]> and <(item (5) of [設定 v]) = [1]>> and <(item (1) of [設定 v]) = [10]>> then\n    show\n    wait (1.4) seconds\n    hide\nend\n\nwhen I receive [attack v]\nif <<<(item (7) of [情報 v]) = [0]> and <(item (5) of [設定 v]) = [1]>> and <(item (1) of [設定 v]) = [10]>> then\n    show\n    wait (1.4) seconds\n    hide\nend\n\n@スプライト1\n\nwhen flag clicked\nhide\nwait (1) seconds\nwait until <(item (1) of [情報 v]) = [31]>\nshow\n\n@スプライト2\n\nwhen flag clicked\nhide\nwait (1) seconds\nwait until <<(item (1) of [情報 v]) = [31]> and <[-50] < ([x position v] of [プレイヤー v])>>\nshow\n\n@スプライト3\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\n\n
https://scratch.mit.edu/users/Nullify_Scratch/\n\nNO ADS\narrow keys\n\nthis has dynamic squish and stretch, so the harder you hit the ground the more you squish\n\nOk wow, Thanks to all of you guys for liking my project so much (for as little effort as I put into it) this is one the coolest things to ever happen to me on scratch and I can't understate how grateful I am for it. Thank you.