platformer  ( ｀・∀・´)

Instructions: 矢印キーでそーさ\nrでリスタート\n久々の壁キックだぜ！\n一般人は、騙される！\nあれは、しようだよ！\nクリアした人にしか、わからないあれね！\nイントロあるけどめんどかった((あれ手抜き？w\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n見たくなるよね

@Stage\n\nwhen flag clicked\nswitch backdrop to (背景2 v)\nwait (0.3) seconds\nswitch backdrop to (背景1 v)\n\n@主人コー\n\nwhen flag clicked\n\nwhen flag clicked\nplay sound [NIVIRO - Memes \[NCS Release\] v] until done\n\ndefine キー入力\nchange x by (x)\nif <key (right arrow v) pressed?> then\n    change [x v] by (1)\n    point in direction (90)\nend\nif <key (left arrow v) pressed?> then\n    change [x v] by (-1)\n    point in direction (-90)\nend\nset [x v] to ((x) * (0.9))\nif <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) * (-1))\n                        change y by (-5)\n                        if <key (up arrow v) pressed?> then\n                            if <(x) > [0]> then\n                                set [x v] to [-7]\n                            else\n                                set [x v] to [7]\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\nend\nchange y by (-1)\nif <touching (地面 v)?> then\n    if <key (up arrow v) pressed?> then\n        set [y v] to [10.1]\n    end\nend\nchange y by (1)\nchange [y v] by (-1)\nchange y by (y)\nif <touching (地面 v)?> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\nend\nif <touching (マグマ v)?> then\n    broadcast (Miss v)\n    set [x v] to [0]\n    repeat (10)\n        change [ghost v] effect by (7)\n    end\n    go to x: (-234) y: (-98)\n    wait (1) seconds\n    clear graphic effects\n    play sound [crashed oof v] until done\nend\nif <touching (とげ2 v)?> then\n    broadcast (Miss v)\n    set [x v] to [0]\n    repeat (10)\n        change [ghost v] effect by (7)\n    end\n    go to x: (-234) y: (-98)\n    wait (1) seconds\n    clear graphic effects\n    play sound [crashed oof v] until done\nend\nif <touching (とげ v)?> then\n    broadcast (Miss v)\n    repeat (10)\n        change [ghost v] effect by (7)\n    end\n    go to x: (-234) y: (-98)\n    wait (1) seconds\n    clear graphic effects\n    play sound [crashed oof v] until done\nend\nif <(x position) > [230]> then\n    broadcast (メッセージ1 v)\n    go to x: (-234) y: (-98)\n    wait (1) seconds\n    point in direction (90)\nend\nif <[-179] > (y position)> then\n    broadcast (Miss v)\n    set [x v] to [0]\n    repeat (10)\n        change [ghost v] effect by (7)\n    end\n    go to x: (-234) y: (-98)\n    wait (1) seconds\n    clear graphic effects\n    play sound [crashed oof v] until done\nend\nif <key (down arrow v) pressed?> then\n    switch costume to (1 3 v)\nelse\n    switch costume to (1 2 v)\nend\nif <key (r v) pressed?> then\n    go to x: (-234) y: (-98)\n    point in direction (90)\n    wait (1) seconds\n    play sound [crashed oof v] until done\nend\n\nwhen I receive [ガチの初め v]\nshow\nset [y v] to [0]\nset [x v] to [0]\ngo to x: (-212) y: (-98)\npoint in direction (90)\nforever\n    キー入力\nend\n\nwhen flag clicked\nforever\n    if <touching (コスチューム1 v)?> then\n        go to [back v] layer\n    else\n        go to [front v] layer\n    end\nend\n\nif  then\nend\n\n@雲\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nif <touching (_edge_ v)?> then\n    hide\nend\nrepeat until <(x position) < [-300]>\n    move (-0.5) steps\nend\ndelete this clone\n\nwhen I receive [ガチの初め v]\nhide\ngo to x: (336) y: (155)\nforever\n    create clone of (_myself_ v)\n    wait (23) seconds\nend\n\n@地面\n\nwhen I receive [メッセージ1 v]\nbroadcast (x v)\nnext costume\nbroadcast (y v)\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\n@マグマ\n\nwhen I receive [y v]\nhide\nbroadcast (z v)\n\nwhen flag clicked\n\nwhen I receive [x v]\nhide\n\nwhen I receive [ガチの初め v]\nshow\n\n@地面2\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n@とげ2\n\nwhen flag clicked\n\nwhen I receive [x v]\nhide\n\nwhen I receive [ガチの初め v]\nshow\nswitch costume to (コスチューム1 \(1\) v)\ngo to x: (40) y: (9)\n\n@コスチューム1\n\nwhen flag clicked\ngo to [front v] layer\nset x to (600)\nchange y by (0)\nhide\n\nwhen I receive [メッセージ1 v]\nshow\nglide (0.3) secs to x: (0) y: (0)\nwait (0.3) seconds\nglide (0.5) secs to x: (-600) y: (0)\nhide\nset x to (600)\n\n@とげ\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to x: (20) y: (124)\nshow\n\nwhen I receive [メッセージ1 v]\nnext costume\ngo to x: (-85) y: (163)\n\n@スプライト1\n\nwhen flag clicked\nhide\n\nwhen I receive [miss v]\nshow\nrepeat (20)\n    change size by (-5)\n    change [ghost v] effect by (5)\nend\nset size to (100) %\nhide\nset [ghost v] effect to (0)\n\n@スプライト2\n\nwhen flag clicked\npoint in direction (90)\ngo to [front v] layer\nshow\nset size to (100) %\nrepeat (24)\n    turn right (15) degrees\nend\nrepeat (22)\n    change size by (5)\nend\nwait (1) seconds\nrepeat (20)\n    change size by (-5)\nend\nbroadcast (始め v)\nhide\nwait (1.8) seconds\nbroadcast (ガチの初め v)\n\n@スプライト3\n\nwhen flag clicked\nshow\n\nwhen I receive [ガチの初め v]\nhide\n\n@スプライト4\n\nwhen I receive [始め v]\nshow\nswitch costume to (コスチューム1 v)\nrepeat (24)\n    wait (0.01) seconds\n    next costume\nend\nhide\n\nwhen flag clicked\nhide\n\n