Pen Platformer

Instructions: 日本語↓見てね\n\n__________________________________________________\nThis is Manato.\nI made a sequel to Mario Platformer.\nMade it possible to step on Goomba\n\nMethod of operation\n\nIt can be operated using the arrow keys. It is mobile compatible.\n\n"Warning" You cannot go to the next stage unless you defeat the Goomba\n\n__________________________________________________\n\nこんちゃまなとです。\nマリオプラットフォーマーの続編作りました\nクリボー踏めるようにしました。\n\n一言いっときます。量産型を作って本当に申し訳ございませんでした。\n\n操作方法\n\n矢印キーで操作できます。モバイル対応です。\n\n"注意"　クリボーを倒さないと次のステージに行けません

@Stage\n\nwhen I receive [start v]\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Vexento - Pixel Party v] until done\nend\n\nwhen I receive [ending message v]\nswitch backdrop to (backdrop1 v)\n\n@-Thumbnail-2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nforever\n    go to [front v] layer\n    switch costume to (costume3 v)\nend\n\nshow\n\n@Breeze\n\nwhen I receive [start v]\nshow\ngo to x: (-167) y: (-34)\nforever\n    change [yv v] by (-0.5)\n    if <key (right arrow v) pressed?> then\n        if <(water) = [0]> then\n            change [xv v] by (0.7)\n        end\n    end\n    go to [front v] layer\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-0.7)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <<touching color (#00c866)?> or <touching color (#00924b)?>> then\n        change y by (1)\n        if <<touching color (#00c866)?> or <touching color (#00924b)?>> then\n            change y by (1)\n            if <<touching color (#00c866)?> or <touching color (#00924b)?>> then\n                change y by (1)\n                if <<touching color (#00c866)?> or <touching color (#00924b)?>> then\n                    change y by (1)\n                    if <<touching color (#00c866)?> or <touching color (#00924b)?>> then\n                        change y by (1)\n                    end\n                    if <<touching color (#00c866)?> or <touching color (#00924b)?>> then\n                        change x by ((Xv) * (-1))\n                        change x by (-1)\n                        change y by (-5)\n                        change x by (1)\n                        if <key (up arrow v) pressed?> then\n                            if <(Xv) < [0]> then\n                                set [yv v] to [10]\n                                set [xv v] to [10]\n                            else\n                                set [yv v] to [10]\n                                set [xv v] to [-10]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yv)\n    if <<touching color (#00c866)?> or <touching color (#00924b)?>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <key (up arrow v) pressed?> then\n        if <<touching color (#00c866)?> or <touching color (#00924b)?>> then\n            if <(water) = [0]> then\n                set [yv v] to [8]\n            end\n        end\n    end\n    if <touching color (#004cff)?> then\n        set [yv v] to [20]\n    end\n    change y by (1)\n    if <touching (level_sensor v)?> then\n        broadcast (NextLevel v)\n        go to x: (-167) y: (-101)\n    end\n    if <<touching color (#ff0000)?> or <touching color (#c80000)?>> then\n        go to x: (-167) y: (-101)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    if <touching (rocket ship v)?> then\n        hide\n        broadcast (end v)\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen flag clicked\ngo to x: (-167) y: (-34)\n\n@world\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [start v]\nshow\n\nwhen I receive [nextlevel v]\nnext costume\nwait (0.8) seconds\n\nwhen flag clicked\nforever\n    set [level v] to (costume [number v])\nend\n\nwhen I receive [ending message v]\nwait (2) seconds\nhide\n\n@Sprite2\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\n\nwhen I receive [shocky thing v]\nswitch costume to (costume2 v)\nwait (0.1) seconds\nswitch costume to (costume1 v)\n\nwhen I receive [almost start v]\nwait (2) seconds\nhide\n\nwhen flag clicked\nstart sound [Still Standing v]\n\nwhen I receive [almost start v]\nrepeat until <(volume) = [0]>\n    change volume by (-5)\nend\nclear sound effects\n\nwhen flag clicked\nset volume to (100) %\n\n@Sprite3\n\nwhen flag clicked\npoint in direction (90)\nset size to (100) %\nset [move v v] to [22]\ngo to [front v] layer\nhide\nwait (0.3) seconds\ngo to x: (-302) y: (0)\nshow\nrepeat until <(move v) < [1]>\n    change x by (move v)\n    change [move v v] by (-0.8)\nend\nwait (1) seconds\nbroadcast (shocky thing v)\nrepeat until <(size) > [140]>\n    change size by (15)\nend\nrepeat until <(size) < [100]>\n    change size by (-15)\nend\nwait (1) seconds\nbroadcast (breeze v)\nwait (0.3) seconds\nrepeat until <(x position) > [290]>\n    change x by (10)\n    turn right (15) degrees\nend\nhide\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (-251) y: (2)\nhide\n\nwhen I receive [breeze v]\nset [ghost v] effect to (30)\nshow\nrepeat until <(x position) > [250]>\n    change x by (10)\nend\nhide\nbroadcast (logo v)\n\n@Sprite6\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nset [ghost v] effect to (100)\nshow\n\nwhen I receive [logo v]\nwait (1) seconds\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\nwait (2) seconds\nbroadcast (almost start v)\nwait (2) seconds\nhide\n\nwhen I receive [the actual end v]\nset [ghost v] effect to (100)\nwait (1) seconds\nswitch costume to (costume2 v)\nshow\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\n@Sprite7\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [almost start v]\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\nbroadcast (start v)\n\ngo to [front v] layer\n\nwhen I receive [ending message v]\nshow\ngo to [front v] layer\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\n\n@Level_sensor\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\nend\n\n@rocket ship\n\nwhen I receive [nextlevel v]\nbroadcast (thingbyyy v)\n\nwhen flag clicked\ngo to x: (148) y: (23)\nset size to (150) %\nhide\n\nwhen I receive [end v]\nforever\n    switch costume to (costume2 v)\n    wait (0.25) seconds\n    switch costume to (costume3 v)\n    wait (0.25) seconds\nend\n\nwhen I receive [end v]\nwait (3) seconds\nrepeat until <(y position) > [187]>\n    change y by (10)\nend\nstop [other scripts in sprite v]\nbroadcast (ending message v)\nhide\n\nwhen I receive [ending message v]\nwait (2) seconds\ngo to x: (7) y: (-14)\nshow\nwait (4) seconds\nset [rocket v v] to [-12]\nrepeat until <(y position) > [187]>\n    change y by (Rocket V)\n    change [rocket v v] by (1)\nend\nbroadcast (The actual end v)\nhide\n\nwhen I receive [thingbyyy v]\nforever\n    if <(level) = [13]> then\n        show\n    end\nend\n\nwhen I receive [ending message v]\nforever\n    switch costume to (costume2 v)\n    wait (0.25) seconds\n    switch costume to (costume3 v)\n    wait (0.25) seconds\nend\n\n