･:*+.\ corporation  platformer /.:+ Part3!!

Instructions: corporation platformer 遂に第三弾が登場！\n⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎\n\n⭐︎3pに蘇った⭐︎\n\n全シリーズ傾向入りもありそう_:(´ཀ`」 ∠):\nおかげさまで傾向2p、3p、チュートリアルの1位などになれました！本当にありがとうございます！\n\n[操作方法]\n1p:十字キー\n2p:WASD\n\n[宣伝]\nイントロコンテストやってます！ぜひご参加を！\n↓                                                                    ↓\nhttps://scratch.mit.edu/projects/559194359\n\n[クレジット]\n音楽: @-Xaf 様\n\n[タグ]\n#Games\n#All\n#corporation\n#platformer\n#tutorial\n#Part3\n\n⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎★⭐︎

@Stage\n\nwhen flag clicked\nswitch backdrop to (背景2 v)\nforever\n    play sound [Starship v] until done\nend\n\nwhen I receive [ten v]\nnext backdrop\n\n@こんちわ\n\nwhen I receive [ten v]\ngo to x: (-205) y: (100)\nrepeat (50)\n    say []\nend\n\nwhen flag clicked\npoint in direction (90)\nset rotation style [left-right v]\nset size to (100) %\nshow\ngo to x: (-205) y: (100)\nset [x🧨 v] to [0]\nset [y💣 v] to [0]\nset rotation style [left-right v]\n\nwhen flag clicked\nforever\n    say [1p]\n    set [x🧨 v] to ((x🧨) * (0.9))\n    change x by (x🧨)\n    if <<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    if <<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 <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((x🧨) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<[-45] < (mouse y)> and <mouse down?>>> then\n                                if <(x🧨) > [0]> then\n                                    set [x🧨 v] to [-6]\n                                else\n                                    set [x🧨 v] to [6]\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 <<key (up arrow v) pressed?> or <<[-45] < (mouse y)> and <mouse down?>>> then\n        if <touching color (#000000)?> then\n            set [y💣 v] to [15]\n        end\n    end\n    if <(y position) < [-190]> then\n        hide\n        go to x: (-205) y: (100)\n        show\n    end\n    change y by (y💣)\n    change [y💣 v] by (-1)\n    if <touching color (#000000)?> then\n        change y by ((y💣) * (-1))\n        set [y💣 v] to [0]\n    end\n    if <(x position) > [240]> then\n        change [クリア v] by (1)\n        repeat until <(クリア) = [0]>\n            set [x🧨 v] to [0]\n            set [y💣 v] to [0]\n            say []\n        end\n    end\nend\n\n@おはござ\n\nwhen flag clicked\npoint in direction (90)\nset rotation style [left-right v]\nset size to (100) %\nshow\ngo to x: (-205) y: (30)\nset [x⭐️ v] to [0]\nset [y❤️ v] to [0]\nset rotation style [left-right v]\n\nwhen I receive [ten v]\ngo to x: (-205) y: (30)\nrepeat (50)\n    say []\nend\n\nwhen flag clicked\nforever\n    say [2p]\n    set [x⭐️ v] to ((x⭐️) * (0.9))\n    change x by (x⭐️)\n    if <<key (d 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    if <<key (a 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 <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((x⭐️) * (-1))\n                            change y by (-5)\n                            if <<key (w v) pressed?> or <<[-45] < (mouse y)> and <mouse down?>>> then\n                                if <(x⭐️) > [0]> then\n                                    set [x⭐️ v] to [-6]\n                                else\n                                    set [x⭐️ v] to [6]\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 <<key (w v) pressed?> or <<[-45] < (mouse y)> and <mouse down?>>> then\n        if <touching color (#000000)?> then\n            set [y❤️ v] to [15]\n        end\n    end\n    if <(y position) < [-190]> then\n        hide\n        go to x: (-205) y: (100)\n        show\n    end\n    change y by (y❤️)\n    change [y❤️ v] by (-1)\n    if <touching color (#000000)?> then\n        change y by ((y❤️) * (-1))\n        set [y❤️ v] to [0]\n    end\n    if <(x position) > [240]> then\n        change [クリア v] by (1)\n        repeat until <(クリア) = [0]>\n            say []\n            set [x⭐️ v] to [0]\n            set [y❤️ v] to [0]\n        end\n    end\nend\n\n@ねくすと\n\nwhen flag clicked\nset [動く v] to [15]\ngo to x: (0) y: (800)\nhide\n\nwhen I receive [next v]\ngo to [front v] layer\nshow\nrepeat until <(y position) < [0]>\n    change [動く v] by (-1)\n    change y by (((動く) * (-3)) / (-5))\nend\ngo to [front v] layer\nbroadcast (Ten v)\nset [動く v] to [15]\nset [クリア v] to [0]\nwait (0.5) seconds\nrepeat until <(y position) < [-350]>\n    change [動く v] by (-1)\n    change y by (((動く) * (-3)) / (-5))\nend\ngo to [front v] layer\nhide\ngo to x: (0) y: (500)\nset [動く v] to [15]\n\n@判定\n\nwhen flag clicked\nforever\n    if <<[240] < ([x position v] of [こんちわ v])> and <[240] < ([x position v] of [おはござ v])>> then\n        broadcast (NEXT v)\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to [front v] layer\n\n