Storm night [Platformer]

Instructions: ▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼\n\nフォロー,★＆❤︎よろしく！拡散してね！\n傾向2Pありがとう！\nfollow me! ★ and ❤︎ please! diffusion Please ♡！\nTrend 2P Thank you!\n\n△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△\n\n\n\nEnglish language↓\n___________________________________________________\n[操作方法]\n矢印キー\nWADキー\n画面をタッチ\n背景描くの頑張った！\n￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣\n＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿\n[Method of operation]\nArrow key\nWAD key\nTouch the screen\nI was particular about the design \n￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣\n\n\n\n___________________________________________________\n\nクレジット\n音　FORUk_6様\n\n\n\n━━━━━━━━━━━━━━━━━━━━━━━━━

@Stage\n\nwhen flag clicked\nstop all sounds\nbroadcast (スタート v)\nstop all sounds\nswitch backdrop to (lv11~20 v)\nforever\n    play sound [音2 v] until done\nend\n\n@主人公\n\nwhen flag clicked\n\nwhen I start as a clone\nset [ghost v] effect to (20)\nrepeat (7)\n    change [ghost v] effect by (7)\n    change size by (-7)\nend\ndelete this clone\n\nwhen I receive [スタート v]\ngo to x: (-230) y: (-93)\nset size to (90) %\nshow\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-210) y: (-93)\ngo to [front v] layer\nforever\n    set rotation style [left-right v]\n    if <<(y position) < [-185]> or <<touching (動く針 v)?> or <touching (針 v)?>>> then\n        go to x: (-216) y: (-59)\n        set [yv v] to [0]\n        set [y v] to [0]\n        set [xv v] to [0]\n        set [x v] to [0]\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        point in direction (-90)\n        change [xv v] by (-0.8)\n    end\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        point in direction (90)\n        change [xv v] by (0.8)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\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 ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> 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 [15]\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 (地面 v)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> 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 (地面 v)?> 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        go to x: (-216) y: (-59)\n        broadcast (次へ v)\n        hide\n        wait (1) seconds\n        set [yv v] to [0]\n        set [y v] to [0]\n        set [xv v] to [0]\n        set [x v] to [0]\n        show\n    end\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nforever\n    if <touching (ばね v)?> then\n        set [yv v] to [22]\n    end\nend\n\n@地面\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (ステージ1 v)\ngo to [front v] layer\ngo to [front v] layer\ngo to [front v] layer\ngo to [front v] layer\n\nwhen I receive [次へ v]\nwait (0.6) seconds\nnext costume\n\n@針\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (0) y: (0)\nswitch costume to (針1 v)\n\nwhen I receive [次へ v]\nwait (0.6) seconds\nnext costume\n\n@動く針\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム1 v)\nwait until <([costume # v] of [地面 v]) = [3]>\ngo to x: (0) y: (30)\nrepeat until <([costume # v] of [地面 v]) = [4]>\n    show\n    turn left (4) degrees\nend\nhide\nwait until <([costume # v] of [地面 v]) = [7]>\npoint in direction (90)\ngo to x: (0) y: (30)\nswitch costume to (コスチューム2 v)\nrepeat until <([costume # v] of [ボタン v]) = [2]>\n    show\nend\nhide\n\n@NEXT\n\nwhen flag clicked\nhide\n\nwhen I receive [次へ v]\nshow\ngo to x: (-590) y: (0)\nrepeat (9)\n    change x by (40)\n    go to [front v] layer\nend\nrepeat (9)\n    change x by (20)\n    go to [front v] layer\nend\nrepeat (9)\n    change x by (10)\n    go to [front v] layer\nend\ngo to [front v] layer\nrepeat (2)\n    change x by (20)\n    go to [front v] layer\nend\nrepeat (2)\n    change x by (35)\nend\nrepeat (10)\n    change x by (50)\nend\nhide\n\nwhen flag clicked\nswitch costume to (コスチューム2 v)\n\n@影\n\nwhen flag clicked\nset size to (90) %\ngo to [front v] layer\ngo [backward v] (5) layers\nforever\n    go to (主人公 v)\n    go to (主人公 v)\nend\n\nwhen flag clicked\nforever\n    go to (主人公 v)\n    go to (主人公 v)\nend\n\nwhen flag clicked\nforever\n    repeat (10)\n        go to (主人公 v)\n        go to (主人公 v)\n    end\nend\n\n@雨\n\nwhen flag clicked\npoint in direction (90)\nswitch costume to (コスチューム1 v)\nhide\nswitch costume to (コスチューム2 v)\nforever\n    point in direction (-135)\n    go to x: (pick random (-115) to (225)) y: (165)\n    create clone of (_myself_ v)\n    wait (0) seconds\nend\n\nwhen I start as a clone\nshow\nrepeat (pick random (10) to (20))\n    move (20) steps\nend\nswitch costume to (コスチューム3 v)\nrepeat (10)\n    change size by (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nswitch costume to (コスチューム2 v)\nforever\n    point in direction (-135)\n    go to x: (225) y: (pick random (165) to (0))\n    create clone of (_myself_ v)\n    wait (0) seconds\nend\n\n@雷\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to [front v] layer\ngo to [front v] layer\ngo to [front v] layer\ngo to [front v] layer\nforever\n    wait (pick random (0) to (10)) seconds\n    set [ghost v] effect to (0)\n    start sound [雷 v]\n    go to x: (pick random (-20) to (20)) y: (pick random (-20) to (20))\n    switch costume to (pick random (1) to (4))\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\n@ボタン\n\nwhen flag clicked\ngo to [back v] layer\nhide\nswitch costume to (コスチューム1 v)\nwait until <([costume # v] of [地面 v]) = [7]>\nshow\npoint in direction (90)\ngo to x: (-200) y: (30)\nwait until <touching (主人公 v)?>\nswitch costume to (コスチューム2 v)\nwait until <([costume # v] of [地面 v]) = [8]>\nhide\n\n@ばね\n\nwhen flag clicked\nhide\ngo to x: (-47) y: (-100)\nwait until <([costume # v] of [地面 v]) = [9]>\nshow\nrepeat until <([costume # v] of [地面 v]) = [10]>\n    if <touching (主人公 v)?> then\n        repeat (3)\n            switch costume to (コスチューム2 v)\n        end\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\nforever\n    go to x: (190) y: (-100)\n    if <touching (主人公 v)?> then\n        repeat (3)\n            switch costume to (コスチューム2 v)\n        end\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\n\n@サムネ\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\nshow\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\nend\n\n