platformer 幽霊を見つけよう！２

Instructions: 日本語下\n\nThis is the second installment of "Let's find ghosts!"! This time, I made it with the image of a chemical house (?). Please enjoy!\nOperation method: Click the mouse in the direction you want to go on a computer, and slide your finger in the direction you want to go on an iPad! Please press ❤️ and ⭐️ ...! If you don't push it ...? It's up to your imagination what happens.\n\n　　　　　　　　　　　日本語〜\n\n「幽霊を見つけよう!」の第2弾です!頑張って作りました！今回は薬品の館(？)をイメージして作ってみました。楽しんでくださいね！\n操作方法：パソコンなら行きたい方向にマウスをクリック、iPadなら行きたい方向に指をスライドで動かせます！❤️と⭐️押してくださいよ…！押してくれないと…？どうなるかはあなたの想像にお任せします。\n

@Stage\n\nwhen flag clicked\nforever\n    play sound [cave v] until done\nend\n\n@主人公\n\nwhen I start as a clone\nset [brightness v] effect to (20)\nrepeat (10)\n    change size by (-3)\n    change [ghost v] effect by (4)\nend\nhide\ndelete this clone\n\nwhen flag clicked\nshow\nset size to (50) %\nset drag mode [not draggable v]\ngo to x: (-201) y: (-50)\npoint in direction (90)\nset [xvel v] to [0]\nset [yvel v] to [0]\nrepeat until <(コスチューム) = [15]>\n    forever\n        set rotation style [left-right v]\n        if <<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> then\n            change [xv v] by (-1)\n            point in direction (-90)\n        end\n        if <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> then\n            change [xv v] by (1)\n            point in direction (90)\n        end\n        set [xv v] to ((Xv) * (0.9))\n        change x by (Xv)\n        if <touching color (#7d4f00)?> then\n            change y by (1)\n            if <touching color (#7d4f00)?> then\n                change y by (1)\n                if <touching color (#7d4f00)?> then\n                    change y by (1)\n                    if <touching color (#7d4f00)?> then\n                        change y by (1)\n                        if <touching color (#7d4f00)?> then\n                            change y by (1)\n                            if <touching color (#7d4f00)?> then\n                                change x by ((Xv) * (-1))\n                                change y by (-5)\n                                if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                    if <(Xv) > [0]> then\n                                        set [xv v] to [-7]\n                                    else\n                                        set [xv v] to [7]\n                                    end\n                                    set [yv v] to [10]\n                                else\n                                    set [xv 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 color (#7d4f00)?> then\n            if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                set [yv v] to [15]\n            end\n        end\n        change y by (1)\n        change [yv v] by (-1)\n        change y by (Yv)\n        if <touching color (#7d4f00)?> then\n            change y by ((Yv) * (-1))\n            set [yv v] to [0]\n        end\n        hide variable [xv v]\n        if <(x position) > [230]> then\n            if <not <([costume # v] of [地形 v]) = [10]>> then\n                broadcast (next level v)\n                set [yv v] to [0]\n                set [xv v] to [0]\n                go to x: (-201) y: (-50)\n            end\n        end\n        if <(y position) < [-170]> then\n            go to x: (-201) y: (-50)\n        end\n        if <touching color (#ff00d0)?> then\n            go to x: (-201) y: (-50)\n            set [yv v] to [0]\n            set [xv v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    wait (0.000000001) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I receive [隠せー v]\nhide\n\nwhen [space v] key pressed\n\n@地形\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (100) %\nswitch costume to (コスチューム1 v)\nshow\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [隠せー v]\nhide\n\nwhen flag clicked\nhide variable [時間 v]\n\n@スプライト1\n\nwhen flag clicked\nhide\n\n@D677C883-F62D-4D04-A1F9-D5CC2F995608\n\nwhen flag clicked\nhide\n\n@スプライト2\n\nwhen flag clicked\nhide\n\n