UPDATED‼PLATFORMER　炎の勇者　
@Stage\n\nwhen flag clicked\nforever\n    play sound [Reasoning-intro v] until done\n    play sound [Reasoning v] until done\nend\n\n@スプライト2\n\ngo to x: (218) y: (151)\n\n@スプライト1\n\nwhen flag clicked\nforever\n    wait (0.5) seconds\n    next costume\nend\n\nwhen flag clicked\nforever\n    repeat (10)\n        wait (0.1) seconds\n        change y by (燃え上がる)\n    end\n    repeat (10)\n        wait (0.1) seconds\n        change y by (燃え上がる)\n    end\nend\n\nwhen flag clicked\nset [燃え上がる v] to [0]\ngo to x: (-5) y: (15)\nrepeat (10)\n    wait (0.1) seconds\n    change [燃え上がる v] by (0.15)\nend\nforever\n    repeat (20)\n        wait (0.1) seconds\n        change [燃え上がる v] by (-0.15)\n    end\n    wait (0.1) seconds\n    repeat (20)\n        wait (0.1) seconds\n        change [燃え上がる v] by (0.15)\n    end\n    wait (0.1) seconds\nend\n\n@地面\n\nwhen flag clicked\nset [足場 v] to [11]\nwait (0) seconds\nset [足場 v] to [1]\n\nwhen flag clicked\nforever\n    switch costume to (足場)\nend\n\n\n\nif <<<<(足場) = [9]> or <(足場) = [8]>> or <(足場) = [7]>> or <(足場) = [6]>> then\n    show\nelse\n    hide\nend\n\nforever\n\ngo to (random position v)\n\n@勇者\n\nwhen flag clicked\nset [足場 v] to [1]\nswitch costume to (止まる v)\ngo to x: (-210) y: (-90)\nshow\nset size to (100) %\nshow\nset [x v] to [0]\nset [y v] to [0]\npoint in direction (90)\ngo to x: (-201) y: (152)\ngo to x: (-213) y: (-34)\nforever\n    set rotation style [left-right v]\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        switch costume to (左 v)\n        change [x2 v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        switch costume to (右 v)\n        change [x2 v] by (1)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\n    if <<touching (cooltext417096862531607 v)?> or <<touching (cooltext417096787930556 v)?> or <<<touching (スプライト18 v)?> or <touching (スプライト17 v)?>> or <touching (地面 v)?>>>> then\n        change y by (1)\n        if <<touching (cooltext417096862531607 v)?> or <<touching (cooltext417096787930556 v)?> or <<<touching (スプライト18 v)?> or <touching (スプライト17 v)?>> or <touching (地面 v)?>>>> then\n            change y by (1)\n            if <<touching (cooltext417096862531607 v)?> or <<touching (cooltext417096787930556 v)?> or <<<touching (スプライト18 v)?> or <touching (スプライト17 v)?>> or <touching (地面 v)?>>>> then\n                change y by (1)\n                if <<touching (cooltext417096862531607 v)?> or <<touching (cooltext417096787930556 v)?> or <<<touching (スプライト18 v)?> or <touching (スプライト17 v)?>> or <touching (地面 v)?>>>> then\n                    change y by (1)\n                    if <<touching (cooltext417096862531607 v)?> or <<touching (cooltext417096787930556 v)?> or <<<touching (スプライト18 v)?> or <touching (スプライト17 v)?>> or <touching (地面 v)?>>>> then\n                        change y by (1.0)\n                        if <<touching (cooltext417096862531607 v)?> or <<touching (cooltext417096787930556 v)?> or <<<touching (スプライト18 v)?> or <touching (スプライト17 v)?>> or <touching (地面 v)?>>>> then\n                            change x by ((X2) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>> then\n                                if <(X2) > [0]> then\n                                    set [x2 v] to [-5]\n                                else\n                                    set [x2 v] to [5]\n                                end\n                                set [y2 v] to [10]\n                            else\n                                set [x2 v] to [0.0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<touching (cooltext417096862531607 v)?> or <<touching (cooltext417096787930556 v)?> or <<<touching (スプライト18 v)?> or <touching (スプライト17 v)?>> or <touching (地面 v)?>>>> then\n        if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n            start sound [かたん v]\n            set [y2 v] to [13]\n        end\n    end\n    change y by (1)\n    change [y2 v] by (-1)\n    change y by (Y2)\n    if <<touching (cooltext417096862531607 v)?> or <<touching (cooltext417096787930556 v)?> or <<<touching (スプライト18 v)?> or <touching (スプライト17 v)?>> or <touching (地面 v)?>>>> then\n        change y by ((Y2) * (-1))\n        set [y2 v] to [0]\n    end\n    if <(x position) > [230]> then\n        broadcast (次 v)\n        hide\n        change [足場 v] by (1)\n        set [x2 v] to [0]\n        go to x: (-201) y: (-100)\n        show\n    end\n    if <<<touching (スプライト7 v)?> or <touching (スプライト5 v)?>> or <<touching (障害物 v)?> or <<touching (とげ v)?> or <<touching (水 v)?> or <<touching (滴る水 v)?> or <<touching (teki v)?> or <touching (スプライト10 v)?>>>>>>> then\n        set [x2 v] to [0]\n        set [y2 v] to [0]\n        start sound [Oops v]\n        repeat (20)\n            change [ghost v] effect by (20)\n        end\n        go to x: (-201) y: (-100)\n        repeat (20)\n            change [ghost v] effect by (-8)\n        end\n    end\n    if <touching (バネ v)?> then\n        set [y2 v] to [20]\n    end\nend\n\nwhen flag clicked\n\nif <touching (地面 v)?> then\n    start sound [ジャンプの着地 \(1\) v]\nend\n\nstart sound [ジャンプの着地 \(1\) v]\n\ngo to [front v] layer\n\nforever\n\nrepeat until <not <key (down arrow v) pressed?>>\n\nif <(costume [name v]) = [右]> then\n    switch costume to (右2 v)\nend\nif <(costume [name v]) = [左]> then\n    switch costume to (左2 v)\nend\nif <<<key (down arrow v) pressed?> and <key (left arrow v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n    switch costume to (左2 v)\n    change [x2 v] by (-1)\nend\nif <<<key (down arrow v) pressed?> and <key (right arrow v) pressed?>> or <<(x position) < (mouse x)> and <mouse down?>>> then\n    switch costume to (右2 v)\n    change [x2 v] by (1)\nend\nif <key (down arrow v) pressed?> then\n\nhide\n\n@Screenshot 2022-03-20 22\n\nwhen flag clicked\nshow\nforever\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\nchange x by (10)\n\n@とげ\n\nwhen flag clicked\nswitch costume to (2本 v)\n\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    if <<(足場) = [5]> or <(足場) = [4]>> then\n        show\n        if <(足場) = [5]> then\n            switch costume to (2本2 v)\n        end\n    else\n        hide\n    end\nend\n\nglide (0.3) secs to x: (0) y: (200)\nwait (0.5) seconds\nglide (0.3) secs to x: (0) y: (0)\nwait (0.5) seconds\n\ngo [backward v] (1) layers\n\n@スプライト5\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (20) layers\nforever\n    turn right (15) degrees\nend\n\nwhen flag clicked\ngo to x: (0) y: (-120)\nrepeat (10)\n    wait (0.01) seconds\n    change y by (20)\nend\nforever\n    repeat (10)\n        wait (0.01) seconds\n        change y by (40)\n    end\n    repeat (10)\n        wait (0.01) seconds\n        change y by (-40)\n    end\nend\n\ngo to [front v] layer\ngo [forward v] (3) layers\n\nwhen flag clicked\nforever\n    if <(足場) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\nset size to (30) %\n\nchange x by (20)\n\nchange x by (20)\n\nchange x by (40)\n\nchange x by (-40)\n\n@スプライト3\n\nwhen flag clicked\nswitch costume to (hdy2hmzfjlfbmy81660019154_2 v)\npoint in direction (90)\nforever\n    repeat (3)\n        repeat (5)\n            turn left (0.9) degrees\n            wait (0.2) seconds\n        end\n        wait (0.5) seconds\n        repeat (5)\n            turn right (0.9) degrees\n            wait (0.2) seconds\n        end\n        wait (0.5) seconds\n    end\n    switch costume to (hdy2hmzfjlfbmy81660019154_2 v)\n    turn right (5) degrees\n    wait (0.1) seconds\n    switch costume to (hdy2hmzfjlfbmy81660019154_4 v)\n    turn right (5) degrees\n    wait (0.11) seconds\n    switch costume to (hdy2hmzfjlfbmy81660019154_3 v)\n    wait (0.4) seconds\n    switch costume to (hdy2hmzfjlfbmy81660019154_4 v)\n    wait (0) seconds\n    repeat (5)\n        turn left (2) degrees\n    end\n    repeat (10)\n        switch costume to (hdy2hmzfjlfbmy81660019154_1660019274 v)\n        wait (0.1) seconds\n        switch costume to (hdy2hmzfjlfbmy81660019154_5 v)\n        wait (0.1) seconds\n    end\n    switch costume to (hdy2hmzfjlfbmy81660019154_6 v)\n    wait (0.15) seconds\n    switch costume to (hdy2hmzfjlfbmy81660019154_2 v)\nend\n\n@勇者の剣\n\nset size to (25) %\n\nwhen flag clicked\nforever\n    go to (勇者 v)\nend\n\nwhen flag clicked\npoint in direction (90)\nset rotation style [left-right v]\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (マーティンの刃 v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (マーティンの刃2 v)\n    end\nend\n\npoint in direction (90)\n\nwait (0) seconds\n\nwhen [space v] key pressed\nset rotation style [all around v]\nif <([costume name v] of [勇者 v]) = [右]> then\n    start sound [フォッ v]\n    repeat (5)\n        turn right (12) degrees\n    end\n    repeat (5)\n        turn left (12) degrees\n    end\nend\nif <([costume name v] of [勇者 v]) = [左]> then\n    start sound [フォッ v]\n    repeat (5)\n        turn left (12) degrees\n    end\n    repeat (5)\n        turn right (12) degrees\n    end\nend\nset rotation style [left-right v]\n\npoint in direction (-90)\n\nplay sound [フォッ v] until done\n\nstart sound [フォッ v]\nrepeat (5)\n    turn right (12) degrees\nend\nrepeat (5)\n    turn left (12) degrees\nend\n\nstart sound [フォッ v]\nrepeat (5)\n    turn left (12) degrees\nend\nrepeat (5)\n    turn right (12) degrees\nend\n\n@炎の盾\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nset size to (25) %\nforever\n    go to (勇者 v)\nend\n\nset rotation style [left-right v]\n\nchange size by (10)\n\ngo to (スプライト9 v)\n\nwhen [down arrow v] key pressed\n\nset rotation style [left-right v]\nif <key (down arrow v) pressed?> then\n    if <([costume name v] of [勇者 v]) = [右]> then\n        point in direction (-90)\n    end\n    if <([costume name v] of [勇者 v]) = [左]> then\n        point in direction (90)\n    end\nelse\n    if <([costume name v] of [勇者 v]) = [右]> then\n        point in direction (90)\n    end\n    if <([costume name v] of [勇者 v]) = [左]> then\n        point in direction (-90)\n    end\nend\nset rotation style [left-right v]\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    if <key (down arrow v) pressed?> then\n        if <([costume name v] of [勇者 v]) = [右]> then\n            point in direction (-90)\n        end\n        if <([costume name v] of [勇者 v]) = [左]> then\n            point in direction (90)\n        end\n    else\n        if <([costume name v] of [勇者 v]) = [右]> then\n            point in direction (90)\n        end\n        if <([costume name v] of [勇者 v]) = [左]> then\n            point in direction (-90)\n        end\n    end\n    set rotation style [left-right v]\nend\n\nset x to ((x position) + (10))\nset x to ((x position) + (-5))\n\nset x to ((x position) + (5))\nset x to ((x position) + (-5))\n\n@当たり判定\n\nwhen [space v] key pressed\nset rotation style [all around v]\nif <([costume name v] of [勇者 v]) = [右]> then\n    point in direction (90)\nend\nif <([costume name v] of [勇者 v]) = [左]> then\n    point in direction (-90)\nend\n\nwhen flag clicked\nshow\nhide\nset [ghost v] effect to (100)\nforever\n    go to (勇者 v)\nend\n\nwhen [space v] key pressed\nshow\nif <<([costume name v] of [勇者 v]) = [左2]> or <([costume name v] of [勇者 v]) = [右2]>> then\n    hide\n    set [ghost v] effect to (100)\nelse\n    show\n    set [ghost v] effect to (99)\n    wait (0.2) seconds\n    hide\n    set [ghost v] effect to (100)\n    wait (0.08) seconds\nend\n\n@cooltext417096862531607\n\nwhen flag clicked\nhide\nforever\n    next costume\nend\n\nshow\n\nwhen flag clicked\nforever\n    if <([costume name v] of [地面 v]) = [コスチューム11]> then\n        show\n    else\n        hide\n    end\nend\n\n@cooltext417096787930556\n\nwhen flag clicked\nforever\n    if <([costume name v] of [地面 v]) = [コスチューム11]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    next costume\nend\n\n@スプライト6\n\nwhen flag clicked\nforever\n    if <([costume name v] of [地面 v]) = [コスチューム11]> then\n        show\n    else\n        hide\n    end\nend\n\n@バネ\n\nwhen flag clicked\nforever\n    if <(足場) = [1]> then\n        hide\n    end\n    if <(足場) = [2]> then\n        hide\n    end\n    if <(足場) = [3]> then\n        hide\n    end\n    if <(足場) = [4]> then\n        hide\n    end\n    if <(足場) = [5]> then\n        show\n        go to x: (-150) y: (-100)\n    end\n    if <(足場) = [6]> then\n        hide\n    end\nend\n\nshow\ngo to x: (-150) y: (-90)\n\nwhen flag clicked\nforever\n    if <touching (勇者 v)?> then\n        wait until <not <touching (勇者 v)?>>\n        repeat (5)\n            wait (0.001) seconds\n            next costume\n        end\n    end\nend\n\nchange x by (-10)\n\n@Saw1\n\nwhen flag clicked\nforever\n    \nend\n\n@スプライト7\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (20) layers\nforever\n    turn right (15) degrees\nend\n\nwhen flag clicked\ngo to x: (0) y: (-120)\nrepeat (10)\n    wait (0.01) seconds\n    change y by (20)\nend\nforever\n    wait (0.5) seconds\n    repeat (10)\n        wait (0.01) seconds\n        change y by (40)\n    end\n    repeat (10)\n        wait (0.01) seconds\n        change y by (-40)\n    end\nend\n\ngo to [back v] layer\ngo [forward v] (3) layers\n\nwhen flag clicked\nforever\n    if <(足場) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\nset size to (30) %\n\nchange x by (20)\n\nchange x by (20)\n\nchange x by (40)\n\nchange x by (-40)\n\n@スプライト8\n\nwhen flag clicked\nforever\n    if <([costume name v] of [地面 v]) = [コスチューム11]> then\n        show\n        set [ghost v] effect to (0)\n    else\n        set [ghost v] effect to (99)\n    end\nend\n\ngo [backward v] (1) layers\n\nwhen flag clicked\nforever\n    if <(足場) = [6]> then\n        set [ghost v] effect to (99)\n    end\nend\n\nhide\n\nshow\n\n@スプライト9\n\n@スプライト10\n\nchange y by (1)\n\nwhen flag clicked\ngo to x: (-50) y: (-190)\nset size to (72) %\nshow\nif <(足場) = [6]> then\n    set y to (-99)\n    show\nend\nchange y by (-10)\n\nchange size by (-1)\n\nchange y by (1)\n\nchange y by (-1)\n\nforever\n\nwhen flag clicked\nrepeat until <touching (当たり判定 v)?>\n    point in direction (-90)\n    repeat (50)\n        change x by (5)\n    end\n    point in direction (90)\n    repeat (50)\n        change x by (-5)\n    end\nend\n\nset rotation style [left-right v]\n\ndefine 判定触れた\n\nwhen flag clicked\nforever\n    if <touching (当たり判定 v)?> then\n        broadcast (幽霊 v)\n        set y to (-190)\n        hide\n    end\nend\n\n判定触れた\nstop [this script v]\n\nwhen I receive [6 v]\n\nchange x by (-10)\n\n判定触れた\n判定触れた\n判定触れた\n判定触れた\n\nglide (1.5) secs to x: (170) y: (-99)\nglide (1.5) secs to x: (-54) y: (-99)\n\npoint in direction (-90)\n\nwait (0) seconds\n\nwait (0) seconds\nchange y by (-20)\n\nwhen flag clicked\nforever\n    if <<touching (スプライト12 v)?> and <(足場) = [6]>> then\n        set y to (-99)\n        show\n    end\n    \nend\n\n\n\nset y to (-190)\nhide\n\n@スプライト11\n\nchange y by (1)\n\nwhen flag clicked\nset size to (72) %\nhide\nforever\n    go to (スプライト10 v)\nend\n\nif <(足場) = [6]> then\nelse\nend\n\nshow\n\nchange y by (1)\n\nwhen I receive [幽霊 v]\ngo to (スプライト10 v)\nshow\nset [ghost v] effect to (20)\nglide (0.7) secs to x: ((x position) + (0)) y: (78)\n\nwhen I receive [幽霊 v]\nrepeat (8)\n    change [ghost v] effect by (10)\n    wait (0) seconds\nend\nhide\n\nbroadcast (幽霊 v)\n\n@スプライト12\n\nwhen flag clicked\nhide\n\nforever\n    if <([costume name v] of [地面 v]) = [コスチューム11]> then\n        show\n    else\n    end\nend\n\ngo [forward v] (1) layers\n\nset [ghost v] effect to (99)\n\nwhen flag clicked\nforever\n    if <(足場) = [6]> then\n        show\n        set [ghost v] effect to (99)\n    end\nend\n\nset [ghost v] effect to (0)\n\nwhen I receive [幽霊 v]\nhide\n\n@水\n\ngo [forward v] (1) layers\n\n@スプライト13\n\nwhen flag clicked\nif <(足場) = [50]> then\n\nwhen flag clicked\nforever\n    if <<<<(足場) = [9]> or <(足場) = [8]>> or <(足場) = [7]>> or <(足場) = [6]>> then\n        show\n    else\n        hide\n    end\nend\n\n@滴る水\n\nwhen flag clicked\nhide\nforever\n    if <(足場) = [8]> then\n        show\n    else\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (盾オーラ v)?> or <touching (炎の盾 v)?>> then\n        hide\n    else\n    end\nend\n\nwait (1) seconds\n\nshow\n\ngo to [front v] layer\n\ngo to [back v] layer\n\ngo to [back v] layer\n\ngo [backward v] (1) layers\n\nwhen flag clicked\nforever\n    if <(足場) = [9]> then\n        hide\n    end\nend\n\n@スプライト15\n\nwhen flag clicked\nforever\n    if <(足場) = [8]> then\n        show\n    else\n        hide\n    end\nend\n\ngo to (滴る水 v)\n\n@盾オーラ\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nhide\nforever\n    go to (勇者 v)\nend\n\nwhen flag clicked\nforever\n    if <key (down arrow v) pressed?> then\n        set [ghost v] effect to (99)\n        show\n    else\n        hide\n        set [ghost v] effect to (100)\n    end\nend\n\n@スプライト4\n\nwhen I start as a clone\nif <(type) = [1]> then\n    clear graphic effects\n    show\n    go to [front v] layer\n    set size to (100) %\n    switch costume to (ポインター v)\n    go to x: (0) y: (0)\n    set [x v] to [-10]\n    set [y v] to [0]\n    repeat (20)\n        change x by (x)\n        change [x v] by (1)\n    end\n    repeat (20)\n        change x by (x)\n        change [x v] by (-0.5)\n    end\n    repeat (12)\n        change x by (x)\n        change y by (y)\n        change [x v] by (0.5)\n        change [y v] by (1)\n    end\n    repeat (12)\n        change x by (x)\n        change y by (y)\n        change [x v] by (-0.5)\n        change [y v] by (-1)\n    end\n    start sound [クリック v]\n    wait (0.1) seconds\n    repeat (12)\n        change x by (x)\n        change y by (y)\n        change [x v] by (-0.5)\n        change [y v] by (-1)\n    end\n    repeat (6)\n        change x by (x)\n        change y by (y)\n        change [x v] by (-0.5)\n        change [y v] by (-1)\n    end\n    repeat (24)\n        change x by (x)\n        change y by (y)\n        change [x v] by (0.5)\n        change [y v] by (1)\n    end\n    set [x v] to [0]\n    set [y v] to [0]\n    repeat (15)\n        change x by (x)\n        change y by (y)\n        change [x v] by (-0.5)\n    end\n    repeat (10)\n        change x by (x)\n        change y by (y)\n        change [x v] by (0.5)\n    end\n    start sound [クリック v]\n    repeat (10)\n        change x by (x)\n        change y by (y)\n        change [x v] by (-0.5)\n    end\n    start sound [クリック v]\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nset [x v] to [0]\n\nwhen flag clicked\nrepeat (10)\n    wait (pick random (10) to (20)) seconds\n    set [type v] to [1]\n    create clone of (_myself_ v)\n    set [type v] to [2]\n    create clone of (_myself_ v)\n    set [type v] to [3]\n    create clone of (_myself_ v)\n    set [type v] to [4]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(type) = [2]> then\n    clear graphic effects\n    show\n    set [y v] to [0]\n    set size to (200) %\n    switch costume to (フォロー v)\n    go to x: (150) y: (240)\n    repeat (10)\n        change [y v] by (-0.5)\n        change y by (y)\n    end\n    set [y v] to [0]\n    repeat (30)\n        wait (0) seconds\n    end\n    switch costume to (押されたフォロー v)\n    wait (0.1) seconds\n    switch costume to (フォロー v)\n    wait (0.1) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(type) = [3]> then\n    hide\n    wait (4) seconds\n    set [y v] to [0]\n    show\n    set size to (100) %\n    switch costume to (♡ v)\n    go to x: (-145) y: (-240)\n    repeat (8)\n        change [y v] by (0.5)\n        change y by (y)\n    end\n    wait (0.5) seconds\n    switch costume to (♥ v)\n    wait (1) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(type) = [4]> then\n    hide\n    wait (3.9) seconds\n    set [y v] to [0]\n    show\n    set size to (100) %\n    switch costume to (☆ v)\n    go to x: (-100) y: (-240)\n    repeat (8)\n        change [y v] by (0.5)\n        change y by (y)\n    end\n    wait (0.3) seconds\n    switch costume to (★ v)\n    wait (1) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\n@teki\n\nwhen I start as a clone\nset [hp v] to [1]\nshow\nset [ghost v] effect to (0)\nforever\n    if <touching (当たり判定 v)?> then\n        switch costume to (player2 v)\n        broadcast (幽霊2 v)\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    end\nend\n\nwhen I start as a clone\n\nclear graphic effects\nset size to (70) %\nwait (0.01) seconds\npoint in direction (90)\nset [ゾンビx v] to [0]\nset [ゾンビy 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            change [ゾンビx v] by (-0.2)\n        end\n        if <(x position) < ([x position v] of [プレイヤー2 v])> then\n            point in direction (90)\n            change [ゾンビx v] by (0.2)\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                                        if <(ゾンビx) > [0]> then\n                                            set [ゾンビx v] to ((0) - (壁キックの跳ね返り))\n                                        else\n                                            set [ゾンビx v] to (壁キックの跳ね返り)\n                                        end\n                                        set [ゾンビy v] to (壁キックのジャンプ力)\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 (-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 [幽霊2 v]\n\nwhen I receive [スタート v]\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]\n\ncreate clone of (_myself_ v)\n\nwhen I receive [攻撃 v]\nwait (0.3) seconds\nswitch costume to (player v)\n\nwhen I start as a clone\nforever\n    if <(y position) < [-175]> then\n        broadcast (攻撃 v)\n        switch costume to (player2 v)\n        set [hp v] to [0]\n        switch costume to (player2 v)\n        start sound [Enderman death v]\n        set [slime x v] to (x position)\n        set [slime y v] to (y position)\n        broadcast (2 v)\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    end\nend\n\nwhen I receive [スタート v]\n\nwhen flag clicked\n\nwhen flag clicked\ngo to [front v] layer\nhide\nwait until <(足場) = [1]>\ncreate clone of (_myself_ v)\nwait (1) seconds\nwait until <(足場) = [6]>\nwait (0.6) seconds\ncreate clone of (_myself_ v)\nwait (0.6) seconds\ncreate clone of (_myself_ v)\nwait until <(足場) = [12]>\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 <(足場) = [14]>\nrepeat (5)\n    wait (0.5) seconds\n    create clone of (_myself_ v)\nend\nwait until <(足場) = [16]>\ngo to x: (250) y: (150)\nwait (0.5) seconds\nrepeat (2)\n    create clone of (_myself_ v)\n    wait (pick random (0.4) to (0.5)) seconds\nend\nrepeat (3)\n    go to x: (250) y: (150)\n    wait (pick random (1.5) to (1.7)) seconds\n    create clone of (_myself_ v)\n    go to x: (-250) y: (150)\n    wait (pick random (1.5) to (1.7)) seconds\n    create clone of (_myself_ v)\nend\nwait (0.5) seconds\n\nwhen flag clicked\n\nif <([x position v] of [プレイヤー2 v]) < (x position)> then\n    set [ゾンビx v] to [9]\n    set [ゾンビy v] to [8]\nelse\n    set [ゾンビx v] to [-9]\n    set [ゾンビy v] to [8]\nend\nchange [hp v] by ([costume name v] of [武器2 v])\nif <(HP) < [0.01]> then\n    switch costume to (player2 v)\n    start sound [Enderman death v]\n    set [slime x v] to (x position)\n    set [slime y v] to (y position)\n    broadcast (2 v)\nelse\n    if <(pick random (1) to (2)) = [1]> then\n        start sound [Enderman screams v]\n    else\n        start sound [Enderman hurt v]\n    end\n    wait until <(攻撃) = [0]>\nend\n\nbroadcast (幽霊 v)\n\nwhen flag clicked\n\nforever\n\nif <[16] < (足場)> then\n    delete this clone\nend\n\nwhen I start as a clone\ngo to x: (217) y: (-100)\nshow\nrepeat until <touching (当たり判定 v)?>\n    point in direction (90)\n    repeat (50)\n        change x by (-5)\n    end\n    point in direction (-90)\n    repeat (50)\n        change x by (5)\n    end\nend\n\nshow\n\nset [削除 v] to [0]\nwait (1) seconds\nset [削除 v] to [1]\n\nrepeat (10)\n    delete this clone\nend\nif <(足場) = [1]> then\n    create clone of (_myself_ v)\nend\nif <(足場) = [6]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\nif <(足場) = [12]> then\n    wait (0.5) 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)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\nif <(足場) = [14]> then\n    repeat (5)\n        wait (0.5) seconds\n        create clone of (_myself_ v)\n    end\nend\nif <(足場) = [16]> then\n    go to x: (250) y: (150)\n    repeat (2)\n        create clone of (_myself_ v)\n        wait (pick random (0.4) to (0.5)) seconds\n    end\n    repeat (3)\n        go to x: (250) y: (150)\n        wait (pick random (1.5) to (1.7)) seconds\n        create clone of (_myself_ v)\n        go to x: (-250) y: (150)\n        wait (pick random (1.5) to (1.7)) seconds\n        create clone of (_myself_ v)\n    end\nend\n\ngo to x: (250) y: (0)\n\nchange x by (10)\n\nwhen I start as a clone\n\nchange y by (-35)\n\nwhen I start as a clone\nif <(足場) = [12]> then\n    wait (0.5) 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)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (0.5) seconds\nend\n\nset [足場 v] to [11]\n\nwait until <(足場) = [14]>\nrepeat (5)\n    wait (0.5) seconds\n    create clone of (_myself_ v)\nend\nwait until <(足場) = [16]>\ngo to x: (250) y: (150)\nwait (0.5) seconds\nrepeat (2)\n    create clone of (_myself_ v)\n    wait (pick random (0.4) to (0.5)) seconds\nend\nrepeat (3)\n    go to x: (250) y: (150)\n    wait (pick random (1.5) to (1.7)) seconds\n    create clone of (_myself_ v)\n    go to x: (-250) y: (150)\n    wait (pick random (1.5) to (1.7)) seconds\n    create clone of (_myself_ v)\nend\nwait (0.5) seconds\nwait (4) seconds\n\nwhen flag clicked\nforever\n    if <(足場) = [12]> then\n        forever\n            set [足場 v] to [12]\n        end\n    end\nend\n\nset [足場 v] to [11]\n\n@スプライト14\n\nchange y by (1)\n\nwhen flag clicked\nset size to (72) %\nhide\nforever\n    go to (teki v)\nend\n\nif <(足場) = [6]> then\n\nshow\n\nchange y by (1)\n\nwhen I receive [幽霊2 v]\n\ngo to (teki v)\nshow\nset [ghost v] effect to (20)\nglide (0.7) secs to x: ((x position) + (0)) y: (78)\n\nwhen I receive [幽霊2 v]\nrepeat (8)\n    change [ghost v] effect by (10)\n    wait (0) seconds\nend\nhide\n\nbroadcast (幽霊 v)\n\n@スプライト16\n\nwhen flag clicked\ngo to x: (36) y: (20)\nforever\n    if <(足場) = [11]> then\n        show\n    end\nend\n\nwhen flag clicked\nhide\n\n\n\nwhen I receive [解錠 v]\nglide (1) secs to x: (36) y: (150)\n\nchange y by (-10)\n\n@スプライト17\n\nset size to (70) %\n\nchange x by (-10)\n\nwhen flag clicked\nforever\n    if <(足場) = [11]> then\n        show\n    else\n        hide\n    end\nend\n\n@スプライト18\n\nset size to (70) %\n\nwhen flag clicked\ngo to x: (39) y: (-101)\nforever\n    if <(足場) = [11]> then\n        show\n    else\n        hide\n    end\nend\n\ngo [backward v] (1) layers\n\nshow\n\nwhen flag clicked\nif <(足場) = [11]> then\n    repeat until <(足場) = [12]>\n        if <touching (炎の盾 v)?> then\n            glide (0.3) secs to x: (39) y: (-115)\n            broadcast (解錠 v)\n        end\n    end\nend\n\nglide (0.3) secs to x: (39) y: (-115)\nbroadcast (解錠 v)\n\nwhen flag clicked\nset [足場 v] to [11]\nwait (0) seconds\nset [足場 v] to [1]\n\nwhen [space v] key pressed\nif <(足場) = [11]> then\n    repeat until <(足場) = [12]>\n        if <touching (炎の盾 v)?> then\n            glide (0.3) secs to x: (39) y: (-115)\n            broadcast (解錠 v)\n        end\n    end\nend\n\nset [足場 v] to [11]\n\n
Fire kingdom platformer(炎の国のプラットフォーマー)\n　　　　　　　　　　　　　　　　　　↓日本語は下↓　press arrow keys to move(mobile compatible)\npress space to swing sword\npress down key to hold the shield in front\nAVOID WATER because it's Fire kingdom\n\n矢印キーで移動\nスペースキーで剣を振る\n下矢印キーでシールドを構える\n水を避けてね！(炎の国だから)\nモバイルの人剣振れないです、、\n\n\n\nタグ\n#games #fire #Platformer #devil #all #sword #art\n#shield #water #dragon #platformer #kingdom #mobile