||Just a platformer||

Instructions: SPR contest開催中♪ https://scratch.mit.edu/projects/691950295\n\n☆♡Please give me\n\nExplanation\n\nDon't hit the needle, the enemy, etc.!\n\nThere are 11 stages in total, including the goals.\n\nWe will move on to the next stage by reaching the far right.

@Stage\n\nwhen flag clicked\nforever\n    play sound [TheFatRat+-+Unity v] until done\nend\n\n@サムネ\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n@敵\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム1 v)\n\nwhen I receive [スタート v]\nshow\n\nwhen I receive [2 v]\nnext costume\n\nwhen flag clicked\nforever\n    point in direction (0)\n    glide (1) secs to x: (-130) y: (-120)\n    point in direction (90)\n    glide (0.5) secs to x: (130) y: (-120)\nend\n\n@動くやばいもの\n\nwhen flag clicked\nhide\nset x to (-120)\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [スタート v]\nshow\n\nwhen flag clicked\nforever\n    turn right (10) degrees\nend\n\nwhen flag clicked\nforever\n    glide (1) secs to x: (-130) y: (-120)\n    glide (1) secs to x: (130) y: (-120)\nend\n\nwhen I receive [2 v]\nnext costume\n\n@痛いやつ\n\nwhen I receive [スタート v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [2 v]\nnext costume\n\nwhen flag clicked\nforever\n    turn right (10) degrees\nend\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\n@スプライト2\n\nwhen I receive [スタート v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [2 v]\nnext costume\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\n@スプライト1\n\nwhen flag clicked\nhide\nforever\n    go to (パトリック v)\nend\n\nwhen I receive [スタート v]\nshow\nforever\n    go to (パトリック v)\nend\n\n@ごーる\n\n@マグマ\n\n@フォロー星ハート\n\nwhen flag clicked\nhide\nforever\n    go to x: (-145) y: (195)\n    show\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (5) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\n    wait (pick random (30) to (35)) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nshow\n\n@針\n\nwhen I receive [2 v]\nnext costume\n\nwhen flag clicked\nswitch costume to (2 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nshow\n\n@地面\n\nwhen flag clicked\nhide\n\nwhen I receive [2 v]\nnext costume\n\nwhen I receive [スタート v]\nshow\n\nwhen flag clicked\nswitch costume to (コスチューム2 v)\n\n@パトリック\n\ndefine 初期位置\ngo to x: (-200) y: (-50)\nset [x v] to [0]\nset [y v] to [0]\n\ndefine 動く\nif <<<[0] < (mouse x)> and <mouse down?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n    switch costume to (コスチューム1 v)\n    change [x v] by (1)\nend\nif <<<(mouse x) < [0]> and <mouse down?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n    switch costume to (コスチューム2 v)\n    change [x v] by (-1)\nend\nset [x v] to ((x) * (0.89))\nchange x by (x)\nrepeat (6)\n    if <touching (地面 v)?> then\n        change y by (1)\n    end\nend\nif <touching (地面 v)?> then\n    change y by (-6)\n    change x by ((0) - (x))\n    if <<<[50] < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        if <(x) > [0]> then\n            set [x v] to [-5]\n        else\n            set [x v] to [5]\n        end\n        set [y v] to [10]\n    else\n        set [x v] to [0]\n    end\nend\nchange [y v] by (-1)\nchange y by (y)\nif <touching (地面 v)?> then\n    change y by ((0) - (y))\n    set [y v] to [0]\nend\nchange y by (-3)\nif <<touching (地面 v)?> and <<<[50] < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>>> then\n    set [y v] to [15]\nend\nchange y by (3)\n\nwhen flag clicked\n初期位置\n\nwhen I receive [スタート v]\nshow\nforever\n    動く\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <<<<touching (針 v)?> or <<touching (マグマ v)?> or <touching (痛いやつ v)?>>> or <touching (動くやばいもの v)?>> or <touching (敵 v)?>> then\n        初期位置\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (ごーる v)?> then\n        broadcast (2 v)\n        初期位置\n    end\nend\n\nwhen flag clicked\n\nwhen flag clicked\nbroadcast (スタート v)\n\n