キャットのプラットフォーマCat platformer

Instructions: 矢印キーで操作！背景が黒の時は空中に浮けます！\n始めて作ったプラフォ。クオリティー低\nよくこれで傾向5p&参照数1000超え?\nOperate with arrow keys!Floats when the background is black!

@Stage\n\nwhen flag clicked\nset [ステージの番号 v] to [１]\nbroadcast (次のステージ v)\nbroadcast (あ v)\nforever\n    switch backdrop to (ステージの番号)\n    if <not <(backdrop [name v]) = [クリアー]>> then\n        if <([x position v] of [スプライト1 v]) > [240]> then\n            change [ステージの番号 v] by (1)\n            switch backdrop to (ステージの番号)\n            broadcast (次のステージ v) and wait\n            broadcast (あ v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ステージの番号) = [13]> then\n        change [☁ クリアした人数 v] by (1)\n        wait (0.5) seconds\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nshow variable [☁ クリアした人数 v]\n\n@スプライト1\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        point in direction (90)\n        move (8) steps\n        next costume\n    end\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        move (-8) steps\n        next costume\n    end\n    if <color (#ffffff) is touching (#010401)?> then\n        move (-8) steps\n    end\nend\n\nwhen flag clicked\nforever\n    if <color (#00bcff) is touching (#000000)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n            start sound [Jump v]\n            repeat (20)\n                change y by (10)\n            end\n        end\n    else\n        change y by (-5)\n    end\nend\n\nwhen I receive [あ v]\ngo to x: (-211) y: (-131)\npoint in direction (90)\n\nwhen flag clicked\nforever\n    if <color (#ffffff) is touching (#000000)?> then\n        start sound [Scream2 v]\n    end\nend\n\nwhen flag clicked\nforever\n    forever\n        if <<touching (プレイヤー v)?> or <<touching color (#ff0000)?> or <<touching (スプライト5 v)?> or <touching (スプライト4 v)?>>>> then\n            start sound [Scream2 v]\n            broadcast (あ v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Eggs v] until done\nend\n\nwhen flag clicked\ngo to [back v] layer\nset rotation style [left-right v]\n\nif  then\n    change y by (10)\nend\n\n@スプライト2\n\nwhen flag clicked\nforever\n    turn left (10) degrees\nend\n\nwhen I receive [次のステージ v]\nif <(ステージの番号) = [3]> then\n    show\nelse\n    hide\nend\n\n@スプライト4\n\nwhen I receive [次のステージ v]\nif <(ステージの番号) = [５]> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nforever\n    turn right (10) degrees\nend\n\nwhen flag clicked\nstart sound [02-ハルノヒ v]\n\n@プレイヤー\n\nwhen flag clicked\nforever\n    if on edge, bounce\n    set rotation style [left-right v]\n    move (10) steps\n    next costume\nend\n\nif <touching (地面 v)?> then\n    change x by ((0) - (x))\n    change y by (-5)\nend\nchange [y v] by (-1)\nchange y by (y)\nif <touching (地面 v)?> then\n    change y by ((0) - (y))\n    set [y v] to [0]\nend\nchange y by (-2)\nif <<<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> and <touching (地面 v)?>> then\n    start sound [jump-cute1 v]\n    set [y v] to [15]\nend\nchange y by (1)\nif <<<<<<(y position) < [-165]> or <touching (マグマ v)?>> or <touching (マグマ2 v)?>> or <touching (マグマ3 v)?>> or <touching (マグマ4 v)?>> or <touching (マグマ5 v)?>> then\n    start sound [Teleport2 v]\n    repeat (15)\n        change [ghost v] effect by (5)\n        change [brightness v] effect by (5)\n    end\n    hide\n    clear graphic effects\n    go to x: (-200) y: (0)\n    set [x v] to [0]\n    set [y v] to [0]\n    show\nend\nif <[239] < (x position)> then\n    if <not <(ステージ) = [10]>> then\n        hide\n        clear graphic effects\n        go to x: (-200) y: (0)\n        set [x v] to [0]\n        set [y v] to [0]\n        change [ステージ v] by (1)\n        show\n    end\nend\n\nif <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> 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]\nelse\n    set [x v] to [0]\nend\n\nwhen I receive [次のステージ v]\nif <(ステージの番号) = [4]> then\n    show\nelse\n    hide\nend\n\n@Cat\n\nwhen flag clicked\nhide\n\n