JHM_TEAM Platformer 

Instructions: 　　　      \n\n\n                            旗二回押しバグるぞ!!!\n\nフォールガイズをイメージして作りました。\nあとは、普通のプラフォと同じです。\n障害物は、重くなりすぎるので。消しました。すんません\n\n今回は、モバイル対応です。\n頑張って軽量にしました。\n傾向頑張りたいです。(つまり、乗りたいです\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (サムネ2 v)\nforever\n    if <<(ステージ数) > [37]> and <(ステージ数) < [44]>> then\n        switch backdrop to (コスチューム2 v)\n    else\n        if <(ステージ数) = [37]> then\n            switch backdrop to (背景3 v)\n        else\n            if <(ステージ数) = [44]> then\n                switch backdrop to (背景2 v)\n            else\n                if <<(ステージ数) > [44]> and <[52] > (ステージ数)>> then\n                    switch backdrop to (背景 v)\n                else\n                    if <(ステージ数) > [44]> then\n                        switch backdrop to (背景5 v)\n                    else\n                        switch backdrop to (背景1 v)\n                    end\n                end\n            end\n        end\n    end\nend\n\nset [ステージ数 v] to [30]\n\n@海賊王になる男(((?\n\nwhen I receive [イントロ完 v]\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-150) y: (0)\nset size to (65) %\nset rotation style [left-right v]\nshow\nforever\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n        switch costume to (コスチューム4 v)\n    else\n        switch costume to (コスチューム1 v)\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n            switch costume to (コスチューム2 v)\n        else\n            if <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n                switch costume to (コスチューム2 v)\n            else\n                switch costume to (コスチューム1 v)\n            end\n        end\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n        point in direction (90)\n        change [x v] by (1.75)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\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)?> or <<touching (ステージ v)?> or <<touching (鍵穴 v)?> or <touching (鍵穴2 v)?>>>> then\n        change y by (1)\n        if <<touching (動くステージ v)?> or <<touching (ステージ v)?> or <<touching (鍵穴 v)?> or <touching (鍵穴2 v)?>>>> then\n            change y by (1)\n            if <<touching (動くステージ v)?> or <<touching (ステージ v)?> or <<touching (鍵穴 v)?> or <touching (鍵穴2 v)?>>>> then\n                change y by (1)\n                if <<touching (動くステージ v)?> or <<touching (ステージ v)?> or <<touching (鍵穴 v)?> or <touching (鍵穴2 v)?>>>> then\n                    change y by (1)\n                    if <<touching (動くステージ v)?> or <<touching (ステージ v)?> or <<touching (鍵穴 v)?> or <touching (鍵穴2 v)?>>>> then\n                        change y by (1)\n                        if <<touching (動くステージ v)?> or <<touching (ステージ v)?> or <<touching (鍵穴 v)?> or <touching (鍵穴2 v)?>>>> then\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if <<<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> and <not <touching (水 v)?>>> then\n                                start sound [壁キック v]\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 [15.5]\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 v] by (-1)\n    change y by (y)\n    if <<touching (動くステージ v)?> or <<touching (ステージ v)?> or <<touching (鍵穴 v)?> or <touching (鍵穴2 v)?>>>> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n        change y by (-1)\n        if <<<touching (動くステージ v)?> or <<touching (ステージ v)?> or <<touching (鍵穴 v)?> or <touching (鍵穴2 v)?>>>> and <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>>> then\n            change [y v] by (17)\n            start sound [ジャンプ3 v]\n        end\n        change y by (1)\n    end\n    if <[240] < (x position)> then\n        broadcast (次のステージ v)\n        go to x: (-210) y: (0)\n        set [ステージのバグ解消 v] to [1]\n        wait (3) seconds\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <touching (ジャンプ台 v)?> then\n        start sound [ジャンプ3 v]\n        set [y v] to [20]\n    end\n    if <<(y position) < [-182]> or <<touching (針 v)?> or <<touching (動く針 v)?> or <<touching (針\(特殊?\) v)?> or <touching (動く針2 v)?>>>>> then\n        戻る\n    end\n    create clone of (_myself_ v)\n    broadcast (huhh0 v)\nend\n\nwhen flag clicked\nhide\n\ndefine 戻る\nif <(ステージのバグ解消) = [0]> then\n    start sound [Crunch v]\n    go to x: (-210) y: (0)\n    show\n    set [x v] to [0]\n    set [y v] to [0]\nend\n\nwhen I receive [すてーじかわった v]\nwait (0.8) seconds\n戻る(クリア)\n\nwhen I receive [次! v]\nhide\nwait (2.5) seconds\n\nwhen I start as a clone\nswitch costume to (コスチューム3 v)\n残像\n\ndefine 戻る(クリア)\nset [ステージのバグ解消 v] to [0]\ngo to x: (-210) y: (0)\nshow\nswitch costume to (コスチューム1 v)\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nswitch costume to (コスチューム3 v)\nrepeat (15)\n    change size by (-2)\n    change [ghost v] effect by (7)\nend\ndelete this clone\n\ndefine 残像\nset [ghost v] effect to (0)\nrepeat (5)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nwhen I receive [イントロ完 v]\nforever\n    wait until <touching (水 v)?>\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n        set [y v] to [5]\n    else\n        set [y v] to [-1.5]\n    end\nend\n\nwhen I receive [イントロ完 v]\nset [ステージのバグ解消 v] to [0]\nset volume to (100) %\nforever\n    play sound (pick random (4) to (9)) until done\nend\n\nswitch costume to (コスチューム1 v)\n\nwhen flag clicked\nforever\n    if <<[37] < (ステージ数)> and <(ステージ数) < [44]>> then\n        set [pan left/right v] effect to (-25)\n    else\n        set [pan left/right v] effect to (0)\n    end\nend\n\nwhen I receive [huhh0 v]\nif <not <<touching (動くステージ v)?> or <<touching (ステージ v)?> or <<touching (鍵穴 v)?> or <touching (鍵穴2 v)?>>>>> then\n    change y by (-1)\nend\n\n@ステージ\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nset [ステージ数 v] to [1]\nforever\n    switch costume to (ステージ数)\nend\n\nwhen I receive [イントロ完 v]\nforever\n    if <<(ステージ数) = [61]> or <(ステージ数) = [62]>> then\n        show variable [time v]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset drag mode [not draggable v]\n\nwhen I receive [イントロ完 v]\nshow\n\nwhen flag clicked\nset [on/off v] to [0]\nhide variable [time v]\nset [time v] to [0]\nforever\n    wait (1) seconds\n    change [time v] by (1)\n    if <<(ステージ数) = [61]> or <(ステージ数) = [62]>> then\n        stop [this script v]\n    end\nend\n\nwhen [timer v] > (0)\nhide variable [time v]\n\nwhen flag clicked\nforever\n    if <(ステージ数) = [61]> then\n        if <(ON/OFF) = [1]> then\n            set [ステージ数 v] to [62]\n        end\n    end\nend\n\n@針\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nforever\n    go to [back v] layer\n    switch costume to (ステージ数)\nend\n\nwhen flag clicked\nforever\n    set drag mode [not draggable v]\nend\n\nwhen I receive [イントロ完 v]\nset [time v] to [0]\nshow\n\ndefine 「答え」のコスチュームを見てね\n\n@動くステージ\n\nwhen flag clicked\nhide\nforever\n    switch costume to (ステージ数)\nend\n\nwhen flag clicked\nforever\n    set drag mode [not draggable v]\nend\n\nwhen I receive [イントロ完 v]\nwait (1) seconds\nshow\ngo to x: (0) y: (0)\nforever\n    if <(ステージ数) = [14]> then\n        go to x: (0) y: (0)\n        55と14\n    end\n    if <(ステージ数) = [15]> then\n        repeat (17)\n            change y by (8)\n        end\n        repeat (9)\n            change y by (5)\n        end\n        repeat (4)\n            change y by (3)\n        end\n        wait (0.75) seconds\n        repeat (17)\n            change y by (-8)\n        end\n        repeat (9)\n            change y by (-5)\n        end\n        repeat (4)\n            change y by (-3)\n        end\n        wait (0.5) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ステージ数) = [45]> then\n        hide\n        create clone of (_myself_ v)\n        wait (0.75) seconds\n    end\n    if <(ステージ数) = [55]> then\n        go to x: (0) y: (0)\n        show\n        55と14\n    end\nend\n\nwhen I start as a clone\nshow\ngo to x: (266) y: (pick random (98) to (-175))\nrepeat until <<(x position) < [-90]> or <not <(ステージ数) = [45]>>>\n    change x by (pick random (-3) to (-6))\nend\nrepeat (10)\n    change [ghost v] effect by (10)\n    change x by (pick random (-3) to (-6))\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(ステージ数) = [48]> then\n        go to x: (0) y: (0)\n        うごき\n        wait (0.25) seconds\n        うごき2\n        wait (0.25) seconds\n        show\n    end\nend\n\ndefine うごき\nrepeat (17)\n    change x by (8)\nend\nrepeat (9)\n    change x by (5)\nend\nrepeat (4)\n    change x by (3)\nend\n\ndefine うごき2\nrepeat (17)\n    change x by (-8)\nend\nrepeat (9)\n    change x by (-5)\nend\nrepeat (4)\n    change x by (-3)\nend\n\ndefine 55と14\nうごき\nwait (0.5) seconds\nうごき2\nwait (0.5) seconds\n\ndefine 動きy\n\ndefine y2\n\n@動く針\n\nwhen flag clicked\npoint in direction (90)\nhide\ngo to x: (0) y: (0)\nforever\n    go to [back v] layer\n    switch costume to (ステージ数)\nend\n\nwhen I receive [イントロ完 v]\nwait (1) seconds\nshow\n\nwhen flag clicked\nset drag mode [not draggable v]\n\nwhen I receive [イントロ完 v]\nwait (1) seconds\nforever\n    if <(ステージ数) = [48]> then\n        point in direction (90)\n        go to x: (0) y: (0)\n        show\n        うごきと [0.25] 秒と [0.25] 秒待つ?(x座標)\n    end\n    if <(ステージ数) = [57]> then\n        go to x: (0) y: (-300)\n        show\n        repeat (60)\n            change y by (2)\n        end\n        wait (0.75) seconds\n        repeat (60)\n            change y by (-2)\n        end\n        hide\n        wait (1) seconds\n    end\n    if <(ステージ数) = [22]> then\n        start sound [剣で斬る2 v]\n        point in direction (90)\n        go to x: (0) y: (0)\n        repeat (10)\n            change y by (-6)\n        end\n        repeat (8)\n            change y by (-3)\n        end\n        repeat (2)\n            change y by (-2)\n        end\n        wait (0.5) seconds\n        glide (1) secs to x: (0) y: (0)\n        wait (0.5) seconds\n    end\n    if <(ステージ数) = [18]> then\n        go to x: (0) y: (-50)\n        wait (1) seconds\n        start sound [剣で斬る2 v]\n        repeat (5)\n            change y by (5)\n        end\n        repeat (4)\n            change y by (4)\n        end\n        repeat (3)\n            change y by (3)\n        end\n        wait (1) seconds\n        repeat (5)\n            change y by (-5)\n        end\n        repeat (4)\n            change y by (-4)\n        end\n        repeat (3)\n            change y by (-3)\n        end\n    end\n    if <(ステージ数) = [19]> then\n        go to x: (0) y: (-50)\n        turn right (3) degrees\n    end\n    if <(ステージ数) = [33]> then\n        start sound [剣で斬る3 v]\n        point in direction (90)\n        go to x: (0) y: (0)\n        repeat (10)\n            change y by (-6)\n        end\n        repeat (8)\n            change y by (-3)\n        end\n        repeat (2)\n            change y by (-2)\n        end\n        wait (0.5) seconds\n        glide (1) secs to x: (0) y: (0)\n        wait (0.5) seconds\n    end\n    if <(ステージ数) = [14]> then\n        point in direction (90)\n        go to x: (0) y: (0)\n        うごきと [0.5] 秒と [0.5] 秒待つ?(x座標)\n    end\n    if <(ステージ数) = [15]> then\n        go to x: (0) y: (0)\n        うごきと [0.75] 秒と [0.5] 秒待つ?(y座標)\n    end\n    if <(ステージ数) = [26]> then\n        go to x: (0) y: (0)\n        うごきと [0.75] 秒と [0.5] 秒待つ?(y座標)\n    end\n    if <(ステージ数) = [31]> then\n        go to x: (15) y: (62)\n        turn left (3) degrees\n    end\n    if <(ステージ数) = [55]> then\n        point in direction (90)\n        show\n        go to x: (0) y: (0)\n        うごきと [0.5] 秒と [0.5] 秒待つ?(x座標)\n    end\nend\n\ndefine うごきと (何) 秒と (何) 秒待つ?(x座標)\nrepeat (17)\n    change x by (8)\nend\nrepeat (9)\n    change x by (5)\nend\nrepeat (4)\n    change x by (3)\nend\nwait (何) seconds\nrepeat (17)\n    change x by (-8)\nend\nrepeat (9)\n    change x by (-5)\nend\nrepeat (4)\n    change x by (-3)\nend\nwait (何) seconds\n\ndefine うごきと (何) 秒と (何) 秒待つ?(y座標)\nrepeat (17)\n    change y by (8)\nend\nrepeat (9)\n    change y by (5)\nend\nrepeat (4)\n    change y by (3)\nend\nwait (0.75) seconds\nrepeat (17)\n    change y by (-8)\nend\nif <(ステージ数) = [26]> then\n    start sound [剣で斬る2 v]\nend\nrepeat (9)\n    change y by (-5)\nend\nrepeat (4)\n    change y by (-3)\nend\nwait (0.5) seconds\n\nwhen flag clicked\nforever\n    if <(ステージ数) = [49]> then\n        go to x: (102) y: (20)\n        show\n        turn left (3) degrees\n    end\nend\n\n@透けるステージ\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ数)\n    if <<<(ステージ数) = [59]> or <(ステージ数) = [60]>> and <touching (海賊王になる男\(\(\(? v)?>> then\n        go to [front v] layer\n    else\n        go to [back v] layer\n    end\nend\n\nwhen flag clicked\nforever\n    set drag mode [not draggable v]\nend\n\nwhen I receive [イントロ完 v]\nwait (1) seconds\nshow\n\nwhen flag clicked\nhide\nforever\n    switch costume to (ステージ数)\nend\n\nwhen I receive [イントロ完 v]\nset [ghost v] effect to (0)\nwait (1) seconds\nshow\nforever\n    if <touching (海賊王になる男\(\(\(? v)?> then\n        set [ghost v] effect to (0)\n        repeat (5)\n            change [ghost v] effect by (10)\n        end\n        repeat until <not <touching (海賊王になる男\(\(\(? v)?>>\n            set [ghost v] effect to (50)\n        end\n    else\n        repeat (5)\n            change [ghost v] effect by (-10)\n        end\n        set [ghost v] effect to ()\n    end\nend\n\nif <(ステージ数) = [24]> then\n\nwhen flag clicked\nforever\n    set drag mode [not draggable v]\nend\n\nwait (1) seconds\ngo to x: (0) y: (0)\nrepeat (5)\n    change y by (-5)\nend\nrepeat (4)\n    change y by (-4)\nend\nrepeat (3)\n    change y by (-3)\nend\nwait (1) seconds\nstart sound [剣で斬る2 v]\nrepeat (5)\n    change y by (5)\nend\nrepeat (4)\n    change y by (4)\nend\nrepeat (3)\n    change y by (3)\nend\n\n@水\n\nwhen flag clicked\nforever\n    set drag mode [not draggable v]\nend\n\nwhen flag clicked\ngo to [front v] layer\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ数)\n    set [ghost v] effect to (30)\nend\n\nhide\n\n@ボタン\n\nwhen flag clicked\nhide\nset volume to (100) %\nswitch costume to (コスチューム1 v)\nforever\n    go to [back v] layer\n    if <(ステージ数) = [40]> then\n        show\n        if <touching (海賊王になる男\(\(\(? v)?> then\n            switch costume to (コスチューム2 v)\n            play sound [Coin v] until done\n            set volume to (0) %\n            set [on/off v] to [1]\n        end\n    else\n        hide\n    end\nend\n\n@ジャンプ台\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nforever\n    go to [back v] layer\n    switch costume to (ステージ数)\nend\n\nwhen flag clicked\nforever\n    set drag mode [not draggable v]\nend\n\nwhen I receive [イントロ完 v]\nwait (1) seconds\nshow\n\n@あかるく(?)\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\nforever\n    go to (海賊王になる男\(\(\(? v)\n    set [ghost v] effect to (3)\n    if <<(ステージ数) > [37]> and <(ステージ数) < [44]>> then\n        show\n    else\n        if <(ステージ数) = [37]> then\n            hide\n        else\n            hide\n            go to [front v] layer\n        end\n    end\nend\n\nwhen [timer v] > (0)\nhide\n\n\n\n@音量\n\n@装飾\n\nwhen flag clicked\nhide\n\ngo to x: (0) y: (0)\nset [ステージ数 v] to [1]\nforever\n    go to [back v] layer\n    switch costume to (ステージ数)\nend\n\nwhen flag clicked\nforever\n    set drag mode [not draggable v]\nend\n\nwhen I receive [イントロ完 v]\n\nshow\n\n@ターボ検知\n\nwhen flag clicked\nreset timer\nswitch costume to (サムネ v)\nset [変数 v] to [0]\nset [ghost v] effect to (100)\nforever\n    switch costume to (サムネ v)\n    go to [front v] layer\n    set size to (100) %\n    change [変数 v] by (1)\n    wait () seconds\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    wait (0.5) seconds\n    set [変数 v] to [0]\nend\n\nwhen flag clicked\nforever\n    if <[25] < (変数)> then\n        broadcast (ターボ建築 v)\n        stop [all v]\n    end\nend\n\nwhen I receive [ターボ建築 v]\nswitch costume to (ターボ検知 v)\n\nwhen [timer v] > (0)\nforever\n    go to [front v] layer\nend\n\n@鍵\n\nwhen flag clicked\nset size to (30) %\nforever\n    if <(ステージ数) = [58]> then\n        switch costume to (コスチューム1 v)\n        go to x: (145) y: (149)\n        show\n        if <touching (海賊王になる男\(\(\(? v)?> then\n            start sound [Collect v]\n            repeat until <touching (鍵穴 v)?>\n                go to [front v] layer\n                go to (海賊王になる男\(\(\(? v)\n                switch costume to (コスチューム1 v)\n            end\n            hide\n            stop [this script v]\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [kagi v]\nforever\n    if <(ステージ数) = [59]> then\n        switch costume to (コスチューム1 v)\n        go to x: (-70) y: (149)\n        show\n        if <touching (海賊王になる男\(\(\(? v)?> then\n            start sound [Collect v]\n            repeat until <touching (鍵穴 v)?>\n                go to [front v] layer\n                go to (海賊王になる男\(\(\(? v)\n                switch costume to (コスチューム1 v)\n            end\n            hide\n            stop [this script v]\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nbroadcast (イントロ完 v)\n\nwhen I receive [kagi2 v]\nforever\n    if <(ステージ数) = [60]> then\n        switch costume to (コスチューム1 v)\n        go to x: (-190) y: (150)\n        show\n        go to [back v] layer\n        if <touching (海賊王になる男\(\(\(? v)?> then\n            start sound [Collect v]\n            repeat until <touching (鍵穴 v)?>\n                go to [front v] layer\n                go to (海賊王になる男\(\(\(? v)\n                switch costume to (コスチューム1 v)\n            end\n            hide\n            stop [this script v]\n        end\n    else\n        hide\n    end\nend\n\n@鍵2\n\nwhen flag clicked\nset size to (30) %\nhide\n\nwhen I receive [kagi v]\nforever\n    if <(ステージ数) = [59]> then\n        go to [back v] layer\n        switch costume to (コスチューム1 v)\n        go to x: (170) y: (-57)\n        show\n        if <touching (海賊王になる男\(\(\(? v)?> then\n            start sound [Collect v]\n            repeat until <touching (鍵穴2 v)?>\n                go [forward v] (2) layers\n                go to (海賊王になる男\(\(\(? v)\n                switch costume to (コスチューム1 v)\n            end\n            hide\n            stop [this script v]\n        end\n    else\n        hide\n    end\nend\n\n@動く針2\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nforever\n    go to [back v] layer\n    switch costume to (ステージ数)\nend\n\nwhen flag clicked\nforever\n    set drag mode [not draggable v]\nend\n\nwhen I receive [イントロ完 v]\nwait (1) seconds\nshow\n\nwhen flag clicked\nhide\nforever\n    switch costume to (ステージ数)\nend\n\nwhen I receive [イントロ完 v]\nwait (1) seconds\nshow\nforever\n    if <(ステージ数) = [18]> then\n        point in direction (90)\n        wait (1) seconds\n        go to x: (0) y: (0)\n        repeat (5)\n            change y by (-5)\n        end\n        repeat (4)\n            change y by (-4)\n        end\n        repeat (3)\n            change y by (-3)\n        end\n        wait (1) seconds\n        start sound [剣で斬る2 v]\n        repeat (5)\n            change y by (5)\n        end\n        repeat (4)\n            change y by (4)\n        end\n        repeat (3)\n            change y by (3)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    set drag mode [not draggable v]\nend\n\nwhen flag clicked\nforever\n    if <(ステージ数) = [49]> then\n        go to x: (102) y: (-156)\n        show\n        turn right (3) degrees\n    end\nend\n\n@サムネ\n\nwhen flag clicked\nswitch costume to (サムネ -通常-2 v)\nhide\n\nwhen [timer v] > (0)\nclear graphic effects\nif <((ああああ) mod (2)) = [1]> then\n    change [ああああ v] by (1)\n    set size to (100) %\n    change [brightness v] effect by (100)\n    set [fisheye v] effect to (0)\n    go to x: (0) y: (1000)\n    go to [front v] layer\n    show\n    set [fff v] to [26.75]\n    repeat (26)\n        change [fff v] by (-1)\n        change y by (join [-] (fff))\n        change [brightness v] effect by (-3.84)\n    end\n    go to x: (0) y: (0)\n    set [brightness v] effect to (0)\n    switch costume to (サムネ -通常- v)\nelse\n    go to x: (0) y: (0)\n    change [ああああ v] by (1)\n    show\n    switch costume to (サムネ -通常-2 v)\n    set size to (200) %\n    set [brightness v] effect to (100)\n    repeat (25)\n        change [brightness v] effect by (-4)\n        change size by (((100) - (size)) / (7))\n    end\n    set size to (100) %\n    switch costume to (サムネ -通常- v)\n    set [brightness v] effect to (0)\nend\n\nwhen I receive [イントロ完 v]\nforever\n    reset timer\nend\n\nwhen [g v] key pressed\nforever\n    if <key (4 v) pressed?> then\n        forever\n            if <key (7 v) pressed?> then\n                forever\n                    if <key (p v) pressed?> then\n                        forever\n                            if <key (z v) pressed?> then\n                                forever\n                                    if <key (5 v) pressed?> then\n                                        switch costume to (コスチューム1 v)\n                                        forever\n                                            show\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@鍵穴2\n\nwhen I receive [kagi v]\nforever\n    if <(ステージ数) = [59]> then\n        switch costume to (コスチューム2 v)\n        set [ghost v] effect to (0)\n        show\n        go to x: (0) y: (0)\n        wait until <touching (鍵2 v)?>\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        hide\n        broadcast (kagi2 v)\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen [timer v] > (0)\nhide\n\n@鍵穴\n\nwhen flag clicked\nforever\n    if <(ステージ数) = [58]> then\n        switch costume to (コスチューム1 v)\n        set [ghost v] effect to (0)\n        show\n        go to x: (0) y: (0)\n        wait until <touching (鍵 v)?>\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        hide\n        broadcast (kagi v)\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [kagi v]\nforever\n    if <(ステージ数) = [59]> then\n        switch costume to (コスチューム2 v)\n        set [ghost v] effect to (0)\n        show\n        go to x: (-31) y: (-1)\n        wait until <touching (鍵 v)?>\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        hide\n        broadcast (kagi2 v)\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [kagi2 v]\nforever\n    if <(ステージ数) = [60]> then\n        switch costume to (コスチューム3 v)\n        set [ghost v] effect to (0)\n        show\n        go to x: (-31) y: (-1)\n        wait until <touching (鍵 v)?>\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        hide\n        stop [this script v]\n    else\n        hide\n    end\nend\n\n@ねくすと\n\ndefine クローン (名前)\nswitch costume to (名前)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [front v] layer\nif <<(costume [name v]) = [1]> or <<(costume [name v]) = [2]> or <<(costume [name v]) = [3]> or >>> then\n    show\n    go to x: (0) y: (465)\n    repeat until <(round (y position)) = [0]>\n        change y by (((0) - (y position)) / (7))\n    end\n    delete this clone\nend\nif <<[4] < (costume [number v])> and <(costume [number v]) < [9]>> then\n    change [color v] effect by (20)\n    show\n    go to x: (0) y: (-465)\n    repeat until <(round (y position)) = [0]>\n        change y by (((0) - (y position)) / (7))\n    end\nend\nif <(costume [number v]) = [5]> then\n    wait (0.35) seconds\n    あ\nend\nif <(costume [number v]) = [6]> then\n    wait (0.25) seconds\n    あ\nend\nif <(costume [number v]) = [7]> then\n    wait (0.15) seconds\n    あ\nend\nif <(costume [number v]) = [8]> then\n    あ\nend\n\ndefine あ\nrepeat until <(x position) > [460]>\n    change x by (((1) + (x position)) / (4))\nend\ndelete this clone\n\nwhen I receive [次のステージ v]\nstart sound [Rip v]\nchange [くろーんすう v] by (1)\nchange [color v] effect by (15)\nhide\nクローン [1]\nwait (0.05) seconds\nクローン [2]\nwait (0.05) seconds\nクローン [3]\nwait (0.05) seconds\nクローン [4]\nwait (0.15) seconds\nクローン [5]\nwait (0.05) seconds\nクローン [6]\nwait (0.05) seconds\nクローン [7]\nwait (0.05) seconds\nクローン [8]\nchange [すてーじすう v] by (1)\n\nwhen flag clicked\nset [くろーんすう v] to [0]\n\nwhen I receive [次のステージ v]\nwait (1) seconds\nbroadcast (すてーじかわった v)\nchange [ステージ数 v] by (1)\n\n