wind　〜風〜　platformer

Instructions: ⬇︎説明⬇︎　（日本語は下）\n（いつものプラットフォーマーとは違うので読んでおいた方が良いです）\n\n【English】 (It's different from the usual platformer, so you should read it)\nArrow key operation\nDifficulty: ★★★ ☆☆\n(When using tricks): ★ ☆☆☆☆\nCan be cleared\n(Odorikaihatusya has cleared)\n⬇︎ Detailed rules ⬇︎\n・ This platformer has headwinds that make it difficult to move forward, tailwinds that make it easier to move forward, and so on, every 5 seconds. Please use this well and try to reach the goal!\n⬇︎ How to judge the direction of the wind ⬇︎\nIf the arrow on the upper right is pointing to the right, it is a tailwind, if it is pointing to the left, it is a headwind, and if it is just a straight line, the wind is not blowing.\n⬇︎ How to judge the strength of the wind 1 ⬇︎\nIf the arrow on the upper right is thin, the wind is weak, and if it is thick, the wind is strong.\n⬇︎ How to judge the strength of the wind 2 ⬇︎\nIf the background is light blue, the wind is not blowing, if the background is light gray, the wind is weak, and if the background is dark gray, the wind is strong. (The backstage is much lighter gray for some reason.)\n\n【It's hard to understand with this alone, so it's recommended to understand the rules while playing! 】\n\n【日本語】（いつものプラットフォーマーとは違うので読んでおいた方が良いです）\n矢印キー操作\n難易度：★★★☆☆\n（裏技を使った場合）：★☆☆☆☆\nクリア可能です\n（odorikaihatusyaはクリアしました）\n⬇︎詳しいルール⬇︎\n・このプラットフォーマーは、向かい風が吹いて進みにくくなったり、追い風が吹いて進みやすくなったり…ということが5秒ごとに起こります。ぜひこれをうまく使ってゴールしてみてください！\n⬇︎風の向きの判断の仕方⬇︎\n右上の矢印が右を向いていたら追い風、左を向いていたら向かい風、ただの直線だったら風が吹いていません。\n⬇︎風の強さの判断の仕方1⬇︎\n右上の矢印が細かったら風が弱く、太かったら風が強いです。\n⬇︎風の強さの判断の仕方2⬇︎\n背景が水色だったら風が吹いていなく、背景が薄い灰色だったら風が弱く、背景が濃い灰色だったら風が強いです。（裏ステージはある事情でずっと薄い灰色です。）\n\n【これだけでは分かりずらいと思うので、プレイしながらルールを理解することをお勧めします！】

@Stage\n\nwhen flag clicked\nforever\n    if <<(追い風) = [1]> and <(向かい風) = [0]>> then\n        switch backdrop to (風〜〜（弱） v)\n    else\n        if <<(追い風) = [2]> and <(向かい風) = [0]>> then\n            switch backdrop to (強風！！！ v)\n        else\n            if <<(向かい風) = [1]> and <(追い風) = [0]>> then\n                switch backdrop to (風〜〜（弱） v)\n            else\n                if <<(向かい風) = [2]> and <(追い風) = [0]>> then\n                    switch backdrop to (強風！！！ v)\n                else\n                    if <<(向かい風) = [0]> and <(追い風) = [0]>> then\n                        switch backdrop to (風なし〜〜 v)\n                    else\n                        if <<(向かい風) = [1]> and <(追い風) = [1]>> then\n                            switch backdrop to (風なし〜〜 v)\n                        else\n                            if <<(向かい風) = [2]> and <(追い風) = [2]>> then\n                                switch backdrop to (風なし〜〜 v)\n                            else\n                                if <<(向かい風) = [2]> and <(追い風) = [1]>> then\n                                    switch backdrop to (風〜〜（弱） v)\n                                else\n                                    if <<(向かい風) = [1]> and <(追い風) = [2]>> then\n                                        switch backdrop to (風〜〜（弱） v)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Water v] until done\nend\n\nwhen [timer v] > (0)\nif <(コスチューム) = [1]> then\n    forever\n        play sound [Water v] until done\n    end\nend\n\n@キャラ\n\nwhen flag clicked\nshow\ngo to [front v] layer\nhide variable [x v]\nhide variable [y v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <<(timer) > [0]> and <(コスチューム) = [1]>> then\n    switch costume to (クローン v)\n    repeat (10)\n        change [ghost v] effect by (10)\n        change size by (-10.0000000000000000000000000000000000000000000000000000000000000000000000000777777777777777777777777777777777777777777777)\n    end\n    delete this clone\nend\n\nwhen I receive [スタート v]\npoint in direction (90)\nswitch costume to (左 v)\nset rotation style [left-right v]\ngo to x: (-180) y: (-50)\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nset size to (100) %\nclear graphic effects\nset [ステージ v] to [1]\nshow\nforever\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        switch costume to (右 v)\n        point in direction (90)\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        point in direction (-90)\n        change [x v] by (-1)\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 <<(y position) < (mouse y)> and <mouse down?>>> then\n                                if <(x) < [0]> 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    change y by (-1)\n    if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n        if <touching (すていじ v)?> then\n            set [y v] to [15]\n        end\n    end\n    if <touching color (#0026ff)?> then\n        set [y v] to [22]\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) > [219]> then\n        set size to (100) %\n        go to x: (-180) y: (-60)\n        broadcast (Next v)\n        change [ステージ v] by (1)\n    end\n    if <<touching (とげ v)?> or <(y position) < [-182]>> then\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        broadcast (ﾀﾋ v)\n        set size to (100) %\n        point in direction (90)\n        set [ghost v] effect to (0)\n        go to x: (-180) y: (-60)\n    end\nend\n\nwhen flag clicked\nbroadcast (スタート v)\n\nwhen I receive [next v]\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    if <<(追い風) = [1]> and <(向かい風) = [0]>> then\n        change [x v] by (0.3)\n    else\n        if <<(追い風) = [2]> and <(向かい風) = [0]>> then\n            change [x v] by (0.5)\n        else\n            if <<(向かい風) = [1]> and <(追い風) = [0]>> then\n                change [x v] by (-0.3)\n            else\n                if <<(向かい風) = [2]> and <(追い風) = [0]>> then\n                    change [x v] by (-0.5)\n                else\n                    if <<(向かい風) = [0]> and <(追い風) = [0]>> then\n                        change [x v] by (0)\n                    else\n                        if <<(向かい風) = [1]> and <(追い風) = [1]>> then\n                            change [x v] by (0)\n                        else\n                            if <<(向かい風) = [2]> and <(追い風) = [2]>> then\n                                change [x v] by (0)\n                            else\n                                if <<(向かい風) = [2]> and <(追い風) = [1]>> then\n                                    change [x v] by (-0.3)\n                                else\n                                    if <<(向かい風) = [1]> and <(追い風) = [2]>> then\n                                        change [x v] by (0.3)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [ﾀﾋ v]\nset [x v] to [0]\nset [y v] to [0]\n\nwhen [timer v] > (0)\nif <(コスチューム) = [1]> then\n    show\n    go to [front v] layer\n    hide variable [x v]\n    hide variable [y v]\n    forever\n        create clone of (_myself_ v)\n    end\nend\n\nwhen [timer v] > (0)\nif <(コスチューム) = [1]> then\n    point in direction (90)\n    switch costume to (左 v)\n    set rotation style [left-right v]\n    go to x: (-180) y: (-50)\n    point in direction (90)\n    set [x v] to [0]\n    set [y v] to [0]\n    set size to (100) %\n    clear graphic effects\n    set [ステージ v] to [1]\n    show\n    forever\n        if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n            switch costume to (右 v)\n            point in direction (90)\n            change [x v] by (1)\n        end\n        if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n            point in direction (-90)\n            change [x v] by (-1)\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 <<(y position) < (mouse y)> and <mouse down?>>> then\n                                    if <(x) < [0]> 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        change y by (-1)\n        if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n            if <touching (すていじ v)?> then\n                set [y v] to [15]\n            end\n        end\n        if <touching color (#0026ff)?> then\n            set [y v] to [22]\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) > [219]> then\n            set size to (100) %\n            go to x: (-180) y: (-60)\n            broadcast (Next v)\n            change [ステージ v] by (1)\n        end\n        if <<touching (とげ v)?> or <(y position) < [-182]>> then\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            broadcast (ﾀﾋ v)\n            set size to (100) %\n            point in direction (90)\n            set [ghost v] effect to (0)\n            go to x: (-180) y: (-60)\n        end\n    end\nend\n\nwhen I start as a clone\nswitch costume to (クローン v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-10.0000000000000000000000000000000000000000000000000000000000000000000000000777777777777777777777777777777777777777777777)\nend\ndelete this clone\n\nwhen [timer v] > (0)\nif <(コスチューム) = [1]> then\n    forever\n        if <<(追い風) = [1]> and <(向かい風) = [0]>> then\n            change [x v] by (0.3)\n        else\n            if <<(追い風) = [2]> and <(向かい風) = [0]>> then\n                change [x v] by (0.5)\n            else\n                if <<(向かい風) = [1]> and <(追い風) = [0]>> then\n                    change [x v] by (-0.3)\n                else\n                    if <<(向かい風) = [2]> and <(追い風) = [0]>> then\n                        change [x v] by (-0.5)\n                    else\n                        if <<(向かい風) = [0]> and <(追い風) = [0]>> then\n                            change [x v] by (0)\n                        else\n                            if <<(向かい風) = [1]> and <(追い風) = [1]>> then\n                                change [x v] by (0)\n                            else\n                                if <<(向かい風) = [2]> and <(追い風) = [2]>> then\n                                    change [x v] by (0)\n                                else\n                                    if <<(向かい風) = [2]> and <(追い風) = [1]>> then\n                                        change [x v] by (-0.3)\n                                    else\n                                        if <<(向かい風) = [1]> and <(追い風) = [2]>> then\n                                            change [x v] by (0.3)\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        go to x: (-180) y: (-60)\n    end\nend\n\nwhen [timer v] > (0)\nforever\n    if <key (r v) pressed?> then\n        go to x: (-180) y: (-60)\n    end\nend\n\n@すていじ\n\nwhen flag clicked\nset [裏技使った〜〜〜〜〜〜〜〜〜〜〜〜 v] to [0]\nshow\ngo to [front v] layer\ngo [backward v] (1) layers\ngo to x: (0) y: (0)\nforever\n    set [向かい風 v] to (pick random (0) to (2))\n    set [追い風 v] to (pick random (0) to (2))\n    wait (5) seconds\nend\n\nwhen flag clicked\nset [ステージ v] to [1]\nforever\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\nset [タイム v] to [0]\nforever\n    change [タイム v] by (0.1)\n    wait (0.1) seconds\n    if <(costume [number v]) = [20]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow variable [タイム v]\nhide variable [☁ 世界記録 v]\nforever\n    if <(costume [number v]) = [20]> then\n        show variable [☁ 世界記録 v]\n        if <(タイム) < (☁ 世界記録)> then\n            set [☁ 世界記録 v] to (タイム)\n        else\n            set [☁ 世界記録 v] to (☁ 世界記録)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\nif <(コスチューム) = [1]> then\n    set [ステージ v] to [21]\n    switch costume to (コスチューム21 v)\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) > [20]> then\n        set [コスチューム v] to [1]\n    else\n        set [コスチューム v] to [0]\n    end\nend\n\nwhen [timer v] > (0)\nif <(コスチューム) = [1]> then\n    show\n    go to [front v] layer\n    go [backward v] (1) layers\n    go to x: (0) y: (0)\n    forever\n        set [向かい風 v] to (pick random (0) to (2))\n        set [追い風 v] to (pick random (0) to (2))\n        wait (5) seconds\n    end\nend\n\nwhen [timer v] > (0)\nif <(コスチューム) = [1]> then\n    forever\n        switch costume to (ステージ)\n    end\nend\n\nwhen [timer v] > (0)\nif <(コスチューム) = [1]> then\n\n@スプライト1\n\nwhen flag clicked\nshow\ngo to [back v] layer\ngo to x: (0) y: (0)\nforever\n    if <<(追い風) = [1]> and <(向かい風) = [0]>> then\n        switch costume to (追い風1（弱） v)\n    else\n        if <<(追い風) = [2]> and <(向かい風) = [0]>> then\n            switch costume to (追い風2（強） v)\n        else\n            if <<(向かい風) = [1]> and <(追い風) = [0]>> then\n                switch costume to (向かい風1（弱） v)\n            else\n                if <<(向かい風) = [2]> and <(追い風) = [0]>> then\n                    switch costume to (向かい風2（強） v)\n                else\n                    if <<(向かい風) = [0]> and <(追い風) = [0]>> then\n                        switch costume to (風なし〜〜 v)\n                    else\n                        if <<(向かい風) = [1]> and <(追い風) = [1]>> then\n                            switch costume to (風なし〜〜 v)\n                        else\n                            if <<(向かい風) = [2]> and <(追い風) = [2]>> then\n                                switch costume to (風なし〜〜 v)\n                            else\n                                if <<(向かい風) = [2]> and <(追い風) = [1]>> then\n                                    switch costume to (向かい風1（弱） v)\n                                else\n                                    if <<(向かい風) = [1]> and <(追い風) = [2]>> then\n                                        switch costume to (追い風1（弱） v)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen [timer v] > (0)\nif <(コスチューム) = [1]> then\n    show\n    go to [back v] layer\n    go to x: (0) y: (0)\n    forever\n        if <<(追い風) = [1]> and <(向かい風) = [0]>> then\n            switch costume to (追い風1（弱） v)\n        else\n            if <<(追い風) = [2]> and <(向かい風) = [0]>> then\n                switch costume to (追い風2（強） v)\n            else\n                if <<(向かい風) = [1]> and <(追い風) = [0]>> then\n                    switch costume to (向かい風1（弱） v)\n                else\n                    if <<(向かい風) = [2]> and <(追い風) = [0]>> then\n                        switch costume to (向かい風2（強） v)\n                    else\n                        if <<(向かい風) = [0]> and <(追い風) = [0]>> then\n                            switch costume to (風なし〜〜 v)\n                        else\n                            if <<(向かい風) = [1]> and <(追い風) = [1]>> then\n                                switch costume to (風なし〜〜 v)\n                            else\n                                if <<(向かい風) = [2]> and <(追い風) = [2]>> then\n                                    switch costume to (風なし〜〜 v)\n                                else\n                                    if <<(向かい風) = [2]> and <(追い風) = [1]>> then\n                                        switch costume to (向かい風1（弱） v)\n                                    else\n                                        if <<(向かい風) = [1]> and <(追い風) = [2]>> then\n                                            switch costume to (追い風1（弱） v)\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@とげ\n\nwhen flag clicked\nshow\ngo to [back v] layer\ngo [forward v] (1) layers\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\n\nwhen flag clicked\nforever\n    switch costume to (ステージ)\nend\n\nwhen [timer v] > (0)\nif <(コスチューム) = [1]> then\n    switch costume to (コスチューム21 v)\nend\n\nwhen [timer v] > (0)\nif <(ステージ) > [20]> then\n    forever\n        switch backdrop to (風〜〜（弱） v)\n    end\nend\n\n@59DDD812-AC28-4C53-B9A7-7DFC7CA00B53\n\nwhen flag clicked\nhide\n\n