Explorer - A Multiplayer Scrolling Platformer

Instructions: WASD, arrow keys \nwatch out for the lasers\nfullscreen not recommended\nif it lags thats quite normal maybe someone can fix it\nmore levels coming soon\n\nLOVE AND FAVE or else I steal your "AirPods" >:D

@Stage\n\nwhen I receive [game start3 v]\nforever\n    play sound [Nebula v] until done\nend\n\nwhen I receive [project2 v]\nforever\n    play sound [Odesong v] until done\nend\n\nwhen I receive [game start2 v]\nstop all sounds\nstop [other scripts in sprite v]\n\nwhen flag clicked\nstop all sounds\n\nwhen I receive [game start3 v]\nreset timer\n\nwhen I receive [next stage v]\nif <(ステージ) = [31]> then\n    show variable [time v]\n    set [time v] to (timer)\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [31]> then\n    show variable [time v]\n    set [time v] to (timer)\n    show variable [☁ world record v]\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [31]> then\n    show variable [☁ world record v]\n    if <(time) < (☁ world record)> then\n        set [☁ world record v] to (time)\n    end\nend\n\nwhen flag clicked\nhide variable [☁ world record v]\nhide variable [time v]\n\n@スプライト2\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\nswitch costume to (コスチューム8 v)\nshow\n\nwhen I receive [project v]\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [project2 v]\nset drag mode [not draggable v]\nswitch backdrop to (背景24 v)\nrepeat (25)\n    change [ghost v] effect by (4)\nend\n\nwhen I receive [skin v]\nset [ghost v] effect to (0)\ngo to [front v] layer\nif <(clear) = [0]> then\n    switch costume to (コスチューム9 v)\nend\nif <(clear) = [1]> then\n    switch costume to (コスチューム10 v)\nend\nif <(clear!) = [1]> then\n    switch costume to (コスチューム15 v)\nend\nif <<(clear) = [1]> and <(clear!) = [1]>> then\n    switch costume to (コスチューム14 v)\nend\n\nwhen I receive [skin2 v]\nset [ghost v] effect to (100)\n\nwhen I receive [game start v]\nswitch costume to (コスチューム8 v)\nrepeat (25)\n    change [ghost v] effect by (-4)\nend\nbroadcast (game start2 v)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [game start2 v]\nswitch backdrop to (背景1 v)\nrepeat (25)\n    change [ghost v] effect by (4)\nend\nbroadcast (game start3 v)\n\nwhen I receive [game start3 v]\nswitch costume to (コスチューム13 v)\nforever\n    go to [front v] layer\nend\n\n@スプライト1\n\ndefine 動き\ngo to [front v] layer\nset size to (50) %\nswitch costume to (色)\nif <key (right arrow v) pressed?> then\n    if <(ステージ) = [27]> then\n        change [x v] by (0.15)\n        switch costume to ((8) + (色))\n    end\n    if <(ステージ) = [29 ]> then\n        change [x v] by (0.4)\n        switch costume to ((8) + (色))\n    end\n    if <not <<(ステージ) = [27]> or <(ステージ) = [29 ]>>> then\n        change [x v] by (0.8)\n        switch costume to ((8) + (色))\n    end\nend\nif <key (left arrow v) pressed?> then\n    if <(ステージ) = [27]> then\n        change [x v] by (-1.2)\n        switch costume to ((16) + (色))\n    end\n    if <(ステージ) = [29 ]> then\n        change [x v] by (-1.6)\n        switch costume to ((16) + (色))\n    end\n    if <not <<(ステージ) = [27]> or <(ステージ) = [29 ]>>> then\n        change [x v] by (-0.8)\n        switch costume to ((16) + (色))\n    end\nend\nset [x v] to ((x) * (0.92))\nchange x by (x)\nif <<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 <key (up arrow v) pressed?> then\n                                if <[0] < (x)> then\n                                    set [x v] to [-10]\n                                else\n                                    set [x v] to [10]\n                                end\n                                set [y v] to [15]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [y v] by (-1)\nchange y by (y)\nif <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n    change y by ((0) - (y))\n    set [y v] to [0]\nend\nchange y by (-2)\nif <key (down arrow v) pressed?> then\n    switch costume to ((24) + (色))\nend\nif <<touching (バネ v)?> or <<touching (バネ2 v)?> or <touching (ヘルメット v)?>>> then\n    set [y v] to [23]\nend\nif <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n    if <key (up arrow v) pressed?> then\n        set [y v] to [18]\n        if <(water melon) = [1]> then\n            repeat (5)\n                if <key (space v) pressed?> then\n                    set [y v] to [24]\n                end\n            end\n        end\n    end\n    change y by (1)\nend\nif <<touching (回転針 v)?> or <<touching (ビーム v)?> or <<touching (針 v)?> or <[-160] > (y position)>>>> then\n    set [y v] to [0]\n    switch costume to ((32) + (色))\n    set [x v] to [0]\n    set rotation style [left-right v]\n    repeat (10)\n        switch costume to ((32) + (色))\n        change [ghost v] effect by (10)\n    end\n    broadcast (die v)\n    go to x: (復活地　ｘ) y: (復活地　ｙ)\n    switch costume to <(costume [number v]) = (色)>\n    set [変数 v] to [0]\n    repeat (10)\n        switch costume to (色)\n        change [ghost v] effect by (-10)\n    end\nend\n\nwhen I receive [game start3 v]\ngo to x: (-210) y: (13)\nset rotation style [left-right v]\nset size to (50) %\nswitch costume to <(costume [number v]) = (色)>\npoint in direction (90)\nshow\nhide variable [x v]\nhide variable [y v]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <[1] = (12)> then\n        動き２\n    else\n        動き\n    end\nend\n\nwhen flag clicked\nset [ステージ v] to [1]\nforever\n    if <(ステージ) = [1]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [2]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-240) y: (0)\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [next stage v]\nforever\n    if <(ステージ) = [2]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [3]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-240) y: (0)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [3]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [4]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-186) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [4]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [5]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-210) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [5]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [6]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-210) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [6]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [7]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-209) y: (-50)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [7]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [8]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-209) y: (-50)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [8]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [9]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-212) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [9]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [10]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-250) y: (-20)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [10]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [11]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-250) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [11]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [12]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-225) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [12]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [13]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-225) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [13]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [14]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-186) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [14]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [15]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [15]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [16]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [16]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [17]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [17]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [18]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [18]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [19]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [19]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [20]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [20]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [21]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [21]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [22]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [22]> then\n        if <(x position) > [230]> then\n            next backdrop\n            set [ステージ v] to [23]\n            broadcast (NEXT STAGE v)\n            broadcast (STAGE24 v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [23]> then\n        if <(x position) > [230]> then\n            next backdrop\n            set [ステージ v] to [24]\n            broadcast (NEXT STAGE v)\n            broadcast (STAGE24 v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [24]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [25]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [25]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [26]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [26]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [27]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [27]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [28]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [28]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [29]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [29]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [30]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [30]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [31]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [31]> then\n        if <(x position) > [240]> then\n            next backdrop\n            set [ステージ v] to [32]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\n    if <(ステージ) = [32]> then\n        if <(x position) > [240]> then\n            next backdrop\n            change [☁ 完全クリア者数 v] by (1)\n            set [ステージ v] to [33]\n            show variable [☁ 完全クリア者数 v]\n            broadcast (NEXT STAGE v)\n            set [x v] to [0]\n            set [y v] to [0]\n            go to x: (-200) y: (13)\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nset [a v] to [0]\nforever\n    set [復活地　ｘ v] to [-230]\n    set [復活地　ｙ v] to [-12]\nend\n\nwhen flag clicked\nhide\n\ndefine 動き２\ngo to [back v] layer\nset size to (25) %\nswitch costume to (色)\nif <key (right arrow v) pressed?> then\n    change [x v] by (0.4)\n    switch costume to ((8) + (色))\nend\nif <key (left arrow v) pressed?> then\n    change [x v] by (-0.4)\n    switch costume to ((16) + (色))\nend\nset [x v] to ((x) * (0.92))\nchange x by (x)\nif <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n    change y by (0.5)\n    if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n        change y by (0.5)\n        if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n            change y by (0.5)\n            if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                change y by (0.5)\n                if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                    change y by (0.5)\n                    if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                        change y by (0.5)\n                        if <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n                            change x by ((0) - (x))\n                            change y by (-2.5)\n                            if <key (up arrow v) pressed?> then\n                                if <[0] < (x)> then\n                                    set [x v] to [-5]\n                                else\n                                    set [x v] to [5]\n                                end\n                                set [y v] to [7.5]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [y v] by (-0.5)\nchange y by (y)\nif <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n    change y by ((0) - (y))\n    set [y v] to [0]\nend\nchange y by (-1)\nif <<touching (地面 v)?> or <<touching (地面２ v)?> or <touching (スイッチ v)?>>> then\n    if <key (up arrow v) pressed?> then\n        set [y v] to [9]\n        if <(water melon) = [1]> then\n            repeat (5)\n                if <key (space v) pressed?> then\n                    set [y v] to [16]\n                end\n            end\n        end\n    end\n    change y by (1)\nend\nif <key (down arrow v) pressed?> then\n    switch costume to ((24) + (色))\nend\nif <<touching (バネ v)?> or <<touching (バネ2 v)?> or <touching (ヘルメット v)?>>> then\n    set [y v] to [23]\nend\nif <<touching (回転針 v)?> or <<touching (ビーム v)?> or <<touching (針 v)?> or <[-160] > (y position)>>>> then\n    set [y v] to [0]\n    switch costume to ((32) + (色))\n    set [x v] to [0]\n    set rotation style [left-right v]\n    repeat (10)\n        switch costume to ((32) + (色))\n        change [ghost v] effect by (10)\n    end\n    set [12 v] to [0]\n    broadcast (die v)\n    go to x: (復活地　ｘ) y: (復活地　ｙ)\n    switch costume to <(costume [number v]) = (色)>\n    set [変数 v] to [0]\n    repeat (10)\n        switch costume to (色)\n        change [ghost v] effect by (-10)\n    end\nend\n\nwhen I receive [die v]\nset [12 v] to [0]\n\nwhen flag clicked\nset [warp v] to [0]\nshow variable [☁ world record v]\n\nwhen I receive [game start3 v]\nforever\n    if <(warp) = [1]> then\n        hide\n        go to (スプライト6 v)\n    end\n    if <(warp) = [0]> then\n        show\n    end\nend\n\nwhen I receive [game start3 v]\nforever\n    if <touching (water v)?> then\n        change [y v] by (1.45)\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    forever\n        change x by (-0.4)\n        if <(ステージ) = [28]> then\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [29]> then\n    forever\n        change x by (-0.5)\n        if <(ステージ) = [28]> then\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [game start3 v]\nforever\n    if <(clear) = [0]> then\n        if <touching (スプライト5 v)?> then\n            change [体温 v] by (-2)\n        end\n    end\nend\n\nwhen I receive [game start3 v]\nforever\n    if <<[999] < (体温)> or <(体温) < [1]>> then\n        stop [other scripts in sprite v]\n        switch costume to ((32) + (色))\n        broadcast (game over v)\n        stop [this script v]\n    end\nend\n\nchange y by (1)\n\n@スプライト3\n\nwhen flag clicked\nbroadcast (project v)\n\nwhen I receive [project v]\nset [clone v] to [1]\nset [p v] to [1]\npoint in direction (90)\nswitch costume to (コスチューム1 v)\nset size to (100) %\nshow\ngo to [front v] layer\ngo to x: (-100) y: (195)\nrepeat (13)\n    change y by (-15)\nend\nstart sound [Big Boing v]\nrepeat (4)\n    next costume\nend\nwait (0.01) seconds\nrepeat (4)\n    switch costume to ((costume [number v]) - (1))\nend\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nset [clone v] to [2]\nwait (0.01) seconds\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nset [clone v] to [3]\nwait (0.01) seconds\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nset [clone v] to [4]\nwait (0.01) seconds\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nset [clone v] to [5]\nhide\n\nwhen I start as a clone\nif <(clone) = [1]> then\n    set [ghost v] effect to (0)\n    show\n    go to x: (290) y: (0)\n    switch costume to (コスチューム7 v)\n    repeat (16)\n        change x by (-15)\n    end\n    start sound [Big Boing v]\n    repeat (10)\n        next costume\n    end\n    repeat (10)\n        switch costume to ((costume [number v]) - (1))\n    end\n    set [clone v] to [5]\n    wait (0.01) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(clone) = [5]> then\n    set size to (100) %\n    go to [front v] layer\n    show\n    set [ghost v] effect to (0)\n    switch costume to (コスチューム20 v)\n    point in direction (45)\n    go to x: (-95) y: (195)\n    repeat (15)\n        change y by (-10)\n    end\n    start sound [Crunch v]\n    set [p v] to [0]\n    repeat (9)\n        turn right (-3) degrees\n        change size by (1.5)\n        change y by (3)\n        change x by (-2)\n    end\n    repeat (6)\n        turn right (-3) degrees\n        change y by (2)\n        change size by (1.5)\n        change x by (-2)\n    end\n    repeat (3)\n        change size by (1.5)\n        turn right (-3) degrees\n        change y by (1)\n        change x by (-2)\n    end\n    repeat (3)\n        change size by (1.5)\n        turn right (-3) degrees\n        change y by (-2)\n        change x by (-2)\n    end\n    repeat (6)\n        change size by (1.5)\n        turn right (-3) degrees\n        change y by (-4)\n        change x by (-2)\n    end\n    repeat (47)\n        change size by (1.5)\n        turn right (-3) degrees\n        change y by (-6)\n        change x by (-2)\n    end\n    set [clone v] to [6]\n    create clone of (_myself_ v)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone) = [4]> then\n    set [ghost v] effect to (0)\n    show\n    go to x: (-100) y: (0)\n    switch costume to (コスチューム19 v)\nend\n\nwhen I start as a clone\nif <(clone) = [3]> then\n    set [ghost v] effect to (0)\n    show\n    go to x: (-100) y: (0)\n    switch costume to (コスチューム11 v)\n    forever\n        if <(p) = [0]> then\n            repeat until <(y position) < [-200]>\n                change y by (-10)\n            end\n            delete this clone\n        end\n    end\nend\n\nwhen I start as a clone\nif <(clone) = [2]> then\n    set [ghost v] effect to (0)\n    show\n    go to x: (-100) y: (0)\n    switch costume to (コスチューム6 v)\n    forever\n        if <(p) = [0]> then\n            repeat (34)\n                change x by (-2)\n            end\n            stop [this script v]\n        end\n    end\nend\n\nwhen I start as a clone\nif <(clone) = [6]> then\n    show\n    set size to (100) %\n    point in direction (90)\n    set [ghost v] effect to (100)\n    switch costume to (コスチューム21 v)\n    go to x: (-196) y: (0)\n    start sound [Connect v]\n    repeat (25)\n        change [ghost v] effect by (-4)\n    end\nend\n\nwhen I receive [project v]\nwait (7) seconds\nset [p v] to [2]\nshow\nswitch costume to (コスチューム22 v)\ngo to x: (0) y: (50)\nrepeat (20)\n    change size by (-1)\n    change y by (5)\nend\nbroadcast (project2 v)\n\nwhen I start as a clone\nforever\n    if <(p) = [2]> then\n        delete this clone\n    end\nend\n\nwhen I receive [game start v]\ngo to [back v] layer\n\nwhen I receive [game start3 v]\nforever\n    hide\n    if <(ステージ) = [10]> then\n        wait (1) seconds\n        go to [back v] layer\n        forever\n            switch costume to (コスチューム23 v)\n            show\n            if <(ステージ) = [11]> then\n                hide\n                stop [this script v]\n            end\n            set size to (80) %\n            go to x: (pick random (-240) to (240)) y: (-210)\n            repeat (56)\n                change y by (5)\n                turn right (10) degrees\n                if <(ステージ) = [11]> then\n                    hide\n                    stop [this script v]\n                end\n            end\n            broadcast (watermelon v)\n            hide\n            if <(ステージ) = [11]> then\n                hide\n                stop [this script v]\n            end\n            wait (pick random (2) to (4)) seconds\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [25]> then\n    set [clone v] to [10]\n    set [p v] to [10]\n    forever\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n    end\nend\n\nwhen I start as a clone\nif <(clone) = [10]> then\n    show\n    point in direction (90)\n    go to x: (279) y: (pick random (100) to (200))\n    switch costume to ((23) + (pick random (1) to (2)))\n    repeat until <(x position) < [-270]>\n        change x by (-5)\n        if <(ステージ) = [31]> then\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [26]> then\n    set [clone v] to [10]\n    set [p v] to [10]\n    forever\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    set [clone v] to [10]\n    set [p v] to [10]\n    forever\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [28]> then\n    set [clone v] to [10]\n    set [p v] to [10]\n    forever\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [29]> then\n    set [clone v] to [10]\n    set [p v] to [10]\n    forever\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [31]> then\n    stop [other scripts in sprite v]\nend\n\nwhen I receive [game start2 v]\nhide\n\n@スプライト4\n\nwhen I receive [project2 v]\nset [skin v] to [0]\nswitch costume to (コスチューム1 v)\nshow\nset size to (100) %\npoint in direction (90)\ngo to x: (320) y: (0)\nset [clone v] to [1]\ncreate clone of (_myself_ v)\nrepeat (16)\n    change x by (-20)\nend\nforever\n    set size to (100) %\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n        repeat (5)\n            turn right (1) degrees\n        end\n        wait (0.1) seconds\n        repeat (5)\n            turn left (1) degrees\n        end\n        wait (0.1) seconds\n    end\nend\n\nwhen I start as a clone\nif <(clone) = [1]> then\n    switch costume to (コスチューム2 v)\n    show\n    set size to (100) %\n    point in direction (90)\n    go to x: (320) y: (-100)\n    repeat (16)\n        change x by (-20)\n    end\n    forever\n        set size to (100) %\n        if <(clone) = [0]> then\n            delete this clone\n        end\n        if <touching (mouse-pointer v)?> then\n            set size to (110) %\n            repeat (5)\n                turn right (1) degrees\n            end\n            wait (0.1) seconds\n            repeat (5)\n                turn left (1) degrees\n            end\n            wait (0.1) seconds\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    broadcast (game start v)\nend\n\nwhen this sprite clicked\nif <(costume [number v]) = [2]> then\n    set [clone v] to [2]\n    broadcast (skin v)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(clone) = [2]> then\n    go to x: (-160) y: (-130)\n    point in direction (95)\n    switch costume to (コスチューム3 v)\n    go to [front v] layer\n    show\n    forever\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(costume [number v]) = [3]> then\n    set [skin v] to [0]\n    set [clone v] to [1]\n    broadcast (skin2 v)\nend\n\nwhen I start as a clone\nif <(clone) = [3]> then\n    go to x: (-160) y: (-130)\n    point in direction (95)\n    switch costume to (コスチューム3 v)\n    go to [front v] layer\n    show\n    forever\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\n\ndefine 取り消し (clone)\nif <(clone) = (clone)> then\n    stop [this script v]\nend\n\nwhen I receive [skin v]\nset [skin v] to [1]\nif <<(clear) = [0]> and <(clear!) = [0]>> then\n    clone [4]\n    clone [5]\n    clone [6]\n    clone [7]\n    clone [8]\n    clone [9]\n    clone [10]\n    clone [11]\n    clone [12]\n    clone [13]\n    clone [14]\n    clone [15]\n    stop [this script v]\nend\nif <<(clear) = [1]> and <(clear!) = [0]>> then\n    clone [4]\n    clone [5]\n    clone [6]\n    clone [7]\n    clone [8]\n    clone [9]\n    clone [10]\n    clone [11]\n    clone [12]\n    clone [13]\n    clone [14]\n    clone [15]\n    clone [16]\n    stop [this script v]\nend\nif <<(clear) = [0]> and <(clear!) = [1]>> then\n    clone [4]\n    clone [5]\n    clone [6]\n    clone [7]\n    clone [8]\n    clone [9]\n    clone [10]\n    clone [11]\n    clone [12]\n    clone [13]\n    clone [14]\n    clone [15]\n    clone [17]\n    stop [this script v]\nend\nif <<(clear) = [1]> and <(clear!) = [1]>> then\n    clone [4]\n    clone [5]\n    clone [6]\n    clone [7]\n    clone [8]\n    clone [9]\n    clone [10]\n    clone [11]\n    clone [12]\n    clone [13]\n    clone [14]\n    clone [15]\n    clone [16]\n    clone [17]\n    stop [this script v]\nend\n\ndefine clone (number)\nset [clone v] to (number)\ncreate clone of (_myself_ v)\n取り消し [1]\n\nwhen I start as a clone\nif <(clone) = [4]> then\n    set size to (100) %\n    point in direction (90)\n    go to x: (-180) y: (124)\n    show\n    go to [front v] layer\n    switch costume to (コスチューム4 v)\n    forever\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(clone) = [5]> then\n    set size to (100) %\n    point in direction (90)\n    go to x: (-88) y: (124)\n    show\n    go to [front v] layer\n    switch costume to (コスチューム8 v)\n    forever\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(clone) = [6]> then\n    set size to (100) %\n    point in direction (90)\n    go to x: (2) y: (124)\n    show\n    go to [front v] layer\n    switch costume to (コスチューム7 v)\n    forever\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(clone) = [7]> then\n    set size to (100) %\n    point in direction (90)\n    go to x: (92) y: (124)\n    show\n    go to [front v] layer\n    switch costume to (コスチューム6 v)\n    forever\n        set size to (100) %\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(clone) = [8]> then\n    go to x: (181) y: (124)\n    show\n    go to [front v] layer\n    switch costume to (コスチューム5 v)\n    point in direction (90)\n    forever\n        set size to (100) %\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(clone) = [9]> then\n    go to x: (-180) y: (36)\n    show\n    go to [front v] layer\n    switch costume to (コスチューム9 v)\n    point in direction (90)\n    forever\n        set size to (100) %\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(clone) = [10]> then\n    go to x: (-88) y: (36)\n    show\n    go to [front v] layer\n    switch costume to (コスチューム10 v)\n    point in direction (90)\n    forever\n        set size to (100) %\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(clone) = [11]> then\n    go to x: (2) y: (36)\n    show\n    go to [front v] layer\n    switch costume to (コスチューム11 v)\n    point in direction (90)\n    forever\n        set size to (100) %\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(clone) = [12]> then\n    go to x: (92) y: (36)\n    show\n    point in direction (90)\n    go to [front v] layer\n    switch costume to (コスチューム12 v)\n    forever\n        set size to (100) %\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(clone) = [13]> then\n    go to x: (181) y: (36)\n    show\n    go to [front v] layer\n    point in direction (90)\n    switch costume to (コスチューム13 v)\n    forever\n        set size to (100) %\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(clone) = [14]> then\n    point in direction (90)\n    go to x: (-180) y: (-51)\n    show\n    go to [front v] layer\n    switch costume to (コスチューム14 v)\n    forever\n        set size to (100) %\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(clone) = [15]> then\n    point in direction (90)\n    go to x: (-88) y: (-51)\n    show\n    go to [front v] layer\n    switch costume to (コスチューム15 v)\n    forever\n        set size to (100) %\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(clone) = [16]> then\n    point in direction (90)\n    go to x: (2) y: (-51)\n    show\n    go to [front v] layer\n    switch costume to (コスチューム16 v)\n    forever\n        set size to (100) %\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(clone) = [17]> then\n    point in direction (90)\n    go to x: (92) y: (-51)\n    show\n    go to [front v] layer\n    switch costume to (コスチューム17 v)\n    forever\n        set size to (100) %\n        if <(clone) = [1]> then\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [skin2 v]\nset [clone v] to [1]\n\nwhen this sprite clicked\nif <(clone) = [4]> then\n    set [色 v] to [1]\nend\nif <(clone) = [5]> then\n    set [色 v] to [2]\nend\nif <(clone) = [6]> then\n    set [色 v] to [3]\nend\nif <(clone) = [7]> then\n    set [色 v] to [4]\nend\nif <(clone) = [8]> then\n    set [色 v] to [5]\nend\nif <(clone) = [9]> then\n    set [色 v] to [6]\nend\nif <(clone) = [10]> then\n    set [色 v] to [7]\nend\nif <(clone) = [11]> then\n    set [色 v] to [8]\nend\nif <(clone) = [12]> then\n    set [スキン v] to [1]\nend\nif <(clone) = [13]> then\n    set [スキン v] to [2]\nend\nif <(clone) = [14]> then\n    set [スキン v] to [3]\nend\nif <(clone) = [15]> then\n    set [スキン v] to [0]\nend\nif <(clone) = [16]> then\n    set [スキン v] to [4]\nend\nif <(clone) = [17]> then\n    set [スキン v] to [5]\nend\n\nwhen I receive [game start2 v]\nset [clear v] to [0]\nhide\n\nwhen this sprite clicked\nstart sound [Coin v]\n\nwhen I start as a clone\nforever\n    if <(色) = ((costume [number v]) - (3))> then\n        set size to (115) %\n    else\n        if <(スキン) = ((costume [number v]) - (12))> then\n            set size to (115) %\n        else\n            set size to (100) %\n        end\n    end\nend\n\nwhen I receive [冷えピタ v]\nif <(skin) = [1]> then\n    clone [16]\nend\n\nwhen I receive [water melon v]\nif <(skin) = [1]> then\n    clone [17]\nend\n\n@地面\n\nwhen I receive [game start2 v]\nshow\nswitch costume to (コスチューム1 v)\nset [ステージ v] to [1]\nforever\n    switch costume to (ステージ)\n    if <(ステージ) = [15]> then\n        set size to (260) %\n    else\n        set size to (100) %\n    end\n    if <(ステージ) = [8]> then\n        set [brightness v] effect to (-50)\n    else\n        set [brightness v] effect to (0)\n    end\n    if <[1] = (12)> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\nforever\n    if <(ステージ) = [13]> then\n        set [12 v] to [0]\n    end\nend\n\n@針\n\nwhen I receive [game start3 v]\nshow\npoint in direction (90)\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nset [brightness v] effect to (0)\nforever\n    if <(ステージ) = [3]> then\n        switch costume to (コスチューム2 v)\n    end\n    if <(ステージ) = [4]> then\n        switch costume to (コスチューム1 v)\n    end\n    if <(ステージ) = [5]> then\n        switch costume to (コスチューム3 v)\n    end\n    if <(ステージ) = [6]> then\n        switch costume to (コスチューム1 v)\n    end\n    if <(ステージ) = [8]> then\n        set [brightness v] effect to (-70)\n        switch costume to (コスチューム4 v)\n        repeat until <(ステージ) = [9]>\n            repeat (25)\n                change x by (2)\n            end\n            repeat (25)\n                change x by (-2)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\nif <(ステージ) = [9]> then\n    stop [other scripts in sprite v]\n    switch costume to (コスチューム1 v)\n    set [brightness v] effect to (0)\n    go to x: (0) y: (0)\nend\nif <(ステージ) = [10]> then\n    stop [other scripts in sprite v]\n    switch costume to (コスチューム5 v)\n    repeat until <(ステージ) = [11]>\n        repeat (65)\n            change x by (-5)\n        end\n        repeat (65)\n            change x by (5)\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [13]> then\n    stop [other scripts in sprite v]\n    switch costume to (コスチューム9 v)\nend\nif <(ステージ) = [14]> then\n    stop [other scripts in sprite v]\n    switch costume to (コスチューム1 v)\nend\nif <(ステージ) = [15]> then\n    stop [other scripts in sprite v]\n    switch costume to (コスチューム10 v)\nend\nif <(ステージ) = [16]> then\n    stop [other scripts in sprite v]\n    switch costume to (コスチューム1 v)\nend\nif <(ステージ) = [17]> then\n    stop [other scripts in sprite v]\n    switch costume to (コスチューム11 v)\nend\nif <(ステージ) = [18]> then\n    stop [other scripts in sprite v]\n    switch costume to (コスチューム1 v)\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [11]> then\n    stop [other scripts in sprite v]\n    switch costume to (コスチューム6 v)\n    go to x: (0) y: (0)\nend\nif <(ステージ) = [12]> then\n    stop [other scripts in sprite v]\n    set [12 v] to [0]\n    forever\n        if <[1] = (12)> then\n            switch costume to (コスチューム8 v)\n            go to [back v] layer\n        else\n            go to [front v] layer\n            switch costume to (コスチューム7 v)\n        end\n    end\nend\n\nwhen I receive [雷 v]\nif <(ステージ) = [27]> then\n    set [clone v] to [1]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(clone) = [1]> then\n    switch costume to (コスチューム12 v)\n    show\n    go to x: (落雷) y: (0)\n    if <(ステージ) = [28]> then\n        delete this clone\n    end\n    wait (0.05) seconds\n    set [clone v] to [2]\n    create clone of (_myself_ v)\n    set [clone v] to [3]\n    create clone of (_myself_ v)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone) = [2]> then\n    switch costume to (コスチューム13 v)\n    show\n    go to [front v] layer\n    go to x: (落雷) y: (0)\n    repeat until <(x position) < [-200]>\n        change x by (-15)\n        if <(ステージ) = [28]> then\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone) = [3]> then\n    switch costume to (コスチューム14 v)\n    show\n    go to [front v] layer\n    go to x: (落雷) y: (0)\n    repeat until <[210] < (x position)>\n        change x by (15)\n        if <(ステージ) = [28]> then\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [28]> then\n    stop [other scripts in sprite v]\n    switch costume to (コスチューム15 v)\n    go to [front v] layer\n    go to x: (0) y: (0)\n    point in direction (-45)\n    forever\n        go to [front v] layer\n        move (5) steps\n        if on edge, bounce\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [29]> then\n    stop [other scripts in sprite v]\n    show\n    set [ghost v] effect to (0)\n    forever\n        show\n        point in direction <<(direction) = [-75]> or <(direction) = [-105]>>\n        go to x: (240) y: (0)\n        repeat until <(x position) < [-205]>\n            move (8) steps\n            if on edge, bounce\n        end\n        hide\n        wait (1) seconds\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [30]> then\n    hide\n    switch costume to (コスチューム16 v)\n    point in direction (90)\n    stop [other scripts in sprite v]\n    wait (3) seconds\n    go to x: (0) y: (0)\n    show\n    repeat (14)\n        change y by (-20)\n    end\nend\n\nwhen I receive [die v]\nif <(ステージ) = [30]> then\n    hide\n    go to x: (0) y: (345)\n    switch costume to (コスチューム16 v)\n    point in direction (90)\n    stop [other scripts in sprite v]\n    wait (3) seconds\n    show\n    repeat (14)\n        change y by (-20)\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [31]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\n@スプライト5\n\nwhen flag clicked\nhide\n\nwhen I receive [game start3 v]\nshow\nswitch costume to (コスチューム1 v)\ngo to x: (-59) y: (-128)\nforever\n    go to [front v] layer\n    if <(ステージ) = [2]> then\n        hide\n    end\n    if <(ステージ) = [3]> then\n        go to x: (-70) y: (-127)\n        show\n    end\n    if <(ステージ) = [4]> then\n        switch costume to (コスチューム2 v)\n        go to x: (152) y: (-96)\n    end\n    if <(ステージ) = [5]> then\n        hide\n    end\n    if <(ステージ) = [6]> then\n        show\n        go to x: (-80) y: (-134)\n        switch costume to (コスチューム3 v)\n    end\n    if <(ステージ) = [7]> then\n        show\n        go to x: (-130) y: (-134)\n        switch costume to (コスチューム1 v)\n    end\n    if <(ステージ) = [8]> then\n        hide\n    end\n    if <(ステージ) = [9]> then\n        show\n        go to x: (-130) y: (-134)\n        switch costume to (コスチューム13 v)\n    end\n    if <(ステージ) = [10]> then\n        hide\n    end\n    if <(ステージ) = [11]> then\n        switch costume to (コスチューム4 v)\n        show\n    end\n    if <(ステージ) = [12]> then\n        hide\n    end\n    if <(ステージ) = [13]> then\n        switch costume to (コスチューム5 v)\n        show\n    end\n    if <(ステージ) = [14]> then\n        hide\n    end\n    if <(ステージ) = [16]> then\n        switch costume to (コスチューム6 v)\n        show\n    end\n    if <(ステージ) = [17]> then\n        hide\n    end\n    if <(ステージ) = [18]> then\n        switch costume to (コスチューム14 v)\n        show\n    end\n    if <(ステージ) = [19]> then\n        hide\n    end\n    if <(ステージ) = [20]> then\n        show\n        switch costume to (コスチューム7 v)\n    end\n    if <(ステージ) = [21]> then\n        switch costume to (コスチューム8 v)\n    end\n    if <(ステージ) = [22]> then\n        hide\n    end\n    if <(ステージ) = [25]> then\n        show\n        switch costume to (コスチューム9 v)\n    end\n    if <(ステージ) = [26]> then\n        hide\n    end\n    if <(ステージ) = [27]> then\n        show\n        switch costume to (コスチューム10 v)\n    end\n    if <(ステージ) = [28]> then\n        show\n        switch costume to (コスチューム11 v)\n    end\n    if <(ステージ) = [29]> then\n        hide\n    end\n    if <(ステージ) = [30]> then\n        switch costume to (コスチューム12 v)\n        show\n    end\n    if <(ステージ) = [31]> then\n        hide\n    end\nend\n\nshow\n\n@ビーム\n\nwhen flag clicked\nset size to (.100) %\nhide\n\nwhen I receive [watermelon v]\nif <(ステージ) = [10]> then\n    set [clone v] to [1]\n    create clone of (_myself_ v)\n    set [clone v] to [2]\n    create clone of (_myself_ v)\n    set [clone v] to [3]\n    create clone of (_myself_ v)\n    set [clone v] to [4]\n    create clone of (_myself_ v)\n    set [clone v] to [5]\n    create clone of (_myself_ v)\n    set [clone v] to [6]\n    create clone of (_myself_ v)\n    set [clone v] to [7]\n    create clone of (_myself_ v)\n    set [clone v] to [8]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(ステージ) = [10]> then\n    go to [front v] layer\n    switch costume to (コスチューム1 v)\n    show\n    go to (スプライト3 v)\n    if <(clone) = [1]> then\n        point in direction (90)\n    end\n    if <(clone) = [2]> then\n        point in direction (135)\n    end\n    if <(clone) = [3]> then\n        point in direction (180)\n    end\n    if <(clone) = [4]> then\n        point in direction (-135)\n    end\n    if <(clone) = [5]> then\n        point in direction (-90)\n    end\n    if <(clone) = [6]> then\n        point in direction (-45)\n    end\n    if <(clone) = [7]> then\n        point in direction (0)\n    end\n    if <(clone) = [8]> then\n        point in direction (45)\n    end\n    repeat until <touching (_edge_ v)?>\n        move (5) steps\n        if <(ステージ) = [11]> then\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\nwhen I receive [ボタン v]\nif <(switch) = [2]> then\n    hide\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [10]> then\n    point in direction (90)\n    switch costume to (コスチューム3 v)\n    go to [back v] layer\n    go to x: (0) y: (0)\n    show\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [17]> then\n    go to [front v] layer\n    stop [other scripts in sprite v]\n    show\n    go to x: (0) y: (0)\n    switch costume to (コスチューム4 v)\n    wait until <[-190] < ([x position v] of [スプライト1 v])>\n    repeat (1)\n        change y by (-10)\n    end\n    repeat (2)\n        change y by (-11)\n    end\n    repeat (3)\n        change y by (-12)\n    end\n    repeat (4)\n        change y by (-13)\n    end\n    repeat (5)\n        change y by (-14)\n    end\nend\n\nwhen I receive [die v]\nif <(ステージ) = [17]> then\n    stop [other scripts in sprite v]\n    show\n    go to x: (0) y: (0)\n    switch costume to (コスチューム4 v)\n    wait until <[-190] < ([x position v] of [スプライト1 v])>\n    repeat (1)\n        change y by (-10)\n    end\n    repeat (2)\n        change y by (-11)\n    end\n    repeat (3)\n        change y by (-12)\n    end\n    repeat (4)\n        change y by (-13)\n    end\n    repeat (5)\n        change y by (-14)\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [18]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen I start as a clone\nif <(ステージ) = [20]> then\n    show\n    switch costume to (コスチューム2 v)\n    go to x: (247) y: (138)\n    glide (3) secs to x: (-247) y: (-184)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ステージ) = [20]> then\n    forever\n        turn left (4) degrees\n        if <(ステージ) = [21]> then\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [20]> then\n    forever\n        create clone of (_myself_ v)\n        wait (1.5) seconds\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [21]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [26]> then\n    forever\n        set [clone v] to [10]\n        create clone of (_myself_ v)\n        wait (2.9) seconds\n    end\nend\n\nwhen I receive [game start3 v]\nset size to (100) %\n\nwhen I start as a clone\nif <(clone) = [10]> then\n    set size to (140) %\n    show\n    switch costume to (コスチューム6 v)\n    point in direction (0)\n    go to x: (240) y: (-65)\n    forever\n        針　移動\n    end\nend\n\ndefine 針　移動\nrepeat (5)\n    turn left (10) degrees\n    turn left (0) degrees\n    wait (0.01) seconds\nend\nrepeat (2)\n    turn left (10) degrees\n    change y by (-3)\n    turn left (0) degrees\n    wait (0.01) seconds\nend\nrepeat (3)\n    turn left (10) degrees\n    change y by (-5)\n    wait (0.01) seconds\n    turn left (0) degrees\nend\nturn left (10) degrees\nchange y by (-3)\nturn left (0) degrees\nturn left (10) degrees\nchange y by (7)\nturn left (0) degrees\nturn left (10) degrees\nchange y by (4)\nturn left (0) degrees\nrepeat (2)\n    turn left (10) degrees\n    change y by (3)\n    turn left (0) degrees\nend\nturn left (10) degrees\nchange y by (4)\nturn left (0) degrees\nrepeat (2)\n    turn left (10) degrees\n    change y by (1)\n    turn left (0) degrees\nend\nrepeat (3)\n    turn left (10) degrees\n    change y by (-2)\n    turn left (0) degrees\nend\nrepeat (2)\n    turn left (10) degrees\n    change y by (-4)\n    turn left (0) degrees\nend\nrepeat (2)\n    turn left (10) degrees\n    change y by (-5)\nend\nturn left (10) degrees\nchange y by (3)\nturn left (0) degrees\nrepeat (2)\n    turn left (10) degrees\n    change y by (6)\n    turn left (0) degrees\nend\nrepeat (2)\n    turn left (10) degrees\n    change y by (3)\n    turn left (0) degrees\nend\nrepeat (2)\n    turn left (10) degrees\n    change y by (2)\n    turn left (0) degrees\nend\nturn left (10) degrees\nchange y by (1)\nturn left (0) degrees\nrepeat (3)\n    turn left (10) degrees\n    turn left (0) degrees\nend\nchange y by (-1)\n\nwhen I start as a clone\nif <(clone) = [10]> then\n    forever\n        change x by (-3)\n        if <(x position) < [-250]> then\n            delete this clone\n        end\n        if <(ステージ) = [27]> then\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [29]> then\n    set [ghost v] effect to (0)\n    forever\n        show\n        switch costume to (コスチューム7 v)\n        point in direction (pick random (-180) to (180))\n        go to x: (240) y: (pick random (-120) to (-140))\n        repeat until <(x position) < [-240]>\n            change x by (-10)\n        end\n        hide\n        wait (0.5) seconds\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [29]> then\n    forever\n        turn left (30) degrees\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [30]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [32]> then\n    forever\n        create clone of (_myself_ v)\n        wait (1.75) seconds\n    end\nend\n\nwhen I start as a clone\nif <(clone) = [100]> then\n    forever\n        change [針 y v] by (-1)\n        change y by (針 Y)\n        if <touching (バネ v)?> then\n            set [針 y v] to [23]\n        end\n    end\nend\n\nwhen I start as a clone\nif <(clone) = [100]> then\n    show\n    point in direction (90)\n    switch costume to (コスチューム8 v)\n    go to x: (250) y: (150)\n    repeat until <(x position) < [-240]>\n        change x by (-5)\n        if <(ステージ) = [33]> then\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [33]> then\n    stop [other scripts in sprite v]\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [31]> then\n    set [clone v] to [100]\nend\n\n@花火３\n\nwhen I receive [next stage v]\nif <(ステージ) = [30]> then\n    hide\n    stop [other scripts in sprite v]\nend\n\nwhen flag clicked\nforever\n    if <(ステージ) = [11]> then\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [game start3 v]\npoint in direction (90)\nforever\n    if <(ステージ) = [10]> then\n        wait (pick random (0.5) to (2)) seconds\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nif <(ステージ) = [10]> then\n    point in direction (90)\n    go to [back v] layer\n    show\n    set [ghost v] effect to (0)\n    switch costume to (illust2 v)\n    set size to (100) %\n    go to x: (pick random (-240) to (240)) y: (-210)\n    repeat (pick random (17) to (30))\n        change y by (10)\n        if <(ステージ) = [11]> then\n            delete this clone\n        end\n    end\n    repeat (5)\n        change y by (5)\n        change [ghost v] effect by (20)\n        if <(ステージ) = [11]> then\n            delete this clone\n        end\n    end\n    set [ghost v] effect to (0)\n    switch costume to (illust1835 v)\n    set size to (pick random (5) to (155)) %\n    repeat (9)\n        change size by (10)\n        if <(ステージ) = [11]> then\n            delete this clone\n        end\n    end\n    repeat (20)\n        change [ghost v] effect by (5)\n        change size by (1)\n        if <(ステージ) = [11]> then\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [19]> then\n    switch costume to (コスチューム1 v)\n    show\n    go to x: (200) y: (-140)\n    go to [back v] layer\n    wait until <[140] < ([x position v] of [スプライト1 v])>\n    wait until <([y position v] of [スプライト1 v]) < [10]>\n    repeat (7)\n        change y by (-10)\n    end\n    hide\nend\n\nwhen I receive [die v]\nif <(ステージ) = [19]> then\n    switch costume to (コスチューム1 v)\n    show\n    go to x: (200) y: (-140)\n    go to [back v] layer\n    wait until <[140] < ([x position v] of [スプライト1 v])>\n    wait until <([y position v] of [スプライト1 v]) < [10]>\n    repeat (6)\n        change y by (-15)\n    end\n    hide\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [20]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    wait (0.5) seconds\n    forever\n        create clone of (_myself_ v)\n        wait ((0.2) + (player x)) seconds\n    end\nend\n\nwhen I start as a clone\nif <(ステージ) = [27]> then\n    go to [back v] layer\n    show\n    point in direction (90)\n    set [ghost v] effect to (0)\n    switch costume to (コスチューム2 v)\n    set size to (100) %\n    go to x: (pick random (-240) to (240)) y: (-190)\n    repeat (10)\n        change y by (10)\n        if <(ステージ) = [28]> then\n            delete this clone\n        end\n    end\n    repeat (4)\n        turn right (5) degrees\n        if <(ステージ) = [28]> then\n            delete this clone\n        end\n    end\n    repeat (8)\n        turn right (-5) degrees\n        if <(ステージ) = [28]> then\n            delete this clone\n        end\n    end\n    repeat (8)\n        turn right (5) degrees\n        if <(ステージ) = [28]> then\n            delete this clone\n        end\n    end\n    repeat (4)\n        turn right (-5) degrees\n        if <(ステージ) = [28]> then\n            delete this clone\n        end\n    end\n    repeat (10)\n        change y by (-10)\n        if <(ステージ) = [28]> then\n            delete this clone\n        end\n    end\n    broadcast (雷 v)\n    set [落雷 v] to (x position)\n    delete this clone\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    forever\n        if <([x position v] of [スプライト1 v]) < [0]> then\n            set [player x v] to (((240) + (([x position v] of [スプライト1 v]) * (-1))) / (200))\n        end\n        if <[0] < ([x position v] of [スプライト1 v])> then\n            set [player x v] to (((240) - ([x position v] of [スプライト1 v])) / (100))\n        end\n        if <([x position v] of [スプライト1 v]) = [0]> then\n            set [player x v] to [240]\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [28]> then\n    stop [other scripts in sprite v]\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [29]> then\n    show\n    set [ghost v] effect to (100)\n    set [確率 v] to (pick random (1) to (6))\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [29]> then\n    show\n    forever\n        if <(確率) = [1]> then\n            set [ghost v] effect to (0)\n            go to x: (240) y: (pick random (180) to (-160))\n            set [brightness v] effect to (-20)\n            switch costume to (コスチューム3 v)\n            go to [back v] layer\n            repeat until <[-240] > (x position)>\n                turn left (15) degrees\n                change x by (-10)\n            end\n            set [ghost v] effect to (100)\n            set [確率 v] to (pick random (1) to (6))\n        end\n        if <(確率) = [2]> then\n            set [ghost v] effect to (0)\n            go to x: (240) y: (pick random (180) to (-160))\n            set [brightness v] effect to (-20)\n            switch costume to (コスチューム4 v)\n            go to [back v] layer\n            repeat until <[-240] > (x position)>\n                turn left (15) degrees\n                change x by (-20)\n            end\n            set [ghost v] effect to (100)\n            set [確率 v] to (pick random (1) to (6))\n        end\n        if <(確率) = [3]> then\n            set [ghost v] effect to (0)\n            go to x: (240) y: (pick random (180) to (-160))\n            set [brightness v] effect to (0)\n            switch costume to (コスチューム5 v)\n            go to [back v] layer\n            repeat until <[-240] > (x position)>\n                turn left (15) degrees\n                change x by (-30)\n            end\n            set [ghost v] effect to (100)\n            set [確率 v] to (pick random (1) to (6))\n        end\n        if <(確率) = [4]> then\n            set [ghost v] effect to (0)\n            go to x: (240) y: (pick random (180) to (-160))\n            set [brightness v] effect to (-20)\n            switch costume to (コスチューム6 v)\n            go to [back v] layer\n            repeat until <[-240] > (x position)>\n                turn left (15) degrees\n                change x by (-15)\n            end\n            set [ghost v] effect to (100)\n            set [確率 v] to (pick random (1) to (6))\n        end\n        if <(確率) = [5]> then\n            set [ghost v] effect to (0)\n            go to x: (240) y: (pick random (180) to (-160))\n            set [brightness v] effect to (-20)\n            switch costume to (コスチューム7 v)\n            go to [back v] layer\n            repeat until <[-240] > (x position)>\n                turn left (15) degrees\n                change x by (-25)\n            end\n            set [ghost v] effect to (100)\n            set [確率 v] to (pick random (1) to (6))\n        end\n        if <(確率) = [6]> then\n            set [ghost v] effect to (0)\n            go to x: (270) y: (pick random (180) to (-160))\n            set [brightness v] effect to (0)\n            switch costume to (コスチューム8 v)\n            go to [back v] layer\n            repeat until <[-270] > (x position)>\n                turn left (15) degrees\n                change x by (-35)\n            end\n            set [ghost v] effect to (100)\n            set [確率 v] to (pick random (1) to (6))\n        end\n    end\nend\n\nwhen I receive [game start3 v]\nset [brightness v] effect to (0)\n\n@花火１\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(ステージ) = [11]> then\n        stop [other scripts in sprite v]\n    end\n    if <(ステージ) = [12]> then\n        if <(12) = [1]> then\n            show\n            set size to (100) %\n            go to x: (0) y: (0)\n            set [brightness v] effect to (0)\n            set [ghost v] effect to (50)\n            switch costume to (コスチューム1 v)\n        else\n            set [brightness v] effect to (-30)\n            show\n            set [ghost v] effect to (0)\n            switch costume to (コスチューム2 v)\n        end\n    end\nend\n\nwhen I receive [game start3 v]\nforever\n    if <(ステージ) = [10]> then\n        create clone of (_myself_ v)\n        wait (pick random (0.01) to (1.5)) seconds\n    end\nend\n\nwhen I start as a clone\ngo to [back v] layer\nshow\nset [ghost v] effect to (0)\nswitch costume to (simple_fireworks2 v)\nset size to (100) %\ngo to x: (pick random (-200) to (200)) y: (-210)\nrepeat (23)\n    change y by (10)\n    if <(ステージ) = [11]> then\n        delete this clone\n    end\nend\nrepeat (5)\n    change y by (5)\n    change [ghost v] effect by (20)\n    if <(ステージ) = [11]> then\n        delete this clone\n    end\nend\nset [ghost v] effect to (0)\nswitch costume to (simple_fireworks02 v)\nset size to <<<(size) = [20]> or <(size) = [80]>> or <<(size) = [50]> or <(size) = [10]>>> %\nrepeat (9)\n    change size by (10)\n    if <(ステージ) = [11]> then\n        delete this clone\n    end\nend\nrepeat (20)\n    change [ghost v] effect by (5)\n    change size by (1)\n    if <(ステージ) = [11]> then\n        delete this clone\n    end\nend\ndelete this clone\n\nwhen I receive [next stage v]\nif <(ステージ) = [13]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen I receive [next stage v]\nif <<(ステージ) = [29]> or <(ステージ) = [27]>> then\n    go to [back v] layer\n    set [ghost v] effect to (0)\n    go to x: (0) y: (0)\n    switch costume to (コスチューム3 v)\n    show\n    forever\n        change x by (5)\n        wait (0.01) seconds\n        change y by (3)\n        wait (0.01) seconds\n        change x by (-5)\n        wait (0.01) seconds\n        change y by (-3)\n        wait (0.01) seconds\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [28]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [30]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\n@スイッチ\n\nwhen flag clicked\nset [switch v] to [0]\nhide\n\nwhen I receive [next stage v]\nif <(ステージ) = [10]> then\n    go to x: (54) y: (45)\n    set size to (50) %\n    show\n    switch costume to (コスチューム1 v)\nend\n\nwhen I receive [ボタン v]\nif <(switch) = [0]> then\n    go to x: (-129) y: (112)\n    set size to (50) %\n    show\n    switch costume to (コスチューム1 v)\nend\n\nwhen I receive [ボタン v]\nif <(switch) = [1]> then\n    go to x: (-8) y: (-99)\n    set size to (50) %\n    show\n    switch costume to (コスチューム1 v)\nend\n\nwhen I receive [ボタン v]\nif <(switch) = [2]> then\n    switch costume to (コスチューム2 v)\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [11]> then\n    hide\nend\n\nwhen I receive [next stage v]\nforever\n    if <(ステージ) = [12]> then\n        switch costume to (コスチューム3 v)\n        if <<(12) = [1]> and <(ステージ) = [12]>> then\n            set size to (100) %\n            show\n            go to [back v] layer\n            go to x: (0) y: (0)\n        else\n            hide\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [13]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [19]> then\n    stop [other scripts in sprite v]\n    show\n    go to x: (0) y: (0)\n    switch costume to (コスチューム4 v)\n    forever\n        if <[-90] < ([x position v] of [スプライト1 v])> then\n            if <touching (スプライト1 v)?> then\n                repeat (4)\n                    next costume\n                end\n                repeat (1)\n                    change y by (-13)\n                end\n                repeat (2)\n                    change y by (-14)\n                end\n                repeat (3)\n                    change y by (-15)\n                end\n                repeat (4)\n                    change y by (-16)\n                end\n                repeat (5)\n                    change y by (-17)\n                end\n                change y by (-18)\n                hide\n            end\n        end\n    end\nend\n\nwhen I receive [die v]\nif <(ステージ) = [19]> then\n    stop [other scripts in sprite v]\n    show\n    go to x: (0) y: (0)\n    switch costume to (コスチューム4 v)\n    forever\n        if <[-90] < ([x position v] of [スプライト1 v])> then\n            if <touching (スプライト1 v)?> then\n                repeat (4)\n                    next costume\n                end\n                repeat (1)\n                    change y by (-13)\n                end\n                repeat (2)\n                    change y by (-14)\n                end\n                repeat (3)\n                    change y by (-15)\n                end\n                repeat (4)\n                    change y by (-16)\n                end\n                repeat (5)\n                    change y by (-17)\n                end\n                change y by (-18)\n                hide\n            end\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [20]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\n@スプライト6\n\nwhen flag clicked\nhide\n\nwhen I receive [die v]\nif <(ステージ) = [12]> then\n    show\nend\n\nwhen I receive [game start3 v]\nforever\n    if <(ステージ) = [12]> then\n        if <[0] = (12)> then\n            go to x: (140) y: (75)\n            set size to (80) %\n            show\n            if <touching (スプライト1 v)?> then\n                set [warp v] to [1]\n                repeat (10)\n                    change size by (-5)\n                end\n                glide (1) secs to x: (-206) y: (77)\n                repeat (10)\n                    change size by (5)\n                end\n                set [warp v] to [0]\n                set [12 v] to [1]\n                hide\n            end\n        end\n    end\nend\n\nwhen I receive [next stage v]\nforever\n    if <(ステージ) = [13]> then\n        stop [other scripts in sprite v]\n        hide\n    end\nend\n\n@water\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\nif <(ステージ) = [15]> then\n    show\n    go to x: (0) y: (0)\n    forever\n        go to x: (0) y: (0)\n        switch costume to (コスチューム1 v)\n        wait (7) seconds\n        repeat (17)\n            change y by (25)\n        end\n        switch costume to (コスチューム2 v)\n        go to x: (0) y: (0)\n        wait (7) seconds\n        repeat (17)\n            change y by (25)\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [16]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\n@スプライト7\n\nwhen flag clicked\nhide\n\nwhen I receive [game start3 v]\nhide\n\nwhen I receive [ボタン v]\nif <(switch) = [0]> then\n    go to x: (-129) y: (112)\n    wait (0.03) seconds\n    set [switch v] to [1]\nend\n\nwhen I receive [game start3 v]\nforever\n    if <touching (スプライト1 v)?> then\n        broadcast (ボタン v)\n    end\nend\n\nwhen I receive [ボタン v]\nif <(switch) = [1]> then\n    go to x: (-8) y: (-99)\n    wait (0.03) seconds\n    set [switch v] to [2]\nend\n\nwhen I receive [ボタン v]\nif <(switch) = [2]> then\n    hide\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [10]> then\n    set [switch v] to [0]\n    go to x: (54) y: (45)\n    set size to (50) %\n    switch costume to (コスチューム1 v)\n    show\nend\n\n@スプライト10\n\nwhen I receive [next stage v]\nif <(ステージ) = [29]> then\n    show\n    forever\n        if <(確率) = [1]> then\n            set [ghost v] effect to (0)\n            go to x: (240) y: (pick random (180) to (-160))\n            set [brightness v] effect to (-20)\n            switch costume to (コスチューム1 v)\n            go to [back v] layer\n            repeat until <[-240] > (x position)>\n                turn left (15) degrees\n                change x by (-10)\n            end\n            set [ghost v] effect to (100)\n        end\n        if <(確率) = [2]> then\n            set [ghost v] effect to (0)\n            go to x: (240) y: (pick random (180) to (-160))\n            set [brightness v] effect to (-20)\n            switch costume to (コスチューム8 v)\n            go to [back v] layer\n            repeat until <[-240] > (x position)>\n                turn left (15) degrees\n                change x by (-20)\n            end\n            set [ghost v] effect to (100)\n        end\n        if <(確率) = [3]> then\n            set [ghost v] effect to (0)\n            go to x: (240) y: (pick random (180) to (-160))\n            set [brightness v] effect to (0)\n            switch costume to (コスチューム11 v)\n            go to [back v] layer\n            repeat until <[-240] > (x position)>\n                turn left (15) degrees\n                change x by (-30)\n            end\n            set [ghost v] effect to (100)\n        end\n        if <(確率) = [4]> then\n            set [ghost v] effect to (0)\n            go to x: (240) y: (pick random (180) to (-160))\n            set [brightness v] effect to (-20)\n            switch costume to (コスチューム4 v)\n            go to [back v] layer\n            repeat until <[-240] > (x position)>\n                turn left (15) degrees\n                change x by (-15)\n            end\n            set [ghost v] effect to (100)\n        end\n        if <(確率) = [5]> then\n            set [ghost v] effect to (0)\n            go to x: (240) y: (pick random (180) to (-160))\n            set [brightness v] effect to (-20)\n            switch costume to (コスチューム10 v)\n            go to [back v] layer\n            repeat until <[-240] > (x position)>\n                turn left (15) degrees\n                change x by (-25)\n            end\n            set [ghost v] effect to (100)\n        end\n        if <(確率) = [6]> then\n            set [ghost v] effect to (0)\n            go to x: (270) y: (pick random (180) to (-160))\n            set [brightness v] effect to (0)\n            switch costume to (コスチューム2 v)\n            go to [back v] layer\n            repeat until <[-270] > (x position)>\n                turn left (15) degrees\n                change x by (-35)\n            end\n            set [ghost v] effect to (100)\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\nif <(ステージ) = [30]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\n@スプライト8\n\nwhen I receive [game start3 v]\nforever\n    if <(スキン) = [0]> then\n        hide\n    end\n    if <(スキン) = [1]> then\n        show\n        switch costume to (コスチューム1 v)\n        go to [front v] layer\n        go to (スプライト1 v)\n    end\n    if <(スキン) = [2]> then\n        show\n        switch costume to (コスチューム2 v)\n        go to (スプライト1 v)\n        go to [front v] layer\n    end\nend\n\nwhen I receive [game start3 v]\nforever\n    if <key (down arrow v) pressed?> then\n        broadcast (しゃがみ v)\n    end\nend\n\nwhen I receive [しゃがみ v]\nif <(スキン) = [2]> then\n    show\n    switch costume to (コスチューム3 v)\nend\nif <(スキン) = [4]> then\n    show\n    switch costume to (コスチューム5 v)\nend\nif <(スキン) = [5]> then\n    show\n    switch costume to (コスチューム8 v)\nend\n\nwhen I receive [game start3 v]\nforever\n    if <(スキン) = [3]> then\n        show\n        switch costume to (コスチューム4 v)\n        go to (スプライト1 v)\n        go to [front v] layer\n    end\n    if <(スキン) = [4]> then\n        show\n        switch costume to (コスチューム6 v)\n        go to (スプライト1 v)\n    end\n    if <(スキン) = [5]> then\n        show\n        switch costume to (コスチューム7 v)\n        go to (スプライト1 v)\n        set [water melon v] to [1]\n    end\nend\n\nwhen flag clicked\nset [water melon v] to [0]\nhide\nforever\n    go to (スプライト1 v)\nend\n\nwhen I receive [game start3 v]\nforever\n    go to [front v] layer\n    if <[25] = ([size v] of [スプライト1 v])> then\n        set size to (50) %\n    else\n        set size to (100) %\n    end\n    if <(warp) = [1]> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [game start3 v]\nforever\n    go to [front v] layer\nend\n\nwhen I receive [game start3 v]\nforever\n    go to (スプライト1 v)\nend\n\nwhen I receive [next stage v]\nforever\n    go to (スプライト1 v)\nend\n\nwhen I receive [next stage v]\nforever\n    go to [front v] layer\nend\n\n@スプライト9\n\nwhen I receive [game start3 v]\nset [体温 v] to [500]\nshow\nswitch costume to (コスチューム7 v)\nset size to (50) %\nforever\n    if <[999] < (体温)> then\n        switch costume to (コスチューム1 v)\n    end\n    if <(体温) < [1]> then\n        switch costume to (コスチューム2 v)\n    end\nend\n\nwhen I receive [game start3 v]\nforever\n    if <(clear) = [0]> then\n        if <(clear!) = [1]> then\n            change [体温 v] by (1)\n            wait (0.07) seconds\n        else\n            change [体温 v] by (1)\n            wait (0.01) seconds\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\nif <(ステージ) = [31]> then\n    stop [other scripts in sprite v]\nend\n\nwhen flag clicked\nset [体温 v] to [500]\n\nwhen I receive [game start3 v]\nforever\n    if <(体温) = [0]> then\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen I receive [game start3 v]\nforever\n    switch costume to (letter (1) of (体温))\n    if <[100] > (体温)> then\n        switch costume to (コスチューム12 v)\n    end\nend\n\nwhen I receive [game start3 v]\nforever\n    if <[999] < (体温)> then\n        stop [other scripts in sprite v]\n    end\n    if <[1] > (体温)> then\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen I receive [game start3 v]\nif <(スキン) = [4]> then\n    set [clear v] to [1]\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [32]> then\n    forever\n        if <(clear) = [0]> then\n            if <(clear!) = [1]> then\n                change [体温 v] by (1)\n                wait (0.07) seconds\n            else\n                change [体温 v] by (1)\n                wait (0.01) seconds\n            end\n        end\n    end\nend\n\n@rainy\n\nwhen flag clicked\nset [clear v] to [0]\nset [clear! v] to [0]\nhide\n\nwhen I receive [next stage v]\nset [ghost v] effect to (100)\nforever\n    if <(ステージ) = [26]> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\ngo to [front v] layer\nset [ghost v] effect to (0)\nshow\ngo to x: (pick random (-220) to (300)) y: (200)\npoint in direction (-165)\nrepeat until <<(x position) < [-235]> or <(y position) < [-180]>>\n    move (20) steps\nend\ndelete this clone\n\nwhen I receive [next stage v]\nif <(ステージ) = [27]> then\n    stop [other scripts in sprite v]\n    set [ghost v] effect to (100)\n    forever\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [28]> then\n    stop [other scripts in sprite v]\n    set [ghost v] effect to (100)\n    forever\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [29]> then\n    stop [other scripts in sprite v]\n    set [ghost v] effect to (100)\n    forever\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [冷えピタ v]\nshow\nset size to (100) %\nswitch costume to (コスチューム2 v)\nset [ghost v] effect to (0)\npoint in direction (90)\ngo to x: (0) y: (0)\ngo to [front v] layer\nrepeat (30)\n    go to [front v] layer\n    change size by (0.5)\nend\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nswitch costume to (コスチューム1 v)\nhide\nset size to (100) %\n\nwhen I receive [project2 v]\nwait until <key (h v) pressed?>\nwait until <key (i v) pressed?>\nwait until <key (e v) pressed?>\nwait until <key (p v) pressed?>\nwait until <key (i v) pressed?>\nwait until <key (t v) pressed?>\nwait until <key (a v) pressed?>\nwait until <key (d v) pressed?>\nwait until <key (e v) pressed?>\nwait until <key (n v) pressed?>\nwait until <key (u v) pressed?>\nwait until <key (r v) pressed?>\nwait until <key (u v) pressed?>\nwait until <key (g v) pressed?>\nwait until <key (e v) pressed?>\nbroadcast (冷えピタ v)\nset [clear v] to [1]\n\nwhen I receive [project2 v]\nwait until <key (s v) pressed?>\nwait until <key (u v) pressed?>\nwait until <key (i v) pressed?>\nwait until <key (k v) pressed?>\nwait until <key (a v) pressed?>\nwait until <key (k v) pressed?>\nwait until <key (a v) pressed?>\nwait until <key (b v) pressed?>\nwait until <key (u v) pressed?>\nwait until <key (t v) pressed?>\nwait until <key (t v) pressed?>\nwait until <key (e v) pressed?>\nwait until <key (d v) pressed?>\nwait until <key (a v) pressed?>\nwait until <key (i v) pressed?>\nwait until <key (j v) pressed?>\nwait until <key (u v) pressed?>\nwait until <key (m v) pressed?>\nwait until <key (p v) pressed?>\nwait until <key (space v) pressed?>\nwait until <key (up arrow v) pressed?>\nbroadcast (water melon v)\nset [clear! v] to [1]\n\nwhen I receive [water melon v]\nshow\nset size to (100) %\nswitch costume to (コスチューム4 v)\nset [ghost v] effect to (0)\npoint in direction (90)\ngo to x: (0) y: (0)\ngo to [front v] layer\nrepeat (30)\n    go to [front v] layer\n    change size by (0.5)\nend\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nswitch costume to (コスチューム1 v)\nhide\nset size to (100) %\n\n@スプライト12\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\nif <(ステージ) = [4]> then\n    switch costume to (コスチューム1 v)\n    show\n    go to x: (0) y: (0)\n    set [ghost v] effect to (0)\n    forever\n        go to [back v] layer\n        repeat (25)\n            change [ghost v] effect by (4)\n        end\n        set [ghost v] effect to (100)\n        repeat (25)\n            change [ghost v] effect by (-4)\n        end\n        set [ghost v] effect to (0)\n    end\nend\nif <(ステージ) = [11]> then\n    go to [back v] layer\n    switch costume to (コスチューム2 v)\n    show\n    go to x: (0) y: (0)\n    set [ghost v] effect to (0)\n    forever\n        repeat (50)\n            change [ghost v] effect by (1)\n        end\n        set [ghost v] effect to (50)\n        repeat (50)\n            change [ghost v] effect by (-1)\n        end\n        set [ghost v] effect to (0)\n    end\nend\nif <(ステージ) = [16]> then\n    go to [back v] layer\n    switch costume to (コスチューム3 v)\n    show\n    go to x: (0) y: (-40)\n    set [ghost v] effect to (0)\n    repeat (42)\n        change x by (-5)\n    end\n    forever\n        switch costume to (コスチューム4 v)\n        repeat (84)\n            change x by (5)\n        end\n        switch costume to (コスチューム3 v)\n        repeat (84)\n            change x by (-5)\n        end\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [5]> then\n    hide\n    stop [other scripts in sprite v]\nend\nif <(ステージ) = [12]> then\n    hide\n    stop [other scripts in sprite v]\nend\nif <(ステージ) = [17]> then\n    hide\n    stop [other scripts in sprite v]\nend\n\n@スプライト11\n\nwhen I receive [game over v]\nshow\nset size to (100) %\ngo to [front v] layer\ngo to x: (0) y: (345)\ngo to [front v] layer\nglide (0.5) secs to x: (0) y: (0)\ngo to [front v] layer\nrepeat (7)\n    change size by (1)\nend\ngo to [front v] layer\nrepeat (7)\n    change size by (-1)\nend\ngo to [front v] layer\nstop [all v]\n\nwhen flag clicked\nset size to (100) %\nhide\n\n@バネ\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\ngo to [front v] layer\nshow\ngo to x: (250) y: (-93)\nswitch costume to (コスチューム12 v)\nforever\n    change x by (-5)\n    if <<touching (ビーム v)?> or <touching (platformer v)?>> then\n        repeat (10)\n            change x by (-5)\n            next costume\n            if <<(ステージ) = [33]> or <(x position) < [-240]>> then\n                delete this clone\n            end\n        end\n        switch costume to (コスチューム12 v)\n    end\n    if <<(ステージ) = [33]> or <(x position) < [-240]>> then\n        delete this clone\n    end\nend\n\nwhen I receive [next stage v]\nif <(ステージ) = [32]> then\n    forever\n        create clone of (_myself_ v)\n        wait (1.75) seconds\n    end\nend\n\n@スプライト13\n\nwhen I receive [game start3 v]\nforever\n    if <[799] < (体温)> then\n        show\n        set [ghost v] effect to (0)\n        wait (0.3) seconds\n        set [ghost v] effect to (100)\n        wait (0.3) seconds\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\n@Screenshot 2022-09-03 07\n\n