Mango Underwater || Scrolling Platformer

Instructions: august 31, 2021 - #37 on trending. 233 messages. thanks! i literally screamed when i saw this... on august 30, there were only 40 loves, now there's 115. yep, i went viral. this is truly insane! i never thought this would happen. i knew this would get popular, but not this popular...\n\ni won't reply to your comment (i think). there's too many.\n\n---------------------------------------------------------------\n\nseptember 2, 2021 - i just got another 163 messages. i think it's about time i say that ads are ok. some people don't like them...\n\n#16 on trending wot... its in first page now. thanks for making this my most popular project (almost) https://scratch.mit.edu/projects/356123562/\n\n---------------------------------------------------------------\n\nseptember 3, 2021 - 574 messages. top loved. but i did move down to #17 on trending. we're nearing 10,000 views, and thank you so much for 500 loves and 400 favorites!\n\nstop saying it's impossible, or that no ads are allowed, i just said literally yesterday that ads are allowed.\n\n========================================\n\nbasically, the same as the one level platformer, but with two levels. (also, the story ends in the same way as the normal tutorial.)\n\ngreen flag to restart. no, there's no green flag manipulation in this game, sorry.\n\ncredits:\n\n- no credit to the smooth movement. i did that by myself.\n- @-heron- for inspiration, the two original projects, the cutscene, music, and thumbnail inspiration.\n- i don't know who to credit for the platformer code. i backpacked it way back in 2019.\n- motivation for helping me.\n- scratch for existing.\n- you for playing!\n\nhttps://scratch.mit.edu/projects/559368454/#comments-222126652

@Stage\n\nwhen I receive [the end v]\nwait (1) seconds\nforever\n    play sound [Popsicle v] until done\nend\n\n@player\n\nwhen flag clicked\nhide\nbroadcast (THE END v)\n\ndefine 初期設定プログラム\nshow\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (右 v)\ngo to x: (-200) y: (-50)\n\nwhen I receive [the end v]\n初期設定プログラム\nset rotation style [left-right v]\nwait (1) seconds\nforever\n    if <<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> then\n        point in direction (90)\n        change [x v] by (1.1)\n    end\n    if <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>> then\n        point in direction (-90)\n        change [x v] by (-1.1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\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 y by (1)\n                        if <touching (地面 v)?> then\n                            set [地面 v] to [0]\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<<mouse down?> and <(mouse y) > (y position)>> or <key (w v) pressed?>>> then\n                                if <(x) < [0]> then\n                                    set [x v] to [10]\n                                else\n                                    set [x v] to [-10]\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\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> or <<<mouse down?> and <(mouse y) > (y position)>> or <key (w v) pressed?>>> then\n        if <touching (地面 v)?> then\n            set [y v] to [15]\n            start sound [ニュッ v]\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <[240] < (x position)> then\n        初期設定プログラム\n        broadcast (メッセージ1 v)\n        wait (1.5) seconds\n    end\n    if <<touching (ｻﾎﾞﾃﾝだお🌵 v)?> or <<(y position) < [-180]> or <touching (マグマ v)?>>> then\n        初期設定プログラム\n        start sound [crashed oof v]\n    end\n    if <touching (風 v)?> then\n        change [x v] by (-0.5)\n    end\nend\n\nwhen I receive [the end v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (ｃｌｏｎｅ v)\nrepeat (6)\n    change size by (-5)\n    change [ghost v] effect by (7)\nend\ndelete this clone\n\n@地面\n\nwhen flag clicked\nhide\nhide variable [time v]\n\nwhen I receive [メッセージ1 v]\nchange [ステージ v] by (1)\n\nwhen I receive [the end v]\nshow\ngo to x: (0) y: (0)\nset [ステージ v] to [1]\nforever\n    switch costume to (ステージ)\nend\n\nwhen I receive [the end v]\nshow variable [time v]\nset [time v] to [0]\nwait (0) seconds\nrepeat until <(ステージ) = [11]>\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen I receive [メッセージ1 v]\nhide variable [time v]\nwait (1.5) seconds\nshow variable [time v]\n\n@ｻﾎﾞﾃﾝだお🌵\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nset size to (100) %\nshow\ngo to [back v] layer\nforever\n    switch costume to (ステージ)\nend\n\n@風\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\ngo to [back v] layer\nforever\n    go to x: (0) y: (0)\n    clear graphic effects\n    hide\n    repeat (10)\n        move (20) steps\n    end\n    wait (0.5) seconds\n    repeat (34)\n        move (-20) steps\n        change [ghost v] effect by (5)\n        show\n    end\nend\n\n@Next\n\nwhen I receive [メッセージ1 v]\nshow\ngo to [front v] layer\ngo to x: (461) y: (0)\nglide (0.3) secs to x: (0) y: (0)\nwait (0.3) seconds\nglide (0.5) secs to x: (-461) y: (0)\nhide\n\nwhen flag clicked\nhide\n\n@サムネ\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\n\n