Platformer "star" 

Instructions: 日本語は下にあります。\n\n~Engrish~\nI made a serious work for the first time in a long time.\nThe theme is stars.\nPlease check in-game for the operation method.\nThere will be stages where you will definitely need that gimmick, so be sure to check it carefully.\n* If you get stuck on the wall or floor, you can return to the initial point with the D key.\n～日本語～\n久しぶりにまじめな作品を作ってみました。\n星がテーマです。\n操作方法についてはゲーム内で確認してください。\nそのギミックが必ず必要になるステージが出てくるのでしっかりと確認してください。\n※壁や床にはまってしまった場合、Dキーで初期地点に戻れます\n\n

@Stage\n\nwhen I receive [ステージゴール v]\nnext backdrop\n\nwhen I receive [bosss v]\nwait (2) seconds\nrepeat (3)\n    stop all sounds\n    wait (0) seconds\nend\nif <(れヴぇる」) = [3]> then\n    set [pitch v] effect to (50)\n    repeat (2)\n        play sound [アンパンマンのマーチ ラスボス風アレンジ復刻版 v] until done\n    end\nelse\n    repeat (2)\n        play sound [アンパンマンのマーチ ラスボス風アレンジ復刻版 v] until done\n    end\nend\n\nwhen I receive [倒した v]\nrepeat (3)\n    stop all sounds\n    wait (0) seconds\nend\nset volume to (80) %\nif <not <(れヴぇる」) = [3]>> then\n    repeat (3)\n        play sound [Vicetone  Tony Igy - Astronomia \(CHIBITERU Remix\) \(棺桶ダンス\) v] until done\n    end\nelse\n    repeat (3)\n        play sound [Vicetone  Tony Igy - Astronomia \(CHIBITERU Remix\) \(棺桶ダンス\) v] until done\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (intro v)\n\nwhen I receive [title v]\nswitch backdrop to (stars v)\nset volume to (100) %\nset [pitch v] effect to (1)\nwait (2) seconds\nrepeat (3)\n    play sound [Vicetone  Tony Igy - Astronomia \(CHIBITERU Remix\) \(棺桶ダンス\) v] until done\nend\n\nwhen I receive [title v]\nswitch backdrop to (たいとる v)\n\nwhen I receive [チャレンジ v]\nset [pitch v] effect to (50)\nrepeat (5)\n    play sound [Vicetone  Tony Igy - Astronomia \(CHIBITERU Remix\) \(棺桶ダンス\) v] until done\nend\n\n@飾り\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nset [変化確立 v] to (pick random (1) to (5))\nset [ghost v] effect to (100)\ngo to (random position v)\nset size to (pick random (300) to (500)) %\nif <(変化確立) = [1]> then\n    switch costume to <<(costume [number v]) = [2]> or <(costume [number v]) = [3]>>\nelse\n    switch costume to (コスチューム1 v)\nend\nrepeat (50)\n    go to [back v] layer\n    change [ghost v] effect by (-2)\nend\nrepeat (50)\n    go to [back v] layer\n    change [ghost v] effect by (2)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\nhide\n\nwhen I receive [title v]\nforever\n    wait (pick random (0.01) to (0.05)) seconds\n    create clone of (_myself_ v)\nend\n\nset [☁ world record v] to [200]\n\n@かざり2\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (0)\nrepeat (10)\n    go to [back v] layer\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\nwhen I receive [title v]\ngo to x: (207) y: (164)\nforever\n    wait (pick random (0.5) to (2.5)) seconds\n    show\n    go to (random position v)\n    set size to (300) %\n    repeat until <touching (_edge_ v)?>\n        broadcast (飾られた v)\n        create clone of (_myself_ v)\n        change x by (pick random (-5) to (-6))\n        change y by (pick random (-5) to (-6))\n    end\n    hide\nend\n\n@説明\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\npoint in direction (90)\nshow\ngo to x: (-110) y: (146)\nset [ghost v] effect to (100)\nrepeat (25)\n    change [ghost v] effect by (-4)\nend\n\nwhen I receive [ステージゴール v]\nif <not <[5] < (backdrop [number v])>> then\n    next costume\n    show\n    go to x: (-110) y: (146)\n    set [ghost v] effect to (100)\n    repeat (25)\n        change [ghost v] effect by (-4)\n    end\nelse\n    hide\nend\n\n\n\nwhen flag clicked\nset [説明の移動 v] to [1]\nforever\n    repeat (10)\n        change y by (([cos v] of (説明の移動) ) / (1.5))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [1 v]\nshow\nclear graphic effects\nforever\n    repeat (30)\n        change [pixelate v] effect by (1)\n    end\n    repeat (30)\n        change [pixelate v] effect by (-1)\n    end\n    wait (2) seconds\nend\n\nrepeat (10)\n    change y by (([cos v] of (説明の移動) ) / (1.5))\n    wait (0.05) seconds\nend\nwait (0.5) seconds\nrepeat (10)\n    change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n    wait (0.05) seconds\nend\nwait (0.5) seconds\n\n@you\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen I receive [ステージゴール v]\nset [ｙ v] to [-10]\nset [ｘ v] to [0]\nstart sound [Pew v]\ngo to x: (-181) y: (-62)\n\nwhen flag clicked\nhide\n\nwait (0.1) seconds\nwait (0.1) seconds\n\nwhen I receive [死 v]\nif <(aし) = [0]> then\n    set [ｙ v] to [-10]\n    set [ｘ v] to [0]\n    start sound [Zoop v]\n    switch costume to (cat-a2 v)\n    wait (0.01) seconds\nelse\n    switch costume to (cat-a3 v)\n    repeat (2)\n        wait (0.3) seconds\n        next costume\n    end\n    set rotation style [all around v]\n    point in direction (45)\n    wait (1) seconds\n    broadcast (si v)\nend\n\nwhen flag clicked\nset [しゃがんでる判定 v] to [0]\n\nswitch costume to (cat-a3 v)\n\nwhen flag clicked\nforever\n    set rotation style [left-right v]\nend\n\nwhen [d v] key pressed\nbroadcast (死 v)\nwait (5) seconds\n\nwhen flag clicked\n\nwhen I receive [死 v]\nwait (0) seconds\ngo to x: (-181) y: (-89)\n\nwhen I receive [1 v]\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (cat-a v)\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (cat-a6 v)\n        point in direction (-90)\n    end\n    if <key (down arrow v) pressed?> then\n        switch costume to (cat-a3 v)\n    else\n        switch costume to (cat-a v)\n    end\nend\n\nwhen I receive [1 v]\npoint in direction (90)\nset rotation style [left-right v]\nif <(れヴぇる」) = [3]> then\n    broadcast (チャレンジモーション v)\n    wait (3) seconds\nend\nshow\nclear graphic effects\ngo to x: (-181) y: (-62)\nset size to (60) %\nswitch costume to (cat-a v)\nset [ｙ v] to [0]\nset [ｘ v] to [0]\nset [ｇ v] to [0.5]\nset [死亡回数 v] to [0]\nforever\n    if <(変更) = [0]> then\n        change [ｙ v] by (-0.6)\n        set rotation style [left-right v]\n        if on edge, bounce\n        if <key (right arrow v) pressed?> then\n            point in direction (90)\n            change [ｘ v] by (1)\n        end\n        if <key (left arrow v) pressed?> then\n            point in direction (-90)\n            change [ｘ v] by (-1)\n        end\n        change x by (ｘ)\n        set [ｘ v] to ((ｘ) * (0.9))\n        if <touching color (#3c2f56)?> then\n            change y by (1)\n        end\n        if <touching color (#3c2f56)?> then\n            change y by (1)\n        end\n        if <touching color (#3c2f56)?> then\n            change y by (1)\n        end\n        if <touching color (#3c2f56)?> then\n            change y by (1)\n        end\n        if <touching color (#3c2f56)?> then\n            change x by ((ｘ) * (-1.1))\n            change y by (-4)\n            if <key (up arrow v) pressed?> then\n                set [ｙ v] to [10]\n                if <(ｘ) > [0]> then\n                    set [ｘ v] to [-15]\n                else\n                    set [ｘ v] to [10]\n                end\n            else\n                set [ｘ v] to [-1]\n            end\n        end\n        if <key (down arrow v) pressed?> then\n            start sound [Jump v]\n            switch costume to (cat-a2 v)\n            set [しゃがんでる判定 v] to [1]\n            change [ｙ v] by (-1)\n        else\n            set [しゃがんでる判定 v] to [0]\n        end\n        change y by (ｙ)\n        if <touching color (#3c2f56)?> then\n            change y by ((0) - (ｙ))\n            set [ｙ v] to [0]\n        end\n        change y by (-1)\n        if <<key (up arrow v) pressed?> and <touching color (#3c2f56)?>> then\n            start sound [Pluck v]\n            set [ｙ v] to [12]\n        end\n        change y by (1)\n    end\n    if <touching color (#005aff)?> then\n        broadcast (ステージゴール v)\n    end\n    if <<touching color (#ff0000)?> or <touching (gobo v)?>> then\n        broadcast (死 v)\n        wait (0.1) seconds\n    end\n    if <touching color (#00ff15)?> then\n        switch costume to (cat flying-b v)\n        start sound [Boing v]\n        set [ｙ v] to [19]\n    end\n    if <touching color (#dbff00)?> then\n        switch costume to (cat flying-a v)\n        start sound [キーン　 v]\n        set [ｘ v] to [50]\n    end\nend\n\nwhen I receive [1 v]\nforever\n    change [color v] effect by (0.1)\nend\n\nwhen I receive [1 v]\nforever\n    repeat (300)\n        change [brightness v] effect by (0.1)\n    end\n    repeat (300)\n        change [brightness v] effect by (-0.1)\n    end\nend\n\n@Gobo\n\nwhen flag clicked\nset [ご簿死亡処理 v] to [0]\nset [ご簿は死亡しましたか？ v] to [0]\nhide\nset size to (60) %\ngo to x: (-110) y: (146)\n\nwhen backdrop switches to [stars5 v]\nset [ご簿は死亡しましたか？ v] to [0]\ngo to x: (100) y: (-105)\nswitch costume to (gobo-a v)\nshow\nset rotation style [left-right v]\npoint in direction (-90)\nrepeat until <(ご簿は死亡しましたか？) = [1]>\n    repeat (100)\n        change x by (1)\n    end\n    point in direction (90)\n    repeat (100)\n        change x by (-1)\n    end\nend\n\nif <(ご簿死亡処理) = [0]> then\n\nswitch backdrop to (stars5 v)\n\nwhen backdrop switches to [stars7 v]\ngo to x: (150) y: (146)\nswitch costume to (gobo-a v)\nforever\n    if <touching (球 v)?> then\n        set [ご簿は死亡しましたか？ v] to [1]\n        start sound [se_enep01 v]\n        start sound [男性の悲鳴 v]\n        switch costume to (gobo-b v)\n        repeat (3)\n            next costume\n        end\n        start sound [Tada v]\n        set [ご簿死亡処理 v] to [1]\n        broadcast (はかい v)\n        hide\n        stop [this script v]\n    end\nend\n\nhide\nstop [this script v]\n\nwhen backdrop switches to [stars7 v]\nset [ご簿は死亡しましたか？ v] to [0]\nswitch costume to (gobo-a v)\nshow\nset rotation style [left-right v]\npoint in direction (-90)\nrepeat until <(ご簿は死亡しましたか？) = [1]>\n    repeat (100)\n        change x by (1)\n    end\n    point in direction (90)\n    repeat (100)\n        change x by (-1)\n    end\nend\n\ngo to x: (100) y: (-105)\n\nwhen backdrop switches to [stars5 v]\nwait until <touching (球 v)?>\nswitch costume to (gobo-a v)\nset [ご簿は死亡しましたか？ v] to [1]\nstart sound [se_enep01 v]\nstart sound [男性の悲鳴 v]\nswitch costume to (gobo-b v)\nrepeat (3)\n    next costume\nend\nstart sound [Tada v]\nset [ご簿死亡処理 v] to [1]\nbroadcast (はかい v)\nhide\nstop [this script v]\n\nrepeat until <(ご簿は死亡しましたか？) = [1]>\n    repeat (100)\n        change x by (1)\n    end\n    point in direction (90)\n    repeat (100)\n        change x by (-1)\n    end\nend\n\nwhen backdrop switches to [stars9 v]\ngo to x: (150) y: (0)\nswitch costume to (gobo-a v)\nforever\n    if <touching (球 v)?> then\n        set [ご簿は死亡しましたか？ v] to [1]\n        start sound [se_enep01 v]\n        start sound [男性の悲鳴 v]\n        switch costume to (gobo-b v)\n        repeat (3)\n            next costume\n        end\n        start sound [Tada v]\n        set [ご簿死亡処理 v] to [1]\n        broadcast (二重壁の一段目破壊 v)\n        hide\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [stars9 v]\nset [ご簿は死亡しましたか？ v] to [0]\nswitch costume to (gobo-a v)\nshow\nset rotation style [left-right v]\npoint in direction (-90)\nrepeat until <(ご簿は死亡しましたか？) = [1]>\n    repeat (100)\n        change y by (-2)\n    end\n    point in direction (90)\n    repeat (100)\n        change y by (2)\n    end\nend\nset [ご簿は死亡しましたか？ v] to [0]\n\nwhen backdrop switches to [stars16 v]\ngo to x: (150) y: (0)\nswitch costume to (gobo-a v)\nforever\n    if <touching (球 v)?> then\n        set [ご簿は死亡しましたか？ v] to [1]\n        start sound [se_enep01 v]\n        start sound [男性の悲鳴 v]\n        switch costume to (gobo-b v)\n        repeat (3)\n            next costume\n        end\n        start sound [Tada v]\n        set [ご簿死亡処理 v] to [1]\n        broadcast (二重壁の一段目破壊 v)\n        hide\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [stars16 v]\nset [ご簿は死亡しましたか？ v] to [0]\nswitch costume to (gobo-a v)\nshow\nset rotation style [left-right v]\npoint in direction (-90)\nrepeat until <(ご簿は死亡しましたか？) = [1]>\n    repeat (100)\n        change y by (-2)\n    end\n    point in direction (90)\n    repeat (100)\n        change y by (2)\n    end\nend\nset [ご簿は死亡しましたか？ v] to [0]\n\nwhen backdrop switches to [stars17 v]\ngo to x: (150) y: (117)\nswitch costume to (gobo-a v)\nforever\n    if <touching (球 v)?> then\n        set [ご簿は死亡しましたか？ v] to [1]\n        start sound [se_enep01 v]\n        start sound [男性の悲鳴 v]\n        switch costume to (gobo-b v)\n        repeat (3)\n            next costume\n        end\n        start sound [Tada v]\n        set [ご簿死亡処理 v] to [1]\n        broadcast (はかい v)\n        hide\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [stars17 v]\nset [ご簿は死亡しましたか？ v] to [0]\nswitch costume to (gobo-a v)\nshow\nset rotation style [left-right v]\npoint in direction (-90)\nrepeat until <(ご簿は死亡しましたか？) = [1]>\n    show\n    wait (1) seconds\n    hide\n    wait (1.5) seconds\nend\nset [ご簿は死亡しましたか？ v] to [0]\n\n@zyuu\n\nwhen flag clicked\ngo to [front v] layer\npoint in direction (90)\nclear graphic effects\nset size to (60) %\nhide\nforever\n    go to x: (([x position v] of [you v]) + (20)) y: ([y position v] of [you v])\n    if <([direction v] of [you v]) = [90]> then\n        go to x: (([x position v] of [you v]) + (20)) y: ([y position v] of [you v])\n        switch costume to (コスチューム8 v)\n    end\n    if <([direction v] of [you v]) = [-90]> then\n        go to x: (([x position v] of [you v]) + (-20)) y: ([y position v] of [you v])\n        switch costume to (コスチューム2 v)\n    end\nend\n\nwhen I receive [ポンプ v]\nwait (0.5) seconds\nstart sound [shotgun-pumpaction1 v]\nif <([direction v] of [you v]) = [90]> then\n    turn left (20) degrees\n    wait (0.2) seconds\n    turn right (20) degrees\nend\nif <([direction v] of [you v]) = [-90]> then\n    turn right (20) degrees\n    wait (0.2) seconds\n    turn left (20) degrees\nend\n\nturn left (15) degrees\n\nset rotation style [left-right v]\n\npoint in direction (-90)\n\npoint in direction (90)\n\n@球\n\nwhen flag clicked\nhide\nforever\n    if <key (space v) pressed?> then\n        if <(れヴぇる」) = [-1]> then\n            create clone of (_myself_ v)\n            if <([direction v] of [you v]) = [90]> then\n                change [ｘ v] by (-6)\n                change [ｙ v] by (5)\n            end\n            if <([direction v] of [you v]) = [-90]> then\n                change [ｘ v] by (6)\n                change [ｙ v] by (5)\n            end\n            wait (0.05) seconds\n        else\n            create clone of (_myself_ v)\n            if <([direction v] of [you v]) = [90]> then\n                change [ｘ v] by (-6)\n                change [ｙ v] by (5)\n            end\n            if <([direction v] of [you v]) = [-90]> then\n                change [ｘ v] by (6)\n                change [ｙ v] by (5)\n            end\n            wait (1) seconds\n        end\n    end\nend\n\nwhen I start as a clone\ngo to (zyuu v)\nstart sound [Pew v]\nset pen (transparency v) to (0)\nswitch costume to (コスチューム1 v)\nshow\nif <([direction v] of [you v]) = [90]> then\n    repeat until <<touching (gobo v)?> or <<touching (球の当たり判定 v)?> or <touching color (#3c2f56)?>>>\n        turn right (20) degrees\n        change x by (30)\n    end\n    wait (0.01) seconds\n    start sound [Cymbal v]\n    repeat (3)\n        next costume\n        wait (0.2) seconds\n    end\n    delete this clone\nend\nif <([direction v] of [you v]) = [-90]> then\n    repeat until <<touching (gobo v)?> or <<touching (球の当たり判定 v)?> or <touching color (#3c2f56)?>>>\n        change x by (-30)\n        turn left (20) degrees\n    end\n    start sound [Cymbal v]\n    repeat (3)\n        next costume\n        wait (0.1) seconds\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nwait (2) seconds\ndelete this clone\n\npen down\nset pen color to (#dcdcdc)\n\npen up\n\nchange pen (transparency v) by (5)\n\n@かざり3\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (0)\nrepeat (10)\n    go to [back v] layer\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\nwhen I receive [1 v]\ngo to x: (207) y: (164)\nforever\n    wait (pick random (0.5) to (2.5)) seconds\n    show\n    go to (random position v)\n    set size to (300) %\n    repeat until <touching (_edge_ v)?>\n        broadcast (飾られた v)\n        create clone of (_myself_ v)\n        change x by (pick random (-11) to (-12))\n        change y by (pick random (-7) to (-8))\n    end\n    hide\nend\n\n@かざり4\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (0)\nrepeat (10)\n    go to [back v] layer\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\nwhen I receive [1 v]\ngo to x: (207) y: (164)\nforever\n    wait (pick random (0.5) to (2.5)) seconds\n    show\n    go to (random position v)\n    set size to (300) %\n    repeat until <touching (_edge_ v)?>\n        broadcast (飾られた v)\n        create clone of (_myself_ v)\n        change x by (pick random (-3) to (-3))\n        change y by (pick random (-5) to (-6))\n    end\n    hide\nend\n\n@miss\n\nwhen flag clicked\nhide\n\nwhen I receive [死 v]\nif <(aし) = [0]> then\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to (you v)\nshow\nrepeat (20)\n    change y by (5)\nend\ndelete this clone\n\nset [color v] effect to (0)\n\nwhen I start as a clone\nshow\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@kabe\n\nwhen flag clicked\ngo to x: (198) y: (-109)\nhide\n\nwhen backdrop switches to [stars5 v]\nshow\n\nwhen I receive [はかい v]\nhide\n\nwhen backdrop switches to [stars7 v]\nshow\n\nstart sound [se_enep01 v]\nhide\n\nwhen backdrop switches to [stars17 v]\ngo to x: (211) y: (-20)\nshow\n\n@kabe2\n\nwhen flag clicked\ngo to x: (-216) y: (91)\nhide\n\nwhen backdrop switches to [stars9 v]\ngo to x: (-216) y: (91)\nshow\n\nwhen I receive [二重壁の一段目破壊 v]\nstart sound [se_enep01 v]\nhide\n\nwhen backdrop switches to [stars14 v]\nshow\n\nwhen I receive [はかい v]\nstart sound [se_enep01 v]\nhide\n\nwhen backdrop switches to [stars16 v]\ngo to x: (-216) y: (91)\nshow\n\n@ステージクリア\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [ステージゴール v]\nset size to (100) %\npoint in direction (90)\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (0)\nclear graphic effects\nshow\nwait (0.5) seconds\nrepeat (10)\n    change y by (3)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [倒した v]\nset size to (0) %\nswitch costume to (コスチューム2 v)\ngo to x: (0) y: (0)\nclear graphic effects\nshow\nrepeat (10)\n    turn left (60) degrees\n    change size by (10)\nend\nstart sound [スペルカード v]\nstart sound [でん!! v]\nstart sound [Tada v]\npoint in direction (90)\nwait (1.5) seconds\nrepeat (10)\n    change y by (3)\n    change [ghost v] effect by (10)\nend\nhide\n\n@kabe3\n\nwhen flag clicked\ngo to x: (-205) y: (59)\nhide\n\nwhen backdrop switches to [stars9 v]\nshow\n\nwhen I receive [二重壁の二段目破壊 v]\nstart sound [se_enep01 v]\nhide\n\nwhen backdrop switches to [stars16 v]\nshow\n\n@Gobo2\n\nwhen flag clicked\nset [ご簿死亡処理 v] to [0]\nset [ご簿は死亡しましたか？ v] to [0]\nhide\nset size to (60) %\ngo to x: (-110) y: (146)\n\nswitch backdrop to (stars5 v)\n\nhide\nstop [this script v]\n\nwhen backdrop switches to [stars9 v]\ngo to x: (150) y: (-10)\nswitch costume to (gobo-a v)\nforever\n    if <touching (球 v)?> then\n        set [ご簿は死亡しましたか？ v] to [1]\n        start sound [se_enep01 v]\n        start sound [男性の悲鳴 v]\n        switch costume to (gobo-b v)\n        repeat (3)\n            next costume\n        end\n        start sound [Tada v]\n        set [ご簿死亡処理 v] to [1]\n        broadcast (二重壁の二段目破壊 v)\n        hide\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [stars9 v]\nset [ご簿は死亡しましたか？ v] to [0]\nswitch costume to (gobo-a v)\nshow\nset rotation style [left-right v]\npoint in direction (-90)\nrepeat until <(ご簿は死亡しましたか？) = [1]>\n    repeat (100)\n        change y by (2)\n    end\n    point in direction (90)\n    repeat (100)\n        change y by (-2)\n    end\nend\nset [ご簿は死亡しましたか？ v] to [0]\n\nwhen backdrop switches to [stars14 v]\ngo to x: (216) y: (-6)\nswitch costume to (gobo-a v)\nforever\n    if <touching (球 v)?> then\n        set [ご簿は死亡しましたか？ v] to [1]\n        start sound [se_enep01 v]\n        start sound [男性の悲鳴 v]\n        switch costume to (gobo-b v)\n        repeat (3)\n            next costume\n        end\n        start sound [Tada v]\n        set [ご簿死亡処理 v] to [1]\n        broadcast (はかい v)\n        hide\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [stars14 v]\nset [ご簿は死亡しましたか？ v] to [0]\nswitch costume to (gobo-a v)\nshow\nset rotation style [left-right v]\npoint in direction (-90)\nrepeat until <(ご簿は死亡しましたか？) = [1]>\n    change y by (50)\n    wait (pick random (0.1) to (1)) seconds\n    change y by (-50)\n    wait (pick random (0.1) to (1)) seconds\nend\nset [ご簿は死亡しましたか？ v] to [0]\n\nrepeat (100)\npoint in direction (90)\n\nrepeat (100)\n\nwhen flag clicked\nforever\n    if <touching (you v)?> then\n        broadcast (死 v)\n    end\nend\n\nwhen backdrop switches to [stars16 v]\nset [ご簿は死亡しましたか？ v] to [0]\nswitch costume to (gobo-a v)\nshow\nset rotation style [left-right v]\npoint in direction (-90)\nrepeat until <(ご簿は死亡しましたか？) = [1]>\n    repeat (100)\n        change y by (2)\n    end\n    point in direction (90)\n    repeat (100)\n        change y by (-2)\n    end\nend\nset [ご簿は死亡しましたか？ v] to [0]\n\nwhen backdrop switches to [stars16 v]\ngo to x: (150) y: (-10)\nswitch costume to (gobo-a v)\nforever\n    if <touching (球 v)?> then\n        set [ご簿は死亡しましたか？ v] to [1]\n        start sound [se_enep01 v]\n        start sound [男性の悲鳴 v]\n        switch costume to (gobo-b v)\n        repeat (3)\n            next costume\n        end\n        start sound [Tada v]\n        set [ご簿死亡処理 v] to [1]\n        broadcast (二重壁の二段目破壊 v)\n        hide\n        stop [this script v]\n    end\nend\n\n@ボス\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen backdrop switches to [stars10 v]\ngo to x: (0) y: (0)\nset size to (100) %\nstart sound [雷魔法!!.mp3 v]\nbroadcast (bosss v)\nshow\nset [ghost v] effect to (0)\nrepeat (3)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\nbroadcast (体力ゲージの出現 v)\n\nset [ghost v] effect to (0)\n\nwhen I receive [体力ゲージの出現 v]\nrepeat (10)\n    turn right (60) degrees\n    change size by (-7)\nend\npoint in direction (90)\n\nwhen I receive [体力ゲージの出現 v]\nglide (0.5) secs to x: (-160) y: (144)\n\nwhen I receive [倒した v]\nhide\n\n@boss\n\nwhen flag clicked\nhide\nforever\n    if <touching (球 v)?> then\n        set [ボスの受けたダメージ v] to [1]\n        broadcast (ボスだ目地 v)\n        switch costume to (gobo-a2 v)\n        set [ghost v] effect to (50)\n        wait (1) seconds\n        switch costume to (gobo-a v)\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [bosss v]\nswitch costume to (gobo-a v)\ngo to x: (182) y: (-80)\nclear graphic effects\nshow\nwait (3) seconds\nforever\n    set [攻撃パターン v] to (pick random (1) to (2))\n    if <(攻撃パターン) = [1]> then\n        repeat (6)\n            broadcast (mini GO=BO boom v)\n            wait (1) seconds\n        end\n    end\n    if <(攻撃パターン) = [2]> then\n        repeat (5)\n            broadcast (爆弾発射 v)\n            wait (2) seconds\n        end\n    end\n    wait (1) seconds\nend\n\nwhen I receive [mini go=bo boom v]\npoint towards (you v)\nglide (1) secs to (random position v)\n\nwhen I receive [bosss v]\ngo to x: (182) y: (-80)\nshow\nwait (3) seconds\n\nwhen I receive [爆弾発射 v]\npoint towards (you v)\nglide (2) secs to (random position v)\n\nwhen I receive [倒した v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nclear graphic effects\nswitch costume to (コスチューム1 v)\nshow\nstop [other scripts in sprite v]\n\nwhen I receive [ステージゴール v]\nhide\n\nchange [攻撃パターン v] by (1)\n\n@スプライト1\n\nwhen flag clicked\nhide\ngo to x: (29) y: (147)\n\nwhen I receive [体力ゲージの出現 v]\nswitch costume to (コスチューム1 v)\nshow\nset [ghost v] effect to (100)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nclear graphic effects\n\nwhen I receive [ボスだ目地 v]\nrepeat (ボスの受けたダメージ)\n    next costume\nend\nif <(costume [number v]) = [10]> then\n    hide\n    broadcast (倒した v)\nend\n\nwhen I receive [倒した v]\nhide\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n@スプライト2\n\nwhen flag clicked\nhide\n\nwhen I receive [体力ゲージの出現 v]\ngo to x: (-8) y: (141)\ngo to [back v] layer\nset [ghost v] effect to (100)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nclear graphic effects\n\nwhen I receive [倒した v]\nhide\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n@スプライト3\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [mini go=bo boom v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nswitch costume to (コスチューム1 v)\nstart sound [Boom Cloud v]\ngo to (boss v)\nshow\npoint in direction (0)\npoint towards (you v)\nrepeat (5)\n    move (30) steps\nend\nstart sound [Cymbal Crash v]\nrepeat (3)\n    next costume\n    wait (0.1) seconds\nend\ndelete this clone\n\nrepeat (5)\n    change y by (10)\nend\n\n@BOOM2\n\nwhen flag clicked\nforever\n    set volume to (音量) %\nend\n\nwhen flag clicked\nswitch costume to (explode-05-june\[2 v)\nset [color v] effect to (150)\nshow\nhide\n\nforever\n\nsay [ん？]\n\nswitch costume to (cat1-a v)\n\nstart sound [gong v]\n\nchange [color v] effect by (-25)\n\nchange [color v] effect by (25)\n\nshow\nforever\n\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\npoint towards (you v)\nset size to (50) %\nswitch costume to (コスチューム1 v)\nshow\nrepeat until <<touching (you v)?> or <<touching color (#3c2f56)?> or <touching (_edge_ v)?>>>\n    move (5) steps\n    a\n    move (5) steps\n    a\n    move (5) steps\n    a\n    move (5) steps\n    a\n    switch costume to (コスチューム2 v)\nend\nclear graphic effects\nshow\nstart sound [bomb2.mp3 v]\nrepeat (25)\n    next costume\n    if <touching (you v)?> then\n        broadcast (死 v)\n        wait (0.1) seconds\n    end\nend\nhide\ndelete this clone\n\nwait (0.1) seconds\nsay []\nhide\nstop all sounds\nhide\n\nwhen I start as a clone\nforever\n\nwhen I receive [爆弾発射 v]\ngo to (boss v)\ncreate clone of (_myself_ v)\nwait (0.1) seconds\n\nwhen I receive [倒した v]\nhide\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n@ニューレコード！\n\nwhen flag clicked\nset size to (100) %\npoint in direction (90)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [ニューレコード！ v]\nset size to (0) %\nshow\nrepeat (10)\n    change size by (10)\n    turn right (60) degrees\nend\npoint in direction (90)\nrepeat (3)\n    stop all sounds\n    wait (0) seconds\nend\nplay sound [魔王魂 効果音 ジングル13 v] until done\nrepeat (10)\n    play sound [MEGALOVANIA \(Camellia Remix\) v] until done\nend\n\n@taitoru\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\n\n@tougarashi1\n\nwhen flag clicked\nset [color v] effect to (0)\nset size to (100) %\ngo to x: (300) y: (0)\npoint in direction (90)\nswitch costume to (コスチューム1 v)\nset [動く料 v] to [0]\nhide\nwait (1) seconds\nshow\nrepeat (10)\n    change x by (-30)\n    turn right (55.5555) degrees\nend\npoint in direction (90)\nstart sound [でん!! v]\nset size to (200) %\nrepeat (50)\n    change [color v] effect by (1)\n    turn right ([cos v] of ((timer) * (400)) ) degrees\n    change y by ([cos v] of ((timer) * (200)) )\n    change size by (-2)\nend\npoint in direction (90)\nbroadcast (いぇｐ v)\nset [動く料 v] to [10]\nturn right (15) degrees\nrepeat (10)\n    change y by (() - (動く料))\nend\nwait (0.3) seconds\nrepeat (20)\n    change y by (() + (動く料))\nend\nhide\nwait (1) seconds\nbroadcast (title v)\n\nwhen I receive [いぇｐ v]\nrepeat (10)\n    change [動く料 v] by (-1.1)\nend\nwait (0.3) seconds\nrepeat (20)\n    change [動く料 v] by (2)\nend\nwait (0.3) seconds\n\n@スプライト4\n\nwhen I receive [title v]\nshow\ngo to [front v] layer\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\n\nwhen flag clicked\nclear graphic effects\nhide\n\n@>>>\n\nwhen I receive [title v]\nswitch costume to (コスチューム1 v)\nwait (2.5) seconds\ngo to x: (-214) y: (124)\nstart sound [Zoop v]\nshow\nset [動く料 v] to [16]\nrepeat (10)\n    change x by (動く料)\n    change [動く料 v] by (-2)\nend\nset [わけわかめなへんすう v] to [1]\ncreate clone of (_myself_ v)\nbroadcast (! v)\nwait until <(わけわかめなへんすう) = [0]>\nrepeat (20)\n    change x by (-3)\n    change [ghost v] effect by (5)\nend\nhide\nclear graphic effects\n\nwhen flag clicked\nhide variable [☁ world record v]\nhide variable [time v]\nclear graphic effects\ngo to x: (-214) y: (124)\nhide\n\nwhen I start as a clone\nswitch costume to (コスチューム2 v)\nset y to (74)\nstart sound [Zoop v]\nset [ugokuryou v] to [16]\nrepeat (10)\n    change x by (ugokuryou)\n    change [ugokuryou v] by (-2)\nend\nrepeat until <(わけわかめなへんすう) = [0]>\n    repeat (10)\n        change y by (([cos v] of (説明の移動) ) / (1.5))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\nend\nwait until <(わけわかめなへんすう) = [0]>\nwait (0.5) seconds\nrepeat (20)\n    change x by (-3)\n    change [ghost v] effect by (5)\nend\nchange [ghost v] effect by (5)\nhide\nclear graphic effects\n\nwhen I start as a clone\nrepeat until <(わけわかめなへんすう) = [0]>\n    repeat (10)\n        change y by (([cos v] of (説明の移動) ) / (1.5))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\nend\n\nwhen I receive [title v]\nrepeat until <(わけわかめなへんすう) = [0]>\n    repeat (10)\n        change y by (([cos v] of (説明の移動) ) / (1.5))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\nend\nrepeat (20)\n    change x by (-3)\n    change [ghost v] effect by (5)\nend\nhide\nclear graphic effects\n\nwhen I receive [! v]\nrepeat until <(わけわかめなへんすう) = [0]>\n    repeat (10)\n        change y by (([cos v] of (説明の移動) ) / (1.5))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\nend\n\nwhen I start as a clone\nwait until <(わけわかめなへんすう) = [0]>\nrepeat (20)\n    change x by (-3)\n    change [ghost v] effect by (5)\nend\nhide\nclear graphic effects\n\n@かざりGobo3\n\nwhen flag clicked\ngo to x: (208) y: (120)\npoint in direction (45)\nhide\n\nwhen I receive [title v]\nwait (3) seconds\nclear graphic effects\nshow\nrepeat (5)\n    move (-25) steps\nend\nrepeat until <(わけわかめなへんすう) = [0]>\n    repeat (10)\n        change y by (([cos v] of (説明の移動) ) / (1.5))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\nend\nrepeat (20)\n    change x by (5)\n    change [ghost v] effect by (2)\nend\nhide\n\nwhen I receive [! v]\nwait until <(わけわかめなへんすう) = [0]>\nrepeat (20)\n    change x by (5)\n    change [ghost v] effect by (2)\nend\nhide\n\n@Star\n\nwhen I receive [title v]\nwait (3) seconds\nshow\nrepeat (5)\n    move (25) steps\nend\nrepeat until <(わけわかめなへんすう) = [0]>\n    turn right (4) degrees\nend\n\nwhen flag clicked\ngo to x: (208) y: (120)\npoint in direction (-105)\nhide\n\nwhen I receive [title v]\nwait (3.2) seconds\nshow\nclear graphic effects\nstart sound [collect v]\nrepeat until <(わけわかめなへんすう) = [0]>\n    repeat (10)\n        change y by (([cos v] of (説明の移動) ) / (1.5))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\nend\nrepeat (20)\n    change x by (5)\n    change [ghost v] effect by (2)\nend\nhide\n\nwhen I receive [! v]\nwait until <(わけわかめなへんすう) = [0]>\nrepeat (20)\n    change x by (5)\n    change [ghost v] effect by (2)\nend\nhide\n\n@play\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (-154) y: (-47)\nhide\nclear graphic effects\n\nwhen I receive [title v]\nwait (3.5) seconds\nshow\nset [ghost v] effect to (100)\nset size to (100) %\nrepeat (25)\n    change [ghost v] effect by (-4)\nend\nrepeat until <(わけわかめなへんすう) = [0]>\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (4))\n        if <mouse down?> then\n            start sound [Rip v]\n            set [わけわかめなへんすう v] to [0]\n            set [動く料 v] to [24]\n            repeat (5)\n                turn left (5) degrees\n            end\n            repeat (10)\n                change x by (() - (動く料))\n                change [動く料 v] by (-2)\n            end\n            hide\n            broadcast (？ v)\n        end\n    else\n        change size by (((100) - (size)) / (4))\n    end\nend\n\nwhen I receive [! v]\nrepeat until <(わけわかめなへんすう) = [0]>\n    repeat (10)\n        change y by (([cos v] of (説明の移動) ) / (1.5))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\nend\n\n@ふつう\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (-14) y: (-47)\nhide\nclear graphic effects\n\nwhen I receive [？ v]\nwait (1) seconds\nset [せんたくされた v] to [1]\nshow\nset [ghost v] effect to (100)\nrepeat (25)\n    change [ghost v] effect by (-4)\nend\nrepeat until <(せんたくされた) = [0]>\n    if <touching (mouse-pointer v)?> then\n        say [Normal difficulty. First from here.普通の難易度。まずはここから。]\n        change size by (((120) - (size)) / (4))\n        if <mouse down?> then\n            start sound [Rip v]\n            set [わけわかめなへんすう v] to [0]\n            set [れヴぇる」 v] to [1]\n            set [せんたくされた v] to [0]\n            broadcast (きまった v)\n            set [動く料 v] to [24]\n            repeat (10)\n                change [ghost v] effect by (5)\n                change x by (-10)\n            end\n            hide\n            wait (0.5) seconds\n            broadcast (1 v)\n        end\n    else\n        change size by (((100) - (size)) / (4))\n        say []\n    end\nend\n\nset [動く料 v] to [32]\nrepeat (10)\n    change x by (動く料)\n    change [動く料 v] by (-3.4)\nend\n\nrepeat (5)\n    turn left (5) degrees\nend\nwait (0.3) seconds\n\nwhen I receive [動く v]\nbroadcast (うごく27 v)\n\nwhen I receive [きまった v]\nif <not <(れヴぇる」) = [1]>> then\n    repeat (25)\n        change [ghost v] effect by (4)\n    end\n    hide\n    clear graphic effects\nend\n\nif <not <(れヴぇる」) = [1]>> then\n\nwhen I receive [うごく27 v]\nrepeat until <(せんたくされた) = [0]>\n    repeat (10)\n        change y by (([cos v] of (説明の移動) ) / (1.5))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\nend\n\nbroadcast (うごく27 v)\n\n@play2\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (-154) y: (-100)\nhide\nclear graphic effects\n\nwhen I receive [title v]\nwait (3.5) seconds\nshow\nset [ghost v] effect to (100)\nrepeat (25)\n    change [ghost v] effect by (-4)\nend\nrepeat until <(わけわかめなへんすう) = [0]>\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (4))\n        say (☁ World record)\n    else\n        change size by (((100) - (size)) / (4))\n        say []\n    end\nend\n\nwhen I receive [! v]\nrepeat until <(わけわかめなへんすう) = [0]>\n    repeat (10)\n        change y by (([cos v] of (説明の移動) ) / (1.5))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\nend\n\nwhen I receive [？ v]\nrepeat (20)\n    change x by (-3)\n    change [ghost v] effect by (5)\nend\nhide\nclear graphic effects\n\nwhen I receive [! v]\nwait until <(わけわかめなへんすう) = [0]>\nrepeat (20)\n    change x by (-3)\n    change [ghost v] effect by (5)\nend\nhide\nclear graphic effects\n\nwhen backdrop switches to [stars18 v]\nshow variable [time v]\nshow variable [☁ world record v]\nif <not <(れヴぇる」) = [-1]>> then\n    if <(TIME) < (☁ World record)> then\n        if <not <(TIME) = [0]>> then\n            set [☁ world record v] to (TIME)\n            broadcast (ニューレコード！ v)\n        end\n    end\n    if <(れヴぇる」) = [3]> then\n        if <(TIME) < (☁ World record)> then\n            broadcast (ニューレコード！ v)\n            set [☁ world record v] to ((☁ World record) - (Time limit))\n        end\n    end\nend\n\nwhen I receive [1 v]\nswitch backdrop to (stars v)\nset volume to (80) %\nset [pitch v] effect to (1)\nif <(れヴぇる」) = [3]> then\n    broadcast (チャレンジ v)\n    set [time limit v] to (☁ World record)\n    show variable [time limit v]\n    repeat (3)\n        stop all sounds\n        wait (0) seconds\n    end\nend\n\nwhen I receive [チャレンジモーション v]\nwait (3) seconds\nrepeat until <<(Time limit) = [0]> or <(backdrop [number v]) = [19]>>\n    change [time limit v] by (-1)\n    wait (1) seconds\n    if <(Time limit) = [0]> then\n        broadcast (si\(limit\) v)\n    end\nend\n\nwhen flag clicked\nhide variable [time limit v]\nhide variable [☁ world record v]\nhide variable [time v]\nset [time v] to [0]\nif <not <(れヴぇる」) = [3]>> then\n    repeat until <(backdrop [number v]) = [19]>\n        wait (1) seconds\n        change [time v] by (1)\n    end\nelse\n    wait (3) seconds\n    repeat until <(backdrop [number v]) = [19]>\n        wait (1) seconds\n        change [time v] by (1)\n    end\nend\nchange size by (((120) - (size)) / (4))\n\nset [☁ world record v] to [102]\n\n@スプライト5\n\nwhen flag clicked\ngo to x: (1) y: (101)\nclear graphic effects\nhide\n\nwhen I receive [？ v]\nswitch backdrop to (たいとる v)\nhide variable [☁ world record v]\nhide variable [time v]\nwait (1) seconds\nset [ghost v] effect to (100)\nshow\nrepeat (25)\n    change [ghost v] effect by (-4)\nend\n\nwhen I receive [動く v]\nset [せんたくされた v] to [1]\nrepeat until <(せんたくされた) = [0]>\n    repeat (10)\n        change y by (([cos v] of (説明の移動) ) / (1.5))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\nend\n\nwhen I receive [きまった v]\nrepeat (25)\n    change [ghost v] effect by (4)\nend\nhide\nclear graphic effects\n\n@むずい\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (144) y: (-47)\nhide\nclear graphic effects\n\nwhen I receive [？ v]\nbroadcast (動く v)\nwait (1) seconds\nset [れヴぇる」 v] to [0]\nset [せんたくされた v] to [1]\nshow\nset [ghost v] effect to (100)\nrepeat (25)\n    change [ghost v] effect by (-4)\nend\nrepeat until <(せんたくされた) = [0]>\n    if <touching (mouse-pointer v)?> then\n        say [Difficult difficulty. The game is over when you die 20 times.難しい難易度。20回死亡したらゲームオーバー。]\n        change size by (((120) - (size)) / (4))\n        if <mouse down?> then\n            start sound [Rip v]\n            broadcast (きまった v)\n            set [わけわかめなへんすう v] to [0]\n            set [せんたくされた v] to [0]\n            repeat (10)\n                change [ghost v] effect by (5)\n                change x by (-10)\n            end\n            hide\n            wait (0.5) seconds\n            set [れヴぇる」 v] to [2]\n            broadcast (1 v)\n        end\n    else\n        change size by (((100) - (size)) / (4))\n        say []\n    end\nend\n\nset [動く料 v] to [32]\nrepeat (10)\n    change x by (動く料)\n    change [動く料 v] by (-3.4)\nend\n\nwhen I receive [うごく27 v]\nrepeat until <(せんたくされた) = [0]>\n    repeat (10)\n        change y by (([cos v] of (説明の移動) ) / (1.5))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\nend\n\nwhen I receive [きまった v]\nif <not <(れヴぇる」) = [2]>> then\n    repeat (25)\n        change [ghost v] effect by (4)\n    end\n    hide\n    clear graphic effects\nend\n\n@残り体力\n\nwhen flag clicked\nset [aし v] to [0]\ngo to x: (188) y: (-163)\nswitch costume to (20 v)\nhide\n\nwhen I receive [死 v]\nclear graphic effects\nif <(れヴぇる」) = [2]> then\n    next costume\n    set [brightness v] effect to (80)\n    if <(costume [number v]) = [21]> then\n        set [aし v] to [1]\n        broadcast (lose v)\n        hide\n    end\n    wait (0.1) seconds\n    set [brightness v] effect to (0)\nend\nif <<(costume [number v]) = [11]> or <(？？？) = [1]>> then\n    if <(？？？) = [0]> then\n        set [？？？ v] to [1]\n    end\n    repeat until <(costume [number v]) = [16]>\n        repeat (25)\n            change [ghost v] effect by (4)\n        end\n        repeat (25)\n            change [ghost v] effect by (-4)\n        end\n    end\nend\nif <<(costume [number v]) = [16]> or <(？？？) = [2]>> then\n    start sound [Alert v]\n    if <(？？？) = [1]> then\n        set [？？？ v] to [2]\n    end\n    repeat until <(costume [number v]) = [20]>\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\nend\nif <(costume [number v]) = [20]> then\n    start sound [Alert v]\n    repeat until <(costume [number v]) = [21]>\n        repeat (5)\n            change [ghost v] effect by (20)\n        end\n        repeat (5)\n            change [ghost v] effect by (-20)\n        end\n    end\nend\n\nwhen I receive [1 v]\nforever\n    if <(れヴぇる」) = [2]> then\n        show\n        repeat (10)\n            change y by (([cos v] of (説明の移動) ) / (1.5))\n            wait (0.05) seconds\n        end\n        wait (0.5) seconds\n        repeat (10)\n            change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n            wait (0.05) seconds\n        end\n        wait (0.5) seconds\n    end\nend\n\nwhen I receive [1 v]\nset [？？？ v] to [0]\nset [透明度 v] to [0]\nforever\n    if <touching (you v)?> then\n        go to [back v] layer\n    else\n        go to [front v] layer\n    end\nend\n\nif <(？？？) = [1]> then\n    set [？？？ v] to [2]\nend\n\nwhen I receive [lose v]\nforever\n    hide\nend\n\n@スプライト6\n\nwhen I receive [si v]\nswitch costume to (コスチューム1 v)\nclear graphic effects\nshow\nset [ghost v] effect to (100)\nrepeat (25)\n    go to [front v] layer\n    change [ghost v] effect by (-4)\nend\nwait (0.2) seconds\nstop [all v]\n\nwhen flag clicked\nhide\nset [ghost v] effect to (100)\n\nwhen I receive [si\(limit\) v]\nswitch costume to (コスチューム2 v)\nclear graphic effects\nshow\nset [ghost v] effect to (100)\nrepeat (25)\n    go to [front v] layer\n    change [ghost v] effect by (-4)\nend\nwait (0.2) seconds\nstop [all v]\n\n@かんたん？\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (-162) y: (-47)\nhide\nclear graphic effects\n\nwhen I receive [？ v]\nbroadcast (動く v)\nwait (1) seconds\nset [れヴぇる」 v] to [0]\nset [せんたくされた v] to [1]\nshow\nset [ghost v] effect to (100)\nrepeat (25)\n    change [ghost v] effect by (-4)\nend\nrepeat until <(せんたくされた) = [0]>\n    if <touching (mouse-pointer v)?> then\n        say [Probably easy. You can shoot a lot of beams.* It is not saved in the world record.恐らく簡単。ビームをたくさん発射できる。しかし、世界記録には保存されません。]\n        change size by (((120) - (size)) / (4))\n        if <mouse down?> then\n            start sound [Rip v]\n            broadcast (きまった v)\n            set [わけわかめなへんすう v] to [0]\n            set [せんたくされた v] to [0]\n            repeat (10)\n                change [ghost v] effect by (5)\n                change x by (-10)\n            end\n            hide\n            wait (0.5) seconds\n            set [れヴぇる」 v] to [-1]\n            broadcast (1 v)\n        end\n    else\n        change size by (((100) - (size)) / (4))\n        say []\n    end\nend\n\nset [動く料 v] to [32]\nrepeat (10)\n    change x by (動く料)\n    change [動く料 v] by (-3.4)\nend\n\nwhen I receive [うごく27 v]\nrepeat until <(せんたくされた) = [0]>\n    repeat (10)\n        change y by (([cos v] of (説明の移動) ) / (1.5))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\nend\n\nwhen I receive [きまった v]\nif <not <(れヴぇる」) = [-1]>> then\n    repeat (25)\n        change [ghost v] effect by (4)\n    end\n    hide\n    clear graphic effects\nend\n\n@球の当たり判定\n\nwhen flag clicked\nset [ghost v] effect to (99)\ngo to x: (0) y: (0)\n\n@recordチャレンジ1年生\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (-14) y: (-108)\nhide\nclear graphic effects\n\nwhen I receive [？ v]\nwait (1) seconds\nset [せんたくされた v] to [1]\nshow\nset [ghost v] effect to (100)\nrepeat (25)\n    change [ghost v] effect by (-4)\nend\nrepeat until <(せんたくされた) = [0]>\n    if <touching (mouse-pointer v)?> then\n        say [You challenge the world record. The current world record reaches the time limit, and when the time limit reaches 0, it ends.世界記録に挑戦します。世界記録が制限時間になり、制限時間が0になると終わりです。]\n        change size by (((120) - (size)) / (4))\n        if <mouse down?> then\n            start sound [Rip v]\n            set [わけわかめなへんすう v] to [0]\n            set [れヴぇる」 v] to [3]\n            set [せんたくされた v] to [0]\n            broadcast (きまった v)\n            set [動く料 v] to [24]\n            repeat (10)\n                change [ghost v] effect by (5)\n                change x by (-10)\n            end\n            hide\n            wait (0.5) seconds\n            broadcast (1 v)\n        end\n    else\n        change size by (((100) - (size)) / (4))\n        say []\n    end\nend\n\nrepeat (5)\n    turn left (5) degrees\nend\nwait (0.3) seconds\n\nwhen I receive [うごく27 v]\nrepeat until <(せんたくされた) = [0]>\n    repeat (10)\n        change y by (([cos v] of (説明の移動) ) / (1.5))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (() - (([cos v] of (説明の移動) ) / (1.5)))\n        wait (0.05) seconds\n    end\n    wait (0.5) seconds\nend\n\nwhen I receive [きまった v]\nif <not <(れヴぇる」) = [3]>> then\n    repeat (25)\n        change [ghost v] effect by (4)\n    end\n    hide\n    clear graphic effects\nend\n\nif <not <(れヴぇる」) = [1]>> then\n\n@スプライト7\n\n@がんばれ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (350) %\nswitch costume to (コスチューム1 v)\nhide\n\nwhen I receive [1 v]\nif <(れヴぇる」) = [3]> then\n    switch costume to (コスチューム1 v)\n    show\n    repeat (3)\n        repeat (25)\n            change size by (-10)\n        end\n        set size to (350) %\n        next costume\n        start sound [Bonk v]\n    end\n    set size to (350) %\n    start sound [Teleport2 v]\n    wait (0.2) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n        change y by (10)\n    end\nend\n\n@たーぼまん\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nforever\n    change [ターボ禁止 v] by (1)\nend\n\nwhen flag clicked\nforever\n    set [ターボ禁止 v] to [0]\n    wait (0.001) seconds\n    if <[3] < (ターボ禁止)> then\n        show\n        set [ターボ v] to [1]\n        stop [all v]\n    else\n        hide\n        set [ターボ v] to [0]\n    end\nend\n\n