Ice | A Platformer | _ItsHaven_
@Stage\n\nwhen flag clicked\nforever\n    play sound [c418-sweden-minecraft-volume-alpha v] until done\nend\n\nwhen flag clicked\nbroadcast (スタート v)\n\n@武器\n\nwhen I receive [スタート v]\nset [剣ある？ v] to [0]\nwait until <(ステージ) = [11]>\nset [剣ある？ v] to [0]\nwait until <(ステージ) = [17]>\nset [剣ある？ v] to [0]\nwait until <(ステージ) = [21]>\nset [剣ある？ v] to [0]\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [10]>\nset [剣ある？ v] to [1]\nwait until <touching (プレイヤー2 v)?>\nset [剣ある？ v] to [0]\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [16]>\nset [剣ある？ v] to [1]\nwait until <touching (プレイヤー2 v)?>\nset [剣ある？ v] to [0]\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [20]>\nset [剣ある？ v] to [1]\nwait until <touching (プレイヤー2 v)?>\nset [剣ある？ v] to [0]\n\nwhen I receive [スタート v]\nset size to (100) %\nclear graphic effects\nshow\nforever\n    switch costume to (ステージ)\n    if <touching (プレイヤー2 v)?> then\n        set [持ち物 v] to (costume [name v])\n        repeat (20)\n            change [ghost v] effect by (5)\n            change size by (5)\n        end\n        hide\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    change size by ([cos v] of (た) )\nend\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [16]>\nset size to (100) %\nclear graphic effects\nshow\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [20]>\nset size to (100) %\nclear graphic effects\nshow\n\n@プレイヤー2\n\nwhen I receive [スタート v]\nset [ライフ v] to [20]\nset [x2 v] to [0]\nset [y2 v] to [0]\nset [重力 v] to [0.9]\nset [ステージ v] to [1]\nset [スピード v] to [0.7]\nset [ジャンプ力 v] to [13]\nset [命はあるんか v] to [1]\nset [地面の摩擦 v] to [0.9]\nset [壁キックの跳ね返り v] to [5]\nset [壁キックのジャンプ力 v] to [10]\nclear graphic effects\nset size to (70) %\nwait (0.01) seconds\npoint in direction (90)\ngo to [front v] layer\nset [x2 v] to [0]\nset [y2 v] to [0]\nclear graphic effects\ngo to x: (-200) y: (-80)\nshow\nforever\n    if <<not <(ライフ) = [0]>> and <(命はあるんか) = [1]>> then\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <(mouse x) < [0]>> and <(攻撃状態) = [0]>>> then\n            point in direction (-90)\n            if <<touching (マグマ v)?> or <touching (ソウルサンド v)?>> then\n                change [x2 v] by ((0) - ((スピード) / (2.5)))\n            else\n                change [x2 v] by ((0) - (スピード))\n            end\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<mouse down?> and <[0] < (mouse x)>> and <(攻撃状態) = [0]>>> then\n            point in direction (90)\n            if <<touching (マグマ v)?> or <touching (ソウルサンド v)?>> then\n                change [x2 v] by ((スピード) / (2.5))\n            else\n                change [x2 v] by (スピード)\n            end\n        end\n        set [x2 v] to ((x2) * (地面の摩擦))\n        change x by (x2)\n        if <<<touching (ステージ v)?> or <touching (マグマブロック v)?>> or <touching (ソウルサンド v)?>> then\n            change y by (1)\n            if <<<touching (ステージ v)?> or <touching (マグマブロック v)?>> or <touching (ソウルサンド v)?>> then\n                change y by (1)\n                if <<<touching (ステージ v)?> or <touching (マグマブロック v)?>> or <touching (ソウルサンド v)?>> then\n                    change y by (1)\n                    if <<<touching (ステージ v)?> or <touching (マグマブロック v)?>> or <touching (ソウルサンド v)?>> then\n                        change y by (1)\n                        if <<<touching (ステージ v)?> or <touching (マグマブロック v)?>> or <touching (ソウルサンド v)?>> then\n                            change y by (1)\n                            if <<<touching (ステージ v)?> or <touching (マグマブロック v)?>> or <touching (ソウルサンド v)?>> then\n                                change y by (1)\n                                if <<<touching (ステージ v)?> or <touching (マグマブロック v)?>> or <touching (ソウルサンド v)?>> then\n                                    change x by ((0) - (x2))\n                                    change y by (-5)\n                                    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>> then\n                                        if <not <touching (マグマ v)?>> then\n                                            if <(x2) > [0]> then\n                                                set [x2 v] to ((0) - (壁キックの跳ね返り))\n                                            else\n                                                set [x2 v] to (壁キックの跳ね返り)\n                                            end\n                                            set [y2 v] to (壁キックのジャンプ力)\n                                        end\n                                    else\n                                        set [x2 v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [y2 v] by ((0) - (重力))\n        if <<touching (マグマ v)?> and <(y2) < [-2]>> then\n            set [y2 v] to [-2]\n        end\n        change y by (y2)\n        if <<<touching (ステージ v)?> or <touching (マグマブロック v)?>> or <touching (ソウルサンド v)?>> then\n            change y by ((0) - (y2))\n            set [y2 v] to [0]\n        end\n        change y by (-2)\n        if <<touching (水 v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>>> then\n            set [y2 v] to [4]\n        else\n            if <<<touching (ステージ v)?> or <touching (マグマブロック v)?>> or <touching (ソウルサンド v)?>> then\n                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>> then\n                    set [y2 v] to (ジャンプ力)\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I receive [スタート v]\nwait (0.3) seconds\nforever\n    if <<[225] < (x position)> and <not <(ステージ) = [22]>>> then\n        NEXT\n    end\n    if <<(ステージ) = [22]> and <touching color (#4200b2)?>> then\n        NEXT\n    end\nend\n\ndefine NEXT\nbroadcast (next v)\nset [x2 v] to [0]\nset [y2 v] to [100]\nset [命はあるんか v] to [0]\nwait (0.4) seconds\nchange [ステージ v] by (1)\nwait (0.1) seconds\nset [x2 v] to [0]\nset [y2 v] to [0]\ngo to x: (-200) y: (0)\nwait (2) seconds\nset [命はあるんか v] to [1]\n\nwhen I receive [スタート v]\nforever\n    if <touching (マグマ v)?> then\n        repeat until <not <touching (マグマ v)?>>\n            if <not <(ライフ) = [0]>> then\n                change [ライフ v] by (-9)\n                broadcast (ダメージ v)\n                start sound [う v]\n            end\n            wait (0.2) seconds\n        end\n    else\n        if <not <touching (マグマ v)?>> then\n            switch costume to (普通 v)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <(ライフ) < [0.01]> then\n        broadcast (やられた v)\n        set [ライフ v] to [0]\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <(ライフ) = [0]> then\n        set [slime x v] to (x position)\n        set [slime y v] to (y position)\n        broadcast (Slime Death v)\n        repeat (5)\n            change [ghost v] effect by (20)\n        end\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-200) y: (0)\n        set [ghost v] effect to (0)\n        point in direction (90)\n        wait (0.5) seconds\n        set [ライフ v] to [20]\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (ゾンビ v)?> then\n        start sound [う v]\n        change [ライフ v] by (-8)\n        broadcast (ダメージ v)\n        if <(x position) < (ゾンビ位置x)> then\n            set [x2 v] to [-10]\n            set [y2 v] to [10]\n        else\n            set [x2 v] to [10]\n            set [y2 v] to [10]\n        end\n        wait (0.35) seconds\n    end\nend\n\nwhen I receive [ダメージ v]\nrepeat (10)\n    switch costume to (スティーブ やられた v)\nend\n\nwhen I receive [スタート v]\nforever\n    if <(y position) < [-180]> then\n        repeat until <(ライフ) < [0.01]>\n            change [ライフ v] by (-20)\n            start sound [う v]\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (サボテン v)?> then\n        repeat until <not <touching (サボテン v)?>>\n            if <not <(ライフ) = [0]>> then\n                change [ライフ v] by (-7)\n                broadcast (ダメージ v)\n                start sound [う v]\n            end\n            wait (0.2) seconds\n        end\n    else\n        if <not <touching (マグマ v)?>> then\n            switch costume to (普通 v)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (炎 v)?> then\n        repeat until <not <touching (炎 v)?>>\n            if <not <(ライフ) = [0]>> then\n                change [ライフ v] by (-8)\n                broadcast (ダメージ v)\n                start sound [う v]\n            end\n            wait (0.2) seconds\n        end\n    else\n        if <not <touching (炎 v)?>> then\n            switch costume to (普通 v)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (マグマブロック v)?> then\n        repeat until <not <touching (マグマブロック v)?>>\n            if <not <(ライフ) = [0]>> then\n                change [ライフ v] by (-5)\n                broadcast (ダメージ v)\n                start sound [う v]\n            end\n            wait (0.2) seconds\n        end\n    else\n        if <not <touching (マグマブロック v)?>> then\n            switch costume to (普通 v)\n        end\n    end\nend\n\n@ステージ\n\nwhen I receive [スタート v]\nforever\n    switch costume to (ステージ)\nend\n\n@Health2\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to ((ライフ) + (1))\nend\n\nwhen I receive [スタート v]\nwait (1) seconds\ngo to [front v] layer\n\n@武器2\n\nwhen I receive [next v]\nset size to (100) %\nclear graphic effects\nshow\n\nwhen flag clicked\nforever\n    if <[100] < (direction)> then\n        point in direction (100)\n    end\n    if <(direction) < [-100]> then\n        point in direction (-100)\n    end\nend\n\nwhen I receive [スタート v]\ngo to [front v] layer\nset [攻撃 v] to [0]\nforever\n    switch costume to (持ち物)\n    if <[0] < ([direction v] of [プレイヤー2 v])> then\n        set [右左 v] to [右]\n        go to x: (([x position v] of [プレイヤー2 v]) + (23)) y: (([y position v] of [プレイヤー2 v]) + (-5))\n        if <(攻撃) = [0]> then\n            point in direction (-100)\n        end\n    else\n        set [右左 v] to [左]\n        go to x: (([x position v] of [プレイヤー2 v]) + (-23)) y: (([y position v] of [プレイヤー2 v]) + (-5))\n        if <(攻撃) = [0]> then\n            point in direction (100)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nset [持ち物 v] to [1]\nforever\n    if <(右左) = [右]> then\n        switch costume to ((持ち物) + (1))\n    else\n        switch costume to (持ち物)\n    end\nend\n\nwhen I receive [attack v]\nset [攻撃 v] to [1]\nif <(右左) = [右]> then\n    repeat (4)\n        turn right (15) degrees\n    end\nelse\n    repeat (4)\n        turn left (15) degrees\n    end\nend\nset [攻撃 v] to [0]\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        broadcast (attack v)\n    end\n    wait until <not <key (space v) pressed?>>\nend\n\n@Next!\n\nwhen I receive [next v]\nset [color v] effect to (pick random (-250) to (250))\ngo to [front v] layer\nhide\nstart sound [High Whoosh v]\nclone [1]\nwait (0.05) seconds\nclone [2]\nwait (0.05) seconds\nclone [3]\nwait (0.05) seconds\nclone [4]\nwait (0.05) seconds\nclone [5]\n\ndefine clone (cloneid)\nswitch costume to (cloneid)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nif <<(costume [number v]) = [1]> or <<(costume [number v]) = [2]> or <<(costume [number v]) = [3]> or <<(costume [number v]) = [4]> or <(costume [number v]) = [5]>>>>> then\n    go to x: (468) y: (0)\n    repeat until <(round (x position)) = [0]>\n        change x by (((0) - (x position)) / (7))\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    wait (2.2) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    set [move v] to [OK]\n    delete this clone\nend\nif <(costume [number v]) = [2]> then\n    wait (2.1) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [3]> then\n    wait (2) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [4]> then\n    wait (1.9) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [5]> then\n    wait (1.8) seconds\n    repeat until <[330] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\n\n@マグマ\n\nwhen I receive [スタート v]\nclear graphic effects\nforever\n    switch costume to (ステージ)\nend\n\nset [color v] effect to (80)\n\n@地面2\n\nwhen I receive [スタート v]\nforever\n    switch costume to (ステージ)\nend\n\n@太陽\n\nwhen flag clicked\nset [た v] to [0]\ngo to [back v] layer\nset size to (100) %\nshow\nforever\n    change [た v] by (10)\nend\n\nwhen flag clicked\nforever\n    change size by ([cos v] of (た) )\nend\n\n@Glow\n\nwhen flag clicked\nforever\n    go to x: ([x position v] of [武器 v]) y: (([y position v] of [武器 v]) + (-5))\n    point in direction ((timer) * (8))\n    set size to (500) %\n    go to [back v] layer\n    if <(剣ある？) = [1]> then\n        show\n        clear graphic effects\n    else\n        repeat (20)\n            change [ghost v] effect by (5)\n            change size by (5)\n        end\n        hide\n    end\nend\n\n@(๑•̀ㅂ•́)و✧\n\nwhen I receive [最後 v]\nshow\nstop [all v]\n\nwhen I receive [スタート v]\nforever\n    if <(φ\(*￣0￣\)) > [100]> then\n        broadcast (最後 v)\n    end\nend\n\nwhen I receive [スタート v]\nset [φ\(*￣0￣\) v] to [0]\nforever\n    change [φ\(*￣0￣\) v] by (10)\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\nforever\n    wait (0.01) seconds\n    set [φ\(*￣0￣\) v] to [0]\nend\n\nwhen I receive [スタート v]\nwait (0.01) seconds\nwait until <(ステージ) = [24]>\nwait (0.01) seconds\nforever\n    if <<(time) < (☁ World Record)> and <(ステージ) = [24]>> then\n        wait (0.1) seconds\n        if <(ステージ) = [24]> then\n            wait (0.1) seconds\n            if <(time) < (☁ World Record)> then\n                wait (0.1) seconds\n                broadcast (マジ？ v)\n            end\n        end\n    end\nend\n\nwhen I receive [スタート v]\nhide variable [☁ world record v]\nhide variable [time v]\nhide\nforever\n    if <not <(ステージ) = [24]>> then\n        set [time v] to ((round ((timer) * (10))) / (10))\n    end\n    if <(ステージ) = [24]> then\n        wait (2.5) seconds\n        show variable [☁ world record v]\n        show variable [time v]\n    end\nend\n\nwhen I receive [マジ？ v]\nif <(ステージ) = [24]> then\n    if <(time) < (☁ World Record)> then\n        wait (0.01) seconds\n        if <(time) < (☁ World Record)> then\n            wait (0.01) seconds\n            set [☁ world record v] to (time)\n        end\n    end\nend\n\n@サムネ\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@Slime Particles\n\nwhen flag clicked\nhide\n\nwhen I receive [slime death v]\nrepeat (2)\n    Particles\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\nset [ghost v] effect to (0)\nset [color v] effect to (pick random (-5) to (5))\nset [brightness v] effect to (pick random (-30) to (10))\ngo to x: (SLIME X) y: (SLIME Y)\nshow\nset [xv v] to (pick random (-8) to (8))\nset [yv v] to (pick random (5) to (20))\nrepeat until <<touching (ステージ v)?> or <touching (_edge_ v)?>>\n    change [yv v] by (-2)\n    set [xv v] to ((xv) * (0.9))\n    set [yv v] to ((yv) * (0.9))\n    change x by (xv)\n    change y by (yv)\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 (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 (1)\n                                                if <touching (ステージ v)?> then\n                                                    change y by (1)\n                                                else\n                                                    change y by (-1)\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nrepeat (20)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\ndefine Particles\nrepeat (4)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(複製対策) = [1]> then\n    delete this clone\nend\nset [複製対策 v] to [1]\n\n@スプライト1\n\nwhen flag clicked\nshow\ngo to [front v] layer\nforever\n    if <touching (mouse-pointer v)?> then\n        set [攻撃状態 v] to [1]\n        set [ghost v] effect to (10)\n        if <mouse down?> then\n            broadcast (attack v)\n            wait (0.1) seconds\n            wait until <not <mouse down?>>\n        end\n    else\n        set [ghost v] effect to (70)\n        set [攻撃状態 v] to [0]\n    end\nend\n\nwhen [space v] key pressed\nhide\n\n@スプライト2\n\n@ソウルサンド\n\nwhen I receive [スタート v]\nforever\n    switch costume to (ステージ)\nend\n\n@ゾンビ\n\nwhen I start as a clone\nset [hp v] to [20]\nforever\n    if <<touching (武器2 v)?> and <(攻撃) = [1]>> then\n        if <([x position v] of [プレイヤー2 v]) < (x position)> then\n            set [ゾンビx v] to [10]\n            set [ゾンビy v] to [10]\n        else\n            set [ゾンビx v] to [-10]\n            set [ゾンビy v] to [10]\n        end\n        change [hp v] by ([costume name v] of [武器2 v])\n        if <(HP) < [0.01]> then\n            switch costume to (player2 v)\n            start sound [pigdeath v]\n            set [slime x v] to (x position)\n            set [slime y v] to (y position)\n            broadcast (Slime Death v)\n            repeat (4)\n                change [ghost v] effect by (25)\n            end\n            delete this clone\n        else\n            if <(pick random (1) to (3)) = [1]> then\n                start sound [pig1 v]\n                switch costume to (player2 v)\n            else\n                if <(pick random (1) to (2)) = [1]> then\n                    start sound [pig2 v]\n                    switch costume to (player2 v)\n                else\n                    start sound [pig3 v]\n                    switch costume to (player2 v)\n                end\n            end\n            wait until <(攻撃) = [0]>\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nset size to (70) %\nwait (0.01) seconds\npoint in direction (90)\nset [ゾンビx v] to [0]\nset [y2 v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(ライフ) = [0]>> then\n        if <([x position v] of [プレイヤー2 v]) < (x position)> then\n            point in direction (-90)\n            if <touching (マグマ v)?> then\n                change [ゾンビx v] by (-0.14)\n            else\n                change [ゾンビx v] by (-0.2)\n            end\n        end\n        if <(x position) < ([x position v] of [プレイヤー2 v])> then\n            point in direction (90)\n            if <touching (マグマ v)?> then\n                change [ゾンビx v] by (0.14)\n            else\n                change [ゾンビx v] by (0.2)\n            end\n        end\n        set [ゾンビx v] to ((ゾンビx) * (0.9))\n        change x by (ゾンビx)\n        if <<touching (ステージ v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n            change y by (1)\n            if <<touching (ステージ v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n                change y by (1)\n                if <<touching (ステージ v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n                    change y by (1)\n                    if <<touching (ステージ v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n                        change y by (1)\n                        if <<touching (ステージ v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n                            change y by (1)\n                            if <<touching (ステージ v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n                                change y by (1)\n                                if <<touching (ステージ v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n                                    change x by ((0) - (ゾンビx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [プレイヤー2 v])>> then\n                                        set [ゾンビx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [ゾンビy v] by (-0.9)\n        if <<touching (マグマ v)?> and <(ゾンビy) < [-2]>> then\n            set [ゾンビy v] to [-2]\n        end\n        change y by (ゾンビy)\n        if <<touching (ステージ v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n            change y by ((0) - (ゾンビy))\n            set [ゾンビy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (マグマ v)?> and <(y position) < ([y position v] of [プレイヤー2 v])>> then\n            set [ゾンビy v] to [4]\n        else\n            if <<touching (ステージ v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n                if <((y position) + (10)) < ([y position v] of [プレイヤー2 v])> then\n                    set [ゾンビy v] to [12]\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nif <(ステージ) = [5]> then\n    go to x: (300) y: (0)\nend\nif <(ステージ) = [7]> then\n    go to x: (300) y: (0)\nend\n\nwhen I start as a clone\nswitch costume to (player v)\nforever\n    set [ゾンビ位置x v] to (x position)\n    set [ゾンビ位置y v] to (y position)\nend\n\nwhen I receive [やられた v]\nrepeat (10)\n    delete this clone\nend\nif <(ステージ) = [5]> then\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [7]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [14]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [17]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [21]> then\n    repeat (3)\n        create clone of (_myself_ v)\n        wait (pick random (0.4) to (0.5)) seconds\n    end\nend\nif <(ステージ) = [21]> then\n    repeat (12)\n        go to x: (250) y: (150)\n        if <(ステージ) = [21]> then\n            create clone of (_myself_ v)\n        end\n        go to x: (-250) y: (150)\n        wait (pick random (0.8) to (0.9)) seconds\n        if <(ステージ) = [21]> then\n            create clone of (_myself_ v)\n        end\n        wait (pick random (0.8) to (0.9)) seconds\n    end\nend\n\nwhen I receive [スタート v]\nset [削除 v] to [0]\nwait (1) seconds\nset [削除 v] to [1]\n\nwhen I start as a clone\nif <(削除) = [0]> then\n    delete this clone\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [スタート v]\ngo to x: (250) y: (0)\ngo to [front v] layer\nhide\nwait until <(ステージ) = [5]>\nwait (0.5) seconds\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [7]>\nwait (0.5) seconds\ncreate clone of (_myself_ v)\nwait (1) seconds\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [14]>\nwait (0.5) seconds\ncreate clone of (_myself_ v)\nwait (1) seconds\ncreate clone of (_myself_ v)\nwait (1) seconds\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [17]>\ngo to x: (250) y: (150)\nwait (0.5) seconds\ncreate clone of (_myself_ v)\nwait (1) seconds\ncreate clone of (_myself_ v)\nwait (1) seconds\ncreate clone of (_myself_ v)\nwait (1) seconds\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [21]>\nwait (0.5) seconds\ngo to x: (250) y: (150)\nif <(ステージ) = [21]> then\n    repeat (3)\n        create clone of (_myself_ v)\n        wait (pick random (0.4) to (0.5)) seconds\n    end\nend\nrepeat (12)\n    go to x: (250) y: (150)\n    wait (pick random (0.8) to (0.9)) seconds\n    if <(ステージ) = [21]> then\n        create clone of (_myself_ v)\n    end\n    go to x: (-250) y: (150)\n    wait (pick random (0.8) to (0.9)) seconds\n    if <(ステージ) = [21]> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(攻撃) = [0]> then\n        switch costume to (player v)\n    end\nend\n\n@炎\n\nwhen I receive [スタート v]\nclear graphic effects\nforever\n    switch costume to (ステージ)\nend\n\n@マグマブロック\n\nwhen I receive [スタート v]\nforever\n    switch costume to (ステージ)\nend\n\n@ステージ2\n\nwhen I receive [スタート v]\nforever\n    switch costume to (ステージ)\nend\n\n
Minecraft Platformer 2 - Episode 2\n\n➊ Use ARROW keys, WASD keys or touchscreen.\n➋ SPACEBAR or ACTION to chop, hit or craft.\n\nLevel 1 has a tutorial and keeps items to get you going.  TONS of awesome new gameplay!\n\nFirst 100 to love and comment win chance to be added  to the credit crew!\nYes, you CAN post a walk-through in the comments!  \n\n---------- IPad, tablet, and mobile friendly ---------\n\n-----------------------Search Tags-----------------------\n#games #minecraft  #platformer #platform #music #2  #animation #atomicmagicnumber  #episode #mobile\n---------------------------------------------------------------\nPro tip - to thank you for reading this stuff:\n\nHUGE BONUS CHESTS for completing levels FAST!\nMAX of 5 CHEST per level for ULTRA FAST players!\nYes, it is possible to get all the chests... but it is hard - getting even one chest a level is a huge achievement.