FALLGUYS PLATFORMER!

Instructions: （操作方法）\n↑キー　ジャンプ\n↓キー　しゃがむ\n→キー　右に移動\n←キー　左に移動\nステージは全部で10種類あります。頑張ってゴールしてください！

@Stage\n\nwhen flag clicked\nset [brightness v] effect to (0)\nforever\n    repeat (30)\n        change [brightness v] effect by (0.15)\n    end\n    repeat (30)\n        change [brightness v] effect by (-0.15)\n    end\nend\n\n@キャラ\n\nwhen flag clicked\ngo to x: (-210) y: (-44)\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (地面 v)?> then\n        change y by (() - (Y))\n        set [y v] to [0]\n    end\n    if <touching (地面 v)?> then\n        change y by (1)\n        if <touching (地面 v)?> then\n            change y by (1)\n            if <touching (地面 v)?> then\n                change y by (1)\n                if <touching (地面 v)?> then\n                    change y by (1)\n                    if <touching (地面 v)?> then\n                        change y by (1)\n                        if <touching (地面 v)?> then\n                            change x by (() - (X))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <[0] < (X)> then\n                                    set [x v] to [-8]\n                                    set [y v] to [11]\n                                else\n                                    set [x v] to [8]\n                                    set [y v] to [11]\n                                end\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    if <not <touching (地面 v)?>> then\n        change y by (-1)\n    end\n    if <touching (地面 v)?> then\n        if <key (up arrow v) pressed?> then\n            start sound [ニュッ2 v]\n            set [y v] to [15]\n        end\n    end\n    if <<touching (下 v)?> or <touching (針 v)?>> then\n        create clone of (_myself_ v)\n        start sound [ピューンと逃げる v]\n        go to x: (-210) y: (-44)\n    end\n    if <touching (ゴール v)?> then\n        go to x: (-210) y: (-44)\n        broadcast (ゴール v)\n    end\nend\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nshow\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    play sound [yt1s v] until done\nend\n\nwhen flag clicked\nforever\n    switch costume to (コスチューム1 v)\n    if <key (down arrow v) pressed?> then\n        switch costume to (コスチューム2 v)\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nset [color v] effect to (0)\n\nwhen flag clicked\nforever\n    if <<<(ステージ) = (pick random (1) to (4))> or <(ステージ) = [6]>> or <(ステージ) = (pick random (8) to (10))>> then\n        set [brightness v] effect to (0)\n    end\n    if <<(ステージ) = [5]> or <(ステージ) = [7]>> then\n        set [brightness v] effect to (-20)\n    end\nend\n\n@地面\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [ゴール v]\nstart sound [シーン切り替え1 v]\nnext costume\n\nwhen flag clicked\nset [ステージ v] to [1]\nbroadcast (背景1 v)\n\nwhen I receive [ゴール v]\nchange [ステージ v] by (1)\n\nwhen flag clicked\nforever\n    if <<<(ステージ) = (pick random (1) to (4))> or <(ステージ) = [6]>> or <(ステージ) = (pick random (8) to (10))>> then\n        broadcast (背景1 v)\n    end\n    if <<(ステージ) = [5]> or <(ステージ) = [7]>> then\n        broadcast (背景2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<(ステージ) = (pick random (1) to (4))> or <(ステージ) = [6]>> or <(ステージ) = (pick random (8) to (10))>> then\n        set [brightness v] effect to (0)\n    end\n    if <<(ステージ) = [5]> or <(ステージ) = [7]>> then\n        set [brightness v] effect to (-10)\n    end\nend\n\n@下\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@針\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [ゴール v]\nnext costume\n\nwhen flag clicked\nforever\n    if <<<(ステージ) = (pick random (1) to (4))> or <(ステージ) = [6]>> or <(ステージ) = (pick random (8) to (10))>> then\n        set [brightness v] effect to (0)\n    end\n    if <<(ステージ) = [5]> or <(ステージ) = [7]>> then\n        set [brightness v] effect to (-30)\n    end\nend\n\n@ゴール\n\nwhen flag clicked\nset [ghost v] effect to (100)\nshow\n\n@スプライト1\n\nwhen flag clicked\nset [ghost v] effect to (50)\nshow\n\n@スプライト2\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (30)\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [雲 v] to [0]\nforever\n    repeat (40)\n        change [雲 v] by (0.025)\n        change x by (雲)\n    end\n    repeat (40)\n        change [雲 v] by (-0.025)\n        change x by (雲)\n    end\n    repeat (40)\n        change [雲 v] by (-0.025)\n        change x by (雲)\n    end\n    repeat (40)\n        change [雲 v] by (0.025)\n        change x by (雲)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<(ステージ) = (pick random (1) to (4))> or <(ステージ) = [6]>> or <(ステージ) = (pick random (8) to (10))>> then\n        show\n    end\n    if <<(ステージ) = [5]> or <(ステージ) = [7]>> then\n        hide\n    end\nend\n\n@スプライト3\n\nwhen flag clicked\nset [ghost v] effect to (10)\nswitch costume to (コスチューム1 v)\n\nwhen I receive [ゴール v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [11]> then\n        broadcast (クリア v)\n        start sound [スタジアムの歓声 v]\n        wait (999999999999999999999999999999999999999999999999) seconds\n    end\nend\n\n@スプライト4\n\nwhen I receive [クリア v]\nshow\nrepeat (50)\n    change [ghost v] effect by (-1.9)\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\nhide\n\n@サムネ\n\nwhen flag clicked\nhide\n\n@スプライト5\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    change [変数 v] by (5)\n    go to x: (((([cos v] of (変数) ) + ([cos v] of ((変数) * (-0.5)) )) + ([cos v] of ((変数) * (0.5)) )) * (5)) y: (((([sin v] of (変数) ) + ([sin v] of ((変数) * (0.5)) )) + ([sin v] of ((変数) * (-0.5)) )) * (5))\nend\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [背景1 v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [背景2 v]\nswitch costume to (コスチューム2 v)\n\n@スプライト6\n\ngo to [back v] layer\n\ngo [forward v] (1) layers\n\n@スプライト7\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    change [変数2 v] by (5)\n    go to x: (((([cos v] of (変数2) ) + ([cos v] of ((変数2) * (-1)) )) + ([cos v] of ((変数2) * (1)) )) * (2)) y: (((([sin v] of (変数2) ) + ([sin v] of ((変数2) * (1)) )) + ([sin v] of ((変数2) * (-1)) )) * (2))\nend\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [背景1 v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [背景2 v]\nswitch costume to (コスチューム2 v)\n\n@スプライト8\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    change [変数3 v] by (6)\n    go to x: (((([cos v] of (変数3) ) + ([cos v] of ((変数3) * (-1.5)) )) + ([cos v] of ((変数3) * (1.5)) )) * (2)) y: (((([sin v] of (変数3) ) + ([sin v] of ((変数3) * (1.5)) )) + ([sin v] of ((変数3) * (-1.5)) )) * (2))\nend\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [背景1 v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [背景2 v]\nswitch costume to (コスチューム2 v)\n\n@スプライト9\n\nwhen flag clicked\nset [ghost v] effect to (30)\n\nwhen I receive [背景1 v]\nshow\n\nwhen I receive [背景2 v]\nhide\n\n