three world platformer!(@hiron0413様とのコラボ!)

Instructions: 新作です↓\nhttps://scratch.mit.edu/projects/411089049/\nもう少しで流行1位!1位になりたい～\nなりました((\n@hiron0413とのコラボ作品です！\n日本語は下にあるよ。\n@hiron0413様の作品↓\nhttps://scratch.mit.edu/projects/408058931/\n≪English≫\nwelcome to the world of the platformers,Let’s play a lot in the game!\nUse A,D keys or ←,→ keys to move\nUse W key or ↑key to jump\npushing the space key,and you're goiug back to the beginning of the stage\nIf you have a bag,please tell me in the comments section.\nIn the comments section of the idea.\n@hiron0413work of collabos\nIf you like it, plz love and favorite!!\n≪日本語≫\n今回はコラボ作品なのでプラットフォーマーを作りました。\n左右キーで移動して、スペースキーで最初に戻ります。\n❤★マークお願いします!\n結構頑張りました。\n不快なコメントは削除させていただきます\n#platformer#Game#karikunn#karikunn16#PC\n初めてダグをつけました

@Stage\n\nwhen I receive [メッセージ1 v]\n\nwhen I receive [メッセージ1 v]\nforever\n    if <<([costume name v] of [犬 v]) = [1]> or <<([costume name v] of [犬 v]) = [2]> or <<([costume name v] of [犬 v]) = [3]> or <<([costume name v] of [犬 v]) = [4]> or <<([costume name v] of [犬 v]) = [5]> or <<([costume name v] of [犬 v]) = [6]> or <<([costume name v] of [犬 v]) = [7]> or <<([costume name v] of [犬 v]) = [8]> or <<([costume name v] of [犬 v]) = [9]> or <<([costume name v] of [犬 v]) = [10]> or <<([costume name v] of [犬 v]) = [11]> or >>>>>>>>>>> then\n        switch backdrop to (背景2 v)\n    end\nend\n\nwhen I receive [メッセージ1 v]\nforever\n    if <<([costume name v] of [犬 v]) = [13]> or <<([costume name v] of [犬 v]) = [14]> or <<([costume name v] of [犬 v]) = [15]> or <<([costume name v] of [犬 v]) = [16]> or <<([costume name v] of [犬 v]) = [17]> or <<([costume name v] of [犬 v]) = [18]> or >>>>>> then\n        switch backdrop to (背景10 v)\n    end\nend\n\nwhen I receive [メッセージ1 v]\nforever\n    if <<([costume name v] of [犬 v]) = [20]> or <<([costume name v] of [犬 v]) = [21]> or <<([costume name v] of [犬 v]) = [22]> or <<([costume name v] of [犬 v]) = [23]> or <<([costume name v] of [犬 v]) = [24]> or <<([costume name v] of [犬 v]) = [25]> or <<([costume name v] of [犬 v]) = [26]> or <<([costume name v] of [犬 v]) = [27]> or >>>>>>>> then\n        switch backdrop to (背景9 v)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (背景13 v)\n\nwait (0.2) seconds\n\nwhen flag clicked\nforever\n    play sound [ Masked Heroes v] until done\nend\n\nwhen I receive [あかｙさ v]\nswitch backdrop to (背景1 v)\n\n@外国向け主人公\n\nwhen I start as a clone\nrepeat (8)\n    set [ghost v] effect to (50)\n    change size by (-8)\n    switch costume to (costume [number v])\nend\ndelete this clone\n\nstart sound (pick random (1) to (13))\n\nswitch costume to (pick random (1) to (71))\n\nwhen flag clicked\nhide\n\n\n\nif <touching (スプライト8 v)?> then\n    change [xv v] by (3)\nend\nif <touching (スプライト12 v)?> then\n    change [xv v] by (3)\nend\nif <touching (スプライト13 v)?> then\n    change [xv v] by (3)\nend\nif <touching (スプライト14 v)?> then\n    change [xv v] by (-3)\nend\nif <touching (スプライト16 v)?> then\n\nwhen I receive [メッセージ4 v]\nswitch costume to (1 v)\nbroadcast (メッセージ1 v)\n\nwhen I receive [4 v]\nswitch costume to (2 v)\nbroadcast (メッセージ1 v)\n\nwhen I receive [5 v]\nswitch costume to (3 v)\nbroadcast (メッセージ1 v)\n\nwhen I receive [身 v]\nswitch costume to (4 v)\nbroadcast (メッセージ1 v)\n\nwhen I receive [あｓｗｆ v]\nswitch costume to (5 v)\nbroadcast (メッセージ1 v)\n\nwhen I receive [１２ v]\nswitch costume to (5 v)\nbroadcast (メッセージ1 v)\n\nforever\n\nforever\n\nforever\n\nwhen flag clicked\nforever\n    if <<touching (落石 v)?> or <<touching (saws v)?> or <<<touching (スプライト2 v)?> or <touching (スプライト3 v)?>> or <<touching (スプライト7 v)?> or <(y position) < [-170]>>>>> then\n        start sound [Magic Spell v]\n        go to x: (-230) y: (100)\n    end\nend\n\nplay drum (1 v) for (0.25) beats\n\nstart sound [うっ v]\n\nstart sound [1 v]\nset [yv v] to [3]\nrepeat (10)\n    set [xv v] to [0]\n    set [yv v] to [0]\n    set rotation style [all around v]\n    change size by (10)\n    turn left (50) degrees\nend\nset size to (70) %\n\nwhen flag clicked\nforever\n    if <<touching (スプライト5 v)?> or <<touching (スプライト6 v)?> or <<<touching (スプライト8 v)?> or <touching (スプライト4 v)?>> or <<touching (スプライト9 v)?> or <(y position) < [-170]>>>>> then\n        go to x: (-230) y: (100)\n        start sound [Magic Spell v]\n    end\nend\n\nstart sound [1 v]\nset [yv v] to [3]\nrepeat (10)\n    set [xv v] to [0]\n    set [yv v] to [0]\n    set rotation style [all around v]\n    change size by (10)\n    turn left (50) degrees\nend\nset size to (70) %\n\nwhen I receive [メッセージ1 v]\nshow\nforever\n    wait (0.6) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I receive [メッセージ1 v]\nset size to (70) %\ngo to x: (-230) y: (100)\nshow\npoint in direction (90)\nset [xvel v] to [0]\nset [yvel v] to [0]\nforever\n    set rotation style [left-right v]\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [xv v] by (-0.9)\n        point in direction (-90)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [xv v] by (0.9)\n        point in direction (90)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\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                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\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 [12]\n                            else\n                                set [xv v] to [10]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching (犬 v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\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 (犬 v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    hide variable [xv v]\n    if  then\n        broadcast (家ター！ v)\n        change [背景 v] by (1)\n        go to x: (-216) y: (-59)\n    end\nend\n\nwhen I receive [メッセージ1 v]\nforever\n    if <touching (スプライト10 v)?> then\n        broadcast (家ター！ v)\n        go to x: (83) y: (190)\n    end\nend\n\nwhen I receive [メッセージ1 v]\nforever\n    if <key (space v) pressed?> then\n        go to x: (-216) y: (-59)\n    end\nend\n\nwhen I receive [メッセージ1 v]\nset [時間 v] to [0]\nshow variable [時間 v]\nrepeat until <([costume name v] of [犬 v]) = [28]>\n    change [時間 v] by (1)\n    wait (1) seconds\nend\n\nwhen flag clicked\nforever\n    if <<touching (スプライト12 v)?> or <touching (スプライト13 v)?>> then\n        go to x: (-230) y: (100)\n        start sound [Magic Spell v]\n    end\nend\n\nstart sound [1 v]\nset [yv v] to [3]\nrepeat (10)\n    set [xv v] to [0]\n    set [yv v] to [0]\n    set rotation style [all around v]\n    change size by (10)\n    turn left (50) degrees\nend\nset size to (70) %\n\nwhen flag clicked\nforever\n    if <<touching (スプライト11 v)?> or <touching (スプライト16 v)?>> then\n        go to x: (-230) y: (-60)\n        start sound [Magic Spell v]\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [メッセージ1 v]\nshow\n\n@犬\n\nwhen I receive [家ター！ v]\ngo to x: (0) y: (0)\nnext costume\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [メッセージ1 v]\nshow\nswitch costume to (1 v)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [21]> then\n        switch backdrop to (背景1 v)\n        broadcast (借り君 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [27]> then\n        broadcast (いうにｂｖ v)\n    end\nend\n\nswitch backdrop to (背景1 v)\n\n@スプライト7\n\nwhen I receive [メッセージ1 v]\nforever\n    if <([costume # v] of [犬 v]) = [7]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nhide\n\nhide\n\n@スプライト2\n\nwhen I receive [メッセージ1 v]\nforever\n    if <([costume # v] of [犬 v]) = [5]> then\n        show\n    else\n        hide\n    end\nend\n\nhide\n\nhide\n\nwhen flag clicked\nhide\n\n@スプライト3\n\nwhen I receive [メッセージ1 v]\nforever\n    if <([costume # v] of [犬 v]) = [8]> then\n        show\n    else\n        hide\n    end\nend\n\nhide\n\nhide\n\nwhen flag clicked\nhide\n\n@Saws\n\nwhen flag clicked\nforever\n    if <([costume name v] of [犬 v]) = [8]> then\n        go to x: (0) y: (-100)\n        turn right (15) degrees\n        show\n    else\n        hide\n    end\nend\n\n@スプライト4\n\nwhen flag clicked\nforever\n    if <([costume # v] of [犬 v]) = [11]> then\n        show\n    else\n        hide\n    end\n    if <([costume # v] of [犬 v]) = [11]> then\n        go to x: (-25) y: (240)\n        wait (0.1) seconds\n        glide (1) secs to x: (-25) y: (-90)\n        if <<(x position) = [-25]> and <(y position) = [-200]>> then\n            go to x: (-25) y: (240)\n        end\n    else\n        hide\n    end\nend\n\n@スプライト6\n\nwhen flag clicked\nforever\n    if <([costume # v] of [犬 v]) = [13]> then\n        show\n    else\n        hide\n    end\n    if <([costume # v] of [犬 v]) = [13]> then\n        go to x: (0) y: (240)\n        wait (0.1) seconds\n        glide (1) secs to x: (0) y: (-90)\n        if <<(x position) = [-25]> and <(y position) = [-200]>> then\n            go to x: (0) y: (240)\n        end\n    else\n        hide\n    end\nend\n\n@スプライト8\n\nwhen flag clicked\nforever\n    if <([costume # v] of [犬 v]) = [13]> then\n        show\n    else\n        hide\n    end\n    if <([costume # v] of [犬 v]) = [13]> then\n        go to x: (-150) y: (240)\n        wait (0.1) seconds\n        glide (1) secs to x: (-150) y: (-90)\n        if <<(x position) = [-150]> and <(y position) = [-200]>> then\n            go to x: (-150) y: (240)\n        end\n    else\n        hide\n    end\nend\n\nsay [こんにちは!] for (2) seconds\n\n@スプライト9\n\nwhen I receive [メッセージ1 v]\nforever\n    if <([costume # v] of [犬 v]) = [16]> then\n        show\n    else\n        hide\n    end\nend\n\nhide\n\nhide\n\nwhen flag clicked\nhide\n\n@スプライト10\n\nwhen I receive [メッセージ1 v]\nforever\n    if <([costume # v] of [犬 v]) = [17]> then\n        show\n        set [ghost v] effect to (100)\n    else\n        hide\n    end\nend\n\nhide\n\nhide\n\nwhen flag clicked\nhide\n\n@スプライト5\n\nwhen flag clicked\nforever\n    if <([costume # v] of [犬 v]) = [13]> then\n        show\n    else\n        hide\n    end\n    if <([costume # v] of [犬 v]) = [13]> then\n        go to x: (150) y: (240)\n        wait (0.1) seconds\n        glide (1) secs to x: (150) y: (-90)\n        if <<(x position) = [150]> and <(y position) = [-200]>> then\n            go to x: (150) y: (240)\n        end\n    else\n        hide\n    end\nend\n\n@Saws2\n\nwhen I receive [メッセージ1 v]\ngo to x: (-230) y: (-110)\nforever\n    if <([costume name v] of [犬 v]) = [18]> then\n        show\n    else\n        hide\n    end\n    forever\n        turn right (100) degrees\n        glide (1) secs to x: (-242) y: (-110)\n        glide (1) secs to x: (230) y: (-110)\n    end\nend\n\nwhen flag clicked\nhide\n\n@Saws3\n\nwhen I receive [メッセージ1 v]\ngo to x: (-230) y: (0)\nforever\n    if <([costume name v] of [犬 v]) = [19]> then\n        show\n    else\n        hide\n    end\n    forever\n        turn right (100) degrees\n        glide (2) secs to x: (-242) y: (0)\n        glide (2) secs to x: (230) y: (0)\n    end\nend\n\nwhen flag clicked\nhide\n\n@Saws4\n\nwhen I receive [メッセージ1 v]\ngo to x: (-230) y: (-110)\nforever\n    if <([costume # v] of [犬 v]) = [19]> then\n        show\n    else\n        hide\n    end\n    forever\n        turn right (100) degrees\n        glide (1) secs to x: (-242) y: (-110)\n        glide (1) secs to x: (230) y: (-110)\n    end\nend\n\nwhen flag clicked\nhide\n\n@スプライト14\n\ndefine 動き回るぅぅ！\nsay []\nset size to (50) %\nshow\nsay [❤★マーク押して~~~‼]\nsay [If you like it, plz love and favorite!!]\nrepeat (20)\n    glide (0.5) secs to (random position v)\nend\ngo to x: (0) y: (0)\nsay [ハートと星マーク押さないとどうなるか分かるよね!]\n\nwhen flag clicked\nhide\n\nwhen [timer v] > (0.01)\nbroadcast (あかｙさ v)\n動き回るぅぅ！\n\nwhen flag clicked\nsay []\nhide\nforever\n    reset timer\nend\n\n@スプライト11\n\nwhen I receive [メッセージ1 v]\nforever\n    if <([costume # v] of [犬 v]) = [24]> then\n        show\n    else\n        hide\n    end\nend\n\nhide\n\nhide\n\nwhen flag clicked\nhide\n\n@スプライト12\n\nwhen flag clicked\nforever\n    if <([costume # v] of [犬 v]) = [25]> then\n        show\n    else\n        hide\n    end\n    if <([costume # v] of [犬 v]) = [25]> then\n        go to x: (-41) y: (240)\n        wait (0.1) seconds\n        glide (2.5) secs to x: (-41) y: (-90)\n        if <<(x position) = [-41]> and <(y position) = [-200]>> then\n            go to x: (-41) y: (240)\n        end\n    end\nend\n\nhide\n\n@スプライト15\n\nwhen I receive [メッセージ1 v]\nhide\n\nhide\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    set size to (120) %\n    switch costume to (コスチューム4 v)\n    go to x: (0) y: (0)\n    show\n    set [ghost v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (50)\n        set size to (100) %\n        if <mouse down?> then\n            start sound [鍵の音～ v]\n            broadcast (メッセージ1 v)\n            clear graphic effects\n            stop [this script v]\n        end\n    else\n        clear graphic effects\n    end\nend\n\n@スプライト16\n\nwhen I receive [メッセージ1 v]\nforever\n    if <([costume # v] of [犬 v]) = [28]> then\n        show\n    else\n        hide\n    end\nend\n\nhide\n\nhide\n\nwhen flag clicked\nhide\n\n