platformer！

Instructions: モバイル対応です！\n自信作なので⭐️と❤️お願いします！\nフォローお願いします！\n

@Stage\n\n@自分\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\n    wait (0.03) seconds\nend\n\nwhen I start as a clone\nrepeat (20)\n    change [ghost v] effect by (5)\n    change size by (-3.7)\nend\ndelete this clone\n\nwhen I receive [スタート v]\ngo to x: (-186) y: (13)\nset rotation style [left-right v]\ngo to [front v] layer\nset size to (52) %\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 <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (0.8)\n        point in direction (90)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x v] by (-0.8)\n        point in direction (-90)\n    end\n    set [x v] to ((x) * (0.92))\n    change x by (x)\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 y by (1)\n                            if <touching (ステージ v)?> then\n                                change x by ((0) - (x))\n                                change y by (-5)\n                                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> 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\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (ステージ v)?> then\n        change y by ((0) - (y))\n        set [y v] to [0]\n    end\n    change y by (-2)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (ステージ v)?>> then\n        set [y v] to [17]\n    end\n    change y by (1)\n    if <<(costume [number v]) = [1]> or <(costume [number v]) = [2]>> then\n        if <<touching (まぐま v)?> or <[-168] > (y position)>> then\n            set [x v] to [0]\n            set [y v] to [0]\n            set rotation style [left-right v]\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            go to x: (-186) y: (13)\n            repeat (10)\n                change [ghost v] effect by (-10)\n            end\n        end\n        if <(x position) > [239]> then\n            broadcast (次のステージ v)\n            go to x: (-186) y: (13)\n        end\n        if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(y position) > (mouse y)>>> then\n            switch costume to (しゃがむ v)\n        else\n            switch costume to (普通 v)\n        end\n    end\nend\n\n@ステージ\n\nwhen I receive [次のステージ v]\nnext costume\n\nwhen I receive [スタート v]\ngo to x: (2) y: (8)\nswitch costume to (コスチューム1 v)\nset size to (100) %\nshow\n\nwhen flag clicked\nhide\n\n@まぐま\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nshow\n\nwhen I receive [次のステージ v]\nnext costume\nif <(costume [name v]) = [コスチューム6]> then\n    go to [front v] layer\nelse\n    go to [back v] layer\nend\n\n@スプライト1\n\nwhen flag clicked\nshow\nwait (1) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nbroadcast (スタート v)\n\nwhen flag clicked\nrepeat (10)\n    play sound [Axol x Alex Skrindo - You \[NCS Release\] v] until done\nend\n\n