傾向2位　BATTLE  PLATFORMER
@Stage\n\nwhen I receive [切り替え v]\nstop [other scripts in sprite v]\n\nwhen I receive [スタート v]\nset [hp v] to [100]\n\n@停止画面\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [forward v] (100000000000000000000000) layers\n    set [ghost v] effect to (100)\nend\n\nwhen flag clicked\nshow\nset [スクロールx v] to [0]\n\nwhen I receive [スタート v]\nstop all sounds\nforever\n    set volume to (100) %\n    repeat (1)\n        if <(pick random (1) to (3)) = [1]> then\n            play sound [ks024 2 v] until done\n        else\n            if <(pick random (1) to (2)) = [1]> then\n                play sound [ks037 v] until done\n            else\n                play sound [ks029 v] until done\n            end\n        end\n    end\nend\n\n@背景\n\ndefine 配置 (x) (y) (コスチューム)\nset [1 v] to (x)\nset [2 v] to (y)\nswitch costume to (コスチューム)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    移動 ((1) - (スクロールx)) (((2) - (スクロールy)) + (y別動))\nend\n\nwhen I receive [スタート v]\n配置 [0] [0] [1]\n配置 [500] [0] [2]\n配置 [1195] [460] [3]\n配置 [2100] [460] [4]\n配置 [2710] [790] [5]\n配置 [3200] [520] [6]\n配置 [3715] [520] [7]\n配置 [4310] [520] [8]\n配置 [5206] [860] [9]\n配置 [5600] [760] [10]\n配置 [6000] [660] [11]\n配置 [7200] [600] [12]\n配置 [7980] [600] [13]\n配置 [9255] [880] [14]\n配置 [10080] [1090] [15]\n配置 [10500] [1390] [16]\n配置 [13200] [1480] [17]\n配置 [13800] [1480] [18]\n配置 [14600] [1480] [5]\n配置 [14725] [1480] [3]\n配置 [15400] [1560] [20]\n配置 [16700] [1465] [6]\n配置 [17408] [1880] [3]\n配置 [17889] [1775] [5]\n配置 [18269] [1775] [7]\n配置 [11580] [1375] [9]\n配置 [12160] [1375] [5]\n\nwhen flag clicked\nhide\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen I start as a clone\nforever\n    go to [back v] layer\nend\n\nwhen I receive [切り替え v]\ndelete this clone\n\n@リスポーンアンカー\n\nwhen flag clicked\nhide\n\ndefine 配置 (1) (2) (3)\nset [1 v] to (1)\nset [2 v] to (2)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    移動 ((1) - (スクロールx)) (((2) - (スクロールy)) + (y別動))\nend\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [スタート v]\n配置 [4420] [505] [1]\n配置 [9260] [868] [1]\n配置 [12000] [1365] [1]\n配置 [14000] [1465] [1]\n配置 [16340] [1465] [1]\n配置 [17400] [1870] [1]\n配置 [6910] [565] [1]\n\nwhen I start as a clone\nforever\n    go to [back v] layer\nend\n\nwhen I receive [切り替え v]\ndelete this clone\n\nwhen I start as a clone\nswitch costume to (6 v)\npoint in direction (90)\nrepeat (6)\n    turn right (5) degrees\nend\nwait until <touching (プレイヤー v)?>\nrepeat (2)\n    repeat (6)\n        turn left (5) degrees\n    end\nend\nrepeat (6)\n    turn right (5) degrees\nend\nswitch costume to ( v)\nstart sound [決定ボタンを押す13 v]\nset [リスポーンx v] to (1)\nset [リスポーンy v] to ((2) + (20))\nset [hp v] to [100]\n\n@プレイヤー\n\nwhen I receive [上 v]\nswitch costume to (2 v)\nrepeat (20)\n    change [スクロールy v] by (30)\n    if <touching (地面 v)?> then\n        change y by (-100)\n    end\nend\nswitch costume to (1 v)\n\nwhen I receive [超右 v]\nrepeat (10)\n    switch costume to (2 v)\n    change x by (5)\n    if <touching (地面 v)?> then\n        change x by (-5)\n    end\nend\nswitch costume to (1 v)\n\nwhen I receive [超左 v]\nswitch costume to (2 v)\nrepeat (10)\n    change x by (-5)\n    if <touching (地面 v)?> then\n        change x by (5)\n    end\nend\nswitch costume to (1 v)\n\nwhen flag clicked\nswitch costume to (1 v)\n\nwhen I receive [火 v]\nrepeat (5)\n    switch costume to (2 v)\n    change [hp v] by (-1)\n    wait (0.5) seconds\n    switch costume to (1 v)\nend\n\nwhen I receive [スタート v]\nset [スクロールx v] to [0]\nset [スクロールy v] to [120]\nset [x2 v] to [0]\nset [y2 v] to [120]\nset [アイテム v] to []\n初期\nforever\n    if <(静止) = [0]> then\n        プログラム <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> <<key (down arrow v) pressed?> or <<key (s v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>>> <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>>\n        set [pitch v] effect to (0)\n    end\nend\n\nwhen I receive [初期化 v]\nstart sound [キル v]\nset [静止 v] to [1]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\nrepeat (20)\n    change [スクロールx v] by (round (((リスポーンx) - (スクロールx)) / (4)))\n    change [スクロールy v] by (round (((リスポーンy) - (スクロールy)) / (4)))\nend\nset [hp v] to [100]\n初期\n\nwhen I receive [スタート v]\nswitch costume to (1 v)\nset [動 v] to [0]\nset [場面 v] to [0]\n\nwhen I receive [切り替え v]\nstop [other scripts in sprite v]\nhide\n\ndefine 初期\nset [静止 v] to [0]\nset rotation style [left-right v]\nswitch costume to (1 v)\nset [x1 v] to [0]\nset [y1 v] to [0]\nset [静止 v] to [0]\ngo to x: (0) y: (0)\npoint in direction (90)\nset [ghost v] effect to (0)\nshow\n\ndefine プログラム <上> <下> <右> <左>\nif <(動) = [0]> then\n    set [x1 v] to (((x1) + (<右> - <左>)) * (0.9))\n    if <[5] < (x1)> then\n        set [x1 v] to [5]\n    end\n    if <(x1) < [-5]> then\n        set [x1 v] to [-5]\n    end\n    change x by ((x1) + (Bookhonbook))\n    repeat (6)\n        change y by ((1) * <touching (地面 v)?>)\n    end\n    if <touching (地面 v)?> then\n        change y by (-6)\n        repeat until <not <touching (地面 v)?>>\n            change x by ((-1) * ((x1) / ([abs v] of (x1) )))\n        end\n        if <上> then\n            start sound [壁 v]\n            set [y1 v] to [10]\n            set [x1 v] to ((7) - (<[0] < (x1)> * (14)))\n        else\n            set [x1 v] to [0]\n        end\n    end\nend\nif <(敵3) > [5]> then\n    change [y1 v] by (-0.3)\nelse\n    change [y1 v] by (-0.8)\nend\nchange y by (y1)\nif <touching (地面 v)?> then\n    repeat until <not <touching (地面 v)?>>\n        change y by ((-1) * ((y1) / ([abs v] of (y1) )))\n    end\n    if <<上> and <(y1) < [0]>> then\n        start sound [ジャンプ v]\n        if < (アイテム) contains [ジャンプ]?> then\n            set [y1 v] to [12]\n        else\n            set [y1 v] to [10]\n        end\n    else\n        set [y1 v] to [0]\n    end\nend\nset [当たり判定 v] to [0]\nif <touching (バネ v)?> then\n    start sound [バネ v]\n    broadcast (バネ v)\n    set [y1 v] to [20]\nend\nif <<(y position) < [-160]> and <(スクロールy) = [0]>> then\n    set [hp v] to [0]\nend\nif <(HP) < [1]> then\n    switch costume to (2 v)\n    broadcast (初期化 v)\nend\nchange [スクロールx v] by (round ((x position) * (0.1)))\nif <not <<(スクロールx) < [0]> or <[18284] < (スクロールx)>>> then\n    change x by ((-1) * (round ((x position) * (0.1))))\nend\nchange [スクロールy v] by (round ((y position) * (0.2)))\nif <not <(スクロールy) < [0]>> then\n    change y by ((-1) * (round ((y position) * (0.2))))\nend\nif <(スクロールx) < [0]> then\n    set [スクロールx v] to [0]\nend\nif <[18284] < (スクロールx)> then\n    set [スクロールx v] to [18284]\nend\nif <(スクロールy) < [0]> then\n    set [スクロールy v] to [0]\nend\n\nwhen I receive [スタート v]\nshow\nforever\n    go to [back v] layer\n    if on edge, bounce\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nset [リスポーンx v] to [0]\nset [リスポーンy v] to [0]\n\nwhen I receive [右 v]\nrepeat (10)\n    switch costume to (2 v)\n    change x by (5)\n    if <touching (地面 v)?> then\n        change x by (-5)\n    end\nend\nswitch costume to (1 v)\n\nwhen I receive [左 v]\nrepeat (10)\n    switch costume to (2 v)\n    change x by (-5)\n    if <touching (地面 v)?> then\n        change x by (5)\n    end\nend\nswitch costume to (1 v)\n\nwhen I receive [赤 v]\nswitch costume to (2 v)\nwait (0.2) seconds\nswitch costume to (1 v)\n\nwhen I receive [ゴール v]\nhide\n\n@HP\n\nwhen I receive [スタート v]\nforever\n    repeat (1)\n        set pen size to (30)\n        go to x: (-152) y: (139)\n        erase all\n        set pen color to (#c5c5c5)\n        pen down\n        change x by (300)\n        set pen size to (20)\n        go to x: (-152) y: (139)\n        set pen color to (#10ff00)\n        pen down\n        change x by ((HP) * (3))\n    end\nend\n\nwhen flag clicked\nset [hp v] to [100]\nerase all\n\nwhen I receive [ゴール v]\nforever\n    erase all\nend\n\nwhen flag clicked\nforever\n    if <(敵3) > [5]> then\n        repeat (1)\n            change [hp v] by (10)\n            wait (1) seconds\n        end\n    end\n    if <(HP) > [100]> then\n        set [hp v] to [100]\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\nhide variable [時間 v]\nhide\ngo to x: (0) y: (300)\nset [時間 v] to [0]\nforever\n    repeat (1)\n        wait (1) seconds\n        change [時間 v] by (1)\n    end\nend\n\nwhen I receive [ゴール v]\nset [静止 v] to [1]\nstop [other scripts in sprite v]\nshow\nglide (1) secs to x: (0) y: (0)\nshow variable [時間 v]\nforever\n    go to [front v] layer\n    set [スクロールx v] to [3600]\n    set [hp v] to [10]\nend\n\n@地面\n\ndefine 配置 (x) (y) (コスチューム) (動かす距離x) (動かす距離y)\nset [+ v] to (動かす距離x)\nset [- v] to (動かす距離y)\nset [1 v] to (x)\nset [2 v] to (y)\nswitch costume to (コスチューム)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    移動 (((1) + (+x)) - (スクロールx)) ((((2) + (-x)) - (スクロールy)) + (y別動))\nend\n\nwhen I start as a clone\nset [+x v] to [0]\nset [モンスターx v] to [0]\nforever\n    repeat (+)\n        change [モンスターx v] by (1)\n        set [モンスターx v] to ((モンスターx) * (0.85))\n        change [+x v] by (モンスターx)\n    end\n    repeat (+)\n        change [モンスターx v] by (-1)\n        set [モンスターx v] to ((モンスターx) * (0.85))\n        change [+x v] by (モンスターx)\n    end\nend\n\nwhen I receive [スタート v]\n配置 [0] [0] [1] [0] [0]\n配置 [478] [0] [1] [0] [0]\n配置 [850] [-150] [2] [0] [200]\n配置 [1200] [400] [3] [0] [0]\n配置 [1500] [400] [2] [40] [0]\n配置 [2000] [400] [3] [0] [0]\n配置 [2700] [600] [4] [0] [0]\n配置 [2390] [537] [1] [0] [0]\n配置 [2868] [537] [1] [0] [0]\n配置 [3346] [537] [1] [0] [0]\n配置 [3824] [537] [1] [0] [0]\n配置 [4302] [537] [1] [0] [0]\n配置 [4660] [400] [2] [60] [100]\n配置 [5200] [800] [3] [] []\n配置 [5600] [700] [3] [] []\n配置 [6000] [600] [3] [] []\n配置 [6300] [400] [4] [50] []\n配置 [7000] [600] [1] [] []\n配置 [7478] [600] [1] [] []\n配置 [7956] [600] [1] [] []\n配置 [8300] [500] [2] [100] [100]\n配置 [9200] [900] [1] [] []\n配置 [10000] [900] [4] [] []\n配置 [10300] [1000] [4] [] []\n配置 [10500] [1200] [4] [] []\n配置 [9678] [900] [1] [] []\n配置 [10000] [900] [1] [] []\n配置 [10800] [1300] [2] [] []\n配置 [11100] [1300] [2] [] []\n配置 [11600] [1400] [1] [] []\n配置 [12078] [1400] [1] [] []\n配置 [12440] [1300] [2] [80] [40]\n配置 [13200] [1500] [1] [] []\n配置 [13678] [1500] [1] [] []\n配置 [14156] [1500] [1] [] []\n配置 [14634] [1500] [1] [] []\n配置 [15000] [1400] [2] [200] []\n配置 [15400] [1500] [3] [] []\n配置 [16500] [1500] [1] [] []\n配置 [17200] [1500] [4] [] []\n配置 [16978] [1500] [1] [] []\n配置 [17456] [1500] [1] [] []\n配置 [17400] [1690] [4] [] []\n配置 [17796] [1800] [1] [] []\n配置 [18274] [1800] [1] [] []\n配置 [17800] [2000] [2] [] []\n配置 [18000] [2300] [2] [] []\n配置 [18300] [2150] [2] [] []\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [切り替え v]\ndelete this clone\n\nwhen I start as a clone\nset [-x v] to [0]\nset [モンスターy v] to [0]\nforever\n    repeat (-)\n        change [モンスターy v] by (0.5)\n        set [モンスターy v] to ((モンスターy) * (0.85))\n        change [-x v] by (モンスターy)\n    end\n    repeat (-)\n        change [モンスターy v] by (-0.5)\n        set [モンスターy v] to ((モンスターy) * (0.85))\n        change [-x v] by (モンスターy)\n    end\nend\n\n@罠\n\nwhen flag clicked\nhide\n\ndefine 配置 (1) (2) (3)\nset [1 v] to (1)\nset [2 v] to (2)\nswitch costume to (3)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    移動 ((1) - (スクロールx)) (((2) - (スクロールy)) + (y別動))\nend\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [スタート v]\n配置 [300] [0] [1]\n配置 [500] [0] [1]\n配置 [1970] [440] [2]\n配置 [2450] [538] [1]\n配置 [7140] [565] [3]\n配置 [7700] [565] [3]\n配置 [9700] [860] [2]\n配置 [9980] [1110] [1]\n配置 [10260] [1210] [1]\n配置 [17152] [1710] [1]\n\nwhen I start as a clone\ngo to [front v] layer\n\nwhen I receive [切り替え v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        if <(costume [number v]) = [3]> then\n            change [hp v] by (-1)\n            broadcast (赤 v)\n            wait (0.1) seconds\n        else\n            set [hp v] to [0]\n        end\n    end\nend\n\n@敵\n\ndefine 配置 (x) (y) (コスチューム) (動ける距離) (動ける距離2) (速度)\nset [+ v] to (動ける距離)\nset [- v] to (動ける距離2)\nset [1 v] to (x)\nset [2 v] to (y)\nswitch costume to (コスチューム)\nset [速度 v] to (速度)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    go to [front v] layer\n    移動 (((1) + (+x)) - (スクロールx)) ((((2) + (-x)) - (スクロールy)) + (y別動))\nend\n\nwhen I receive [スタート v]\n配置 [4495] [515] [1] [0] [-1600] [4]\n配置 [4495] [515] [1] [0] [-1600] [6]\n配置 [4495] [515] [1] [0] [-1600] [7]\n配置 [4495] [515] [1] [0] [-1600] [3]\n配置 [4495] [515] [1] [0] [-1600] [8]\n配置 [4495] [515] [1] [0] [-1600] [9]\n配置 [8176] [577] [1] [0] [-1400] [2]\n配置 [8176] [577] [1] [0] [-1400] [5]\n配置 [8176] [577] [1] [0] [-1400] [4]\n配置 [8176] [577] [1] [0] [-1400] [4]\n配置 [9824] [878] [1] [0] [-800] [5]\n\ndefine 移動 (ｘ) (ｙ)\nshow\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [切り替え v]\ndelete this clone\n\nwhen I start as a clone\nset [+x v] to [0]\nforever\n    set rotation style [left-right v]\n    if <(distance to [プレイヤー v]) > [20]> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            point in direction (90)\n            if <(+x) < (+)> then\n                change [+x v] by (速度)\n            end\n        else\n            point in direction (-90)\n            if <(-) < (+x)> then\n                change [+x v] by ((-1) * (速度))\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <<touching (武器 v)?> or <touching (武器2 v)?>> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            repeat (10)\n                if <(-) < (+x)> then\n                    change [+x v] by (-10)\n                end\n            end\n        else\n            repeat (10)\n                if <(+x) < (+)> then\n                    change [+x v] by (10)\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            broadcast (右 v)\n        else\n            broadcast (左 v)\n        end\n    end\nend\n\nwhen I start as a clone\nset [敵hp v] to [100]\nswitch costume to (1 v)\nforever\n    if <<touching (武器 v)?> or <touching (武器2 v)?>> then\n        if <(敵3) > [5]> then\n            change [敵hp v] by (-100)\n        else\n            change [敵hp v] by (-20)\n        end\n        switch costume to (2 v)\n        wait (0.5) seconds\n        switch costume to (1 v)\n    end\n    if <(敵HP) < [1]> then\n        stop [other scripts in sprite v]\n        set rotation style [all around v]\n        repeat (10)\n            turn left (15) degrees\n            change y by (-5)\n            if <(y position) < [-180]> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen I receive [1 v]\n配置 [18500] [1778] [1] [0] [-925] (pick random (1) to (10))\n\nwhen I receive [ゴール v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        change [hp v] by (-1)\n        wait (1) seconds\n    end\nend\n\n@敵2\n\ndefine 配置 (x) (y) (コスチューム) (動ける距離) (動ける距離2) (速度)\nset [+ v] to (動ける距離)\nset [- v] to (動ける距離2)\nset [1 v] to (x)\nset [2 v] to (y)\nswitch costume to (コスチューム)\nset [速度 v] to (速度)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    go to [front v] layer\n    移動 (((1) + (+x)) - (スクロールx)) ((((2) + (-x)) - (スクロールy)) + (y別動))\nend\n\nwhen I receive [スタート v]\n配置 [8176] [577] [1] [0] [-1400] [8]\n配置 [8176] [577] [1] [0] [-1400] [5]\n配置 [9824] [878] [1] [0] [-800] [6]\n配置 [9824] [878] [1] [0] [-800] [4]\n配置 [9824] [878] [1] [0] [-800] [8]\n配置 [12304] [1380] [1] [0] [-900] [4]\n配置 [12304] [1380] [1] [0] [-900] [5]\n配置 [14858] [1475] [1] [0] [-1880] [8]\n配置 [17024] [1475] [1] [0] [-740] [4]\n配置 [17024] [1475] [1] [0] [-740] [3]\n\ndefine 移動 (ｘ) (ｙ)\nshow\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nset [敵2 v] to [0]\nhide\n\nwhen I receive [切り替え v]\ndelete this clone\n\nwhen I start as a clone\nset [+x v] to [0]\nforever\n    set rotation style [left-right v]\n    if <(distance to [プレイヤー v]) > [20]> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            point in direction (90)\n            if <(+x) < (+)> then\n                change [+x v] by (速度)\n            end\n        else\n            point in direction (-90)\n            if <(-) < (+x)> then\n                change [+x v] by ((-1) * (速度))\n            end\n        end\n    else\n        broadcast (土 v)\n        wait (pick random (0) to (2)) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    if <<touching (武器 v)?> or <touching (武器2 v)?>> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            repeat (10)\n                if <(-) < (+x)> then\n                    change [+x v] by (-10)\n                end\n            end\n        else\n            repeat (10)\n                if <(+x) < (+)> then\n                    change [+x v] by (10)\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nset [敵hp v] to [100]\nswitch costume to (11 v)\nforever\n    if <<touching (武器 v)?> or <touching (武器2 v)?>> then\n        if <(敵3) > [5]> then\n            change [敵hp v] by (-75)\n        else\n            change [敵hp v] by (-15)\n        end\n        switch costume to (2 v)\n        wait (0.5) seconds\n        switch costume to (11 v)\n    end\n    if <(敵HP) < [1]> then\n        stop [other scripts in sprite v]\n        set rotation style [all around v]\n        repeat (10)\n            turn left (15) degrees\n            change y by (-5)\n            if <(y position) < [-180]> then\n                change [敵2 v] by (1)\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen I receive [2 v]\n配置 [18500] [1778] [1] [0] [-925] (pick random (1) to (10))\n\nwhen I receive [ゴール v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        change [hp v] by (-3)\n        wait (1) seconds\n    end\nend\n\n@敵2武器\n\ndefine 配置 (x) (y)\nset [-x v] to [-50]\nset [1 v] to (x)\nset [2 v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    set size to (80) %\n    go to [back v] layer\n    移動 ((1) - (スクロールx)) ((((2) + (-x)) - (スクロールy)) + (y別動))\nend\n\nwhen I receive [土 v]\nif <(size) = [100]> then\n    switch costume to (2 v)\n    配置 (スクロールx) (スクロールy)\nend\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nset size to (100) %\nhide\n\nwhen I receive [切り替え v]\ndelete this clone\n\nwhen I start as a clone\nwait (0.5) seconds\nrepeat (10)\n    if <touching (プレイヤー v)?> then\n        broadcast (上 v)\n    end\n    change [-x v] by (5)\nend\nwait (1) seconds\nrepeat (10)\n    change [-x v] by (-5)\nend\nwait (1) seconds\ndelete this clone\n\nwhen I receive [針 v]\nif <(size) = [100]> then\n    switch costume to (3 v)\n    配置 (スクロールx) (スクロールy)\nend\n\nwhen I receive [ゴール v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        change [hp v] by (-2)\n        wait (1) seconds\n    end\nend\n\n@敵4\n\ndefine 配置 (x) (y) (コスチューム) (動ける距離) (動ける距離2) (速度) (クローン番号)\nset [+ v] to (動ける距離)\nset [- v] to (動ける距離2)\nset [1 v] to (x)\nset [2 v] to (y)\nswitch costume to (コスチューム)\nset [速度 v] to (速度)\nset [クローン番号 v] to (クローン番号)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    go to [front v] layer\n    移動 (((1) + (+x)) - (スクロールx)) ((((2) + (-x)) - (スクロールy)) + (y別動))\nend\n\nwhen I receive [スタート v]\n配置 [9824] [878] [1] [0] [-700] [5] [1]\n配置 [12304] [1380] [1] [0] [-800] [6] [2]\n配置 [12304] [1380] [1] [0] [-800] [3] [3]\n配置 [12304] [1380] [1] [0] [-800] [7] [4]\n配置 [14858] [1475] [1] [0] [-1700] [7] [5]\n配置 [14858] [1475] [1] [0] [-1700] [7] [6]\n配置 [17024] [1475] [1] [0] [-640] [7] [7]\n配置 [17024] [1475] [1] [0] [-640] [8] [8]\n\ndefine 移動 (ｘ) (ｙ)\nshow\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [切り替え v]\ndelete this clone\n\nwhen I start as a clone\nset [+x v] to [0]\nforever\n    set rotation style [left-right v]\n    if <(distance to [プレイヤー v]) > [100]> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            point in direction (90)\n            if <(+x) < (+)> then\n                change [+x v] by (速度)\n            end\n        else\n            point in direction (-90)\n            if <(-) < (+x)> then\n                change [+x v] by ((-1) * (速度))\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (武器 v)?> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            repeat (10)\n                if <(-) < (+x)> then\n                    change [+x v] by (-10)\n                end\n            end\n        else\n            repeat (10)\n                if <(+x) < (+)> then\n                    change [+x v] by (10)\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    replace item (クローン番号) of [水y v] with (y position)\n    replace item (クローン番号) of [水x v] with (x position)\nend\n\nwhen flag clicked\ndelete all of [水x v]\ndelete all of [水y v]\nrepeat (10)\n    insert [] at (1) of [水x v] \n    insert [] at (1) of [水y v] \nend\n\nwhen I start as a clone\nset [敵hp v] to [100]\nswitch costume to (11 v)\nforever\n    if <<touching (武器 v)?> or <touching (武器2 v)?>> then\n        if <(敵3) > [5]> then\n            change [敵hp v] by (-50)\n        else\n            change [敵hp v] by (-10)\n        end\n        switch costume to (2 v)\n        wait (0.5) seconds\n        switch costume to (11 v)\n    end\n    if <(敵HP) < [1]> then\n        stop [other scripts in sprite v]\n        set rotation style [all around v]\n        repeat (10)\n            turn left (15) degrees\n            change y by (-5)\n            if <(y position) < [-180]> then\n                replace item (クローン番号) of [水x v] with [No]\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen I receive [ゴール v]\ndelete this clone\n\n@敵3\n\ndefine 配置 (x) (y) (コスチューム) (動ける距離) (動ける距離2) (速度)\nset [+ v] to (動ける距離)\nset [- v] to (動ける距離2)\nset [1 v] to (x)\nset [2 v] to (y)\nswitch costume to (コスチューム)\nset [速度 v] to (速度)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    go to [front v] layer\n    移動 (((1) + (+x)) - (スクロールx)) ((((2) + (-x)) - (スクロールy)) + (y別動))\nend\n\nwhen I receive [スタート v]\n配置 [12304] [1380] [1] [0] [-900] [3]\n配置 [12304] [1380] [1] [0] [-900] [2]\n配置 [14858] [1475] [1] [0] [-1880] [2]\n配置 [14858] [1475] [1] [0] [-1880] [4]\n配置 [17024] [1475] [1] [0] [-740] [2]\n配置 [17024] [1475] [1] [0] [-740] [3]\n\ndefine 移動 (ｘ) (ｙ)\nshow\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nset [敵3 v] to [0]\nhide\n\nwhen I receive [切り替え v]\ndelete this clone\n\nwhen I start as a clone\nset [+x v] to [0]\nforever\n    set rotation style [left-right v]\n    if <(distance to [プレイヤー v]) > [20]> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            point in direction (90)\n            if <(+x) < (+)> then\n                change [+x v] by (速度)\n            end\n        else\n            point in direction (-90)\n            if <(-) < (+x)> then\n                change [+x v] by ((-1) * (速度))\n            end\n        end\n        if <([y position v] of [プレイヤー v]) > (y position)> then\n            change [-x v] by (速度)\n        else\n            change [-x v] by ((-1) * (速度))\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <<touching (武器 v)?> or <touching (武器2 v)?>> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            repeat (10)\n                if <(-) < (+x)> then\n                    change [+x v] by (-10)\n                end\n            end\n        else\n            repeat (10)\n                if <(+x) < (+)> then\n                    change [+x v] by (10)\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            broadcast (超右 v)\n        else\n            broadcast (超左 v)\n        end\n    end\nend\n\nwhen I start as a clone\nset [敵hp v] to [100]\nforever\n    if <(敵HP) < [1]> then\n        stop [other scripts in sprite v]\n        set rotation style [all around v]\n        repeat (10)\n            turn left (15) degrees\n            change y by (-5)\n            if <(y position) < [-180]> then\n                change [敵3 v] by (1)\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nswitch costume to (11 v)\nforever\n    if <<touching (武器 v)?> or <touching (武器2 v)?>> then\n        if <(敵3) > [5]> then\n            change [敵hp v] by (-25)\n        else\n            change [敵hp v] by (-5)\n        end\n        switch costume to (2 v)\n        wait (0.5) seconds\n        switch costume to (11 v)\n    end\nend\n\nwhen I receive [4 v]\n配置 [18500] [1778] [1] [0] [-925] (pick random (1) to (5))\n\nwhen I receive [ゴール v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        change [hp v] by (-4)\n        wait (1) seconds\n    end\nend\n\n@敵4武器\n\nwhen I start as a clone\nswitch costume to (12 v)\nforever\n    set size to (100) %\n    go to [back v] layer\nend\n\nwhen flag clicked\nset size to (80) %\nhide\nwait (1) seconds\nif <(size) = [80]> then\n    [1]\n    [2]\n    [3]\n    [4]\n    [5]\n    [6]\n    [7]\n    [8]\nend\n\nwhen I receive [切り替え v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <(distance to [プレイヤー v]) < [100]> then\n        show\n        clear graphic effects\n        switch costume to (12 v)\n        repeat (11)\n            wait () seconds\n            next costume\n        end\n        wait (0.5) seconds\n        hide\n        wait (pick random (0) to (5)) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    go to x: ((item (クローン番号) of [水x v]) + (+)) y: (item (クローン番号) of [水y v])\n    if <([backdrop # v] of [プレイヤー v]) < (item (クローン番号) of [水x v])> then\n        set [+ v] to [-60]\n    else\n        set [+ v] to [60]\n    end\nend\n\ndefine (クローン番号)\nset [クローン番号 v] to (クローン番号)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            broadcast (右 v)\n        else\n            broadcast (左 v)\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(item (クローン番号) of [水x v]) = [No]> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (_edge_ v)?> then\n        hide\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        change [hp v] by (-3)\n        wait (1) seconds\n    end\nend\n\n@敵5\n\nwhen I start as a clone\nforever\n    go to [front v] layer\n    移動 (((1) + (+x)) - (スクロールx)) ((((2) + (-x)) - (スクロールy)) + (y別動))\nend\n\nwhen I receive [スタート v]\n配置 [14858] [1475] [1] [0] [-1880] [4]\n配置 [14858] [1475] [1] [0] [-1880] [5]\n配置 [17024] [1475] [1] [0] [-740] [4]\n配置 [17024] [1475] [1] [0] [-740] [6]\n配置 [17024] [1475] [1] [0] [-740] [8]\n\ndefine 移動 (ｘ) (ｙ)\nshow\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [切り替え v]\ndelete this clone\n\nwhen I start as a clone\nset [+x v] to [0]\nforever\n    set rotation style [left-right v]\n    if <(distance to [プレイヤー v]) > [20]> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            point in direction (90)\n            if <(+x) < (+)> then\n                change [+x v] by (速度)\n            end\n        else\n            point in direction (-90)\n            if <(-) < (+x)> then\n                change [+x v] by ((-1) * (速度))\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <<touching (武器 v)?> or <touching (武器2 v)?>> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            repeat (10)\n                if <(-) < (+x)> then\n                    change [+x v] by (-10)\n                end\n            end\n        else\n            repeat (10)\n                if <(+x) < (+)> then\n                    change [+x v] by (10)\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            broadcast (火 v)\n            broadcast (右 v)\n        else\n            broadcast (火 v)\n            broadcast (左 v)\n        end\n    end\nend\n\ndefine 配置 (x) (y) (コスチューム) (動ける距離) (動ける距離2) (速度)\nset [+ v] to (動ける距離)\nset [- v] to (動ける距離2)\nset [1 v] to (x)\nset [2 v] to (y)\nswitch costume to (コスチューム)\nset [速度 v] to (速度)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nset [敵hp v] to [100]\nswitch costume to (11 v)\nforever\n    if <<touching (武器 v)?> or <touching (武器2 v)?>> then\n        if <(敵3) > [5]> then\n            change [敵hp v] by (-15)\n        else\n            change [敵hp v] by (-3)\n        end\n        switch costume to (2 v)\n        wait (0.5) seconds\n        switch costume to (11 v)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(敵HP) < [1]> then\n        stop [other scripts in sprite v]\n        set rotation style [all around v]\n        repeat (10)\n            turn left (15) degrees\n            change y by (-5)\n            if <(y position) < [-180]> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen I receive [5 v]\n配置 [18500] [1778] [1] [0] [-925] (pick random (1) to (10))\n\nwhen I receive [ゴール v]\ndelete this clone\n\n@ボス\n\ndefine 配置 (x) (y) (コスチューム) (動ける距離) (動ける距離2) (速度)\nset [+ v] to (動ける距離)\nset [- v] to (動ける距離2)\nset [1 v] to (x)\nset [2 v] to (y)\nswitch costume to (コスチューム)\nset [速度 v] to (速度)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    go to [front v] layer\n    移動 (((1) + (+x)) - (スクロールx)) ((((2) + (-x)) - (スクロールy)) + (y別動))\nend\n\nwhen I receive [スタート v]\n配置 [18284] [1800] [1] [0] [-100000] [5]\n\ndefine 移動 (ｘ) (ｙ)\nshow\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [切り替え v]\ndelete this clone\n\nwhen I start as a clone\nset [+x v] to [0]\nwait until <<touching (武器 v)?> or <touching (武器2 v)?>>\nforever\n    set rotation style [left-right v]\n    if <(distance to [プレイヤー v]) > [20]> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            point in direction (90)\n            if <(+x) < (+)> then\n                change [+x v] by (速度)\n            end\n        else\n            point in direction (-90)\n            if <(-) < (+x)> then\n                change [+x v] by ((-1) * (速度))\n            end\n        end\n        if <([y position v] of [プレイヤー v]) > (y position)> then\n            change [-x v] by (速度)\n        else\n            change [-x v] by ((-1) * (速度))\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <<touching (武器 v)?> or <touching (武器2 v)?>> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            repeat (10)\n                if <(-) < (+x)> then\n                    change [+x v] by (-5)\n                end\n            end\n        else\n            repeat (10)\n                if <(+x) < (+)> then\n                    change [+x v] by (5)\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nwait until <<touching (武器 v)?> or <touching (武器2 v)?>>\nforever\n    if <touching (プレイヤー v)?> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            broadcast (右 v)\n            change [hp v] by (-5)\n            wait (1) seconds\n        else\n            broadcast (左 v)\n            change [hp v] by (-5)\n            wait (1) seconds\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nshow\nforever\n    if <(敵HP) < [1]> then\n        clear graphic effects\n        repeat (5)\n            set [brightness v] effect to (100)\n            wait (0.3) seconds\n            set [brightness v] effect to (0)\n            wait (0.3) seconds\n        end\n        repeat (50)\n            change [brightness v] effect by (100)\n            change [ghost v] effect by (2)\n        end\n        broadcast (ゴール v)\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nset [敵hp v] to [500]\nswitch costume to (11 v)\nforever\n    if <<touching (武器 v)?> or <touching (武器2 v)?>> then\n        if <(敵3) > [5]> then\n            change [敵hp v] by (-5)\n        else\n            change [敵hp v] by (-1)\n        end\n        switch costume to (2 v)\n        wait (0.5) seconds\n        switch costume to (11 v)\n    end\nend\n\nwhen I start as a clone\nwait until <<touching (武器 v)?> or <touching (武器2 v)?>>\nforever\n    repeat (1)\n        wait (pick random (2) to (8)) seconds\n        broadcast (pick random (1) to (5))\n    end\nend\n\nwhen I start as a clone\nwait until <<touching (武器 v)?> or <touching (武器2 v)?>>\nforever\n    repeat (1)\n        wait (pick random (0) to (2)) seconds\n        broadcast (針 v)\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 start as a clone\nwait until <<touching (武器 v)?> or <touching (武器2 v)?>>\nforever\n    repeat (1)\n        wait (pick random (1) to (5)) seconds\n        broadcast (ボス武器 v)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        change [hp v] by (-6)\n        wait (1) seconds\n    end\nend\n\n@見た目\n\nwhen flag clicked\nforever\n    ブロック名\nend\n\nwhen flag clicked\nforever\n    if <(敵3) > [5]> then\n        show\n    else\n        hide\n    end\nend\n\ndefine ブロック名\ngo to x: ([x position v] of [プレイヤー v]) y: ([y position v] of [プレイヤー v])\npoint in direction ([direction v] of [プレイヤー v])\n\n@武器2\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\n    go to x: ([x position v] of [プレイヤー v]) y: (([y position v] of [プレイヤー v]) + (10))\n    set rotation style [all around v]\nend\n\nwhen flag clicked\nforever\n    if <(敵2) > [4]> then\n        if <<mouse down?> or <key (x v) pressed?>> then\n            create clone of (_myself_ v)\n            wait (0.3) seconds\n        end\n    end\nend\n\nwhen I start as a clone\ngo to [front v] layer\nset rotation style [all around v]\npoint towards (mouse-pointer v)\nshow\nif <(敵3) > [5]> then\n    switch costume to (2 v)\n    repeat (100)\n        move (5) steps\n    end\n    delete this clone\nelse\n    switch costume to ( v)\n    repeat until <<touching (_edge_ v)?> or <touching (地面 v)?>>\n        move (10) steps\n    end\n    delete this clone\nend\n\nwhen I receive [ゴール v]\nhide\nstop [other scripts in sprite v]\n\n@武器\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\n    go to x: ([x position v] of [プレイヤー v]) y: ([y position v] of [プレイヤー v])\n    set rotation style [all around v]\nend\n\nwhen flag clicked\nforever\n    if <(敵3) > [5]> then\n        switch costume to (2 v)\n    else\n        switch costume to ( v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (_edge_ v)?> then\n        hide\n    end\nend\n\nwhen I receive [ゴール v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [スタート v]\nforever\n    go to [front v] layer\n    if <<mouse down?> or <key (z v) pressed?>> then\n        show\n        point in direction (90)\n        if <([direction v] of [プレイヤー v]) = [90]> then\n            repeat (12)\n                turn right (10) degrees\n            end\n        else\n            repeat (12)\n                turn left (10) degrees\n            end\n        end\n        wait (0.1) seconds\n        hide\n    end\nend\n\n@スプライト2\n\nwhen flag clicked\nclear graphic effects\nswitch costume to (-2 v)\nset [shop v] to [0]\nhide\n\nwhen I start as a clone\ngo to x: (0) y: (0)\nclear graphic effects\nif <<(敵2) > [4]> and <(敵3) > [5]>> then\n    switch costume to (-5 v)\nelse\n    if <(敵2) > [4]> then\n        switch costume to (-3 v)\n    else\n        if <(敵3) > [5]> then\n            switch costume to (-4 v)\n        else\n            switch costume to (- v)\n        end\n    end\nend\nshow\nforever\n    if <mouse down?> then\n        if <(SHOP) = [1]> then\n            set [shop v] to [0]\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [スタート v]\nshow\nforever\n    go to [front v] layer\n    go to x: (174) y: (-135)\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (20)\n        if <mouse down?> then\n            if <(SHOP) = [0]> then\n                create clone of (_myself_ v)\n                wait until <not <mouse down?>>\n                set [shop v] to [1]\n            end\n        end\n    else\n        clear graphic effects\n    end\nend\n\n@スプライト3\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nshow\nforever\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nforever\n    go [forward v] (100000000000000000000000000) layers\nend\n\n@ボス武器\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\n    go to x: (ボスx) y: (ボスy)\n    set rotation style [all around v]\nend\n\nwhen I start as a clone\ngo to [front v] layer\nset rotation style [all around v]\npoint towards (mouse-pointer v)\nshow\nswitch costume to (2 v)\nrepeat until <<touching (プレイヤー v)?> or <touching (_edge_ v)?>>\n    move (5) steps\nend\ndelete this clone\n\nwhen I receive [ボス武器 v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        if <([x position v] of [プレイヤー v]) > (x position)> then\n            broadcast (超右 v)\n        else\n            broadcast (超左 v)\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        change [hp v] by (-5)\n        wait (1) seconds\n    end\nend\n\n@スプライト4\n\nwhen flag clicked\nset size to (100) %\nclear graphic effects\ngo to x: (0) y: (0)\nshow\nswitch costume to (コスチューム1 v)\nwait (2) seconds\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\nswitch costume to (コスチューム3 v)\nwait (1) seconds\nrepeat (10)\n    change [brightness v] effect by (10)\nend\nwait (2) seconds\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\nswitch costume to (コスチューム4 v)\nwait (1) seconds\nrepeat (10)\n    change [brightness v] effect by (10)\nend\nwait (2) seconds\nbroadcast (スタート v)\nhide\n\nwhen flag clicked\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        stop [other scripts in sprite v]\n        hide\n        broadcast (スタート v) and wait\n    end\nend\n\nwhen I receive [スタート v]\nstop [other scripts in sprite v]\n\n
online\n https://scratch.mit.edu/projects/476811832/\n\n日本語↓\n\nI'm grateful for the trend 2nd place & communication &Commurimi lovers!\n\n\Method of operation\n\nUp/Left/Left keys WAD key Tap\n\nSword z key tap\n\nKi bullet x key tap\n\nThe enemy's knockback is dangerous so be careful!\n\nIf you want to advertise, please ❤️ and ⭐️!\n\nーーーーーーーーーーーーーーーーーーーー\n傾向2位＆コミュ好き＆コミュリミ感謝です！\n\n\操作方法\n\n上左右キー　　wadキー　　タップ\n\n剣　zキー　　タップ\n\n気弾　ｘキー　　タップ\n\n敵のノックバックがヤバいから気をつけて‼\n\n宣伝する場合は❤️と⭐️よろしく！\n