Villager Platformer　（村人　プラットフォーマー）
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\n\nwhen I receive [theワールド！！ v]\nswitch backdrop to (背景2 v)\n\nwhen I receive [時よとまれぇぇぇぇ！！ v]\nswitch backdrop to (背景1 v)\n\n@地面だぜ\n\nwhen I receive [the end v]\n\nshow\ngo to x: (0) y: (0)\nforever\n    if <(level) = [1]> then\n        set [brightness v] effect to (-5)\n        switch costume to (1 v)\n    end\n    if <(level) = [2]> then\n        set [brightness v] effect to (-20)\n        switch costume to (2 v)\n    end\n    if <(level) = [3]> then\n        switch costume to (level3 v)\n    end\n    if <(level) = [4]> then\n        switch costume to (level4 v)\n    end\n    if <(level) = [5]> then\n        switch costume to (level5 v)\n    end\n    if <(level) = [6]> then\n        switch costume to (level6 v)\n    end\n    if <(level) = [7]> then\n        switch costume to (level7 v)\n    end\n    if <(level) = [8]> then\n        switch costume to (level8 v)\n    end\n    if <(level) = [9]> then\n        switch costume to (level9 v)\n    end\n    if <(level) = [10]> then\n        switch costume to (level10 v)\n    end\n    if <(level) = [11]> then\n        switch costume to (level11 v)\n    end\nend\n\nwhen flag clicked\nswitch costume to (level1 v)\nhide\n\nwhen I receive [the end v]\nforever\n    play sound [Volume Alpha 12 v] until done\nend\n\n@Free INTR\n\nwhen I start as a clone\nif <[1] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    switch costume to (blue v)\n    go to [front v] layer\n    wait (0.7) seconds\n    show\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\n\nwhen I start as a clone\nforever\n    show\nend\n\nwhen flag clicked\npoint in direction (90)\nhide\nreset timer\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [1]\ncreate clone of (_myself_ v)\nwait (1.5) seconds\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [3]\ncreate clone of (_myself_ v)\nwait (6) seconds\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [4]\ngo to x: (-240) y: (0)\npoint in direction (0)\ncreate clone of (_myself_ v)\nrepeat (9)\n    change x by (55)\n    turn right (1) degrees\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <[2] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    set [ghost v] effect to (40)\n    go to [back v] layer\n    go [forward v] (1) layers\n    go to x: (0) y: (-394)\n    switch costume to (x% v)\n    show\n    glide (2) secs to x: (0) y: (394)\n    delete this clone\nend\n\nwhen flag clicked\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [0]\ncreate clone of (_myself_ v)\nwait (0.5) seconds\nrepeat (200)\n    set [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [2]\n    create clone of (_myself_ v)\n    wait (0.8) seconds\nend\n\nwhen I start as a clone\nif <[0] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    switch costume to (black v)\n    go to x: (0) y: (0)\n    show\n    forever\n        go to [front v] layer\n        go [backward v] (1) layers\n    end\nend\n\nwhen I start as a clone\nif <[3] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    go to [front v] layer\n    go [backward v] (3) layers\n    set [ghost v] effect to (100)\n    go to x: (0) y: (186)\n    switch costume to (your name v)\n    show\n    repeat (20)\n        change [ghost v] effect by (-5)\n        change y by ((() - (y position)) / (7))\n    end\n    repeat (2)\n        wait () seconds\n    end\n    set rotation style [all around v]\n    repeat (5)\n        point in direction (-90)\n        set [π v] to [0]\n        set size to (0) %\n        repeat (30)\n            set [π v] to (((π) * (0.75)) + (((90) - (direction)) / (5)))\n            turn right (π) degrees\n            change size by ((((π) + (10)) * (0.5)) + (((100) - (size)) / (3)))\n        end\n    end\nend\n\nwhen I start as a clone\nif <[1] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    forever\n        go to [back v] layer\n    end\nend\n\nglide (2) secs to x: (0) y: (394)\n\ngo to x: (0) y: (0)\nswitch costume to (your name v)\nshow\n\nhide\n\nwhen I start as a clone\nif <[4] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    forever\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\nif <[4] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    switch costume to (white v)\n    set [π v] to (direction)\n    set [color v] effect to (((π) mod (2)) * (25))\n    set size to (0) %\n    set [ghost v] effect to (100)\n    show\n    go to x: (0) y: (-361)\n    repeat (20)\n        change size by (((100) - (size)) / (3))\n        set [ghost v] effect to ((100) - (size))\n        change x by ((((-240) + ((55) * (π))) - (x position)) / (3))\n        change y by ((() - (y position)) / (3))\n        turn right (((90) - (direction)) / (3)) degrees\n    end\n    wait (0.2) seconds\n    broadcast (THE END v)\nend\n\nwhen I receive [the end v]\nif <(ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ) = [4]> then\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    wait ((1) / ()) seconds\n    delete this clone\nelse\n    stop [other scripts in sprite v]\n    delete this clone\nend\n\nwhen flag clicked\nstart sound [Blooom - Be Around \[NCS Release\] v]\n\nrepeat (1)\n\nwhen flag clicked\n\nwhen flag clicked\n\n@障害物\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nswitch costume to (コスチューム2 v)\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\ngo [backward v] (1) layers\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [ﾌﾞﾁｭ v]\nstop [other scripts in sprite v]\nhide\n\n@村人\n\nwhen flag clicked\nset drag mode [not draggable v]\nswitch costume to (villager-walk-1 v)\nhide\n\nwhen I receive [the end v]\ngo to x: (-190) y: (-50)\nshow\nforever\n    if <(45) = []> then\n        if <<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> or <<<mouse down?> and <(x position) < (mouse x)>> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n            next costume\n            wait (0.07) seconds\n            if <(costume [number v]) = [5]> then\n                switch costume to (villager-walk-1 v)\n            end\n            if <not <<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> or <<<mouse down?> and <(x position) < (mouse x)>> or <<mouse down?> and <(mouse x) < (x position)>>>>> then\n                switch costume to (villager-walk-3 v)\n            end\n        end\n    end\nend\n\nwhen I receive [the end v]\nset [ʕ⁎̯͡⁎ʔ༄ v] to [0]\ngo to [front v] layer\nset [saqwesrdtghyjik v] to []\nswitch costume to (villager-walk-3 v)\nset [45 v] to []\nset rotation style [left-right v]\npoint in direction (90)\nshow\nforever\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        set rotation style [left-right v]\n        change [動力\(x\) v] by (-0.65)\n        point in direction (-90)\n        broadcast (左 v)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        set rotation style [left-right v]\n        change [動力\(x\) v] by (0.65)\n        point in direction (90)\n        broadcast (右 v)\n    end\n    set [動力\(x\) v] to ((動力\(x\)) * (0.9))\n    change x by (動力\(x\))\n    if <<touching (地面 v)?> or <touching (4ステージ目用tnt走 v)?>> then\n        change y by (1)\n        if <<touching (地面 v)?> or <touching (4ステージ目用tnt走 v)?>> then\n            change y by (1)\n            if <<touching (地面 v)?> or <touching (4ステージ目用tnt走 v)?>> then\n                change y by (1)\n                if <<touching (地面 v)?> or <touching (4ステージ目用tnt走 v)?>> then\n                    change y by (1)\n                    if <<touching (地面 v)?> or <touching (4ステージ目用tnt走 v)?>> then\n                        change y by (1)\n                        if <<touching (地面 v)?> or <touching (4ステージ目用tnt走 v)?>> then\n                            change x by ((動力\(x\)) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                                if <(動力\(x\)) > [0]> then\n                                    set [動力\(x\) v] to [-5]\n                                else\n                                    set [動力\(x\) v] to [5]\n                                end\n                                set [動力\(y\) v] to [10]\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 <<touching (地面 v)?> or <touching (4ステージ目用tnt走 v)?>> then\n        if <<<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> or <key (w v) pressed?>> then\n            set [動力\(y\) v] to [13]\n        end\n    end\n    change y by (1)\n    change [動力\(y\) v] by (-1)\n    change y by (動力\(y\))\n    if <<touching (地面 v)?> or <touching (4ステージ目用tnt走 v)?>> then\n        change y by ((動力\(y\)) * (-1))\n        set [動力\(y\) v] to [0]\n    end\n    hide variable [動力\(x\) v]\n    if <<key (down arrow v) pressed?> or <<<mouse down?> and <(mouse y) < (y position)>> or <key (s v) pressed?>>> then\n        switch costume to (コスチューム4 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\n    if <(x position) > [230]> then\n        if <not <([costume # v] of [stage v]) = [10]>> then\n            set [動力\(y\) v] to [0]\n            set [動力\(x\) v] to [0]\n            go to x: (-180) y: (-50)\n            broadcast (Next v)\n        end\n    end\n    if <<<<touching (障害物 v)?> or <(y position) < [-170]>> or <touching (敵mob v)?>> or <touching (敵mob2 v)?>> then\n        start sound [hurt v]\n        set [45 v] to [0]\n        broadcast (死んだ v) and wait\n        set [45 v] to []\n    end\nend\n\nwhen I receive [死んだ v]\nset [ʕ⁎̯͡⁎ʔ༄ v] to [1]\nset [saqwesrdtghyjik v] to [0]\nお前はもう死んでいる\nset [ʕ⁎̯͡⁎ʔ༄ v] to [0]\n\ndefine お前はもう死んでいる\nswitch costume to (villager-walk-1-hurt v)\nset [動力\(y\) v] to [0]\nset [動力\(x\) v] to [0]\nbroadcast (しんだ⭐ v)\nrepeat (5)\n    change y by (10)\nend\nrepeat (3)\n    change y by (7)\nend\nrepeat (3)\n    change y by (4)\nend\nrepeat (3)\n    change y by (2)\nend\nrepeat (2)\n    change y by (-2)\nend\nrepeat (3)\n    change y by (-5)\nend\nrepeat (3)\n    change y by (-7)\nend\nrepeat until <(y position) < [-170]>\n    change y by (-15)\nend\nset rotation style [don't rotate v]\ngo to x: (-190) y: (-50)\nswitch costume to (villager-walk-1 v)\nset [saqwesrdtghyjik v] to []\n\nwhen I receive [しんだ⭐ v]\nset rotation style [all around v]\nrepeat until <(y position) < [-170]>\n    set rotation style [all around v]\n    turn right (15) degrees\nend\n\nwhen I receive [the end v]\nwait (4) seconds\nforever\n    if <(45) = []> then\n        if <<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> or <<<mouse down?> and <(x position) < (mouse x)>> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n            if <not <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n                set [griffpatch様 v] to (pick random (1) to (2))\n                if <(Griffpatch様) = [1]> then\n                    play sound [fallbig1 v] until done\n                end\n                if <(Griffpatch様) = [2]> then\n                    play sound [fallbig2 v] until done\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [the end v]\nforever\n    if <key (r v) pressed?> then\n        start sound [hurt v]\n        switch costume to (villager-walk-1-hurt v)\n        glide (1) secs to x: (-190) y: (-50)\n        switch costume to (villager-walk-3 v)\n    end\nend\n\nwhen I receive [リスポーン v]\nset [ʕ⁎̯͡⁎ʔ༄ v] to [1]\nstart sound [hurt v]\nswitch costume to (villager-walk-1-hurt v)\nglide (1) secs to x: (-190) y: (-50)\nswitch costume to (villager-walk-3 v)\nset [ʕ⁎̯͡⁎ʔ༄ v] to [0]\n\nwhen I receive [ﾌﾞﾁｭ v]\nhide\n\nstop [other scripts in sprite v]\n\nwhen flag clicked\nwait (0.01) seconds\ngo to [front v] layer\n\n@松明の光\n\nwhen I receive [theワールド！！ v]\nshow\ngo to [back v] layer\nforever\n    go to (村人 v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [時よとまれぇぇぇぇ！！ v]\nhide\n\nif <key (space v) pressed?> then\nend\n\n@スプライト1\n\nwhen flag clicked\ngo to x: (36) y: (28)\nset [ghost v] effect to (100)\n\n@地面\n\nwhen flag clicked\nset [a v] to [0]\nswitch costume to (1 v)\nhide\n\nwhen I receive [the end v]\ngo to x: (0) y: (0)\nshow\nforever\n    if <(costume [number v]) = [3]> then\n        broadcast (theワールド！！ v)\n        set [brightness v] effect to (-100)\n    end\n    if <(costume [number v]) = [6]> then\n        broadcast (時よとまれぇぇぇぇ！！ v)\n        set [brightness v] effect to (0)\n    end\n    if <(costume [number v]) = [4]> then\n        broadcast (ゾンビ等ジョー v)\n    end\n    if <(costume [number v]) = [5]> then\n        broadcast (ゾンビさよなら✩ v)\n    end\nend\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [ﾌﾞﾁｭ v]\nstop [other scripts in sprite v]\nhide\n\nbroadcast (くも v)\nstop [this script v]\n\nset [brightness v] effect to (0)\n\nset [brightness v] effect to (0)\n\n
Villager Platformerです！（下に物語あり）\nVillager Platformer! (There is a story below)\nネザー編　https://scratch.mit.edu/projects/608280261\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n最近マインクラフトのハイブで、アプデきたからうれしい！！\nI'm glad I came to Minecraft's hive recently! !!\n\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nあと、僕の作ってるアニメの勇者物語が、映画を投稿するので、ぜひ見てみてね！！\n６月29日～七月一日までの、16時に、放送いたします！\nAlso, the story of the brave man in the anime I'm making will post a movie, so be sure to check it out! !!\nIt will be broadcast at 16:00 from June 29th to July 1st!\n\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nクレジット\n光のやつ   @takuno3\nイントロ   @yuhaku様\n村人と音楽とブロックの素材   @idontknow様\n素敵な素材をありがとうございます！！\n\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n面白いと思ったら、ハートと星よろしく！！\n\n\n\n【物語】\nやばいやばいやばいやばい！！この俺様、村人様の体が小さくなっちまっただと！？ま、まぁいい....とにかく家に帰るぜぇ！！\n