Nature platformer 2 (Collaboration work)

Instructions: ・私の作品がまとまったスタジオはこちら\n(Click here for the studio where my work is organized)\n https://scratch.mit.edu/studios/26060782/\n いつもとは少し違う形にしました。外国のPlatformerのイメージです。(少しかっこいいイメージです!)\n・コラボ先の作品はこちらでーす!\n  https://scratch.mit.edu/projects/396743904/\n========================================\n[How to play]\nArrow keys.\nThis work is a collaboration work with @hgwrs16.\nThank you very much!\nDon't advertisement in this comment place.\nIf you do, we may report to the scratch team.\nIf you like it, plz love and favorite!\n\n <Credits>\n-@sushi10000 for hero's costume\n-@hclhcl for Directing when damaged\n\n#HYNL #group #love #platformer #platformerzoku #game #games #lightblue012  #nature #collab #collaboration #music #art #English #language #Japanese #time #lightblue #light #square #cube #simple #platformerdaisuki #platformerlove #advertisement #love #favorite

@Stage\n\nwhen flag clicked\nforever\n    play sound [komorebi no nakade v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (1~5 v)\n\nwhen I receive [next level v]\nif <(Level) = [6]> then\n    switch backdrop to (6~16 22~ v)\nend\nif <(Level) = [17]> then\n    switch backdrop to (17~ v)\nend\nif <(Level) = [22]> then\n    switch backdrop to (6~16 22~ v)\nend\n\nwhen I receive [next level v]\n\n@hero\n\nwhen I receive [死 v]\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [ghost v] effect to (0)\nset size to (80) %\nset drag mode [not draggable v]\ngo to x: (-201) y: (-50)\npoint in direction (90)\nset [level v] to [1]\nset [xvel v] to [0]\nset [yvel v] to [0]\nset [move ok? v] to [1]\nforever\n    if <(move ok?) = [1]> then\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 (floor v)?> then\n            change y by (2)\n            if <touching (floor v)?> then\n                change y by (2)\n                if <touching (floor v)?> then\n                    change y by (2)\n                    if <touching (floor v)?> then\n                        change y by (2)\n                        if <touching (floor v)?> then\n                            change y by (2)\n                            if <touching (floor v)?> then\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                                    start sound [Jump2 v]\n                                    if <(Xv) > [0]> then\n                                        set [xv v] to [-7]\n                                    else\n                                        set [xv v] to [7]\n                                    end\n                                    set [yv v] to [9]\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 (floor v)?> then\n            if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                start sound [Jump v]\n                set [yv v] to [15]\n            end\n        end\n        change y by (1)\n        change [yv v] by (-1)\n        change y by (Yv)\n        if <touching (floor v)?> then\n            change y by ((Yv) * (-1))\n            set [yv v] to [0]\n        end\n        hide variable [xv v]\n        if <touching (goal v)?> then\n            broadcast (next level v)\n            change [level v] by (1)\n            set [yv v] to [0]\n            set [xv v] to [0]\n            go to x: (-201) y: (-50)\n        end\n        if <(y position) < [-170]> then\n            switch costume to (やられた v)\n            set rotation style [all around v]\n            start sound [Crazy Laugh v]\n            set [y v] to [20]\n            change y by (20)\n            repeat until <(y position) < [-170]>\n                turn right (15) degrees\n                create clone of (残像 v)\n                change y by (y)\n                change [y v] by (-2)\n            end\n            set rotation style [left-right v]\n            switch costume to (普通 v)\n            set [yv v] to [0]\n            set [xv v] to [0]\n            go to x: (-201) y: (-50)\n        end\n        if <<touching (spike v)?> or <touching (meteorite v)?>> then\n            switch costume to (やられた v)\n            set rotation style [all around v]\n            start sound [Crazy Laugh v]\n            set [y v] to [20]\n            change y by (20)\n            repeat until <(y position) < [-170]>\n                turn right (15) degrees\n                create clone of (残像 v)\n                change y by (y)\n                change [y v] by (-2)\n            end\n            set rotation style [left-right v]\n            switch costume to (普通 v)\n            set [yv v] to [0]\n            set [xv v] to [0]\n            go to x: (-201) y: (-50)\n        end\n    end\nend\n\nchange y by (1)\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [ghost v] effect to (40)\nrepeat (8)\n    change size by (-0.8)\n    change [ghost v] effect by (2)\nend\nhide\ndelete this clone\n\nif <(y position) < [-170]> then\n    go to x: (-201) y: (-50)\nend\n\nwhen I start as a clone\n\nwhen I receive [も〜どりだよ☆ v]\nset [yv v] to [0]\nset [xv v] to [0]\ngo to x: (-201) y: (-113)\n\nbroadcast (死 v)\n\nbroadcast (死 v)\ngo to x: (-201) y: (-50)\n\n@floor\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (100) %\nswitch costume to (1 v)\n\nwhen I receive [next level v]\nnext costume\n\nset [level v] to [5]\n\nset size to (100) %\n\n@next\n\nwhen flag clicked\nshow\nset [ズルって言えるのかな？ v] to [0]\nset drag mode [not draggable v]\nshow\nset size to (47) %\ngo to x: (-157) y: (-157)\ngo to [front v] layer\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (52) %\n    else\n        set size to (47) %\n    end\nend\n\nwhen this sprite clicked\nif <not <(Level) = [24]>> then\n    broadcast (next level v)\n    change [level v] by (1)\n    play sound [Magic Spell v] until done\nend\n\n@return\n\nwhen flag clicked\nshow\nset drag mode [not draggable v]\nshow\nset size to (40) %\ngo to [front v] layer\ngo to x: (-203) y: (-157)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (45) %\n    else\n        set size to (40) %\n    end\nend\n\nwhen I receive [タイトルが〜めん v]\n\nwhen this sprite clicked\nbroadcast (も〜どりだよ☆ v)\nplay sound [Zoop v] until done\n\n@comments\n\nwhen flag clicked\nWhen? [1] Position [] []\nswitch costume to (1 v)\n\nwhen flag clicked\nreset timer\n\ndefine When? (level) Position (x) (y)\ngo [forward v] (2) layers\nif <(level) = (Level)> then\n    switch costume to (level)\n    set size to (5) %\n    show\n    repeat until <(round (size)) = [110]>\n        change size by (((110) - (size)) / (8))\n    end\n    if <(y) = []> then\n        set y to (50)\n    end\n    if <(x) = []> then\n        set x to (0)\n    end\n    forever\n        set y to (((([sin v] of ((timer) * (250)) ) + (10)) * (1.5)) * (5))\n    end\nend\n\nwhen I receive [next level v]\nreset timer\nWhen? [2] Position [] []\nWhen? [3] Position [] []\nWhen? [4] Position [] []\nWhen? [5] Position [] []\nWhen? [6] Position [] []\nWhen? [7] Position [] []\nWhen? [8] Position [] []\nWhen? [9] Position [] []\nWhen? [10] Position [] []\nWhen? [11] Position [] []\nWhen? [12] Position [] []\nWhen? [13] Position [] []\nWhen? [14] Position [] []\nWhen? [15] Position [] []\nWhen? [16] Position [] []\nWhen? [17] Position [] []\nWhen? [18] Position [] []\nWhen? [19] Position [] []\nWhen? [20] Position [] []\nWhen? [21] Position [] []\nWhen? [22] Position [] []\nWhen? [23] Position [] []\nWhen? [24] Position [] []\n\nwait (1) seconds\n\n@Goal\n\ndefine When? (level) position (x) (y) underground? (yeah/no)\ngo [forward v] (1) layers\nset size to (100) %\nif <(level) = (Level)> then\n    show\n    go to x: (x) y: (y)\nend\nforever\n    repeat (25)\n        change size by ((2) * (0.95))\n        wait (0.01) seconds\n    end\n    wait (0.1) seconds\n    repeat (25)\n        change size by ((-2) * (0.95))\n        wait (0.01) seconds\n    end\nend\n\nwhen flag clicked\nWhen? [1] position [195] [-87] underground? []\n\nwhen I receive [next level v]\nWhen? [2] position [195] [-87] underground? []\nWhen? [3] position [195] [-87] underground? []\nWhen? [4] position [195] [-87] underground? []\nWhen? [5] position [195] [-87] underground? [y]\nWhen? [6] position [195] [-87] underground? [y]\n\nwhen I receive [next level v]\nWhen? [7] position [195] [0] underground? []\n\nwhen I receive [next level v]\nWhen? [8] position [195] [73] underground? []\n\nwhen I receive [next level v]\nWhen? [9] position [195] [-87] underground? []\n\nwhen I receive [next level v]\nWhen? [10] position [195] [-87] underground? []\n\nwhen I receive [next level v]\nif <(Level) = [24]> then\n    hide\nend\n\n@spike\n\nwhen I receive [next level v]\nswitch costume to (Level)\nif <(Level) = [4]> then\n    show\n    go to x: (21) y: (-105)\nelse\n    if <(Level) = [9]> then\n        show\n        go to x: (8) y: (-106)\n    else\n        if <(Level) = [10]> then\n            switch costume to (10 v)\n            show\n            go to x: (33) y: (21)\n        else\n            if <(Level) = [11]> then\n                switch costume to (11 v)\n                show\n                go to x: (0) y: (-107)\n            else\n                if <(Level) = [14]> then\n                    switch costume to (14 v)\n                    show\n                    go to x: (32) y: (-100)\n                    go [backward v] (12) layers\n                else\n                    if <(Level) = [15]> then\n                        switch costume to (15 v)\n                        show\n                        go to x: (-28) y: (-36)\n                    else\n                        if <(Level) = [22]> then\n                            switch costume to (22 v)\n                            show\n                            go to x: (78) y: (-61)\n                        else\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\n\nset size to (85) %\n\ngo to [front v] layer\n\nwait (0.01) seconds\nshow\n\nnext costume\n\n@glass\n\ndefine When? (level) position (x) (y)\nif <(level) = (Level)> then\n    go [backward v] (5) layers\n    show\n    set size to (100) %\n    switch costume to (level)\n    if <(level) = (Level)> then\n        go to x: (x) y: (y)\n    end\n    if <<(x) = []> and <(y) = []>> then\n        hide\n    end\nend\n\nwhen flag clicked\nWhen? [1] position [0] [-71]\n\nwhen I receive [next level v]\nWhen? [2] position [-2] [-36]\nWhen? [3] position [47] [-63]\nWhen? [4] position [0] [-65]\nWhen? [5] position [-104] [-63]\nWhen? [6] position [] []\n\n@shadow\n\ndefine When? (level) position (x) (y)\nif <(level) = (Level)> then\n    go [backward v] (9) layers\n    show\n    set size to (100) %\n    switch costume to (level)\n    if <(level) = (Level)> then\n        go to x: (x) y: (y)\n    end\nelse\n    hide\nend\n\nwhen I receive [next level v]\nWhen? [2] position [152] [-96]\nWhen? [3] position [152] [-31]\nWhen? [5] position [106] [-66]\n\nwhen flag clicked\nhide\n\n@スプライト1\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (1 v)\nWhen? [1] position [] []\n\ndefine When? (level) position (x) (y)\ngo to [back v] layer\nset size to (100) %\nif <(level) = (Level)> then\n    show\n    switch costume to (level)\n    go to x: (x) y: (y)\n    if <(x) = []> then\n        set x to (20)\n    end\n    if <(y) = []> then\n        set y to (53)\n    end\n    if <<(x) = [no]> and <(y) = [no]>> then\n        hide\n    end\nend\n\nwhen I receive [next level v]\nWhen? [5] position [] []\nWhen? [6] position [no] [no]\n\nwhen I receive [next level v]\nWhen? [17] position [] []\n\nwhen I receive [next level v]\nWhen? [22] position [no] [no]\n\n@next level\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\nwhen I receive [next level v]\nstart sound [Magic Spell v]\nset [move ok? v] to [0]\nswitch costume to (transition v)\ngo to [front v] layer\ngo to x: (-17) y: (0)\nset [velocity v] to [90]\nshow\nrepeat (20)\n    set [velocity v] to ((Velocity) * (0.9))\n    change x by ((Velocity) * (-1))\nend\nbroadcast (next next level v)\n\nwhen I receive [next next level v]\ngo to [front v] layer\nset [velocity v] to [90]\nrepeat (10)\n    set [velocity v] to ((Velocity) * (0.9))\n    change x by ((Velocity) * (-1))\nend\nhide\nset [move ok? v] to [1]\n\nset size to (50) %\n\ngo to [front v] layer\nrepeat (15)\n    switch costume to (costume2 v)\n    change size by (-70)\n    switch costume to (costume1 v)\nend\nhide\n\nshow\ngo to [front v] layer\nrepeat (15)\n    switch costume to (costume2 v)\n    change size by (70)\n    switch costume to (costume1 v)\nend\n\n@meteorite\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nif <[17] < (Level)> then\n    repeat until <(Level) = [21]>\n        show\n        go to x: (pick random (-220) to (220)) y: (180)\n        set size to (85) %\n        switch costume to (pick random (1) to (3))\n        repeat until <touching (floor v)?>\n            change y by (pick random (-1) to (-5))\n        end\n        hide\n    end\nend\nhide\n\nplay sound [Rip v] until done\n\nplay sound [Rip v] until done\n\nwhen I start as a clone\nif <[17] < (Level)> then\n    repeat until <(Level) = [21]>\n        show\n        go to x: (pick random (-220) to (220)) y: (180)\n        set size to (85) %\n        switch costume to (pick random (1) to (3))\n        repeat until <touching (floor v)?>\n            change y by (pick random (-1) to (-5))\n        end\n        hide\n    end\nend\n\nwait (1) seconds\ncreate clone of (_myself_ v)\n\n@サムネ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nshow\ngo to [front v] layer\n\n