[PENなのに動く!]  “Move“Pen Platformer

Instructions: ▶︎絶対見て‼︎‼︎ 超絶楽しい！\nhttps://scratch.mit.edu/projects/788414855/\n\n[English]\nTap or use the arrow keys to operate.\n\nThat's about it...\n\n▶︎I won't let you say it's a mass production type anymore.\n\nThis is made of pen. Well, the program is troublesome.\n\n▶︎Super recommended studio\n\nHttps://scratch.mit.edu/studios/32404874/\n\n▶︎A new work will be released around the end of January.\n\nPlease look forward to it.\n\n[日本語]\nタップまたは矢印キーで操作です。\n\nいうことはそれくらいかな… \n▶︎もう量産型とは言わせない。\nこれはpenで作っています。まあまあプログラムが面倒です。\n\n▶︎超絶おすすめスタジオ\nhttps://scratch.mit.edu/studios/32404874/\n\n▶︎1月下旬あたり新作公開予定\n\nぜひご期待を\n

@Stage\n\nwhen flag clicked\nforever\n    play sound [BGM 名前考えてないw v] until done\nend\n\n@キャラ\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [time v] by (1)\n    if <([costume # v] of [地面 v]) = [14]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\ngo to x: (-220) y: (0)\nset size to (70) %\nset rotation style [left-right v]\nclear graphic effects\ngo to [front v] layer\nset volume to (100) %\nset [x座標 v] to [0]\nset [y座標 v] to [0]\nset [ステージ v] to [1]\nset [time v] to [0]\nhide variable [time v]\nshow\nforever\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        switch costume to (右 v)\n        change [x座標 v] by (0.65)\n    end\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        switch costume to (左 v)\n        change [x座標 v] by (-0.65)\n    end\n    set [x座標 v] to ((X座標) * (0.92))\n    change x by (X座標)\n    if <<touching color (#00da25)?> or <touching color (#2f5fff)?>> then\n        change y by (1)\n        if <<touching color (#00da25)?> or <touching color (#2f5fff)?>> then\n            change y by (1)\n            if <<touching color (#00da25)?> or <touching color (#2f5fff)?>> then\n                change y by (1)\n                if <<touching color (#00da25)?> or <touching color (#2f5fff)?>> then\n                    change y by (1)\n                    if <<touching color (#00da25)?> or <touching color (#2f5fff)?>> then\n                        change y by (1)\n                        if <<touching color (#00da25)?> or <touching color (#2f5fff)?>> then\n                            change y by (1)\n                            if <<touching color (#00da25)?> or <touching color (#2f5fff)?>> then\n                                change x by ((0) - (X座標))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>> then\n                                    if <[0] < (X座標)> then\n                                        set [x座標 v] to [-8]\n                                    else\n                                        set [x座標 v] to [8]\n                                    end\n                                    set [y座標 v] to [13]\n                                else\n                                    set [x座標 v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y座標 v] by (-1)\n    change y by (Y座標)\n    if <<touching color (#00da25)?> or <touching color (#2f5fff)?>> then\n        change y by ((0) - (Y座標))\n        set [y座標 v] to [0]\n    end\n    change y by (-2)\n    if <touching color (#ff8e0d)?> then\n        start sound [Zoop v]\n        set [y座標 v] to [19]\n    end\n    if <<<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>> and <<touching color (#00da25)?> or <touching color (#2f5fff)?>>> then\n        start sound [Zoop v]\n        set [y座標 v] to [12]\n    end\n    change y by (1)\n    if <<[235] < (x position)> and <not <(ステージ) = [20]>>> then\n        broadcast (next v)\n        change [ステージ v] by (1)\n        if <<(ステージ) = [6]> or <(ステージ) = [10]>> then\n            go to x: (-220) y: (-25)\n        else\n            go to x: (-220) y: (32)\n        end\n        set [x座標 v] to [0]\n        set [y座標 v] to [0]\n        show\n        clear graphic effects\n    end\n    if <<[-170] > (y position)> or <touching color (#ff0000)?>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n            change [pixelate v] effect by (10)\n        end\n        hide\n        clear graphic effects\n        if <<(ステージ) = [6]> or <(ステージ) = [10]>> then\n            go to x: (-220) y: (-25)\n        else\n            go to x: (-220) y: (32)\n        end\n        set [x座標 v] to [0]\n        set [y座標 v] to [0]\n        show\n    end\n    if <not <<key (up arrow v) pressed?> and <<[0] < (mouse y)> and <mouse down?>>>> then\n        \n            change [y座標 v] by (-1)\n            set [y座標 v] to [-1.2]\n        end\n    end\n    if <touching color (#2f5fff)?> then\n        change x by (3)\n    end\nend\n\n@背景\n\nwhen flag clicked\nforever\n    set pen color to (#94e2ff)\n    set pen size to (10000000)\n    pen down\n    pen up\nend\n\n@地面ペン\n\nwhen flag clicked\nset pen size to (30)\nbroadcast (開始 v)\nforever\n    if <(ステージ) = [1]> then\n        broadcast (回転トゲ v)\n    end\nend\n\nwhen I receive [next v]\nforever\n    if <(ステージ) = [2]> then\n        set pen size to (30)\n        set pen color to (#00da25)\n        pen up\n        go to x: (-242) y: (-120)\n        pen down\n        go to x: (350) y: (-120)\n        pen up\n        set pen size to (20)\n        go to x: (-50) y: (-106)\n        pen down\n        go to x: (-50) y: (5)\n        go to x: (60) y: (5)\n        go to x: (60) y: (-106)\n        pen up\n        go to x: (-242) y: (-160)\n        set pen color to (#b15e00)\n        set pen size to (50)\n        pen down\n        go to x: (350) y: (-160)\n        pen up\n        set pen size to (15)\n        set pen color to (#00a019)\n        go to x: (-242) y: (-140)\n        pen down\n        go to x: (350) y: (-140)\n        pen up\n    end\n    if <(ステージ) = [3]> then\n        pen up\n        set pen size to (30)\n        set pen color to (#00da25)\n        pen up\n        go to x: (-242) y: (-120)\n        pen down\n        go to x: (350) y: (-120)\n        go to x: (110) y: (-120)\n        set pen size to (20)\n        go to x: (110) y: (75)\n        go to x: (300) y: (75)\n        pen up\n        go to x: (-242) y: (-160)\n        set pen color to (#b15e00)\n        set pen size to (50)\n        pen down\n        go to x: (350) y: (-160)\n        pen up\n        go to x: (-90) y: (-120)\n        set pen size to (30)\n        set pen color to (#ff0000)\n        pen down\n        go to x: (10) y: (-120)\n        pen up\n        set pen size to (15)\n        set pen color to (#00a019)\n        go to x: (-242) y: (-140)\n        pen down\n        go to x: (350) y: (-140)\n        pen up\n    end\n    if <(ステージ) = [4]> then\n        pen up\n        go to x: (-126) y: (-110)\n        set pen size to (40)\n        set pen color to (#ff0000)\n        pen down\n        go to x: (-81) y: (-110)\n        pen up\n        go to x: (120) y: (-100)\n        pen down\n        go to x: (250) y: (-100)\n        pen up\n        go to x: (30) y: (30)\n        pen down\n        go to x: (30) y: (200)\n        pen up\n        set pen size to (30)\n        set pen color to (#00da25)\n        pen up\n        go to x: (-242) y: (-120)\n        pen down\n        go to x: (350) y: (-120)\n        pen up\n        set pen size to (20)\n        go to x: (-60) y: (-108)\n        pen down\n        go to x: (-60) y: (100)\n        pen up\n        go to x: (20) y: (250)\n        pen down\n        go to x: (20) y: (-50)\n        pen up\n        go to x: (155) y: (75)\n        pen down\n        go to x: (250) y: (75)\n        pen up\n        go to x: (-242) y: (-160)\n        set pen color to (#b15e00)\n        set pen size to (50)\n        pen down\n        go to x: (350) y: (-160)\n        pen up\n        pen up\n        set pen color to (#00da25)\n        set pen size to (20)\n        go to x: (34) y: (縦移動変数)\n        pen down\n        change x by (110)\n        pen up\n        pen up\n        set pen size to (15)\n        set pen color to (#00a019)\n        go to x: (-242) y: (-140)\n        pen down\n        go to x: (350) y: (-140)\n        pen up\n    end\n    if <(ステージ) = [5]> then\n        pen up\n        go to x: (117) y: (-100)\n        set pen size to (40)\n        set pen color to (#ff0000)\n        pen down\n        go to x: (50) y: (-100)\n        pen up\n        go to x: (195) y: (70)\n        pen down\n        go to x: (250) y: (70)\n        pen up\n        set pen size to (30)\n        set pen color to (#00da25)\n        pen up\n        go to x: (-242) y: (-120)\n        pen down\n        go to x: (350) y: (-120)\n        pen up\n        go to x: (-110) y: (-120)\n        pen down\n        go to x: (-110) y: (120)\n        pen up\n        go to x: (-30) y: (200)\n        pen down\n        go to x: (-30) y: (-42)\n        pen up\n        go to x: (150) y: (-120)\n        pen down\n        go to x: (150) y: (55)\n        go to x: (300) y: (55)\n        pen up\n        go to x: (-242) y: (-160)\n        set pen color to (#b15e00)\n        set pen size to (50)\n        pen down\n        go to x: (350) y: (-160)\n        pen up\n        pen up\n        set pen size to (15)\n        set pen color to (#00a019)\n        go to x: (-242) y: (-140)\n        pen down\n        go to x: (350) y: (-140)\n        pen up\n    end\n    if <(ステージ) = [6]> then\n        pen up\n        set pen size to (40)\n        set pen color to (#ff0000)\n        go to x: (120) y: (-75)\n        pen down\n        go to x: (300) y: (-75)\n        pen up\n        go to x: (155) y: (12)\n        pen down\n        go to x: (300) y: (12)\n        pen up\n        set pen size to (30)\n        set pen color to (#00da25)\n        pen up\n        go to x: (-242) y: (-120)\n        pen down\n        go to x: (350) y: (-120)\n        pen up\n        go to x: (-30) y: (-120)\n        set pen size to (20)\n        pen down\n        go to x: (-30) y: (100)\n        pen up\n        go to x: (-250) y: (20)\n        pen down\n        go to x: (-120) y: (20)\n        pen up\n        go to x: (-160) y: (100)\n        pen down\n        go to x: (-30) y: (100)\n        pen up\n        go to x: (75) y: (0)\n        pen down\n        go to x: (300) y: (0)\n        pen up\n        go to x: (200) y: (85)\n        pen down\n        go to x: (300) y: (85)\n        pen up\n        go to x: (-242) y: (-160)\n        set pen color to (#b15e00)\n        set pen size to (50)\n        pen down\n        go to x: (350) y: (-160)\n        set pen color to (#b15e00)\n        set pen size to (50)\n        pen up\n        go to x: (-242) y: (-130)\n        pen down\n        go to x: (300) y: (-130)\n        set pen size to (30)\n        set pen color to (#00da25)\n        pen up\n        go to x: (-242) y: (-90)\n        pen down\n        go to x: (300) y: (-90)\n        pen up\n        set pen size to (15)\n        pen up\n        set pen size to (15)\n        set pen color to (#00a019)\n        go to x: (-242) y: (-110)\n        pen down\n        go to x: (350) y: (-110)\n        pen up\n    end\n    if <(ステージ) = [7]> then\n        pen up\n        set pen color to (#ff0000)\n        set pen size to (80)\n        go to x: (-70) y: (-150)\n        pen down\n        go to x: (240) y: (-150)\n        go to x: (240) y: (40)\n        pen up\n        set pen color to (#b15e00)\n        set pen size to (110)\n        pen up\n        go to x: (-242) y: (-160)\n        pen down\n        go to x: (-115) y: (-160)\n        set pen size to (30)\n        set pen color to (#00da25)\n        pen up\n        go to x: (-242) y: (-120)\n        pen down\n        go to x: (-80) y: (-120)\n        pen up\n        set pen size to (15)\n        go to x: (-10) y: (-20)\n        pen down\n        go to x: (45) y: (-20)\n        go to x: (45) y: (30)\n        go to x: (-10) y: (30)\n        go to x: (-10) y: (-20)\n        pen up\n        go to x: (170) y: (60)\n        pen down\n        go to x: (170) y: (110)\n        go to x: (200) y: (110)\n        go to x: (200) y: (60)\n        go to x: (170) y: (60)\n        pen up\n        set pen size to (15)\n        set pen color to (#00a019)\n        go to x: (-242) y: (-140)\n        pen down\n        go to x: (-70) y: (-140)\n        pen up\n    end\n    if <(ステージ) = [8]> then\n        set pen size to (30)\n        set pen color to (#ff8e0d)\n        go to x: (-60) y: (-20)\n        pen down\n        go to x: (-30) y: (-20)\n        pen up\n        set pen color to (#ff0000)\n        set pen size to (15)\n        go to x: (5) y: (-20)\n        pen down\n        go to x: (30) y: (120)\n        go to x: (55) y: (-15)\n        go to x: (8) y: (-15)\n        pen up\n        go to x: (150) y: (-20)\n        set pen size to (10)\n        pen down\n        go to x: (165) y: (15)\n        go to x: (180) y: (-15)\n        go to x: (150) y: (-15)\n        pen up\n        set pen color to (#b15e00)\n        set pen size to (50)\n        pen up\n        go to x: (-242) y: (-160)\n        pen down\n        go to x: (300) y: (-160)\n        set pen size to (30)\n        set pen color to (#00da25)\n        pen up\n        go to x: (-242) y: (-120)\n        pen down\n        go to x: (300) y: (-120)\n        set pen size to (20)\n        pen up\n        go to x: (-120) y: (-120)\n        pen down\n        go to x: (-120) y: (-30)\n        go to x: (250) y: (-30)\n        pen up\n        set pen size to (15)\n        set pen color to (#00a019)\n        go to x: (-242) y: (-140)\n        pen down\n        go to x: (350) y: (-140)\n        pen up\n    end\n    if <(ステージ) = [9]> then\n        set pen color to (#ff0000)\n        set pen size to (10)\n        go to x: (30) y: (-100)\n        pen down\n        go to x: (45) y: (-70)\n        go to x: (60) y: (-100)\n        go to x: (30) y: (-100)\n        pen up\n        go to x: (155) y: (-100)\n        set pen size to (10)\n        pen down\n        go to x: (170) y: (-70)\n        go to x: (185) y: (-100)\n        go to x: (155) y: (-100)\n        pen up\n        set pen color to (#2f5fff)\n        set pen size to (10)\n        go to x: (-75) y: (-100)\n        pen down\n        go to x: (240) y: (-100)\n        pen up\n        set pen color to (#b15e00)\n        set pen size to (50)\n        pen up\n        go to x: (-242) y: (-160)\n        pen down\n        go to x: (300) y: (-160)\n        set pen size to (30)\n        set pen color to (#00da25)\n        pen up\n        go to x: (-242) y: (-120)\n        pen down\n        go to x: (300) y: (-120)\n        pen up\n        go to x: (-100) y: (-120)\n        pen down\n        go to x: (-100) y: (-49)\n        go to x: (-300) y: (-50)\n        pen up\n        set pen size to (15)\n        set pen color to (#00a019)\n        go to x: (-242) y: (-140)\n        pen down\n        go to x: (350) y: (-140)\n        pen up\n    end\n    if <(ステージ) = [10]> then\n        pen up\n        set pen color to (#b15e00)\n        set pen size to (50)\n        pen up\n        go to x: (-242) y: (-160)\n        pen down\n        go to x: (-40) y: (-160)\n        set pen size to (30)\n        set pen color to (#00da25)\n        pen up\n        go to x: (-242) y: (-120)\n        pen down\n        go to x: (-40) y: (-120)\n        pen up\n        set pen size to (15)\n        set pen color to (#00a019)\n        go to x: (-242) y: (-140)\n        pen down\n        go to x: (350) y: (-140)\n        pen up\n        set pen size to (80)\n        set pen color to (#ff0000)\n        go to x: (-45) y: (-145)\n        pen down\n        go to x: (300) y: (-145)\n        pen up\n        set pen size to (30)\n        go to x: (40) y: (-120)\n        pen down\n        go to x: (40) y: (115)\n        go to x: (60) y: (115)\n        go to x: (60) y: (-120)\n        pen up\n        go to x: (242) y: (180)\n        pen down\n        go to x: (242) y: (55)\n        pen up\n        set pen size to (10)\n        set pen color to (#00da25)\n        go to x: (-30) y: (-30)\n        pen down\n        go to x: (0) y: (-30)\n        pen up\n        go to x: (-110) y: (40)\n        pen down\n        go to x: (-300) y: (40)\n        pen up\n        go to x: (-110) y: (130)\n        pen down\n        go to x: (100) y: (130)\n        pen up\n        go to x: (190) y: (-30)\n        pen down\n        go to x: (300) y: (-30)\n        pen up\n    end\n    if <(ステージ) = [11]> then\n        pen up\n        set pen color to (#b15e00)\n        set pen size to (50)\n        pen up\n        go to x: (-242) y: (-160)\n        pen down\n        go to x: (-40) y: (-160)\n        set pen size to (30)\n        set pen color to (#00da25)\n        pen up\n        go to x: (-242) y: (-120)\n        pen down\n        go to x: (-30) y: (-120)\n        pen up\n        set pen size to (15)\n        go to x: (100) y: (-200)\n        pen down\n        go to x: (100) y: (50)\n        go to x: (140) y: (50)\n        go to x: (140) y: (-181)\n        go to x: (140) y: (-200)\n        pen up\n        set pen size to (15)\n        set pen color to (#00a019)\n        go to x: (-242) y: (-140)\n        pen down\n        go to x: (-20) y: (-140)\n        pen up\n    end\n    if <(ステージ) = [12]> then\n        pen up\n        set pen color to (#00da25)\n        set pen size to (30)\n        go to x: (-125) y: (縦移動変数)\n        pen down\n        change x by (120)\n        pen up\n        pen down\n        change y by (-30)\n        go to x: (-125) y: ((縦移動変数) - (30))\n        change y by (30)\n        pen up\n        set pen color to (#b15e00)\n        set pen size to (90)\n        pen up\n        go to x: (-242) y: (-140)\n        pen down\n        go to x: (350) y: (-140)\n        set pen size to (30)\n        set pen color to (#00da25)\n        pen up\n        go to x: (-242) y: (-100)\n        pen down\n        go to x: (300) y: (-100)\n        pen up\n        set pen size to (26)\n        go to x: (20) y: (90)\n        pen down\n        go to x: (20) y: (65)\n        go to x: (300) y: (65)\n        go to x: (300) y: (90)\n        go to x: (20) y: (90)\n        pen up\n        set pen size to (15)\n        set pen color to (#00a019)\n        go to x: (-242) y: (-120)\n        pen down\n        go to x: (300) y: (-120)\n        pen up\n        set pen color to (#ff0000)\n        set pen size to (110)\n        go to x: (80) y: (-140)\n        pen down\n        go to x: (250) y: (-140)\n        pen up\n        set pen size to (15)\n        go to x: (-165) y: (200)\n        pen down\n        go to x: (-165) y: (-30)\n        pen up\n    end\n    if <(ステージ) = [13]> then\n        pen up\n        set pen size to (40)\n        set pen color to (#ff0000)\n        go to x: (-125) y: (-100)\n        pen down\n        go to x: (250) y: (-100)\n        pen up\n        set pen color to (#b15e00)\n        set pen size to (50)\n        pen up\n        go to x: (-242) y: (-160)\n        pen down\n        go to x: (250) y: (-160)\n        set pen size to (30)\n        set pen color to (#00da25)\n        pen up\n        go to x: (-242) y: (-120)\n        pen down\n        go to x: (250) y: (-120)\n        pen up\n        set pen size to (15)\n        go to x: (-140) y: (-30)\n        pen down\n        go to x: (-140) y: (-10)\n        pen up\n        go to x: (-70) y: (30)\n        pen down\n        go to x: (-70) y: (50)\n        pen up\n        go to x: (0) y: (90)\n        pen down\n        go to x: (0) y: (110)\n        set pen size to (20)\n        pen up\n        go to x: (90) y: (200)\n        pen down\n        go to x: (90) y: (70)\n        go to x: (300) y: (70)\n        set pen size to (15)\n        pen up\n        go to x: (55) y: (0)\n        pen down\n        go to x: (250) y: (0)\n        pen up\n        set pen size to (15)\n        set pen color to (#00a019)\n        go to x: (-242) y: (-140)\n        pen down\n        go to x: (250) y: (-140)\n        pen up\n    end\n    if <(ステージ) = [14]> then\n        pen up\n        set pen color to (#b15e00)\n        set pen size to (50)\n        pen up\n        go to x: (-242) y: (-160)\n        pen down\n        go to x: (250) y: (-160)\n        set pen size to (30)\n        set pen color to (#00da25)\n        pen up\n        go to x: (-242) y: (-120)\n        pen down\n        go to x: (240) y: (-120)\n        go to x: (240) y: (250)\n        pen up\n        set pen size to (15)\n        set pen color to (#ffc300)\n        go to x: (-100) y: (100)\n        pen down\n        go to x: (-155) y: (100)\n        go to x: (-155) y: (30)\n        go to x: (-100) y: (30)\n        go to x: (-100) y: (60)\n        go to x: (-120) y: (60)\n        pen up\n        go to x: (-70) y: (100)\n        pen down\n        go to x: (-70) y: (30)\n        go to x: (-20) y: (30)\n        go to x: (-20) y: (100)\n        go to x: (-70) y: (100)\n        pen up\n        go to x: (45) y: (100)\n        pen down\n        go to x: (15) y: (30)\n        pen up\n        go to x: (50) y: (100)\n        pen down\n        go to x: (80) y: (30)\n        pen up\n        go to x: (35) y: (54)\n        pen down\n        go to x: (62) y: (54)\n        pen up\n        go to x: (110) y: (100)\n        pen down\n        go to x: (110) y: (30)\n        go to x: (150) y: (30)\n        pen up\n        set pen size to (15)\n        set pen color to (#00a019)\n        go to x: (-242) y: (-140)\n        pen down\n        go to x: (250) y: (-140)\n        pen up\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ステージ) = [4]> then\n        repeat until <(縦移動変数) < [-115]>\n            change [縦移動変数 v] by (-3.3)\n        end\n        repeat until <(縦移動変数) < [30]>\n            change [縦移動変数 v] by (-1.8)\n        end\n        wait (0.1) seconds\n        repeat until <[30] < (縦移動変数)>\n            change [縦移動変数 v] by (3.3)\n        end\n        repeat until <[73] < (縦移動変数)>\n            change [縦移動変数 v] by (1.8)\n        end\n        wait (0.1) seconds\n    else\n        repeat until <(縦移動変数) < [-40]>\n            change [縦移動変数 v] by (-2.8)\n        end\n        repeat until <(縦移動変数) < [-100]>\n            change [縦移動変数 v] by (-1.5)\n        end\n        wait (0.1) seconds\n        repeat until <[60] < (縦移動変数)>\n            change [縦移動変数 v] by (2.8)\n        end\n        repeat until <[86] < (縦移動変数)>\n            change [縦移動変数 v] by (1.5)\n        end\n        wait (0.1) seconds\n    end\nend\n\nwhen flag clicked\nset [縦移動変数 v] to [0]\nset [動く針x v] to [0]\nset [動く針の向き v] to [0]\nset [動く針y v] to [0]\nset [ステージno. v] to [1]\n\nwhen I receive [開始 v]\nset [動く針x v] to [0]\nset [動く針の向き v] to [0]\nset [動く針y v] to [0]\nforever\n    if <(ステージ) = [1]> then\n        set pen size to (23)\n        set pen color to (#00da25)\n        go to x: (-242) y: (-120)\n        pen down\n        glide (0) secs to x: (350) y: (-120)\n        go to x: (-242) y: (-161)\n        set pen color to (#b15e00)\n        set pen size to (50)\n        glide (0) secs to x: (350) y: (-161)\n        pen up\n        set pen size to (15)\n        set pen color to (#00a019)\n        go to x: (-242) y: (-140)\n        pen down\n        go to x: (350) y: (-140)\n        pen up\n    end\n    if <(ステージ) = [2]> then\n        stop [this script v]\n    end\nend\n\n@回転トゲ\n\nwhen flag clicked\n\ndefine 回転トゲ\npen up\nif <[-360] < (動く針の向き)> then\n    change [動く針の向き v] by (-4)\nelse\n    set [動く針の向き v] to [0]\nend\ngo to x: (-70) y: (5)\npoint in direction (動く針の向き)\npen down\nset pen size to (10)\nset pen color to (#ff0000)\nmove (30) steps\npoint in direction ((100) + (動く針の向き))\nmove (100) steps\npoint in direction ((250) + (動く針の向き))\nmove (100) steps\npoint in direction ((-10) + (動く針の向き))\nmove (30) steps\ngo to x: (-70) y: (0)\npen up\nset pen size to (10)\nset pen color to (#ff0000)\npen down\nmove (-20) steps\npoint in direction ((280) + (動く針の向き))\nmove (100) steps\npoint in direction ((430) + (動く針の向き))\nmove (100) steps\npoint in direction ((170) + (動く針の向き))\nmove (30) steps\npen up\nset pen size to (7)\nset pen color to (#ff0000)\npen down\npoint in direction ((0) + (動く針の向き))\nmove (5) steps\npoint in direction ((90) + (動く針の向き))\nmove (25) steps\npoint in direction ((190) + (動く針の向き))\nmove (100) steps\npoint in direction ((340) + (動く針の向き))\nmove (100) steps\npoint in direction ((80) + (動く針の向き))\nmove (30) steps\npen up\nset pen size to (7)\nset pen color to (#ff0000)\npen down\npoint in direction ((180) + (動く針の向き))\nmove (5) steps\npoint in direction ((270) + (動く針の向き))\nmove (25) steps\npoint in direction ((370) + (動く針の向き))\nmove (100) steps\npoint in direction ((520) + (動く針の向き))\nmove (100) steps\npoint in direction ((260) + (動く針の向き))\nmove (32.8) steps\nset pen size to (3)\nset pen size to (70)\nset pen color to (#ff0000)\npen down\n\nwhen I receive [回転トゲ v]\nforever\n    if <(ステージ) = [11]> then\n        回転トゲ\n    end\nend\n\n@星とハート\n\nwhen flag clicked\nhide\nwait (5) seconds\ngo to x: (-175) y: (250)\nforever\n    show\n    glide (0.5) secs to x: (-175) y: (150)\n    wait (3) seconds\n    go to [front v] layer\n    glide (0.5) secs to x: (-175) y: (186)\n    hide\n    wait (10) seconds\nend\n\n@すみません。ペンにするのめんどくなった\n\nwhen flag clicked\nhide\nwait until <(ステージ) = [14]>\ngo to x: (-110) y: (140)\nset [今の数 v] to [1]\nrepeat (length of (Time))\n    switch costume to (letter (今の数) of (Time))\n    create clone of (_myself_ v)\n    change x by (30)\n    change [今の数 v] by (1)\nend\nswitch costume to (タイム v)\ngo to x: (-180) y: (140)\nshow\n\nwhen I start as a clone\nshow\n\ncreate clone of (_myself_ v)\n\n@サムネ\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.0001)\nshow\n\n