action-platformer

Instructions: <English>\nUse the arrow keys to move or tap on the screen if you are are on mobile.\nDon't touch spine and lave and don't fall into the hole.\n<日本語>\n矢印キーを使ってまたは、画面をタップして操作します。棘やマグマに触れたり、穴に落ちないようにしてください。\n

@Stage\n\nwhen flag clicked\nclear graphic effects\nswitch backdrop to (light2 v)\nwait (1) seconds\nrepeat (50)\n    change [whirl v] effect by (25)\nend\nclear graphic effects\nclear graphic effects\nswitch backdrop to (背景2 v)\nbroadcast (メッセージ２ v)\nbroadcast (ｆ v)\nforever\n    play sound [Nightcore - Legendary v] until done\nend\n\n@スプライト2\n\nwhen flag clicked\nset drag mode [not draggable v]\nswitch costume to (コスチューム1 v)\nhide\n\nwhen I receive [メッセージ1 v]\nnext costume\n\nwhen I receive [メッセージ２ v]\nshow\n\n@地面\n\nwhen flag clicked\nset [ステージ v] to [0]\nhide variable [ステージ v]\nswitch costume to (コスチューム1 v)\nhide\nset drag mode [not draggable v]\nforever\n    if <(costume [number v]) = [11]> then\n        broadcast (メッセージ３ v)\n        switch backdrop to (背景1 v)\n    end\n    if <(costume [number v]) = [12]> then\n        broadcast (メッセージ５ v)\n        switch backdrop to (背景4 v)\n    end\n    if <(costume [number v]) = [10]> then\n        broadcast (メッセージ４ v)\n    end\n    if <(costume [name v]) = [コスチューム17]> then\n        broadcast (メッセージ６ v)\n    end\n    if <(costume [name v]) = [コスチューム14]> then\n        broadcast (メッセージ８ v)\n        switch backdrop to (背景3 v)\n    end\n    if <(costume [name v]) = [コスチューム15]> then\n        broadcast (メッセージ７ v)\n        switch backdrop to (背景2 v)\n    end\n    if <(costume [number v]) = [17]> then\n        broadcast (メッセージ９ v)\n        switch backdrop to (背景2 v)\n    end\nend\n\nwhen I receive [メッセージ1 v]\nnext costume\nchange [ステージ v] by (1)\n\nwhen I receive [メッセージ２ v]\ngo to x: (3) y: (2)\nshow\n\n@スプライト6\n\nwhen flag clicked\nhide\n\nwhen I receive [メッセージ４ v]\npoint in direction (90)\ngo to x: (178) y: (-80)\ngo to [back v] layer\nshow\n\nwhen I receive [メッセージ３ v]\nhide\n\nwhen I receive [メッセージ７ v]\npoint in direction (0)\ngo to x: (-64) y: (-33)\nshow\n\nwhen I receive [メッセージ９ v]\nhide\n\n@スプライト4\n\nwhen flag clicked\nset size to (100) %\nset drag mode [not draggable v]\nhide\ngo to [back v] layer\n\nwhen I receive [メッセージ３ v]\nshow\nswitch costume to (コスチューム1 v)\ngo to x: (144) y: (-123)\nforever\n    turn right (7) degrees\nend\n\nwhen I receive [メッセージ５ v]\nhide\n\nwhen I receive [メッセージ６ v]\nhide\n\nwhen I receive [メッセージ８ v]\nset size to (50) %\nshow\nswitch costume to (コスチューム1 v)\ngo to x: (-82) y: (-46)\nforever\n    turn right (7) degrees\nend\n\nwhen I receive [メッセージ９ v]\nhide\n\nwhen I receive [メッセージ７ v]\nhide\n\n@スプライト7\n\nwhen flag clicked\ngo to x: (36) y: (28)\nhide\n\nwhen I receive [メッセージ６ v]\nshow\nswitch costume to (コスチューム2 v)\n\nwhen I receive [メッセージ７ v]\nhide\n\nwhen I receive [メッセージ８ v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [メッセージ９ v]\nhide\n\n@スプライト8\n\nwhen flag clicked\nswitch costume to (コスチューム2 v)\ngo to x: (36) y: (28)\nhide\n\nwhen I receive [メッセージ６ v]\nshow\n\nwhen I receive [メッセージ７ v]\nhide\n\nwhen I receive [メッセージ９ v]\nhide\n\nwhen I receive [メッセージ８ v]\nswitch costume to (コスチューム1 v)\nshow\n\n@スプライト5\n\nwhen flag clicked\nset size to (100) %\nset drag mode [not draggable v]\nhide\ngo to [back v] layer\n\nwhen I receive [メッセージ３ v]\nshow\nswitch costume to (コスチューム1 v)\ngo to x: (-67) y: (-123)\nforever\n    turn right (7) degrees\nend\n\nwhen I receive [メッセージ５ v]\nhide\n\nwhen I receive [メッセージ６ v]\nhide\n\nwhen I receive [メッセージ８ v]\nset size to (50) %\nshow\nswitch costume to (コスチューム1 v)\ngo to x: (-201) y: (108)\nforever\n    turn right (7) degrees\nend\n\nwhen I receive [メッセージ９ v]\nhide\n\nwhen I receive [メッセージ７ v]\nhide\n\n@スプライト3\n\nwhen I receive [メッセージ1 v]\nset [ステージ v] to [0]\nshow\ngo to x: (576) y: (28)\nrepeat (10)\n    change x by (-47)\nend\nchange x by (-5)\nwait (0.3) seconds\nchange x by (-5)\nrepeat (10)\n    change x by (-47)\nend\nhide\nchange [ステージ v] by (1)\nbroadcast (メッセージ２ v)\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n@スプライト1\n\nwhen flag clicked\nhide\n\nwhen I receive [メッセージ２ v]\nset size to (100) %\nshow\nclear graphic effects\nset drag mode [not draggable v]\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (-206) y: (-50)\nset [y v] to [0]\nset [x v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    set [x v] to ((x) * (0.9))\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 x by ((x) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(x) > [0]> then\n                                    set [x v] to [-7]\n                                else\n                                    set [x v] to [7]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching (地面 v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [15]\n            start sound [ニュッ2 v]\n            point in direction ((y) * (0.5))\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <(x position) > [230]> then\n        go to x: (-206) y: (-50)\n        set [x v] to [0]\n        set [y v] to [0]\n        broadcast (メッセージ1 v)\n        stop [this script v]\n    end\n    if <[-170] > (y position)> then\n        repeat (3)\n            change [ghost v] effect by (25)\n        end\n        clear graphic effects\n        start sound [Wobble v]\n        go to x: (-206) y: (-50)\n    end\n    if <touching (スプライト2 v)?> then\n        repeat (3)\n            change [ghost v] effect by (25)\n        end\n        clear graphic effects\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-206) y: (-50)\n        start sound [Wobble v]\n    end\n    if <key (r v) pressed?> then\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-206) y: (-50)\n    end\n    if <<touching (スプライト4 v)?> or <touching (スプライト5 v)?>> then\n        repeat (3)\n            change [ghost v] effect by (25)\n        end\n        clear graphic effects\n        start sound [Wobble v]\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-206) y: (-50)\n    end\n    if <touching (スプライト7 v)?> then\n        repeat (3)\n            change [ghost v] effect by (25)\n        end\n        clear graphic effects\n        start sound [Wobble v]\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-206) y: (-50)\n    end\nend\n\nwhen I receive [meehude v]\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-206) y: (-50)\n\nrepeat (3)\n    change [ghost v] effect by (25)\nend\nclear graphic effects\ngo to x: (-206) y: (-50)\n\nwhen I receive [gy v]\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-206) y: (-50)\n\n