☆Minecraft Platformer☆

Instructions: The pigs have taken your eggs and you want it back.\nUse the mouse to launch the bird. After making contact with the level, you can use WASD or arrow keys to move like a normal platformer. Your goal is to take out all pigs on a level and it will reveal the secret egg. Reach it to beat the level. \nPress r to restart a level\nWith the white bird press e to shoot a egg beneath you\nWIth the black bird press q to shoot benath you\n\nFor the first boss fight, you want to hit the boss 2 times to take him out. Avoid flying pigs.\nFor the 2nd boss fight, y ou want to hit him enough times with your boomerangs,that can be deflected by his sword. If the sword touches you you will have to restart the boss fight.\nThe levels aren't too hard because there is no skip button\n

@Stage\n\nwhen flag clicked\nset [へー v] to [0]\nswitch backdrop to (blue sky 2  v)\nforever\n    play sound [Time To Leaf v] until done\nend\n\nwhen I receive [へー v]\nswitch backdrop to (blue sky 2 2 v)\nif <(へー) = [0]> then\n    change [time v] by (-1)\n    set [へー v] to [1]\nend\n\n@サムネ\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\n\nwhen I receive [ねくすとぉ v]\nif <(ステージ) = [1]> then\n    change [☁ あ v] by (1)\nend\n\nwhen [timer v] > (0)\nif <not <(time) = (☁ ログ)>> then\n    set [☁ ログ v] to (join (time) [000])\nend\n\n@ばね\n\nwhen flag clicked\nshow\nforever\n    go to x: (0) y: (-125)\n    switch costume to (ステージ)\nend\n\nwhen [timer v] > (0)\nhide\nhide variable [time v]\n\nwhen I receive [ねくすとぉ v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [ねくすとぉしゅーりょー v]\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\n@マグマ\n\nwhen flag clicked\nset [time v] to [0]\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [ねくすとぉ v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [ねくすとぉしゅーりょー v]\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\n@地面\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [クリア v]\nshow variable [time v]\nset [☁ ログ v] to (time)\nif <(かくしようそぉ) = [0]> then\n    if <(☁ 世界記録) > (time)> then\n        set [☁ 世界記録 v] to (time)\n    end\nend\nshow variable [☁ 世界記録 v]\n\nwhen flag clicked\nhide variable [time v]\nhide variable [☁ 世界記録 v]\nwait until <(costume [number v]) = [1]>\nrepeat until <(costume [number v]) = [11]>\n    change [time v] by (1)\n    wait (0.99) seconds\nend\n\nwhen I receive [ねくすとぉしゅーりょー v]\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\nwhen I receive [ねくすとぉ v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@プレイヤー\n\nwhen flag clicked\nclear graphic effects\nset size to (65) %\nwait (0.01) seconds\nset rotation style [left-right v]\npoint in direction (90)\ngo to [front v] layer\nset [x v] to [0]\nset [y v] to [0]\nset [ステージ v] to [1]\nclear graphic effects\ngo to x: (-200) y: (0)\nshow\nforever\n    if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    set [x v] to ((x) * (0.92))\n    change x by (x)\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 x by ((0) - (x))\n                                change y by (-5)\n                                if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> then\n                                    if <[0] < (x)> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                    set [y v] to [15]\n                                else\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 (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((0) - (y))\n        set [y v] to [0]\n    end\n    change y by (-2)\n    if <<<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> and <touching (地面 v)?>> then\n        start sound [jump-cute1 v]\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<<(y position) < [-165]> or <touching (マグマ v)?>> or <touching (プレイヤー2 v)?>> then\n        start sound [Teleport2 v]\n        broadcast (てーん v)\n        repeat (15)\n            change [ghost v] effect by (5)\n            change [brightness v] effect by (5)\n        end\n        hide\n        clear graphic effects\n        go to x: (-200) y: (0)\n        set [x v] to [0]\n        set [y v] to [0]\n        show\n    end\n    if <[239] < (x position)> then\n        if <not <(ステージ) = [11]>> then\n            hide\n            clear graphic effects\n            go to x: (-200) y: (0)\n            set [x v] to [0]\n            set [y v] to [0]\n            broadcast (ねくすとぉ v) and wait\n            show\n            if <(ステージ) = [11]> then\n                broadcast (クリア v)\n            end\n        end\n    end\n    if <(x position) < [-239]> then\n        if <<(time) = [2]> and <(ステージ) = [2]>> then\n            set [かくしようそぉ v] to [1]\n            hide\n            clear graphic effects\n            go to x: (-200) y: (0)\n            set [x v] to [0]\n            set [y v] to [0]\n            broadcast (ねくすとぉ v) and wait\n            set [ステージ v] to [11]\n            show\n            broadcast (クリア v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (ばね v)?> then\n        start sound [jump-anime1 v]\n        set [y v] to [22.5]\n    end\nend\n\nwhen flag clicked\nforever\n    reset timer\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<(mouse y) < [-50]> and <mouse down?>>> then\n        switch costume to (コスチューム2 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen [r v] key pressed\ngo to x: (-200) y: (0)\n\nwhen flag clicked\n\nforever\n    if <[] = [50]> then\n    wait (0.2) seconds\nend\n\nwhen flag clicked\nwait until <(ステージ) = [1]>\nforever\n    if <<(ステージ) = [11]> and <(x position) > [239]>> then\n        broadcast (へー v)\n    end\nend\n\nwhen flag clicked\nset [かくしようそぉ v] to [0]\n\n@NEXT\n\ndefine ドーナツ‼\nset pen color to (#7dccc6)\nset pen size to (80)\npen down\nset [変数 v] to [50]\nrepeat (15)\n    set pen (transparency v) to (80)\n    change pen size by (30)\n    change [変数 v] by (30)\n    go to x: (0) y: (0)\nend\nset [2 v] to [80]\nset pen size to (80)\nshow\nrepeat (20)\n    set pen color to (#7dcdc6)\n    set pen size to (変数)\n    change [変数 v] by (30)\n    set pen (transparency v) to (80)\n    go to x: (0) y: (0)\n    set pen color to (#f1fff7)\n    set pen size to (2)\n    set pen (transparency v) to (0)\n    go to x: (0) y: (0)\n    change [2 v] by (30)\nend\n\ndefine なんだこれ\nset pen size to (0)\npen down\nset pen color to (#f1fffd)\nrepeat (20)\n    change pen (saturation v) by ((34) / (20))\n    change pen (brightness v) by (-1)\n    change pen size by (30)\n    go to x: (0) y: (0)\nend\nset pen color to (#7dccb4)\ngo to x: (0) y: (0)\n\ndefine ポワン【逆】\npen up\nshow\ngo to x: (0) y: (0)\nset size to (107) %\nset [変数 v] to [22]\nrepeat (18)\n    change [変数 v] by (-1)\n    change y by (join [-] (変数))\n    change size by (join [-] ((変数) / (2)))\nend\n\ndefine 普通【逆】\nset pen color to (#7dccc4)\nset pen size to (880)\npen down\nrepeat (25)\n    erase all\n    change pen size by (-32)\n    go to x: (0) y: (0)\nend\n\nwhen I receive [ねくすとぉ v]\ngo to x: (0) y: (0)\nerase all\nset size to (100) %\nswitch costume to (コスチューム2 v)\nhide\nstart sound [Rip v]\nドーナツ‼\nなんだこれ\nswitch costume to (コスチューム1 v)\nchange [ステージ v] by (1)\n普通【逆】\nbroadcast (ねくすとぉしゅーりょー v)\nerase all\nポワン【逆】\nhide\n\nwhen flag clicked\nhide\nerase all\npen up\n\n@プレイヤー2\n\nwhen flag clicked\nおいつくぞー\n\nwhen [r v] key pressed\ngo to x: (-200) y: (150)\n\nwhen I receive [ねくすとぉしゅーりょー v]\nshow\nwait (1) seconds\nおいつくぞー\n\ndefine おいつくぞー\ngo to x: (-200) y: (120)\nshow\nforever\n    if <(x position) > ([x position v] of [プレイヤー v])> then\n        change x by (-4)\n    else\n        change x by (4)\n    end\n    if <(y position) > ([y position v] of [プレイヤー v])> then\n        change y by (-4)\n    else\n        change y by (4)\n    end\nend\n\nwhen I receive [ねくすとぉ v]\ngo to x: (-200) y: (120)\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [てーん v]\nstop [other scripts in sprite v]\ngo to x: (-200) y: (120)\nwait (0.7) seconds\nおいつくぞー\n\nwhen [timer v] > (0)\nhide\nhide variable [☁ 世界記録 v]\n\nwhen I receive [クリア v]\nstop [other scripts in sprite v]\nhide\n\n