Snow Minecraft platformer!!
@Stage\n\nwhen flag clicked\nforever\n    play sound [1 v] until done\nend\n\nwhen stage clicked\nif <(動ける?) = [1]> then\n    hide\n    create clone of (雪玉 v)\n    wait (0.6) seconds\nend\n\n@地形\n\nwhen I receive [次! v]\nwait (2) seconds\nnext costume\n\nwhen flag clicked\nswitch costume to (地形1 v)\n\n@キャラ\n\nwhen flag clicked\nbroadcast (platformerスタート v)\nswitch costume to (player v)\nforever\n    set [タイマー v] to (timer)\nend\n\nwhen I receive [platformerスタート v]\nset volume to (100) %\nset [動ける? v] to [1]\nswitch costume to (スティーブ1 v)\nshow\nset rotation style [left-right v]\npoint in direction (90)\nセット\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <(動ける?) = [1]> then\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n            change [x v] by (ハヤサ)\n            point in direction (90)\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n            change [x v] by ((0) - (ハヤサ))\n            point in direction (-90)\n        end\n        change x by (x)\n        set [x v] to ((x) * (0.9))\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 ((x) * (-1.2))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> 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 [14]\n                                    start sound [壁キック v]\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 <[0] < (mouse y)>>> then\n            if <touching (地形 v)?> then\n                set [y v] to [14]\n                start sound [ジャンプ v]\n            end\n        end\n        change y by (y)\n        change [y v] by (-1)\n        if <touching (地形 v)?> then\n            change y by ((y) * (-1))\n            set [y v] to [0]\n        end\n        if <(x position) > [237]> then\n            if <([costume # v] of [地形 v]) = [5]> then\n                if <(ゾンビ) = [1]> then\n                    broadcast (次! v)\n                end\n            else\n                if <([costume # v] of [地形 v]) = [9]> then\n                    if <(スケルトン) = [1]> then\n                        broadcast (次! v)\n                    end\n                else\n                    if <not <([costume # v] of [地形 v]) = [16]>> then\n                        broadcast (次! v)\n                    end\n                end\n            end\n        end\n        if <touching (マグマ v)?> then\n            switch costume to (スティーブ やられた v)\n        else\n            switch costume to (スティーブ1 v)\n        end\n        if <touching (バネ v)?> then\n            set [y v] to [20]\n        end\n        if <(y position) < [-170]> then\n            即死\n        end\n        if <<(ハート) = [0]> or <(ハート) < [1]>> then\n            リスポーン\n        end\n    end\nend\n\ndefine セット (x) (y)\ngo to x: (x) y: (y)\n\ndefine セット\ngo to x: (-200) y: (-60)\n\nwhen I receive [プレイヤー表示 v]\nshow\n\ndefine ダメージ () (音)\nset [動ける? v] to [2]\nif <(音) = [いる]> then\n    start sound [カッ v]\nend\nchange [ハート v] by ()\nwait (0.1) seconds\nset [動ける? v] to [1]\n\nwhen I receive [次! v]\nhide\nセット\nset [動ける? v] to [2]\nset volume to (0) %\nwait (3) seconds\nset volume to (100) %\nset [動ける? v] to [1]\nshow\n\nwhen [timer v] > (タイマー)\nhide\n\ndefine 即死\nset [動ける? v] to [2]\nstart sound [カッ v]\nchange [ハート v] by (-20)\nswitch costume to (スティーブ やられた v)\nwait (0.5) seconds\nセット\nswitch costume to (スティーブ1 v)\nset [ハート v] to [20]\nset [動ける? v] to [1]\n\nwhen I receive [ダメージ2 v]\nswitch costume to (スティーブ やられた v)\nダメージ [-2] [いる]\nwait (0.5) seconds\nswitch costume to (スティーブ1 v)\n\nwait (0.5) seconds\n\ndefine マグマ\nswitch costume to (スティーブ やられた v)\nstart sound [カッ v]\nchange [ハート v] by (-1)\n\ndefine リスポーン\nset [動ける? v] to [2]\nwait (0.01) seconds\nset [x v] to [0]\nset [y v] to [0]\nセット\nswitch costume to (スティーブ1 v)\nset [ハート v] to [20]\nset [動ける? v] to [1]\n\nwhen I receive [ダメージ v]\nswitch costume to (スティーブ やられた v)\nダメージ [-5] [いる]\nwait (0.5) seconds\nswitch costume to (スティーブ1 v)\n\nwhen I receive [d v]\nchange [m v] by (1)\nif <(m) = [1]> then\n    start sound (pick random (5) to (6))\n    ダメージ [-6] []\nelse\n    ダメージ [-6] [いる]\nend\n\nchange [#biome v] by (1)\n\n@NEXT\n\nwhen I receive [next\(goriraf0612作\) v]\nstart sound [Rip v]\nset [next色 v] to (pick random (1) to (200))\nreset timer\nrepeat (3)\n    クローン：ID [なんか変な動き]\n    wait (0.075) seconds\n    クローン：ID [なんか変な動き2]\n    wait (0.075) seconds\nend\n\nwhen I receive [next\(goriraf0612作\) v]\npoint in direction (90)\nset [brightness v] effect to (0)\nwait (0.0001) seconds\nrepeat (3)\n    クローン：ID [◎]\n    wait (0.15) seconds\n    クローン：ID [◎2]\n    wait (0.075) seconds\nend\nクローン：ID [◎3]\nクローン：ID [next]\n\nwhen I start as a clone\nshow\nif < (ID) contains [なんか変な動き]?> then\n    set [ghost v] effect to (50)\n    point in direction (180)\n    if <(ID) = [なんか変な動き2]> then\n        set [brightness v] effect to (100)\n    else\n        set [brightness v] effect to (0)\n    end\n    set [クローン用ローカル変数 v] to [67.5]\n    switch costume to (サイズハック v)\n    set size to (100) %\n    go to x: (0) y: (0)\n    repeat (50)\n        switch costume to (半透明のあれ v)\n        set [クローン用ローカル変数 v] to ((クローン用ローカル変数) * (0.8))\n        turn left (クローン用ローカル変数) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif < (ID) contains [◎]?> then\n    go to x: (0) y: (0)\n    point in direction (90)\n    if <(ID) = [◎2]> then\n        set [brightness v] effect to (100)\n    else\n        if <(ID) = [◎3]> then\n            set [brightness v] effect to (-100)\n        else\n            set [brightness v] effect to (0)\n        end\n    end\n    set [クローン用ローカル変数 v] to [10]\n    switch costume to (◎ v)\n    set size to (0) %\n    if < (ID) contains [3]?> then\n        repeat (25)\n            if <[350] < (size)> then\n                switch costume to (サイズハック v)\n            end\n            set [クローン用ローカル変数 v] to ((クローン用ローカル変数) * (1.2))\n            change size by (クローン用ローカル変数)\n            switch costume to (◎ v)\n        end\n        switch costume to (コスチューム1 v)\n        clear graphic effects\n        set [brightness v] effect to (10)\n        start sound [Finger Snap v]\n        wait (0.15) seconds\n        go to [front v] layer\n        set size to (100) %\n        repeat (20)\n            switch costume to (コスチューム2 v)\n            change y by ((-1) + ((y position) / (3.05)))\n            switch costume to (コスチューム1 v)\n        end\n        delete this clone\n    else\n        repeat (40)\n            if <[350] < (size)> then\n                switch costume to (サイズハック v)\n            end\n            set [クローン用ローカル変数 v] to ((クローン用ローカル変数) * (1.2))\n            change size by (クローン用ローカル変数)\n            switch costume to (◎ v)\n        end\n        delete this clone\n    end\nend\n\ndefine クローン：ID (id)\nset [id v] to (id)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(ID) = [next]> then\n    set [brightness v] effect to (100)\n    switch costume to (ねｘｔ v)\n    set size to (0) %\n    go to x: (0) y: (0)\n    repeat (25)\n        change size by (((100) - (size)) / (3.8))\n        go to [front v] layer\n    end\n    set [brightness v] effect to (-100)\n    wait (0.15) seconds\n    クローン：ID [q]\n    クローン：ID [p]\n    repeat (20)\n        go to [front v] layer\n        クローン：ID [残像]\n        switch costume to (コスチューム2 v)\n        change y by ((-1) + ((y position) / (3.05)))\n        switch costume to (ねｘｔ v)\n    end\n    delete this clone\nend\nif <(ID) = [残像]> then\n    change [ghost v] effect by (-10)\n    switch costume to (ねｘｔ2 v)\n    repeat (5)\n        change size by (-2)\n        change [ghost v] effect by (18.5)\n    end\n    delete this clone\nend\nif <(ID) = [q]> then\n    go [backward v] (2) layers\n    wait (0.05) seconds\n    set [brightness v] effect to (50)\n    set size to (100) %\n    switch costume to (コスチューム1 v)\n    repeat (20)\n        switch costume to (コスチューム2 v)\n        change y by ((-1) + ((y position) / (3.05)))\n        switch costume to (コスチューム1 v)\n    end\n    delete this clone\nend\nif <(ID) = [p]> then\n    go [backward v] (3) layers\n    wait (0.1) seconds\n    set [brightness v] effect to (100)\n    set size to (100) %\n    switch costume to (コスチューム1 v)\n    repeat (20)\n        switch costume to (コスチューム2 v)\n        change y by ((-1) + ((y position) / (3.05)))\n        switch costume to (コスチューム1 v)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    set [color v] effect to (next色)\nend\n\nwhen I receive [次! v]\nbroadcast (NEXT\(goriraf0612作\) v)\n\n@経験値バー\n\nwhen I receive [次! v]\ngo to [back v] layer\n\nwhen I receive [次! v]\ngo to [back v] layer\nwait (3) seconds\ngo to [front v] layer\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen [timer v] > (タイマー)\nhide\n\nwhen flag clicked\nshow\n\n@Health\n\nwhen flag clicked\nset [ハート v] to [20]\nforever\n    switch costume to ((ハート) + (1))\nend\n\nwhen I receive [次! v]\ngo to [back v] layer\nwait (3) seconds\ngo to [front v] layer\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen [timer v] > (タイマー)\nhide\n\nwhen flag clicked\nshow\n\n@Hunger\n\nwhen flag clicked\nswitch costume to (hunger_20 v)\nforever\n    switch costume to ((Hunger) + (1))\nend\n\nwhen flag clicked\nset [hunger v] to [20]\nforever\n    wait (pick random (50) to (60)) seconds\n    change [hunger v] by (-1)\nend\n\nwhen flag clicked\nset [ハヤサ v] to [0.6]\nforever\n    if <(Hunger) = [6]> then\n        set [ハヤサ v] to [0.3]\n    end\nend\n\nwhen I receive [次! v]\ngo to [back v] layer\nwait (3) seconds\ngo to [front v] layer\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen [timer v] > (タイマー)\nhide\n\nwhen flag clicked\nshow\n\n@Oxygen\n\nwhen flag clicked\nhide\n\nwhen I receive [次! v]\n\nwhen [timer v] > (タイマー)\nhide\n\n@gui_invrow\n\nwhen I receive [init v]\n\nwhen I receive [次! v]\ngo to [back v] layer\nwait (3) seconds\ngo to [front v] layer\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen [timer v] > (タイマー)\n\nwhen flag clicked\nshow\n\n@1\n\ngo to x: (0) y: (0)\n\nwhen I receive [次! v]\ngo to [back v] layer\nwait (3) seconds\ngo to [front v] layer\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen [timer v] > (タイマー)\nhide\n\nwhen flag clicked\nshow\n\n@アピール\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (10) to (20)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to [front v] layer\ngo to x: (136) y: (153)\nchange [ghost v] effect by (100)\nstart sound [ポップ v]\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nwait (3) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\n\nwhen [timer v] > (タイマー)\nhide\n\n@雪玉\n\nwhen flag clicked\nhide\nforever\n    go to (キャラ v)\n    if <([direction v] of [キャラ v]) = [90]> then\n        switch costume to (snowball v)\n    else\n        switch costume to (snowball2 v)\n    end\nend\n\nwhen I receive [次! v]\nhide\n\nwhen [space v] key pressed\nif <(動ける?) = [1]> then\n    hide\n    create clone of (_myself_ v)\n    wait (0.6) seconds\nend\n\nwhen I start as a clone\nshow\nset [x3 v] to [15]\nset [y3 v] to [1]\nif <([direction v] of [キャラ v]) = [90]> then\n    repeat until <<<<touching (ゾンビ v)?> or <touching (スケルトン v)?>> or <<touching (地形 v)?> or <touching (マグマ v)?>>> or <touching (_edge_ v)?>>\n        change x by (x3)\n        change y by (y3)\n        change [y3 v] by (-0.2)\n    end\n    hide\n    delete this clone\nelse\n    repeat until <<<<touching (ゾンビ v)?> or <touching (スケルトン v)?>> or <<touching (地形 v)?> or <touching (マグマ v)?>>> or <touching (_edge_ v)?>>\n        change x by ((0) - (x3))\n        change y by (y3)\n        change [y3 v] by (-0.2)\n    end\n    delete this clone\nend\n\nwhen [z v] key pressed\nif <(動ける?) = [1]> then\n    hide\n    create clone of (_myself_ v)\n    wait (0.6) seconds\nend\n\nwhen I receive [platformerスタート v]\nhide\n\n@ゾンビ\n\nwhen I receive [platformerスタート v]\nwait until <([costume # v] of [地形 v]) = [5]>\nwait (1.6) seconds\ngo to x: (160) y: (0)\nset [ゾンビ v] to [0]\ncreate clone of (_myself_ v)\n\n\nif <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n    change [x v] by (ハヤサ)\n    switch costume to (player v)\n    point in direction (90)\nend\nif <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n    change [x v] by ((0) - (ハヤサ))\n    point in direction (-90)\nend\n\nchange y by (-1)\n\nwait until <not <touching (雪玉 v)?>>\n\nwhen flag clicked\nset [ゾンビ v] to [0]\nset [スケルトン v] to [0]\nswitch costume to (コスチューム1 v)\nhide\n\nchange [ゾンビhp v] by (8)\n\ndefine フットブ2\nif <(x position) < ([x position v] of [キャラ v])> then\n    set [x v] to [10]\n    set [y v] to [15]\nelse\n    set [x v] to [-10]\n    set [y v] to [15]\nend\n\ndefine ダメージ\nchange [ゾンビhp v] by (-1)\nif <(ゾンビHP) < [1]> then\n    switch costume to (player2 v)\n    wait until <not <touching (雪玉 v)?>>\n    wait (0.1) seconds\n    start sound [zombiedeath v]\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    set [ゾンビ v] to [1]\n    delete this clone\nelse\n    start sound (pick random (4) to (5))\n    switch costume to (player2 v)\n    wait until <not <touching (雪玉 v)?>>\n    wait (0.1) seconds\n    switch costume to (コスチューム1 v)\nend\n\ndefine フットブ\nif <([x position v] of [キャラ v]) < (x position)> then\n    set [x\[z\] v] to [5]\n    set [y\[z\] v] to [10]\nelse\n    set [x\[z\] v] to [-5]\n    set [y\[z\] v] to [10]\nend\n\nwhen I receive [ダメージ v]\nフットブ2\n\nwhen I start as a clone\nset volume to (100) %\ngo to [back v] layer\nset [動ける? v] to [1]\nswitch costume to (コスチューム1 v)\nshow\nset rotation style [left-right v]\npoint in direction (90)\nset [x\[z\] v] to [0]\nset [y\[z\] v] to [0]\nforever\n    if <(動ける?) = [1]> then\n        if <([x position v] of [キャラ v]) < (x position)> then\n            change [x\[z\] v] by (-0.3)\n            point in direction (90)\n        else\n            change [x\[z\] v] by (0.3)\n            point in direction (-90)\n        end\n        change x by (X\[z\])\n        set [x\[z\] v] to ((X\[z\]) * (0.9))\n        change y by (-5)\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 y by (-5)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [y\[z\] v] by (-1)\n        change y by (Y\[z\])\n    end\n    if <touching (地形 v)?> then\n        change y by ((Y\[z\]) * (-1))\n        set [y\[z\] v] to [0]\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (キャラ v)?> then\n        broadcast (ダメージ v)\n        wait until <not <touching (キャラ v)?>>\n    end\nend\n\nwhen I start as a clone\nset [ゾンビhp v] to [10]\nforever\n    if <touching (雪玉 v)?> then\n        フットブ\n        ダメージ\n    end\nend\n\nwhen [timer v] > (タイマー)\nhide\n\nwhen I start as a clone\nforever\n    if <not <touching (雪玉 v)?>> then\n        wait (pick random (1) to (2)) seconds\n        play sound (pick random (1) to (3)) until done\n    end\nend\n\n@サムネ\n\nwhen [timer v] > (タイマー)\ngo to [front v] layer\nshow\n\nwhen flag clicked\nhide\n\n@マグマ\n\nwhen flag clicked\ngo to [back v] layer\npoint in direction (90)\nhide\nforever\n    if <([costume # v] of [地形 v]) = [1]> then\n        point in direction (90)\n        go to x: (0) y: (0)\n        hide\n    end\n    if <([costume # v] of [地形 v]) = [6]> then\n        point in direction (90)\n        go to x: (0) y: (-10)\n        switch costume to (lava v)\n        show\n    end\n    if <([costume # v] of [地形 v]) = [7]> then\n        point in direction (90)\n        go to x: (0) y: (-5)\n        switch costume to (lava2 v)\n        show\n    end\n    if <([costume # v] of [地形 v]) = []> then\n        turn left (5.5) degrees\n        go to x: (0) y: (20)\n        switch costume to (コスチューム4 v)\n        show\n    end\n    if <([costume # v] of [地形 v]) = [7]> then\n        point in direction (90)\n        switch costume to (コスチューム5 v)\n        show\n    end\n    if <([costume # v] of [地形 v]) = [8]> then\n        point in direction (90)\n        hide\n    end\nend\n\nwhen [timer v] > (タイマー)\nhide\n\nwhen I receive [platformerスタート v]\nforever\n    if <touching (キャラ v)?> then\n        broadcast (d v)\n        wait (0.5) seconds\n    else\n        set [m v] to [0]\n    end\nend\n\n@スケルトン\n\nwhen I receive [platformerスタート v]\nwait until <([costume # v] of [地形 v]) = [9]>\nwait (2) seconds\ngo to x: (160) y: (0)\nset [スケルトン v] to [0]\nbroadcast (S召喚 v)\n\n\nif <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n    change [x v] by (ハヤサ)\n    switch costume to (player v)\n    point in direction (90)\nend\nif <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n    change [x v] by ((0) - (ハヤサ))\n    point in direction (-90)\nend\n\nchange y by (-1)\n\nwhen flag clicked\nswitch costume to (スケルトン v)\nhide\n\ndefine フットブ2\nif <(x position) < ([x position v] of [キャラ v])> then\n    set [x v] to [10]\n    set [y v] to [15]\nelse\n    set [x v] to [-10]\n    set [y v] to [15]\nend\n\ndefine ダメージ\nchange [スケルトンhp v] by (-1)\nif <(スケルトンHP) < [1]> then\n    switch costume to (スケルトン2 v)\n    wait until <not <touching (雪玉 v)?>>\n    wait (0.1) seconds\n    start sound [skeletondeath v]\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    broadcast (スケルトンKO v)\nelse\n    start sound (pick random (4) to (5))\n    switch costume to (スケルトン2 v)\n    wait until <not <touching (雪玉 v)?>>\n    wait (0.1) seconds\n    switch costume to (スケルトン v)\nend\n\ndefine フットブ\nif <([x position v] of [キャラ v]) < (x position)> then\n    set [x\[s\] v] to [10]\n    set [y\[s\] v] to [10]\nelse\n    set [x\[s\] v] to [-10]\n    set [y\[s\] v] to [10]\nend\n\nwhen [timer v] > (タイマー)\nhide\n\nwhen I start as a clone\n\nwhen I receive [s召喚 v]\nset [スケルトンhp v] to [12]\nforever\n    if <touching (雪玉 v)?> then\n        フットブ\n        ダメージ\n    end\nend\n\nwhen I receive [s召喚 v]\nforever\n    if <touching (キャラ v)?> then\n        broadcast (ダメージ v)\n    end\n    wait until <not <touching (キャラ v)?>>\nend\n\nwhen I receive [s召喚 v]\nforever\n    if <not <touching (雪玉 v)?>> then\n        wait (pick random (0.5) to (1)) seconds\n        play sound (pick random (1) to (3)) until done\n    end\nend\n\nwhen I receive [s召喚 v]\nset volume to (100) %\ngo to [back v] layer\nset [動ける? v] to [1]\nswitch costume to (スケルトン v)\nshow\nset rotation style [left-right v]\npoint in direction (90)\nset [x\[s\] v] to [0]\nset [y\[s\] v] to [0]\nforever\n    if <(動ける?) = [1]> then\n        if <([x position v] of [キャラ v]) < (x position)> then\n            change [x\[s\] v] by (-0.1)\n            point in direction (90)\n        else\n            change [x\[s\] v] by (0.1)\n            point in direction (-90)\n        end\n        change x by (X\[s\])\n        set [x\[s\] v] to ((X\[s\]) * (0.9))\n        change y by (-5)\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 y by (-5)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [y\[s\] v] by (-1)\n        change y by (Y\[s\])\n    end\n    if <touching (地形 v)?> then\n        change y by ((Y\[s\]) * (-1))\n        set [y\[s\] v] to [0]\n    end\nend\n\nforever\n\nwhen I receive [s召喚 v]\nforever\n    wait (pick random (2) to (5)) seconds\n    broadcast (弓 v)\nend\n\nwhen I receive [スケルトンko v]\nset [スケルトン v] to [1]\nforever\n    stop [other scripts in sprite v]\nend\n\nwhen I receive [ダメージ2 v]\nフットブ2\n\n@弓\n\nwhen flag clicked\nhide\n\nwhen I receive [s召喚 v]\ngo to [back v] layer\nset rotation style [all around v]\nset size to (100) %\npoint in direction (-135)\nshow\nswitch costume to (弓 v)\n\nwhen flag clicked\nforever\n    if <([direction v] of [スケルトン v]) = [-90]> then\n        go to (スケルトン v)\n        point in direction (-135)\n        change x by (15)\n    else\n        go to (スケルトン v)\n        point in direction (45)\n        change x by (-15)\n    end\nend\n\nwhen I receive [弓 v]\nwait (0.1) seconds\nswitch costume to (弓2 v)\nwait (0.05) seconds\nswitch costume to (弓3 v)\nwait (0.1) seconds\ncreate clone of (_myself_ v)\nswitch costume to (弓 v)\n\nwhen I start as a clone\nswitch costume to (矢 v)\ngo to [front v] layer\nset [ghost v] effect to (0)\nshow\nstart sound [弓矢射撃音 v]\nif <([direction v] of [スケルトン v]) = [-90]> then\n    repeat until <<touching (キャラ v)?> or <touching (_edge_ v)?>>\n        change x by (20)\n    end\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\nelse\n    repeat until <<touching (キャラ v)?> or <touching (_edge_ v)?>>\n        change x by (-20)\n    end\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\nend\ndelete this clone\n\nwhen I receive [スケルトンko v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <touching (キャラ v)?> then\n        broadcast (ダメージ2 v)\n    end\n    wait until <not <touching (キャラ v)?>>\nend\n\n@Weather\n\nwhen I receive [layer sort v]\nif <(cloud_num) = [-1]> then\n    Z-index Sprite by [999]\nend\nif <(cloud_num) > [0]> then\n    Z-index Sprite by [998]\nend\n\ndefine Z-index Sprite by (z-index)\nset [i v] to [1]\nrepeat until <not <(z-index) < (item (i) of [z-index v])>>\n    change [i v] by (1)\nend\ninsert (z-index) at (i) of [z-index v] \ngo [forward v] ((i) - (1)) layers\n\nwhen I receive [platformerスタート v]\nhide\nset [cloud_num v] to [-1]\ncreate clone of (_myself_ v)\nset [cloud_num v] to [1]\nset [cloud x v] to [-100]\ncreate clone of (_myself_ v)\nchange [cloud_num v] by (1)\nset [cloud x v] to [100]\ncreate clone of (_myself_ v)\nchange [cloud_num v] by (1)\nforever\n    if <(cloud_num) < [10]> then\n        if <(pick random (1) to (5)) = [1]> then\n            set [cloud x v] to [300]\n            change [cloud_num v] by (1)\n            create clone of (_myself_ v)\n        end\n        wait (3) seconds\n    end\nend\n\nwhen I start as a clone\nif <(cloud_num) = [-1]> then\n    show\n    forever\n        if <(#Daylight cycle) = [Day]> then\n            switch costume to (sun v)\n            go to x: ((140) + ((4) * ([cos v] of (#Frame) ))) y: ((100) + ((4) * ([sin v] of (#Frame) )))\n        end\n        if <(#Daylight cycle) = [Sunset]> then\n            switch costume to (sunset v)\n            go to x: ((140) + ((4) * ([cos v] of (#Frame) ))) y: ((100) + ((4) * ([sin v] of (#Frame) )))\n        end\n        if <(#Daylight cycle) = [Night]> then\n            switch costume to (moon v)\n            go to x: ((0) + ((220) * ([cos v] of (((#Frame) / (30)) + (180)) ))) y: ((-250) + ((380) * ([sin v] of ((#Frame) / (30)) )))\n        end\n    end\nend\nif <(cloud_num) > [0]> then\n    set [cloud y v] to (pick random (100) to (170))\n    if <(#Biome) = [2]> then\n        go [forward v] (5) layers\n        set [cloud y v] to (pick random (-80) to (0))\n        set [ghost v] effect to (50)\n    end\n    switch costume to ((1) + (pick random (1) to (11)))\n    set y to (cloud y)\n    repeat until <(cloud x) < [-400]>\n        show\n        set x to (cloud x)\n        if <(#Daylight cycle) = [Night]> then\n            set [ghost v] effect to (90)\n        else\n            set [ghost v] effect to (20)\n        end\n        if <(#Gamemode) = (item (1) of [#gamemode v])> then\n    end\n    change [cloud_num v] by (-1)\n    delete this clone\nend\n\nwhen I receive [次! v]\ngo to [back v] layer\n\nwhen I receive [platformerスタート v]\nset [#daylight cycle v] to [Day]\n\nwait (1) seconds\nset [#daylight cycle v] to [Sunset]\n\n@報告乱用に負けるな！\n\nwhen I start as a clone\nchange [☁ 報告した人 v] by (1)\nshow\ngo to x: (69) y: (62)\nglide (0) secs to x: (-172) y: (-25)\ncreate clone of (_myself_ v)\ndelete this clone\n\ndefine 検知 (x) (y)\nset size to (400) %\ngo to x: (x) y: (y)\nset size to (100) %\n\nwhen flag clicked\nswitch costume to (報告ボタン v)\ngo to [front v] layer\nset [報告 v] to [0]\nset [animation v] to [0]\nforever\n    reset timer\n    検知 [485] [-210]\n    if <touching (mouse-pointer v)?> then\n        create clone of (_myself_ v)\n    else\n        set [報告 v] to [0]\n    end\nend\n\nwhen [timer v] > (0)\nswitch costume to (報告ボタン v)\ngo to [front v] layer\nset [報告 v] to [0]\nset [animation v] to [0]\nforever\n    reset timer\n    検知 [485] [-210]\n    if <touching (mouse-pointer v)?> then\n        create clone of (_myself_ v)\n    else\n        set [報告 v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if < (username) contains [HOUKOKURANYOU]?> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen [timer v] > (0)\nforever\n    if < (username) contains [HOUKOKURANYOU]?> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen this sprite clicked\nif <(username) = [k-44]> then\n\n@報告乱用に負けるな！2\n\nwhen I start as a clone\nchange [☁ 報告した人 v] by (1)\nshow\ngo to x: (69) y: (62)\nglide (0) secs to x: (-172) y: (-25)\ncreate clone of (_myself_ v)\ndelete this clone\n\ndefine 検知 (x) (y)\nset size to (400) %\ngo to x: (x) y: (y)\nset size to (100) %\n\nwhen [timer v] > (0)\nswitch costume to (中を見る v)\ngo to [front v] layer\nset [報告 v] to [0]\nset [animation v] to [0]\nforever\n    reset timer\n    検知 [720] [270]\n    if <touching (mouse-pointer v)?> then\n        forever\n            create clone of (_myself_ v)\n        end\n    else\n        set [報告 v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if < (username) contains [HOUKOKURANYOU]?> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen [timer v] > (0)\nforever\n    if < (username) contains [HOUKOKURANYOU]?> then\n        create clone of (_myself_ v)\n    end\nend\n\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nswitch costume to (中を見る v)\ngo to [front v] layer\nset [報告 v] to [0]\nset [animation v] to [0]\nforever\n    reset timer\n    検知 [720] [270]\n    if <touching (mouse-pointer v)?> then\n        forever\n            create clone of (_myself_ v)\n        end\n    else\n        set [報告 v] to [0]\n    end\nend\n\nwhen this sprite clicked\nif <(username) = [k-44]> then\n\n@スプライト1\n\nwhen [timer v] > (0)\nforever\n    if <(username) = [k-44]> then\nend\n\nwhen [timer v] > (0)\nshow\nwait (5) seconds\nhide\n\n
有名人がハートと星を押してくれてる！\n\n⚠︎使い方をよく読んでね⚠︎\nー遊び方ーーーーーーーーーーーーーーーーーーー\n[PC]\n矢印キーで操作\nスペースキーで攻撃\nゴールを目指そう！\n[モバイル]\n画面をタップして操作\n画面をタップして攻撃\nゴールを目指そう！\n\nクレジット↓\n参考@kuri-pa-2\nキャラコスチューム@-firstwave- @kuri-pa-2\nブロック・ゲージなど@griffpatch\n効果音@kuri-pa-2@griffpatch\nサムネイルの文字@Kensuke17\nBGM@zyo-ka-da\nNEXT@goriraf0612\nくも・太陽@-Jikky-様\nその他はほとんど自分で作りました( ・∇・)\n\nクレジットが欠けている場合はお知らせください\n\nタグ———————————————————-\n#k-44#Minecraft#platformer\n—————————————————————-\n