SIMPLE PLATFORMER

Instructions: 日本語は下です！\n\n===English===========================\n\n★☆ I am using google translation.☆★\n\n Click here for my works！\nhttps://scratch.mit.edu/studios/26923073/\n\nDifficulty level★★★☆☆\nIt may be quite difficult...\n\n~~~~~~~ How to use ~~~~~~~~~~~~~~~~~~~~~~\n　PC==> Operate with arrow keys\n\n　Smartphone ==> Operate with mouse\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n=~=~日本語~=~=~=~=~=~=~=~=~=~=~=~=\n\n難易度　★★★☆☆\n結構難しいかもしれないかも...\n\n罠あります！ご注意を！！\n\n~~~使い方~~~~~~~~~~~~~~~~~~~~~~~~~\nPC==>矢印キーで操作\n\nスマホ==>マウスで操作

@Stage\n\nwhen flag clicked\nswitch backdrop to (最初 v)\n\nwhen I receive [スタート v]\nswitch backdrop to (ステージ v)\n\nwhen I receive [skip v]\nnext backdrop\n\n@主人公\n\nwhen flag clicked\nforever\n    if <(x position) > [222]> then\n        next backdrop\n        broadcast (つぎ！ v)\n        go to x: (-200) y: (0)\n        change [ステージ v] by (1)\n    end\nend\n\nwhen I receive [スタート v]\nshow\npoint in direction (90)\nset size to (33) %\ngo to [front v] layer\nset [ステージ v] to [1]\ngo to x: (-200) y: (0)\nset [速度 v] to [0]\nset [重力 v] to [0]\nset rotation style [left-right v]\nforever\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        change [速度 v] by (1)\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [速度 v] by (-1)\n        point in direction (-90)\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        set [速度 v] to ((速度) * (0.9))\n    else\n        set [速度 v] to ((速度) * (0.89))\n    end\n    change y by (1)\n    change x by (速度)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((速度) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n                                if <(速度) > [0]> then\n                                    set [速度 v] to [-7]\n                                else\n                                    set [速度 v] to [7]\n                                end\n                                set [重力 v] to [10]\n                            else\n                                set [速度 v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n        if <touching color (#000000)?> then\n            set [重力 v] to [15]\n        end\n    end\n    change y by (重力)\n    change [重力 v] by (-1)\n    if <touching color (#000000)?> then\n        change y by ((重力) * (-1))\n        set [重力 v] to [0]\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-201) y: (-50)\n    end\nend\n\nwhen flag clicked\nhide\nhide variable [ステージ v]\nset [ステージ v] to [0]\n\nwhen I receive [skip v]\ngo to x: (-200) y: (0)\n\nwhen I receive [自爆... v]\ngo to x: (-200) y: (0)\n\n@skipボタン\n\nwhen flag clicked\nhide\npoint in direction (90)\n\nwhen backdrop switches to [ステージ v]\nshow\ngo to x: (200) y: (-170)\n\nwhen this sprite clicked\nchange [スキップした回数 v] by (1)\nbroadcast (skip v)\n\nwhen backdrop switches to [最後 v]\nhide\n\nwhen backdrop switches to [隠し v]\nshow\n\n@ステージ番号\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [ステージ v]\nshow\nswitch costume to (stage 1 v)\nforever\n    go to [front v] layer\n    go to x: (-187) y: (-167)\n    if <([backdrop name v] of [_stage_ v]) = [ステージ]> then\n        switch costume to (stage 1 v)\n    end\nend\n\nwhen I receive [つぎ！ v]\nnext costume\n\nwhen I receive [skip v]\nnext costume\nchange [ステージ v] by (1)\n\n@START\n\nwhen flag clicked\nshow\nset [whirl v] effect to (0)\ngo to x: (100) y: (-87)\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [100]>\n            change size by (1)\n        end\n    else\n        set size to (77) %\n    end\nend\n\nwhen this sprite clicked\nrepeat (10)\n    change size by (-7)\n    change [ghost v] effect by (11)\nend\nbroadcast (スタート v) and wait\nhide\n\n@サムネイル\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\n    go to [front v] layer\n    reset timer\nend\n\nwhen [timer v] > (0)\ngo to [front v] layer\ngo to [front v] layer\ngo to [front v] layer\nshow\n\n@スプライト1\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nshow\n\nwhen this sprite clicked\nbroadcast (自爆... v)\n\n