The Earth - Platformer

Instructions: ◆◆◆◆◆◆◆◆ゲーム実況大歓迎です！◆◆◆◆◆◆\n                              \nまともなプロジェクトが作れなくて、とりあえずプラフォ作ろ！と思い立ちできたのがこれです。ちなみにこの後しばらくもがいた末にベクターアートと出会います。初期のベクターアートはもう消してありますがね…。\n\nAncate\n\nWhat costume do you like the best?\nPlease comment.\n\nアンケート\n\nどのコスチュームが一番好きですか？\nコメントしてください。\n\n[ How to Play ]\n\nArrow keys to move.\nMobilefriendly.\n❤️ and ⭐️ if you like this game.\n\nMother Earth...we must protect it...\n\n[ 使い方 ]\n　矢印キーで操作\n　モバイルです。\n\n　母なる地球…私たちが守るべきなのだ…。\n\nEasy version \n簡単バージョン\n\nhttps://scratch.mit.edu/projects/514309899\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#game #games  #platfomer #mobile #earth

@Stage\n\nwhen flag clicked\nstart sound [neonpurple3 v]\nset volume to (100) %\nwait (5) seconds\nset [pitch v] effect to (0)\nforever\n    start sound [MusMus-BGM-062 v]\n    wait (110) seconds\nend\n\nwhen flag clicked\nswitch backdrop to (背景2 v)\n\nstop [all v]\n\nstop all sounds\nstop [all v]\n\nstart sound [Intro  v]\n\n@Player\n\nwhen flag clicked\nhide\nwait (5) seconds\nbroadcast (Go v)\n\ndefine Reset\nset [x v] to [0]\nset [y v] to [0]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nwait (1) seconds\ngo to x: (-175) y: (-70)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [go v]\nshow\nswitch costume to (コスチューム2 v)\nset [x v] to [0]\nset [y v] to [0]\nshow\nset size to (100) %\ngo to x: (-165) y: (-70)\npoint in direction (90)\nforever\n    set [x v] to ((X) * (0.9))\n    if <key (any v) pressed?> then\n        change [x v] by (<key (right arrow v) pressed?> - <key (left arrow v) pressed?>)\n        point in direction ((<key (right arrow v) pressed?> - <key (left arrow v) pressed?>) * (90))\n    else\n        change [x v] by (<<mouse down?> and <(mouse x) > [0]>> - <<mouse down?> and <(mouse x) < [0]>>)\n        point in direction ((<<mouse down?> and <(mouse x) > [0]>> - <<mouse down?> and <(mouse x) < [0]>>) * (90))\n    end\n    change x by (X)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground 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 x) > [0]>>> 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 [12]\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 (ground v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n            set [y v] to [15]\n        end\n    end\n    if <touching (jump v)?> then\n        set [y v] to [10]\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n            set [y v] to [20]\n        end\n    end\n    if <touching (fast v)?> then\n        set [x v] to [5]\n        if <<key (right arrow v) pressed?> or <mouse down?>> then\n            set [x v] to [10]\n        end\n    end\n    if <touching (water v)?> then\n        set [y v] to [-1]\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n            set [y v] to [3]\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (ground v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    if <(x position) > [230]> then\n        broadcast (メッセージ1 v)\n        Reset\n    end\n    if <<(y position) < [-180]> or <touching (object v)?>> then\n        Reset\n    end\nend\n\nwhen I receive [1 v]\nswitch costume to (コスチューム1 v)\nshow\nforever\n    if <not <(costume [number v]) = [7]>> then\n        set [color v] effect to (0)\n    end\nend\n\nwhen I receive [2 v]\nswitch costume to (コスチューム3 v)\nshow\nforever\n    if <not <(costume [number v]) = [7]>> then\n        set [color v] effect to (0)\n    end\nend\n\nwhen I receive [3 v]\nswitch costume to (コスチューム4 v)\nshow\nforever\n    if <not <(costume [number v]) = [7]>> then\n        set [color v] effect to (0)\n    end\nend\n\nwhen I receive [4 v]\nswitch costume to (コスチューム5 v)\nshow\nforever\n    if <not <(costume [number v]) = [7]>> then\n        set [color v] effect to (0)\n    end\nend\n\nwhen I receive [5 v]\nswitch costume to (コスチューム6 v)\nshow\nforever\n    if <not <(costume [number v]) = [7]>> then\n        set [color v] effect to (0)\n    end\nend\n\nwhen I receive [6 v]\nswitch costume to (コスチューム7 v)\nshow\nforever\n    if <(costume [number v]) = [7]> then\n        forever\n            change [color v] effect by (1)\n        end\n    end\nend\n\nwhen I receive [7 v]\nswitch costume to (コスチューム8 v)\nshow\nforever\n    if <not <(costume [number v]) = [7]>> then\n        set [color v] effect to (0)\n    end\nend\n\nwhen I receive [8 v]\nswitch costume to (コスチューム9 v)\nshow\nforever\n    if <not <(costume [number v]) = [7]>> then\n        set [color v] effect to (0)\n    end\nend\n\nwhen I receive [9 v]\nswitch costume to (コスチューム10 v)\nshow\nforever\n    if <not <(costume [number v]) = [7]>> then\n        set [color v] effect to (0)\n    end\nend\n\nwhen I receive [random v]\nbroadcast (pick random (1) to (9))\n\nReset\ndelete all of [player v]\nshow variable [☁ game clear v]\ncreate clone of (_myself_ v)\nbroadcast (1 v) and wait\nset pen size to (1)\nset drag mode [draggable v]\ngo to (random position v)\nswitch costume to (コスチューム10 v)\nstart sound [Big Boing v]\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [7]> then\n        forever\n            change [color v] effect by (1)\n        end\n    end\nend\n\nwhen flag clicked\nset size to (100) %\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset size to (100) %\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [メッセージ1 v]\ngo to x: (-175) y: (-70)\n\n@Ground\n\nwhen flag clicked\nhide\nset [skip v] to [0]\ngo to x: (0) y: (0)\nswitch costume to (1 v)\n\nwhen I receive [メッセージ1 v]\nnext costume\nchange [skip v] by (1)\n\nwhen I receive [finish v]\nswitch costume to (コスチューム16 v)\n\nwhen I receive [go v]\nshow\n\n@Object\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nshow\nswitch costume to (コスチューム5 v)\nforever\n    repeat (10)\n        change y by (-1)\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (1)\n    end\nend\n\nwhen I receive [メッセージ1 v]\nnext costume\n\nwhen I receive [go v]\nshow\n\n@Shop1\n\nwhen flag clicked\ngo to x: (-180) y: (130)\nset size to (40) %\n\nwhen this sprite clicked\nbroadcast (Shop v)\n\n@Shop2\n\nwhen I receive [shop v]\nchange [none v] by (1)\nif <((None) mod (2)) = [1]> then\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nelse\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to x: (0) y: (0)\nset [none v] to [0]\nset [ghost v] effect to (100)\n\n@スプライト2\n\nwhen I receive [shop v]\nset [ghost v] effect to (100)\ngo to [front v] layer\nif <((None) mod (2)) = [0]> then\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nelse\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen flag clicked\nset [none v] to [0]\ngo to x: (-100) y: (40)\nset [ghost v] effect to (100)\n\nwhen this sprite clicked\nbroadcast (1 v)\n\n@スプライト3\n\nwhen I receive [shop v]\nset [ghost v] effect to (100)\ngo to [front v] layer\nif <((None) mod (2)) = [0]> then\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nelse\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen flag clicked\nset [none v] to [0]\ngo to x: (0) y: (40)\nset [ghost v] effect to (100)\n\nwhen this sprite clicked\nbroadcast (2 v)\n\n@スプライト4\n\nwhen I receive [shop v]\nset [ghost v] effect to (100)\ngo to [front v] layer\nif <((None) mod (2)) = [0]> then\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nelse\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen flag clicked\nset [none v] to [0]\ngo to x: (100) y: (40)\nset [ghost v] effect to (100)\n\nwhen this sprite clicked\nbroadcast (3 v)\n\n@スプライト5\n\nwhen I receive [shop v]\nset [ghost v] effect to (100)\ngo to [front v] layer\nif <((None) mod (2)) = [0]> then\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nelse\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen flag clicked\nset [none v] to [0]\ngo to x: (-100) y: (-20)\nset [ghost v] effect to (100)\n\nwhen this sprite clicked\nbroadcast (4 v)\n\n@スプライト6\n\nwhen I receive [shop v]\nset [ghost v] effect to (100)\ngo to [front v] layer\nif <((None) mod (2)) = [0]> then\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nelse\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen flag clicked\nset [none v] to [0]\ngo to x: (0) y: (-20)\nset [ghost v] effect to (100)\n\nwhen this sprite clicked\nbroadcast (5 v)\n\n@スプライト7\n\nwhen I receive [shop v]\nset [ghost v] effect to (100)\ngo to [front v] layer\nif <((None) mod (2)) = [0]> then\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nelse\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen flag clicked\nset [none v] to [0]\ngo to x: (100) y: (-20)\nset [ghost v] effect to (100)\nforever\n    change [color v] effect by (1)\nend\n\nwhen this sprite clicked\nbroadcast (6 v)\n\n@スプライト8\n\nwhen I receive [shop v]\nset [ghost v] effect to (100)\ngo to [front v] layer\nif <((None) mod (2)) = [0]> then\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nelse\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen flag clicked\nset [none v] to [0]\ngo to x: (-100) y: (-80)\nset [ghost v] effect to (100)\n\nwhen this sprite clicked\nbroadcast (7 v)\n\n@スプライト9\n\nwhen I receive [shop v]\nset [ghost v] effect to (100)\ngo to [front v] layer\nif <((None) mod (2)) = [0]> then\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nelse\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen flag clicked\nset [none v] to [0]\ngo to x: (0) y: (-80)\nset [ghost v] effect to (100)\n\nwhen this sprite clicked\nbroadcast (8 v)\n\n@スプライト10\n\nwhen I receive [shop v]\nset [ghost v] effect to (100)\ngo to [front v] layer\nif <((None) mod (2)) = [0]> then\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nelse\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen flag clicked\nset [none v] to [0]\ngo to x: (100) y: (-80)\nset [ghost v] effect to (100)\n\nwhen this sprite clicked\nbroadcast (9 v)\n\n@Thumbneil\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\nend\n\nshow\ngo to [front v] layer\n\n@The sun\n\nwhen flag clicked\nhide\n\nwhen I receive [go v]\nshow\ngo to x: (0) y: (0)\nset size to (100) %\ngo to [back v] layer\nshow\nforever\n    repeat (10)\n        change size by (2)\n    end\n    wait (1) seconds\n    repeat (10)\n        change size by (-2)\n    end\n    wait (1) seconds\nend\n\n@Fast\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to [back v] layer\nhide\n\nwhen I receive [メッセージ1 v]\nnext costume\n\nwhen I receive [go v]\nshow\n\n@List\n\nwhen flag clicked\nhide variable [☁ game clear v]\nrepeat (1)\n    change [☁ game start v] by (1)\nend\n\n@Leaves\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nset [color v] effect to (pick random (-10) to (10))\nset size to (pick random (15) to (30)) %\nset [ghost v] effect to (pick random (10) to (50))\npoint in direction (pick random (-90) to (90))\nrepeat (100)\n    change x by (-5)\n    change y by (-5)\nend\nif <<(x position) < [-250]> or <(y position) < [-180]>> then\n    hide\n    delete this clone\nend\n\nwhen I receive [go v]\nhide\ngo to x: (250) y: (180)\npoint in direction (90)\nforever\n    go to x: (pick random (50) to (400)) y: (180)\n    create clone of (_myself_ v)\n    wait (0.5) seconds\nend\n\n@Jump\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\n\nwhen I receive [メッセージ1 v]\nnext costume\n\nwhen I receive [go v]\nshow\n\n@スプライト1\n\nwhen flag clicked\ngo to x: (450) y: (0)\nhide\n\nwhen I receive [メッセージ1 v]\ngo to [front v] layer\ngo to x: (450) y: (0)\nshow\nrepeat (20)\n    change x by ((-1) * ((x position) / (2.5)))\nend\nwait (0.5) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\nset [ghost v] effect to (0)\n\n@スプライト11\n\nwhen I receive [shop v]\nset [ghost v] effect to (100)\ngo to [front v] layer\nif <((None) mod (2)) = [0]> then\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nelse\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen flag clicked\nset [none v] to [0]\ngo to x: (100) y: (-120)\nset [ghost v] effect to (100)\n\nwhen this sprite clicked\nbroadcast (Random v)\n\n@Key\n\nwhen flag clicked\nhide\n\nwhen I receive [メッセージ1 v]\nnext costume\nshow\n\nstop [all v]\n\nwhen I receive [go v]\nshow\ngo to x: (0) y: (0)\nshow\nswitch costume to (1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (Key! v)\n        set [pitch v] effect to (15)\n        start sound [Doorbell v]\n        hide\n    end\nend\n\n@スプライト13\n\nwhen flag clicked\nhide\n\nwhen I receive [key! v]\nnext costume\n\nwhen I receive [finish v]\nif <(costume [number v]) = [4]> then\n    broadcast (owari v)\n    hide\nend\n\nwhen I receive [go v]\ngo to x: (36) y: (28)\nswitch costume to (コスチューム1 v)\nshow\n\n@スプライト14\n\nwhen flag clicked\nhide\n\nwhen I receive [メッセージ1 v]\nnext costume\n\nwhen I receive [finish v]\nnext costume\n\nwhen I receive [clear v]\nset [☁ game clear v] to (timer)\n\nwhen I receive [go v]\nshow\nswitch costume to (コスチューム1 v)\nhide variable [☁ game clear v]\nshow list [player v]\nforever\n    if <touching (player v)?> then\n        broadcast (Finish v)\n    end\n    if <<(costume [number v]) = [16]> and <touching (player v)?>> then\n        broadcast (clear v)\n    end\nend\n\n@スプライト15\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [finish v]\ngo to [front v] layer\nset [ghost v] effect to (0)\nset [whirl v] effect to (0)\nset [fisheye v] effect to (0)\nshow\nwait (1) seconds\nforever\n    if <<mouse down?> or <key (any v) pressed?>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n            change [whirl v] effect by (10)\n            change [fisheye v] effect by (10)\n        end\n    end\nend\n\n@Water\n\nwhen flag clicked\nhide\n\nwhen I receive [メッセージ1 v]\nnext costume\nshow\n\nwhen I receive [go v]\ngo to x: (0) y: (0)\nset [ghost v] effect to (40)\nswitch costume to (1 v)\nshow\nforever\n    repeat (10)\n        change y by (-0.5)\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change y by (0.5)\n    end\nend\n\n@Intro Logo of Me\n\ndefine Sweep\nshow\ngo to x: (0) y: (-150)\nrepeat until <(y position) > [-60]>\n    change y by ((-1) * ((y position) / (6)))\nend\nwait (0.3) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen flag clicked\nreset timer\nhide\ngo to [front v] layer\nset size to (50) %\nwait (3) seconds\nSweep\n\n@Intro Logo9\n\ndefine Sweep\nset [ghost v] effect to (0)\ngo to x: (0) y: (-200)\nforever\n    if <(timer) > [5]> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n    else\n        repeat (50)\n            change y by (((150) - (y position)) / (8))\n        end\n    end\nend\n\nwhen flag clicked\nshow\ngo to x: (0) y: (-300)\nset [ghost v] effect to (100)\nset size to (100) %\nwait (1.8) seconds\nSweep\nSweep\n\n@Intro Logo8\n\ndefine Sweep\nset [ghost v] effect to (0)\ngo to x: (0) y: (-200)\nforever\n    if <(timer) > [3]> then\n        hide\n    else\n        repeat (50)\n            change y by (((150) - (y position)) / (8))\n        end\n    end\nend\n\nwhen flag clicked\nshow\ngo to x: (0) y: (-300)\nset [ghost v] effect to (100)\nset size to (100) %\nwait (1.7) seconds\nSweep\nSweep\n\n@Intro Logo7\n\ndefine Sweep\nset [ghost v] effect to (0)\ngo to x: (0) y: (-200)\nforever\n    if <(timer) > [3]> then\n        hide\n    else\n        repeat (50)\n            change y by (((150) - (y position)) / (8))\n        end\n    end\nend\n\nwhen flag clicked\nshow\ngo to x: (0) y: (-300)\nset [ghost v] effect to (100)\nset size to (100) %\nwait (1.6) seconds\nSweep\nSweep\n\n@Intro Logo6\n\ndefine Sweep\nset [ghost v] effect to (0)\ngo to x: (0) y: (-200)\nforever\n    if <(timer) > [3]> then\n        hide\n    else\n        repeat (50)\n            change y by (((150) - (y position)) / (8))\n        end\n    end\nend\n\nwhen flag clicked\ngo to x: (0) y: (-300)\nshow\nset [ghost v] effect to (100)\nset size to (100) %\nwait (1.5) seconds\nSweep\nSweep\n\n@Intro Logo5\n\ndefine Sweep\ngo to x: (0) y: (-200)\nforever\n    if <(timer) > [3]> then\n        hide\n    else\n        repeat (50)\n            change y by (((150) - (y position)) / (8))\n        end\n    end\nend\n\nwhen flag clicked\nshow\ngo to x: (0) y: (-300)\nset [ghost v] effect to (0)\nset size to (100) %\nwait (0.3) seconds\nSweep\nSweep\n\n@Intro Logo4\n\ndefine Sweep\ngo to x: (0) y: (-200)\nforever\n    if <(timer) > [3]> then\n        hide\n    else\n        repeat (50)\n            change y by (((150) - (y position)) / (8))\n        end\n    end\nend\n\nwhen flag clicked\ngo to x: (0) y: (-300)\nshow\nset [ghost v] effect to (0)\nset size to (100) %\nwait (0.2) seconds\nSweep\nSweep\n\n@Intro Logo3\n\ndefine Sweep\ngo to x: (0) y: (-200)\nforever\n    if <(timer) > [3]> then\n        hide\n    else\n        repeat (50)\n            change y by (((150) - (y position)) / (8))\n        end\n    end\nend\n\nwhen flag clicked\ngo to x: (0) y: (-300)\nset [ghost v] effect to (0)\nset size to (100) %\nshow\nwait (0.1) seconds\nSweep\nSweep\n\nstop [all v]\n\n@Intro Logo2\n\ndefine Sweep\ngo to x: (0) y: (-200)\nforever\n    if <(timer) > [3]> then\n        hide\n    else\n        repeat (50)\n            change y by (((150) - (y position)) / (8))\n        end\n    end\nend\n\nwhen flag clicked\nshow\ngo to x: (0) y: (-300)\nset [ghost v] effect to (0)\nset size to (100) %\nSweep\nSweep\n\nstop [all v]\n\n@Intro Logo\n\ndefine Sweep\nshow\npoint in direction (90)\ngo to x: (0) y: (-200)\nrepeat until <(y position) > [0]>\n    change y by (((5) - (y position)) / (6))\nend\n\ndefine Boing!!\nhide\ngo to x: (0) y: (0)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nreset timer\nhide\nset [ghost v] effect to (0)\ngo to [front v] layer\nset size to (60) %\nwait (1.75) seconds\nSweep\nBoing!!\n\nwhen I start as a clone\nshow\npoint in direction (90)\nset size to (0) %\nset [big and small v] to [0]\nrepeat (50)\n    set [big and small v] to (((Big and Small) * (0.75)) + (((60) - (size)) * (0.2)))\n    change size by (Big and Small)\nend\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nshow\n\n@スプライト12\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to x: (0) y: (0)\nwait (4.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@壁キック\n\nif <touching (スプライト1 v)?> then\n    change y by (1)\n    if <touching (スプライト1 v)?> then\n        change y by (1)\n        if <touching (スプライト1 v)?> then\n            change y by (1)\n            if <touching (スプライト1 v)?> then\n                change y by (1)\n                if <touching (スプライト1 v)?> then\n                    change y by (1)\n                    if <touching (スプライト1 v)?> then\n                        change x by ((x) * (-1))\n                        change y by (-5)\n                        if <<<(mouse y) > (y position)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                            start sound [Jump v]\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 [12]\n                        else\n                            set [x v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@Sheet\n\ngo to x: (0) y: (0)\n\n@Shop4\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nif <not <(Skip) = [18]>> then\n    broadcast (メッセージ1 v)\nend\n\nwhen I receive [finish v]\nhide\n\nwhen I receive [go v]\nshow\ngo to x: (-180) y: (-135)\nforever\n    if <<(Skip) > [18]> or <(Skip) = [18]>> then\n        hide\n    end\nend\n\n@スプライト17\n\n@雲\n\nwhen flag clicked\nhide\ngo to [back v] layer\nrepeat (2)\n    go to x: (300) y: (pick random (80) to (150))\n    set size to (pick random (50) to (100)) %\n    set [ghost v] effect to (pick random (25) to (50))\n    create clone of (_myself_ v)\n    wait (5) seconds\nend\n\nwhen I start as a clone\nshow\nforever\n    repeat until <(x position) < [-240]>\n        change x by (-1)\n    end\n    set [ghost v] effect to (pick random (10) to (30))\n    go to x: (300) y: (pick random (130) to (150))\n    set size to (pick random (50) to (60)) %\nend\n\n@スプライト16\n\n@スプライト18\n\n