Minecraft & Scratch Cat || Character platformer

Instructions: ○New game\n⇨ https://scratch.mit.edu/projects/471752453/\n========================================\n<How to play>\n You can play it on your phone or on your PC! Use the arrow keys or tap the screen to move! If you hit the magma, you'll have to start over, so be careful!\n\n <遊び方>\n 携帯でも、PCでもプレイできます!矢印キーもしくは画面をタップすることで動きます!マグマに当たるとやり直しになってしまうので気をつけましょう!\n\nIf you could press the ❤︎ or ★, I would be happy...!\n

@Stage\n\nwhen I receive [スタート v]\nforever\n    play sound [BGM v] until done\nend\n\nwhen flag clicked\nbroadcast (スタート v)\n\n@ground\n\nwhen I receive [スタート v]\nset size to (100) %\ngo to x: (0) y: (0)\nshow\nswitch costume to (1 v)\n\nwhen I receive [next level v]\nnext costume\n\nswitch costume to (2 v)\n\nturn right (0) degrees\n\nset rotation style [left-right v]\n\nset rotation style [don't rotate v]\npoint in direction (90)\ngo to x: (0) y: (0)\n\n@Hero\n\nwhen I receive [スタート v]\ngo to [front v] layer\nshow\nset size to (75) %\nswitch costume to (1 v)\nset drag mode [not draggable v]\ngo to x: (-190) y: (-50)\npoint in direction (90)\nset [ステージ v] to [1]\nset [xvel v] to [0]\nset [yvel v] to [0]\nforever\n    if <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <[0] < (mouse x)>>> or <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [0]>>>> then\n        if <(costume [number v]) = [17]> then\n            switch costume to (2 v)\n        end\n        next costume\n    else\n        switch costume to (1 v)\n    end\n    set rotation style [left-right v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> then\n        change [xv v] by (-1)\n        point in direction (-90)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> then\n        change [xv v] by (1)\n        point in direction (90)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            switch costume to (jump v)\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-6]\n                                else\n                                    set [xv v] to [7]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n            switch costume to (jump v)\n            set [yv v] to [15]\n            start sound [jump v]\n            point in direction ((Yv) * (0.5))\n        end\n    end\n    change y by (1)\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (ground v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    hide variable [xv v]\n    if <(x position) > [230]> then\n        broadcast (next level v)\n        change [ステージ v] by (1)\n        set [yv v] to [0]\n        set [xv v] to [0]\n        go to x: (-190) y: (-50)\n    end\n    if <(y position) < [-170]> then\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-190) y: (-50)\n    end\n    if <touching (magma v)?> then\n        start sound [hurt v]\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-190) y: (-50)\n    end\nend\n\nset rotation style [all around v]\nturn right (-30) degrees\n\npoint in direction (90)\n\n@magma\n\nwhen I receive [スタート v]\nshow\nswitch costume to (1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [next level v]\nnext costume\n\nturn right (2) degrees\n\ngo to x: (0) y: (0)\n\npoint in direction (90)\n\ngo to [front v] layer\n\n@スプライト1\n\nturn right (-7) degrees\n\ngo to x: (0) y: (0)\n\npoint in direction (90)\n\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\n