Halloween platformer！/ハロウィンのプラットフォーマー
@Stage\n\n@軽量化用スプライト！\n\n@プラフォ君\n\ndefine 初期位置\nswitch costume to (普通 v)\nset size to (65) %\ngo to x: (-212) y: (89)\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\nshow\n\nwhen I start as a clone\nset [brightness v] effect to (0)\nrepeat (9)\n    change [ghost v] effect by (7)\n    change size by (-5.2)\nend\ndelete this clone\n\nwhen [down arrow v] key pressed\nforever\n    if <<(y position) < [-165]> and <key (down arrow v) pressed?>> then\n        初期位置\n    end\nend\n\nwhen [down arrow v] key pressed\nforever\n    if <(y position) < [-180]> then\n        start sound [crashed oof v]\n        repeat (10)\n            set [ghost v] effect to (7)\n        end\n        clear graphic effects\n        wait (0.05) seconds\n        初期位置\n    end\nend\n\nwhen I receive [スタート v]\nset [color v] effect to (色)\nshow\nset [ステージ v] to [1]\n初期位置\nforever\n    if <(NEXT) = [0]> then\n        if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n            create clone of (_myself_ v)\n            change [x v] by (1.75)\n            point in direction (90)\n        end\n        if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n            create clone of (_myself_ v)\n            change [x v] by (-1.75)\n            point in direction (-90)\n        end\n        set [x v] to ((x) * (0.8))\n        change x by (x)\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 y by (1)\n                                if <touching (ステージ v)?> then\n                                    change y by (1)\n                                    if <touching (ステージ v)?> then\n                                        change x by ((x) * (-1))\n                                        change y by (-7)\n                                        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n                                            if <(x) > [0]> then\n                                                set [x v] to [-15]\n                                            else\n                                                set [x v] to [15]\n                                            end\n                                            set [y v] to [14.5]\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        end\n    end\n    if <not <touching (空 v)?>> then\n        change [y v] by (-1)\n    end\n    change y by (y)\n    if <touching (空 v)?> then\n        change [y v] by (-1)\n        change y by (y)\n    end\n    change y by (y)\n    if <touching (ステージ v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <not <touching (ステージ v)?>> then\n        change y by (-1)\n        if <<touching (ステージ v)?> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>>> then\n            start sound [ジャンプ v]\n            create clone of (_myself_ v)\n            change [y v] by (15)\n        end\n        change y by (1)\n    end\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 [y v] to [6]\n            change y by (y)\n        end\n        set [x v] to ((x) / (1.3))\n        set [y v] to ((y) / (1.5))\n    end\n    if <<touching (とげ・マグマ v)?> or <(y position) < [-175]>> then\n        start sound [crashed oof v]\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        wait (0.05) seconds\n        broadcast (リセット v)\n        初期位置\n    end\n    if <not <(ステージ) = [9]>> then\n        if <(x position) > [215]> then\n            change [ステージ v] by (1)\n            wait (0.05) seconds\n            初期位置\n            broadcast (NEXT v)\n            start sound [NEXT v]\n        end\n    else\n        set [ゴールしたか v] to [1]\n        broadcast (ゴールした v)\n    end\n    if <touching (バネ v)?> then\n        set [y v] to [20]\n        broadcast (バネ発動！ v)\n    end\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(y position) > (mouse y)>>> then\n        switch costume to (しゃがむ v)\n        if <<touching (とげ・マグマ v)?> or <(y position) < [-175]>> then\n            初期位置\n        end\n    else\n        switch costume to (普通 v)\n    end\nend\n\nwhen flag clicked\nhide\nhide variable [☁ 世界記録 v]\nhide variable [タイマー v]\n\nwhen I receive [スタート v]\nforever\n    set [color v] effect to (色)\nend\n\nwhen I receive [スタート v]\nreset timer\nforever\n    set [タイマー v] to ((timer) - (14))\nend\n\n@ステージ\n\nwhen I receive [スタート v]\nshow\nswitch costume to (コスチューム1 v)\ngo to x: (-2) y: (1)\nset size to (100) %\nforever\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\nhide\n\n@とげ・マグマ\n\nwhen flag clicked\nforever\n    switch costume to (ステージ)\nend\n\nwhen I receive [スタート v]\npoint in direction (90)\ngo to x: (0) y: (0)\nshow\n\nwhen flag clicked\nhide\n\n@解説\n\nwhen flag clicked\nforever\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\nforever\n    if <(NEXT) = [1]> then\n        hide\n        wait until <(NEXT) = [0]>\n        show\n    end\nend\n\nwhen I receive [スタート v]\nshow\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\n@outro\n\nwhen I start as a clone\nif <(Outro:ID) = [0]> then\n    go to x: (-500) y: (0)\n    switch costume to (ー v)\n    go to [front v] layer\n    show\n    repeat until <[-1] < (x position)>\n        change x by (((0) - (x position)) / (10))\n    end\nend\nif <(Outro:ID) = [1]> then\n    go to x: (-500) y: (0)\n    switch costume to (ー2 v)\n    go to [front v] layer\n    show\n    repeat until <[-1] < (x position)>\n        change x by (((0) - (x position)) / (10))\n    end\nend\nif <(Outro:ID) = [2]> then\n    go to x: (-500) y: (0)\n    switch costume to (ー3 v)\n    go to [front v] layer\n    show\n    repeat until <[-1] < (x position)>\n        change x by (((0) - (x position)) / (10))\n    end\nend\nif <(Outro:ID) = [3]> then\n    go to x: (0) y: (0)\n    switch costume to (thank you v)\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    show\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (1) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\nif <(Outro:ID) = [4]> then\n    go to x: (0) y: (0)\n    switch costume to (アイコン v)\n    go to [front v] layer\n    set size to () %\n    show\n    repeat until <[99] < (size)>\n        change size by (((100) - (size)) / (5))\n    end\n    repeat until <[49] < (y position)>\n        change y by (((50) - (y position)) / (5))\n    end\n    set [hannkaiten v] to [0]\n    forever\n        change [hannkaiten v] by (0.1)\n        point in direction ((([sin v] of ((Hannkaiten) * (50)) ) * (10)) + (90))\n    end\nend\nif <(Outro:ID) = [5]> then\n    go to x: (-140) y: (50)\n    switch costume to (サムネ（左） v)\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    show\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    forever\n        if <<mouse down?> and <touching (mouse-pointer v)?>> then\n            set size to (130) %\n        else\n            set size to (100) %\n        end\n    end\nend\nif <(Outro:ID) = [6]> then\n    go to x: (140) y: (50)\n    switch costume to (サムネ（右） v)\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    show\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    forever\n        if <<mouse down?> and <touching (mouse-pointer v)?>> then\n            set size to (130) %\n        else\n            set size to (100) %\n        end\n    end\nend\nif <(Outro:ID) = [7]> then\n    go to x: (-80) y: (-100)\n    switch costume to (ハート・星・フォロー v)\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    show\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\nif <(Outro:ID) = [8]> then\n    go to x: (155) y: (-100)\n    switch costume to (コスチューム1 v)\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    show\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\n\ndefine 色々つくる\nset [outro:id v] to [5]\ncreate clone of (_myself_ v)\nset [outro:id v] to [6]\ncreate clone of (_myself_ v)\nset [outro:id v] to [7]\ncreate clone of (_myself_ v)\nset [outro:id v] to [8]\ncreate clone of (_myself_ v)\n\nwhen I receive [アウトロ発動 v]\nwait (1) seconds\nstart sound [Believer  - Silent Partner v]\nset [outro:id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [outro:id v] to [1]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [outro:id v] to [2]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [outro:id v] to [3]\ncreate clone of (_myself_ v)\nwait (2) seconds\nset [outro:id v] to [4]\ncreate clone of (_myself_ v)\nwait (2) seconds\n色々つくる\n\nbroadcast (アウトロ発動 v)\n\n@intro\n\nwhen I start as a clone\nif <(cloneID) = [logo]> then\n    show\n    set [clone_dir v] to [360]\n    switch costume to (bit v)\n    set size to (1200) %\n    switch costume to (logo v)\n    repeat until <[101] > (size)>\n        switch costume to (bit v)\n        change size by (((65) - (size)) / (6.9))\n        change [clone_dir v] by (((90) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n        switch costume to (logo v)\n    end\n    repeat until <[66] > (size)>\n        change size by (((65) - (size)) / (6.9))\n        change [clone_dir v] by (((90) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n    end\n    set [clone_dir v] to [0.5]\n    repeat until <(size) > [100]>\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        turn right ((clone_dir) / (-12)) degrees\n    end\n    repeat (7)\n        switch costume to (bit v)\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        turn right ((clone_dir) / (-12)) degrees\n        switch costume to (logo v)\n    end\n    hide\n    switch costume to (square1 v)\n    set [cloneid v] to [square2]\n    create clone of (_myself_ v)\n    switch costume to (square2 v)\n    set [cloneid v] to [square3]\n    create clone of (_myself_ v)\n    set [cloneid v] to [kirbyzaz]\n    create clone of (_myself_ v)\n    set [cloneid v] to [back3]\n    create clone of (_myself_ v)\n    repeat (8)\n        set [clone_size v] to [50]\n        set [cloneid v] to [square1]\n        create clone of (_myself_ v)\n        set [cloneid v] to [back2]\n        create clone of (_myself_ v)\n        broadcast (\[INTRO\]size v)\n        switch costume to (square1 v)\n        wait (0.561) seconds\n    end\n    broadcast (\[INTRO\]spin v)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back]> then\n    show\n    set [clone_dir v] to [360]\n    switch costume to (bit v)\n    set size to (1200) %\n    switch costume to (blackbar1 v)\n    repeat until <[175] > (size)>\n        switch costume to (bit v)\n        change size by (((174) - (size)) / (6.9))\n        change [clone_dir v] by (((65) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n        switch costume to (back v)\n    end\n    set [clone_dir v] to [0.5]\n    repeat (15)\n        switch costume to (bit v)\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        switch costume to (back v)\n        turn right ((clone_dir) / (12)) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [b1]> then\n    switch costume to (blackbar1 v)\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    show\n    repeat (10)\n        set size to (100) %\n        go to [front v] layer\n        change [ghost v] effect by (-10)\n    end\n    wait (0.1) seconds\n    repeat until <(timer) > [9]>\n        go to [front v] layer\n        change y by (((125) - (y position)) / (5))\n        switch costume to (blackbar1 v)\n        show\n    end\n    repeat until <(timer) > [10]>\n        go to [front v] layer\n        change y by (((-1) - (y position)) / (5))\n        switch costume to (blackbar1 v)\n        show\n    end\n    broadcast (\[INTRO\]end v)\nend\n\nwhen I start as a clone\nif <(cloneID) = [b2]> then\n    switch costume to (blackbar2 v)\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    show\n    repeat (10)\n        set size to (100) %\n        go to [front v] layer\n        change [ghost v] effect by (-10)\n    end\n    wait (0.1) seconds\n    repeat until <(timer) > [9]>\n        go to [front v] layer\n        change y by (((-125) - (y position)) / (5))\n        switch costume to (blackbar2 v)\n        show\n    end\n    repeat until <(timer) > [10]>\n        go to [front v] layer\n        change y by (((1) - (y position)) / (5))\n        switch costume to (blackbar2 v)\n        show\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nreset timer\nstart sound [Foxsky - Kirby Smash v]\nwait (0.7) seconds\nhide\nset [cloneid v] to [b1]\ncreate clone of (_myself_ v)\nset [cloneid v] to [b2]\ncreate clone of (_myself_ v)\nwait (0.3) seconds\nset [cloneid v] to [back]\ncreate clone of (_myself_ v)\nset [cloneid v] to [logo]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(cloneID) = [square1]> then\n    go to [back v] layer\n    go [forward v] (3) layers\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    repeat until <(size) > [100]>\n        change size by (((clone_size) - (size)) / (5))\n        turn right (((clone_dir) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by (((clone_size) - (size)) / (5))\n        switch costume to (clone_cos)\n        turn right (((clone_dir) - (direction)) / (5)) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back2]> then\n    switch costume to (back2 v)\n    clear graphic effects\n    set [ghost v] effect to (50)\n    show\n    go to [front v] layer\n    repeat (25)\n        change [ghost v] effect by (2)\n    end\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back3]> then\n    go to x: (0) y: (0)\n    show\n    switch costume to (back3 v)\n    set [s v] to [90]\n    show\n    set [clone_dir v] to [90]\n    \n        switch costume to (bit v)\n        set size to (100) %\n        go to [back v] layer\n        change [clone_dir v] by (((s) - (clone_dir)) / (5))\n        point in direction (clone_dir)\n        switch costume to (back3 v)\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [square3]> then\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    go to x: (0) y: (0)\n    repeat until <(size) > [100]>\n        change size by ((((clone_size) * ((2.25) * (2.25))) - (size)) / (5))\n        turn right ((((clone_dir) * ((2.25) * (2.25))) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by ((((clone_size) * ((2.25) * (2.25))) - (size)) / (5))\n        turn right ((((clone_dir) * ((2.25) * (2.25))) - (direction)) / (5)) degrees\n        switch costume to (clone_cos)\n        turn right (0.1) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [square2]> then\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    go to x: (0) y: (0)\n    repeat until <(size) > [100]>\n        change size by ((((clone_size) * (2.25)) - (size)) / (5))\n        turn right ((((clone_dir) * (2.25)) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by ((((clone_size) * (2.25)) - (size)) / (5))\n        turn right ((((clone_dir) * (2.25)) - (direction)) / (5)) degrees\n        switch costume to (clone_cos)\n        turn right (0.1) degrees\n    end\n    delete this clone\nend\n\nwhen I receive [\[intro\]size v]\nif < (cloneID) contains [square]?> then\n    if <[350] < (clone_dir)> then\n        set [clone_dir v] to [0]\n    end\n    change [clone_size v] by ((clone_size) * (1.5))\n    change [clone_dir v] by (22.5)\nend\nif <(cloneID) = [back3]> then\n    change [s v] by (90)\nend\n\nwhen I receive [\[intro\]spin v]\nif <<(cloneID) = [b1]> or <(cloneID) = [b2]>> then\n\nwhen I receive [\[intro\]size v]\nif <(cloneID) = [kirbyzaz]> then\n    set [clone_cos v] to (pick random (5) to (10))\n    change size by (30)\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [kirbyzaz]> then\n    show\n    set [clone_dir v] to [90]\n    point in direction (90)\n    go to x: (0) y: (0)\n    switch costume to (bit v)\n    set size to (200) %\n    switch costume to (yourname v)\n    \n        switch costume to (bit v)\n        change size by (((120) - (size)) / (5))\n        switch costume to (yourname v)\n        go to [front v] layer\n        go [backward v] (2) layers\n    end\nend\n\nwhen I receive [\[intro\]size v]\nif <(cloneID) = [b1]> then\n    set [clone_cos v] to [2]\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\nif <(cloneID) = [b2]> then\n    set [clone_cos v] to [-5]\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\n\nwhen I receive [\[intro\]end v]\nif <<(cloneID) = [b1]> or <(cloneID) = [b2]>> then\n    wait (1) seconds\n    if <(cloneID) = [b1]> then\n        change y by (1.5)\n        repeat until <(y position) > [200]>\n            switch costume to (back2 v)\n            change y by ((y position) / (3))\n            switch costume to (blackbar1 v)\n        end\n    else\n        change y by (-1.5)\n        repeat until <[-200] > (y position)>\n            switch costume to (back2 v)\n            change y by ((y position) / (3))\n            switch costume to (blackbar2 v)\n        end\n    end\n    delete this clone\nelse\n    hide\n    delete this clone\nend\n\n@タボフィー\n\nwhen flag clicked\nforever\n    set [turbo v] to [0]\n    wait (0.001) seconds\n    if <[3] < (Turbo)> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nforever\n    change [turbo v] by (1)\nend\n\n@空\n\nwhen flag clicked\nclear graphic effects\nhide\n\nwhen I receive [スタート v]\nshow\nset [ghost v] effect to (100)\nforever\n    switch costume to (ステージ)\nend\n\n@素材\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nrepeat (3)\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I receive [サムネ v]\nset [星 v] to [0]\nset [ハート v] to [0]\n\nwhen flag clicked\nset [星 v] to [0]\nset [ハート v] to [0]\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    hide\n    go to x: (0) y: (-15)\n    forever\n        wait until <touching (mouse-pointer v)?>\n        wait (0.1) seconds\n        if <touching (mouse-pointer v)?> then\n            set [ハート v] to [1]\n        end\n    end\nelse\n    if <(costume [number v]) = [2]> then\n        hide\n        go to x: (0) y: (0)\n        forever\n            wait until <touching (mouse-pointer v)?>\n            wait (0.1) seconds\n            if <touching (mouse-pointer v)?> then\n                set [星 v] to [1]\n            end\n        end\n    else\n        if <(costume [number v]) = [3]> then\n            forever\n                set size to (100) %\n                go to x: (-90) y: (-600)\n                go to [front v] layer\n                wait until <<(星) = [1]> and <(ハート) = [1]>>\n                show\n                repeat (25)\n                    change y by (2)\n                end\n                wait (3) seconds\n                repeat (30)\n                    set size to (1000) %\n                    change y by (-2)\n                    set size to (100) %\n                end\n                set [ハート v] to [0]\n                set [星 v] to [0]\n                hide\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [サムネ v]\nswitch costume to (コスチューム1 v)\nrepeat (3)\n    create clone of (_myself_ v)\n    next costume\nend\n\n@❤⭐\n\nwhen flag clicked\ngo to x: (36) y: (28)\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I start as a clone\nwait (2) seconds\n\nwhen I receive [動き v]\n\nwhen I start as a clone\nforever\n    go to [front v] layer\nend\n\nwhen I start as a clone\nshow\n\nwhen I start as a clone\nif <(クローンおｋ) = [⭕]> then\n    if <(costume [name v]) = [コスチューム3]> then\n        switch costume to (コスチューム3 v)\n        go to x: (60) y: (200)\n        hide\n        wait (0.5) seconds\n        show\n        repeat (10)\n            change y by (((120) - (y position)) / (5))\n        end\n        show\n        switch costume to (コスチューム3 v)\n        switch costume to (コスチューム3 v)\n        wait (0.5) seconds\n        switch costume to (コスチューム3 v)\n        repeat (15)\n            change x by (((140) - (x position)) / (5))\n        end\n        switch costume to (コスチューム3 v)\n        repeat (15)\n            change x by (((210) - (x position)) / (5))\n        end\n        switch costume to (コスチューム3 v)\n        repeat (20)\n            change x by (((230) - (x position)) / (5))\n            change y by (((180) - (y position)) / (5))\n        end\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nset [クローンおｋ v] to [⭕]\nif <(costume [name v]) = [コスチューム2]> then\n    if <(クローンおｋ) = [⭕]> then\n        show\n        switch costume to (コスチューム2 v)\n        repeat (20)\n            change y by (((-50) - (y position)) / (5))\n        end\n        wait (0.55) seconds\n        start sound [Coin v]\n        switch costume to (コスチューム4 v)\n        wait (0.55) seconds\n        start sound [Coin v]\n        switch costume to (コスチューム5 v)\n        wait (0.55) seconds\n        start sound [Coin v]\n        switch costume to (コスチューム1 v)\n        wait (0.5) seconds\n        repeat (20)\n            change y by (((10) - (y position)) / (5))\n        end\n        hide\n        set [クローンおｋ v] to [❌]\n    end\nend\n\nwhen I start as a clone\nif <(クローンおｋ) = [❌]> then\n    delete this clone\nend\n\nwhen I receive [スタート v]\nforever\n    switch costume to (コスチューム2 v)\n    create clone of (_myself_ v)\n    switch costume to (コスチューム3 v)\n    create clone of (_myself_ v)\n    wait (15) seconds\nend\n\n@♡☆などの雨\n\nwhen I receive [イントロ終わった v]\nhide\nset [gravity v] to [0]\nwait (1) seconds\nforever\n    if <(ステージ) = [30]> then\n        create clone of (_myself_ v)\n        wait (0.2) seconds\n    end\nend\n\nwhen I start as a clone\nshow\nset size to (pick random (90.0) to (65.0)) %\ngo [backward v] (20) layers\nswitch costume to (pick random (1) to (5))\npoint in direction (pick random (0) to (180))\ngo to x: (pick random (-200.0) to (200.0)) y: (180)\nset [gravity v] to [0]\nrepeat until <(y position) < [-180]>\n    change [gravity v] by (-1)\n    change y by (gravity)\n    turn right (((round (x position)) / ([abs v] of (round (x position)) )) * (2)) degrees\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\n@Broom\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nshow\nforever\n    go to x: ([x position v] of [プラフォ君 v]) y: (([y position v] of [プラフォ君 v]) + (-5))\nend\n\n@NEXT\n\nwhen I receive [next v]\nset [color v] effect to (変数)\nshow\ngo to x: (-540) y: (0)\nset [next v] to [1]\nrepeat until <(round (x position)) = [0]>\n    change x by (((0) - (x position)) / (4))\nend\nrepeat until <(round (y position)) = [414]>\n    change y by (((414) - (y position)) / (4))\nend\nhide\nset [next v] to [0]\nset [変数 v] to (pick random (1) to (100))\n\nwhen flag clicked\ngo to [front v] layer\nset size to (100) %\nset [next v] to [0]\nhide\n\n@終わり\n\nwhen I receive [ゴールした v]\nwait (0.1) seconds\nforever\n    go to [front v] layer\n    set size to (100) %\n    show\n    if <(costume [number v]) = [1]> then\n        go to x: (-40) y: (0)\n        set [brightness v] effect to (100)\n        set [縦 v] to [35]\n        set [横 v] to [20]\n        repeat (10)\n            change [brightness v] effect by (-10)\n            change size by (((130) - (size)) / (5))\n            set [縦 v] to (((縦) * (0.75)) + (((0) - (x position)) / (8.5)))\n            set [横 v] to (((横) * (0.75)) + (((0) - (y position)) / (7)))\n            change x by (縦)\n            change y by (横)\n        end\n        repeat (20)\n            change size by (((100) - (size)) / (5))\n            set [縦 v] to (((縦) * (0.75)) + (((0) - (x position)) / (8.5)))\n            set [横 v] to (((横) * (0.75)) + (((0) - (y position)) / (5)))\n            change x by (縦)\n            change y by (横)\n        end\n    end\n    wait (2) seconds\nend\n\nwhen flag clicked\nhide\nswitch costume to (pick random (1) to (2))\n\n@スプライト2\n\nwhen flag clicked\nhide\ngo to x: (-140) y: (0)\n\nwhen I start as a clone\nset size to (125) %\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n        if <<mouse down?> and <touching (mouse-pointer v)?>> then\n            set size to (115) %\n            wait (0.1) seconds\n            set size to (125) %\n            start sound [Coin v]\n            wait (0.1) seconds\n            broadcast (スタート v)\n        end\n    else\n        clear graphic effects\n    end\nend\n\nwhen I receive [スタート v]\ndelete this clone\n\nwhen I receive [イントロ終わった v]\ncreate clone of (_myself_ v)\n\n@スプライト3\n\nwhen I start as a clone\nset size to (50) %\nshow\nforever\n    if <(costume [name v]) = [ｐ]> then\n        set [color v] effect to (色)\n    end\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n        if <<mouse down?> and <touching (mouse-pointer v)?>> then\n            set size to (60) %\n            wait (0.1) seconds\n            set size to (50) %\n            start sound [ポップ v]\n            if <(costume [name v]) = [1]> then\n                change [色 v] by (8)\n                wait (0.1) seconds\n            else\n                if <(costume [name v]) = [2]> then\n                    change [色 v] by (-8)\n                    wait (0.1) seconds\n                end\n            end\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [スタート v]\ndelete this clone\n\nstart sound [ポップ v]\n\nwhen I receive [イントロ終わった v]\nset [色 v] to [0]\nswitch costume to (1 v)\nhide\ngo to x: (20) y: (0)\nrepeat (3)\n    next costume\n    create clone of (_myself_ v)\n    change x by (60)\nend\n\nwhen flag clicked\nhide\n\n@スコア表示\n\nwhen I start as a clone\nset [クローン番号 v] to (x position)\nshow\nforever\n    switch costume to (letter (クローン番号) of (タイマー))\n    set size to (大きさ) %\n    go to x: ((ｘ（タイマー用）) + (((クローン番号) - (1)) * ((size) * (0.25)))) y: (ｙ（タイマー用）)\nend\n\nwhen flag clicked\nset [ゴールしたか v] to [0]\nhide variable [大きさ v]\nhide variable [クローン番号 v]\nhide variable [ｘ（タイマー用） v]\nhide variable [ｙ（タイマー用） v]\nhide variable [クローン作ったか v]\nset [クローン作ったか v] to [0]\n\nwhen flag clicked\nwait until <(ゴールしたか) = [1]>\nset x to (0)\nrepeat (10)\n    change x by (1)\n    create clone of (_myself_ v)\nend\nshow\nset [クローン作ったか v] to [1]\n\nwhen I start as a clone\nif <(☁ 世界記録) > (タイマー)> then\n    set [☁ 世界記録 v] to (タイマー)\nend\n\n@スプライト1\n\n@ハンター\n\nwhen flag clicked\nhide\n\nwhen I receive [イントロ終わった v]\nhide\nwait until <(ステージ) = [8]>\nshow\npoint in direction (90)\nrepeat until <(ステージ) = [9]>\n    point towards (プラフォ君 v)\n    move (5) steps\nend\n\n
ステージはどんどん追加していきます！\n※タイマー機能実装のため再共有しました。\n拡散してくれた人、名前書きます！(タグの下)\n⭐傾向目指してます！⭐\n⭐I want to be on the trend!!!!⭐\nEnglish is below↓\n\n【日本語】\nこのプラットフォーマーはただのプラットフォーマーではありません。なぜなら、「飛ぶ」ことができるからです！\nこれを作るのに、ものすごく時間がかかりました。だから、♡＆⭐を忘れずにお願いします！\n\n【English】\nWelcome to the my platformer! I'm @5-2kaito. Please follow me. This platformer can 「fly in the sky」! \nWe spent a lot of time making this. Please don't forget \nto press ♡＆⭐!\n\n【クレジット】※感謝します。\nサムネ　@harunaka926さん\n音　効果音ラボ\nハロウィンの背景　イラストAC\nイントロ　@t9decodeさん\nplayの文字　@YY-Hさん\nタボフィー　@boudannsyounenndannさん\nプラフォ君のコスチューム　@takumarionさん\n♡＆☆検知　@SMEcreaterさん\n♡＆☆要求　@hidetada73さん\n♡＆☆の雨　@youking2010さん\nアウトロ　@osaruosaruosaruさん\n\n【タグ】\n#platformer #5-2kaito #Fly #game #games #halloween #mobile #PC #all\n\n【拡散してくれた人】\n@5-2kaito(((殴\n@pokesvさん\n@xyk7570さん\n@Zei_Para_channelさん\n@rairai34さん\n@sibainu345さん\n@karintou_さん\n@yuuya-0さん\n@kee-proさん\n@tibitokaさん\n@-sie-さん\n@HANIWA1222さん\n@mairu-さん\n@taaakuさん\n@tsu-san0410____さん