《チート版》Online Platformer オンライン プラットフォーマー game ゲーム 


@Stage\n\nwhen I receive [ホーム v]\nstop [other scripts in sprite v]\nclear graphic effects\nswitch backdrop to (ホーム v)\n\nwhen flag clicked\nswitch backdrop to (注意 v)\nset [brightness v] effect to (-100)\nrepeat (10)\n    change [brightness v] effect by (10)\nend\nwait (0.5) seconds\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\nwait (0.5) seconds\nclear graphic effects\nbroadcast (ロード短 v)\nwait (0.5) seconds\nbroadcast (ホーム v)\n\nwhen I receive [切り替え v]\nstop [other scripts in sprite v]\nclear graphic effects\n\nwhen I receive [オンライン！ v]\nset [カウント v] to [0]\nforever\n    wait (1) seconds\n    change [カウント v] by (1)\n    if <[60] < (カウント)> then\n        broadcast (タイムアウト v)\n    end\nend\n\nwhen I receive [ゴール v]\nstop [other scripts in sprite v]\n\nwhen I receive [オンライン！ v]\nforever\n    wait until <<mouse down?> or <key (any v) pressed?>>\n    set [カウント v] to [0]\nend\n\n@停止画面\n\nwhen flag clicked\nforever\n    set [タイマー v] to (timer)\nend\n\nwhen [timer v] > (タイマー)\ngo to [front v] layer\nset size to (100) %\nshow\nif <(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\nend\n\nwhen [timer v] > (タイマー)\nif <not <(♡&☆) = [11]>> then\n    broadcast (♡&☆ v)\nend\nforever\n    set [タイマー v] to (timer)\nend\n\nwhen flag clicked\nhide\nswitch costume to (サムネ v)\n\nwhen I receive [タイムアウト v]\ngo to x: (0) y: (0)\nswitch costume to (タイムアウト v)\nstop [all v]\n\n@BGM\n\nwhen I receive [ホーム v]\nstop [other scripts in sprite v]\nbroadcast (音量 v)\nforever\n    play sound [ホーム v] until done\nend\n\nwhen I receive [スタート v]\nstop [other scripts in sprite v]\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    set volume to (35) %\n    forever\n        play sound [ゲーム v] until done\n    end\nend\n\nwhen I receive [音量 v]\nforever\n    if <([costume name v] of [サウンドボタン v]) = [1]> then\n        set volume to (100) %\n    else\n        set volume to (0) %\n    end\nend\n\n@ロード\n\nwhen flag clicked\nhide\n\nwhen I receive [ロード短 v]\nswitch backdrop to (オンライン？ v)\nreset timer\npoint in direction (90)\nset size to (100) %\nshow\nrepeat until <[0.5] < (timer)>\n    turn right (40) degrees\nend\nhide\n\nwhen I receive [ロード長 v]\nswitch backdrop to (オンライン？ v)\nreset timer\npoint in direction (90)\nset size to (100) %\nshow\nrepeat until <[1] < (timer)>\n    turn right (40) degrees\nend\nhide\n\n@ホーム\n\nwhen I start as a clone\ngo to [back v] layer\nshow\nforever\n    if <(costume [name v]) = [2]> then\n        set y to (([sin v] of ((timer) * (100)) ) * (10))\n    else\n        if <(costume [name v]) = [3]> then\n            set y to (([cos v] of ((timer) * (100)) ) * (10))\n        else\n            if <not <(costume [name v]) = [1]>> then\n                set y to (([sin v] of ((timer) * (100)) ) * (20))\n            end\n        end\n    end\nend\n\nwhen I receive [ホーム v]\nクローン\n\nwhen flag clicked\nhide\n\nwhen I receive [オンライン？ v]\nstop [other scripts in sprite v]\ndelete this clone\n\ndefine クローン\nswitch costume to (1 v)\nset size to (100) %\ncreate clone of (_myself_ v)\nswitch costume to (5 v)\nset size to (80) %\nrepeat (4)\n    create clone of (_myself_ v)\n    switch costume to ((costume [name v]) - (1))\nend\n\nwhen I start as a clone\nforever\n    if <[4] < (costume [name v])> then\n        switch costume to (5 v)\n        repeat until <(costume [number v]) = [12]>\n            wait (0.05) seconds\n            next costume\n        end\n    end\nend\n\n@題名\n\nwhen I receive [ホーム v]\ngo to x: (85) y: (80)\ngo to [front v] layer\nset size to (5) %\nshow\nrepeat (23)\n    change size by (((80) - (size)) / (4))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [ホーム v]\nforever\n    set y to ((80) + (([sin v] of ((300) * (timer)) ) * (10)))\nend\n\nwhen I receive [オンライン？ v]\nstop [other scripts in sprite v]\nhide\n\n@キャラ設定\n\nwhen I receive [ホーム v]\nset [キャラ v] to (costume [number v])\ngo to x: (80) y: (-50)\nshow\n\nwhen I receive [切り替え v]\nset [キャラ v] to (costume [number v])\n\nwhen I receive [次 v]\nset [なめらか v] to [0]\nswitch costume to (キャラ)\nset size to (50) %\nset [なめらか v] to ((((150) - (size)) / (4)) - ((なめらか) / (3)))\nrepeat (20)\n    change size by (なめらか)\n    change [なめらか v] by ((((150) - (size)) / (4)) - ((なめらか) / (3)))\nend\nset size to (150) %\n\nwhen I receive [オンライン？ v]\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nhide\nswitch costume to (1 v)\n\n@説明\n\nwhen flag clicked\nhide\n\nwhen I receive [説明 v]\nstop [other scripts in sprite v]\ncreate clone of (_myself_ v)\ngo to x: (0) y: (0)\nset size to (5) %\nswitch costume to (1 v)\ngo to [front v] layer\nshow\nrepeat (8)\n    change size by (((size) + (5)) / (4))\nend\nrepeat (25)\n    change size by (((100) - (size)) / (4))\nend\n\nwhen I receive [戻る v]\nstop [other scripts in sprite v]\nif <(costume [name v]) = [3]> then\n    repeat (10)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nelse\n    repeat (10)\n        change size by ((((0) - (size)) + (-5)) / (4))\n    end\n    hide\nend\n\nwhen I start as a clone\ngo to [front v] layer\ngo [backward v] (1) layers\nset [ghost v] effect to (100)\nset size to (100) %\nswitch costume to (3 v)\nshow\nrepeat (10)\n    change [ghost v] effect by (-5)\nend\n\nwhen this sprite clicked\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [次 v]\nend\nif <not <(costume [number v]) = [3]>> then\n    if <(costume [number v]) = [1]> then\n        switch costume to (2 v)\n    else\n        switch costume to (1 v)\n    end\n    set [なめらか v] to [0]\n    set size to (80) %\n    set [なめらか v] to ((((100) - (size)) / (4)) - ((なめらか) / (3)))\n    repeat (20)\n        change size by (なめらか)\n        change [なめらか v] by ((((100) - (size)) / (4)) - ((なめらか) / (3)))\n    end\n    set size to (100) %\nend\n\n@スタートボタン\n\nwhen I receive [ホーム v]\nwait (0.05) seconds\ngo to x: (-278) y: (70)\ngo to [front v] layer\nswitch costume to (1 v)\nshow\nrepeat (20)\n    change x by (((-150) - (x position)) / (4))\nend\n\nwhen this sprite clicked\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [選択 v]\nend\nswitch costume to (2 v)\nwait until <not <mouse down?>>\nswitch costume to (1 v)\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [スタート v]\nend\nset [キャラ? v] to (キャラ)\nbroadcast (ロード長 v)\nbroadcast (オンライン？ v)\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [ホーム v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen flag clicked\nhide\n\n@説明ボタン\n\nwhen I receive [ホーム v]\nwait (0.1) seconds\ngo to x: (-278) y: (-8)\ngo to [front v] layer\nswitch costume to (1 v)\nshow\nrepeat (20)\n    change x by (((-150) - (x position)) / (4))\nend\n\nwhen this sprite clicked\nswitch costume to (2 v)\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [選択 v]\nend\nwait until <not <mouse down?>>\nswitch costume to (1 v)\nbroadcast (説明 v)\n\nwhen I receive [ホーム v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [オンライン？ v]\nstop [other scripts in sprite v]\nhide\n\n@サウンドボタン\n\nwhen I receive [ホーム v]\nwait (0.15) seconds\ngo to x: (-278) y: (-65)\ngo to [front v] layer\nshow\nrepeat (20)\n    change x by (((-150) - (x position)) / (4))\nend\n\nwhen flag clicked\nhide\nif < (costume [name v]) contains [1]?> then\n    switch costume to (1 v)\nelse\n    switch costume to (0 v)\nend\n\nwhen I receive [ホーム v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [オンライン？ v]\nstop [other scripts in sprite v]\nhide\n\nwhen this sprite clicked\nstart sound [選択 v]\nnext costume\nwait until <not <mouse down?>>\nif < (costume [name v]) contains [1]?> then\n    switch costume to (0 v)\nelse\n    switch costume to (1 v)\nend\n\n@矢印\n\nwhen I receive [ホーム v]\ngo to x: (160) y: (-50)\npoint in direction (90)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (-50)\npoint in direction (-90)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [オンライン？ v]\ndelete this clone\n\nwhen this sprite clicked\nswitch costume to (2 v)\nwait until <not <mouse down?>>\nswitch costume to (1 v)\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [次 v]\nend\nif <(direction) = [90]> then\n    if <(キャラ) = [8]> then\n        set [キャラ v] to [1]\n    else\n        change [キャラ v] by (1)\n    end\nelse\n    if <(キャラ) = [1]> then\n        set [キャラ v] to [8]\n    else\n        change [キャラ v] by (-1)\n    end\nend\nbroadcast (次 v)\n\nwhen flag clicked\nhide\n\n@戻るボタン\n\nwhen I receive [説明 v]\nwait (0.1) seconds\ngo to x: (-200) y: (-189)\nset size to (100) %\nswitch costume to (1 v)\ngo to [front v] layer\nshow\nstop [other scripts in sprite v]\nbroadcast (大きさ v)\nrepeat (20)\n    change y by (((-150) - (y position)) / (4))\nend\n\nwhen this sprite clicked\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [選択 v]\nend\nswitch costume to (2 v)\nwait until <not <mouse down?>>\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [キャンセル v]\nend\nswitch costume to (1 v)\nbroadcast (戻る v)\nstop [other scripts in sprite v]\nrepeat (20)\n    change y by (((-210) - (y position)) / (4))\nend\nhide\n\nwhen I receive [大きさ v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen flag clicked\nhide\n\n@オンライン\n\nwhen I receive [オンライン？ v]\nset [☁ 1p v] to [0]\nset [☁ 2p v] to [0]\nset [☁ 3p v] to [0]\nset [☁ 4p v] to [0]\nset [☁ 5p v] to [0]\nset [☁ 6p v] to [0]\nset [☁ 7p v] to [0]\nset [☁ 8p v] to [0]\nset [☁ 9p v] to [0]\nset [☁ 10p v] to [0]\nset [1p？ v] to [0]\nwait (1) seconds\nif <<(☁ 1P) = [0]> or <<(☁ 2P) = [0]> or <<(☁ 3P) = [0]> or <<(☁ 4P) = [0]> or <<(☁ 5P) = [0]> or <<(☁ 6P) = [0]> or <<(☁ 7P) = [0]> or <<(☁ 8P) = [0]> or <<(☁ 9P) = [0]> or <(☁ 10P) = [0]>>>>>>>>>> then\n    switch costume to (1 v)\nelse\n    switch costume to (3 v)\nend\ngo to x: (-280) y: (0)\nshow\nrepeat (21)\n    change x by (((-100) - (x position)) / (4))\nend\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    switch costume to (2 v)\n    if <([costume name v] of [サウンドボタン v]) = [1]> then\n        start sound [選択 v]\n    end\n    wait until <not <mouse down?>>\n    switch costume to (1 v)\n    set [オンライン？ v] to [はい]\n    broadcast (切り替え v)\n    broadcast (ロード長 v)\n    wait (0.01) seconds\n    broadcast (オンライン v)\n    wait (1) seconds\n    broadcast (スタート v)\nend\n\nwhen I receive [切り替え v]\nhide\n\nwhen I receive [オンライン？ v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nstop [other scripts in sprite v]\n\n@オフライン\n\nwhen I receive [オンライン？ v]\nwait (1) seconds\ngo to x: (280) y: (0)\nshow\nrepeat (21)\n    change x by (((100) - (x position)) / (4))\nend\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [選択 v]\nend\nswitch costume to (2 v)\nwait until <not <mouse down?>>\nswitch costume to (1 v)\nset [オンライン？ v] to [いいえ]\nbroadcast (切り替え v)\nbroadcast (ロード短 v)\nwait (0.5) seconds\nbroadcast (スタート v)\n\nwhen I receive [切り替え v]\nhide\n\nwhen I receive [オンライン？ v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [スタート v]\nstop [other scripts in sprite v]\n\n@ホームボタン\n\nwhen I receive [スタート v]\n表示する\n\nwhen this sprite clicked\nstop [other scripts in sprite v]\nswitch costume to (2 v)\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [選択 v]\nend\nwait until <not <mouse down?>>\nswitch costume to (1 v)\nbroadcast (切り替え v)\nbroadcast (ロード短 v)\nwait (0.5) seconds\nbroadcast (ホーム v)\n\nwhen I receive [切り替え v]\nhide\n\nwhen I receive [スタート v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen flag clicked\nhide\n\ndefine 表示する\ngo to x: (-205) y: (-150)\nset size to (100) %\nswitch costume to (1 v)\ngo to [front v] layer\nshow\n\nwhen I receive [ゴール v]\nhide\nwait (2) seconds\n表示する\n\n@リトライボタン\n\nwhen I receive [スタート v]\n表示する\n\nwhen this sprite clicked\nstop [other scripts in sprite v]\nswitch costume to (2 v)\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [選択 v]\nend\nwait until <not <mouse down?>>\nswitch costume to (1 v)\nbroadcast (切り替え v)\nif <(オンライン？) = [はい]> then\n    broadcast (ロード長 v)\n    wait (0.01) seconds\n    broadcast (オンライン v)\n    wait (1) seconds\nelse\n    broadcast (ロード短 v)\n    wait (0.5) seconds\nend\nbroadcast (スタート v)\n\nwhen I receive [切り替え v]\nhide\n\nwhen I receive [スタート v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\ndefine 表示する\ngo to x: (-150) y: (-150)\nset size to (100) %\nswitch costume to (1 v)\ngo to [front v] layer\nshow\n\nwhen I receive [ゴール v]\nhide\nwait (2) seconds\n表示する\n\nwhen flag clicked\nhide\n\n@チャット\n\nwhen flag clicked\nhide\n\nwhen I receive [チャット v]\nif <(costume [number v]) = [1]> then\n    wait (5) seconds\n    set [チャット v] to []\nend\n\nwhen I start as a clone\nwait until <not <mouse down?>>\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [決定 v]\nend\ngo to x: (-135) y: (20)\nclear graphic effects\nswitch costume to (0 v)\nset size to (3) %\ngo to [front v] layer\nshow\nrepeat (13)\n    change size by (((100) - (size)) / (3))\nend\nforever\n    if <touching (mouse-pointer v)?> then\n        if <[94] < (mouse y)> then\n            switch costume to (1 v)\n        else\n            if <[73] < (mouse y)> then\n                switch costume to (2 v)\n            else\n                if <[52] < (mouse y)> then\n                    switch costume to (3 v)\n                else\n                    if <[31] < (mouse y)> then\n                        switch costume to (4 v)\n                    else\n                        if <[11] < (mouse y)> then\n                            switch costume to (5 v)\n                        else\n                            if <[-10] < (mouse y)> then\n                                switch costume to (6 v)\n                            else\n                                if <[-31] < (mouse y)> then\n                                    switch costume to (7 v)\n                                else\n                                    if <[-51] < (mouse y)> then\n                                        switch costume to (8 v)\n                                    else\n                                        switch costume to (9 v)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    else\n        switch costume to (0 v)\n        if <mouse down?> then\n            set [チャット表示 v] to [0]\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [オンライン！ v]\nset [チャット v] to []\nset [チャット表示 v] to [0]\ngo to x: (-180) y: (150)\nswitch costume to (チャット v)\nset size to (85) %\ngo to [front v] layer\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [切り替え v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    if <([costume name v] of [サウンドボタン v]) = [1]> then\n        start sound [選択 v]\n    end\n    switch costume to (チャット2 v)\n    wait until <not <mouse down?>>\n    switch costume to (チャット v)\n    if <(チャット表示) = [0]> then\n        set [チャット表示 v] to [1]\n        create clone of (_myself_ v)\n    end\nelse\n    wait until <not <mouse down?>>\n    if <not <(costume [name v]) = [0]>> then\n        stop [other scripts in sprite v]\n        wait (0.1) seconds\n        if <([costume name v] of [サウンドボタン v]) = [1]> then\n            start sound [選択 v]\n        end\n        set [チャット v] to (costume [name v])\n        broadcast (チャット v)\n        set [チャット表示 v] to [0]\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nwait until <not <mouse down?>>\nrepeat (13)\n    set [pitch v] effect to (0)\nend\nwait until <<key (1 v) pressed?> or <<key (2 v) pressed?> or <<key (3 v) pressed?> or <<key (4 v) pressed?> or <<key (5 v) pressed?> or <<key (6 v) pressed?> or <<key (7 v) pressed?> or <<key (8 v) pressed?> or <key (9 v) pressed?>>>>>>>>>\nstop [other scripts in sprite v]\nif <key (1 v) pressed?> then\n    switch costume to (1 v)\nelse\n    if <key (2 v) pressed?> then\n        switch costume to (2 v)\n    else\n        if <key (3 v) pressed?> then\n            switch costume to (3 v)\n        else\n            if <key (4 v) pressed?> then\n                switch costume to (4 v)\n            else\n                if <key (5 v) pressed?> then\n                    switch costume to (5 v)\n                else\n                    if <key (6 v) pressed?> then\n                        switch costume to (6 v)\n                    else\n                        if <key (7 v) pressed?> then\n                            switch costume to (7 v)\n                        else\n                            if <key (8 v) pressed?> then\n                                switch costume to (8 v)\n                            else\n                                if <key (9 v) pressed?> then\n                                    switch costume to (9 v)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nwait (0.1) seconds\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [選択 v]\nend\nset [チャット v] to (costume [name v])\nbroadcast (チャット v)\nset [チャット表示 v] to [0]\ndelete this clone\n\n@ショップ\n\nwhen I receive [スタート v]\ngo to x: (120) y: (-250)\ngo to [front v] layer\nshow\nforever\n    if <<<touching (mouse-pointer v)?> or <<[-135] > (mouse y)> and <<(mouse x) > [0]> and <[240] > (mouse x)>>>> and <not <<mouse down?> and <(round (y position)) = [-250]>>>> then\n        set [ショップ表示 v] to (join [1] (letter (2) of (ショップ表示)))\n        change y by (((-130) - (y position)) / (4))\n    else\n        if <not < (ショップ表示) contains [2]?>> then\n            set [ショップ表示 v] to (join [0] (letter (2) of (ショップ表示)))\n            change y by (((-250) - (y position)) / (4))\n        end\n    end\nend\n\nwhen I receive [ゴール v]\nstop [other scripts in sprite v]\n\nwhen I receive [切り替え v]\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nhide\n\n@ショップ ボタン\n\nwhen I start as a clone\nforever\n    if <(letter (1) of (ショップ表示)) = [1]> then\n        if <touching (mouse-pointer v)?> then\n            if < (costume [name v]) contains [10]?> then\n                set [ショップ表示 v] to (join (letter (1) of (ショップ表示)) (join [2] (join (letter (3) of (ショップ表示)) (letter (4) of (ショップ表示)))))\n            else\n                if < (costume [name v]) contains [15]?> then\n                    set [ショップ表示 v] to (join (letter (1) of (ショップ表示)) (join (letter (2) of (ショップ表示)) (join [2] (letter (4) of (ショップ表示)))))\n                else\n                    set [ショップ表示 v] to (join (letter (1) of (ショップ表示)) (join (letter (2) of (ショップ表示)) (join (letter (3) of (ショップ表示)) [2])))\n                end\n            end\n            if <not < (costume [name v]) contains [*]?>> then\n                set [brightness v] effect to (10)\n            end\n        else\n            if < (costume [name v]) contains [10]?> then\n                set [ショップ表示 v] to (join (letter (1) of (ショップ表示)) (join [0] (join (letter (3) of (ショップ表示)) (letter (4) of (ショップ表示)))))\n            else\n                if < (costume [name v]) contains [15]?> then\n                    set [ショップ表示 v] to (join (letter (1) of (ショップ表示)) (join (letter (2) of (ショップ表示)) (join [0] (letter (4) of (ショップ表示)))))\n                else\n                    set [ショップ表示 v] to (join (letter (1) of (ショップ表示)) (join (letter (2) of (ショップ表示)) (join (letter (3) of (ショップ表示)) [0])))\n                end\n            end\n            set [brightness v] effect to (0)\n        end\n    else\n        set [ショップ表示 v] to (join (letter (1) of (ショップ表示)) [0])\n    end\n    if << (costume [name v]) contains [!]?> and <(キャラ) = [0]>> then\n        switch costume to (10-! v)\n    end\nend\n\nwhen this sprite clicked\nif <not < (costume [name v]) contains [!]?>> then\n    if <<not < (costume [name v]) contains [*]?>> and <((costume [name v]) - (1)) < (コイン)>> then\n        if <([costume name v] of [サウンドボタン v]) = [1]> then\n            start sound [選択 v]\n        end\n        change [コイン v] by ((0) - (costume [name v]))\n        if <(costume [name v]) = [10]> then\n            replace item (11) of [☁︎ hack.deta v] with (キャラ)\n            switch costume to (10+! v)\n            set [キャラ v] to [9]\n        else\n            if <(costume [name v]) = [15]> then\n                set [アイテム v] to (join (アイテム) [ジャンプ])\n            else\n                set [アイテム v] to (join (アイテム) [パラシュート])\n            end\n        end\n        repeat (5)\n            change [ghost v] effect by (10)\n            change size by (((10) - (size)) / (4))\n        end\n        switch costume to (join (costume [name v]) [*])\n        repeat (5)\n            change [ghost v] effect by (-10)\n            change size by (((121) - (size)) / (4))\n        end\n        clear graphic effects\n    end\nelse\n    if < (costume [name v]) contains [+]?> then\n        switch costume to (10-! v)\n        set [キャラ v] to (キャラ?)\n    else\n        switch costume to (10+! v)\n        if <(item (7) of [☁︎ hack.deta v]) = [0]> then\n            set [キャラ v] to [9]\n        else\n            set [キャラ v] to [0]\n        end\n    end\nend\n\nwhen I receive [スタート v]\ngo to x: (165) y: (-85)\nswitch costume to (10 v)\ncreate clone of (_myself_ v)\ngo to x: (165) y: (-120)\nswitch costume to (15 v)\ncreate clone of (_myself_ v)\ngo to x: (165) y: (-155)\nswitch costume to (20 v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    if <(letter (1) of (ショップ表示)) = [1]> then\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [ゴール v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [切り替え v]\nstop [other scripts in sprite v]\ndelete this clone\n\n@満員\n\nwhen I receive [満員 v]\ngo to [front v] layer\nshow\nset [なめらか v] to [100]\nrepeat (30)\n    set [ghost v] effect to (なめらか)\n    change [なめらか v] by (round (((-3) - (なめらか)) / (6)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [オンライン？ v]\nrepeat (25)\n    set [ghost v] effect to (なめらか)\n    change [なめらか v] by (round (((101) - (なめらか)) / (4)))\nend\nhide\n\n@ありがとう！\n\nwhen flag clicked\nbroadcast (♡&☆ v)\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    show\n    forever\n        if <touching (mouse-pointer v)?> then\n            wait (0.05) seconds\n            if <touching (mouse-pointer v)?> then\n                set [♡&☆ v] to (join [1] (letter (2) of (♡&☆)))\n                delete this clone\n            end\n        end\n    end\nelse\n    if <(costume [number v]) = [2]> then\n        show\n        forever\n            if <touching (mouse-pointer v)?> then\n                wait (0.05) seconds\n                if <touching (mouse-pointer v)?> then\n                    set [♡&☆ v] to (join (letter (1) of (♡&☆)) [1])\n                    delete this clone\n                end\n            end\n        end\n    else\n        go to x: (0) y: (0)\n        set size to (5) %\n        go to [front v] layer\n        show\n        repeat (8)\n            change size by (((size) + (5)) / (4))\n        end\n        repeat (25)\n            change size by (((100) - (size)) / (4))\n        end\n        repeat (10)\n            switch costume to (大 v)\n            change size by ((((0) - (size)) + (-5)) / (4))\n            switch costume to (ありがとう！ v)\n        end\n        delete this clone\n    end\nend\n\nwhen I receive [♡&☆ v]\nwait until <not <(♡&☆) = [11]>>\ngo to x: (-15) y: (0)\nswitch costume to (♡ v)\ncreate clone of (_myself_ v)\nswitch costume to (☆ v)\ncreate clone of (_myself_ v)\nwait until <(♡&☆) = [11]>\nwait (0.1) seconds\nswitch costume to (ありがとう！ v)\ncreate clone of (_myself_ v)\n\n@飾り\n\nwhen flag clicked\nhide\n\nwhen I receive [切り替え v]\nhide\n\nwhen I receive [スタート v]\ngo to [front v] layer\nshow\n\n@タイマー\n\nwhen I start as a clone\ngo to [front v] layer\nforever\n    クローン表示 ((round ((timer) * (100))) / (100))\nend\n\nwhen I receive [クローン削除 v]\ndelete this clone\n\nwhen I receive [スタート v]\nset [コイン v] to [0]\nset [タイマー長さ v] to [4]\n数字配置\n\nwhen I receive [切り替え v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [ゴール v]\nstop [other scripts in sprite v]\nbroadcast (クローン削除 v)\nset [タイム v] to ((round ((timer) * (100))) / (100))\nwait (1) seconds\nclear graphic effects\ngo to x: (-75) y: (5)\n数字 (タイム) (length of (タイム))\n\ndefine 数字 (値) (クローン数)\nset [順番 v] to [1]\nrepeat (クローン数)\n    switch costume to (letter (順番) of (値))\n    create clone of (_myself_ v)\n    change [順番 v] by (1)\n    change x by (15)\nend\n\ndefine クローン表示 (タイマー)\nif <(y position) = [5]> then\n    show\nelse\n    if <[80] < (x position)> then\n        if <(length of (タイマー)) < (順番)> then\n            hide\n        else\n            switch costume to (letter (順番) of (タイマー))\n            show\n            if <(タイマー長さ) < (length of (タイマー))> then\n                change [タイマー長さ v] by (1)\n                broadcast (再描画 v)\n            end\n        end\n    else\n        if <(length of (コイン)) < (順番)> then\n            hide\n        else\n            if <(コイン) < [10000]> then\n                switch costume to (letter (順番) of (コイン))\n            else\n                switch costume to (9 v)\n            end\n            show\n        end\n    end\nend\n\nwhen I receive [再描画 v]\nbroadcast (クローン削除 v)\n数字配置\n\ndefine 数字配置\ngo to x: (-15) y: (150)\n数字 (コイン) [4]\ngo to x: (90) y: (150)\n数字 (timer) (タイマー長さ)\n\n@タイム\n\nwhen I receive [ゴール v]\ngo to x: (0) y: (346)\nswitch costume to (1 v)\ngo to [front v] layer\ngo [backward v] (2) layers\nshow\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [メニュー v]\nend\nrepeat (23)\n    change y by (((0) - (y position)) / (4))\nend\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nhide\n\nwhen I receive [切り替え v]\nhide\ndelete this clone\n\nwhen I start as a clone\nswitch costume to (2 v)\ngo to [front v] layer\nset [ghost v] effect to (100)\nshow\nrepeat (25)\n    change [ghost v] effect by (-4)\nend\n\n@プレイヤー\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo [backward v] (6) layers\n\nwhen I receive [スタート v]\nset [スクロールx v] to [0]\nset [スクロールy v] to [120]\nset [x2 v] to [0]\nset [y2 v] to [120]\nset [アイテム v] to []\nswitch backdrop to (空 v)\nsay []\n初期\nreset timer\nforever\n    if <(動ける？) = [0]> then\n        プログラム <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>>> <<key (down arrow v) pressed?> or <<key (s v) pressed?> or <<mouse down?> and <(mouse y) < [0]>>>> <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <[50] < (mouse x)>>>> <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < [-50]>>>> <<not <touching (水 v)?>> and << (アイテム) contains [パラシュート]?> and <<(y1) < [-3]> and <<key (space v) pressed?> or <mouse down?>>>>>\n        set [pitch v] effect to (0)\n    end\nend\n\nwhen I receive [初期化 v]\nif <(item (3) of [☁︎ hack.deta v]) = [0]> then\n    start sound [やられる v]\n    set [動ける？ v] to [1]\n    switch costume to (join [前] (キャラ))\n    go to [front v] layer\n    set [y1 v] to [10]\n    repeat (20)\n        change [y1 v] by (-1)\n        turn left (5) degrees\n        change y by (y1)\n        if <(y1) < [-5]> then\n            change [ghost v] effect by (20)\n        end\n    end\n    hide\n    go [backward v] (50) layers\n    repeat (20)\n        change [スクロールx v] by (round (((x2) - (スクロールx)) / (4)))\n        change [スクロールy v] by (round (((y2) - (スクロールy)) / (4)))\n    end\n    初期\nend\n\nwhen I receive [オンライン！ v]\nforever\n    if <(チャット) = []> then\n        if <(item (7) of [☁︎ hack.deta v]) = [0]> then\n            say (username)\n        else\n            say []\n        end\n    else\n        say (join (username) (item (チャット) of [チャット v]))\n    end\nend\n\nwhen I receive [スタート v]\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    set volume to (100) %\nelse\n    set volume to (0) %\nend\nforever\n    wait until <touching (水 v)?>\n    set [y1 v] to [-3]\n    start sound [水1 v]\n    wait until <not <touching (水 v)?>>\n    start sound [水2 v]\nend\n\nwhen I receive [切り替え v]\nstop [other scripts in sprite v]\nhide\n\ndefine 初期\nset [x1 v] to [0]\nset [y1 v] to [0]\nset [動ける？ v] to [0]\ngo to x: (0) y: (0)\npoint in direction (90)\nclear graphic effects\nshow\n\nwhen I receive [初期化 v]\nset [なめらか v] to [16]\nset [yショック v] to (なめらか)\nset [なめらか v] to ((0) - (なめらか))\nwait (0.02) seconds\nrepeat (5)\n    set [yショック v] to (なめらか)\n    wait (0.02) seconds\n    set [なめらか v] to ((0) - ((なめらか) / (2)))\nend\nset [yショック v] to [0]\n\ndefine プログラム <上> <下> <右> <左> <パラシュート>\nswitch costume to (あたり判定1 v)\nif <右> then\n    change [x1 v] by (1)\nend\nif <左> then\n    change [x1 v] by (-1)\nend\nif <(氷) = [1]> then\n    set [x1 v] to ((x1) * (0.995))\n    if <[11] < (x1)> then\n        set [x1 v] to [11]\n    end\n    if <(x1) < [-11]> then\n        set [x1 v] to [-11]\n    end\nelse\n    set [x1 v] to ((x1) * (0.9))\nend\nchange x by (round ((x1) + (-)))\nrepeat (6)\n    if <<touching (地面 v)?> and <not <touching (水 v)?>>> then\n        change y by (1)\n    end\nend\nif <touching (水 v)?> then\n    if <上> then\n        change [y1 v] by (1.5)\n        if <[7] < (y1)> then\n            set [y1 v] to [7]\n        end\n    end\nend\nif <パラシュート> then\n    set [y1 v] to [-3]\nend\nif <touching (地面 v)?> then\n    set [壁 v] to [0]\n    if <not <touching (水 v)?>> then\n        change y by (-5)\n    end\n    if <(item (4) of [☁︎ hack.deta v]) = [0]> then\n        repeat until <<[100] < (壁)> or <not <touching (地面 v)?>>>\n            change [壁 v] by (1)\n            change x by ((-1) * ((x1) / ([abs v] of (x1) )))\n        end\n        if <[100] < (壁)> then\n            repeat (壁)\n                change x by ((1) * ((x1) / ([abs v] of (x1) )))\n            end\n        else\n            if <<(-) = [0]> and <上>> then\n                start sound [壁キック v]\n                set [y1 v] to [15]\n                set [x1 v] to ((7) - (<(x1) > [0]> * (14)))\n            else\n                set [x1 v] to [0]\n            end\n        end\n    end\nend\nif <touching (水 v)?> then\n    change [y1 v] by (-0.2)\nelse\n    change [y1 v] by (-0.8)\nend\nchange y by (round (y1))\nif <touching (地面 v)?> then\n    if <(item (4) of [☁︎ hack.deta v]) = [0]> then\n        repeat until <not <touching (地面 v)?>>\n            change y by ((-0.8) * ((y1) / ([abs v] of (y1) )))\n        end\n    end\n    if <<(y1) < [0]> and <上>> then\n        if <not <touching (水 v)?>> then\n            start sound [ジャンプ v]\n            if < (アイテム) contains [ジャンプ]?> then\n                set [y1 v] to [15]\n            else\n                set [y1 v] to [14]\n            end\n        end\n    else\n        set [y1 v] to [0]\n    end\nend\nswitch costume to (あたり判定2 v)\nif <touching (はしご v)?> then\n    if <<(触れた？) = [0]> and <(y1) < [0]>> then\n        start sound [はしご v]\n        set [触れた？ v] to [1]\n    end\n    if <(y1) < [0]> then\n        repeat until <<not <touching (はしご v)?>> or <下>>\n            change y by (1)\n        end\n        if <上> then\n            start sound [はしご v]\n            set [y1 v] to [10.5]\n        else\n            if <下> then\n                set [y1 v] to [-3]\n            else\n                set [y1 v] to [0]\n            end\n        end\n    end\nelse\n    set [触れた？ v] to [0]\nend\nswitch costume to (あたり判定1 v)\nif <touching (バネ v)?> then\n    broadcast (バネ v)\n    set [y1 v] to [20]\nend\nif <<touching (障害物 v)?> or <<(y position) < [-160]> and <(スクロールy) = [0]>>> then\n    broadcast (初期化 v)\nend\nchange [スクロールx v] by (round ((x position) * (0.1)))\nchange x by (((0) - (round ((x position) * (0.1)))) * <not <<(スクロールx) < [0]> or <[6940] < (スクロールx)>>>)\nchange [スクロールy v] by (round ((y position) * (0.2)))\nchange y by ((0) - ((round ((y position) * (0.2))) * <not <(スクロールy) < [0]>>))\nif <(スクロールx) < [0]> then\n    set [スクロールx v] to [0]\nend\nif <[6940] < (スクロールx)> then\n    set [スクロールx v] to [6940]\nend\nif <(スクロールy) < [0]> then\n    set [スクロールy v] to [0]\nend\nswitch costume to (join [前] (キャラ))\nif <not <上>> then\n    if <右> then\n        switch costume to (join [右] (キャラ))\n    end\n    if <左> then\n        switch costume to (join [左] (キャラ))\n    end\nelse\n    switch costume to (join [上] (キャラ))\n    if <右> then\n        switch costume to (join [右上] (キャラ))\n    end\n    if <左> then\n        switch costume to (join [左上] (キャラ))\n    end\nend\nif <パラシュート> then\n    switch costume to (join [パラシュート] (キャラ))\nend\nif <(キャラ) = [9]> then\n    change [color v] effect by (1)\nelse\n    clear graphic effects\n    if <(item (7) of [☁︎ hack.deta v]) = [0]> then\n        set [キャラ v] to (キャラ?)\n    end\nend\nif <touching (ゴール v)?> then\n    change [コイン v] by (1)\nend\nset y to (round (y position))\n\nwhen I receive [スタート v]\nforever\n    if <(item (2) of [☁︎ hack.deta v]) = [1]> then\n        set [y1 v] to [0.5]\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>>> then\n            change [y1 v] by (6)\n        end\n        if <<key (down arrow v) pressed?> or <<key (s v) pressed?> or <<mouse down?> and <[0] > (mouse y)>>>> then\n            change [y1 v] by (-7)\n        end\n    end\n    if <<(item (4) of [☁︎ hack.deta v]) = [1]> and <touching (地面 v)?>> then\n        change y by (-1)\n    end\n    if <(item (7) of [☁︎ hack.deta v]) = [1]> then\n        if <(costume [name v]) = [パラシュート0]> then\n            set [ghost v] effect to (0)\n        else\n            set [ghost v] effect to (100)\n        end\n        set [キャラ v] to [0]\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@オンラインプレイヤー\n\nwhen I receive [切り替え v]\nstop [other scripts in sprite v]\ndelete all of [1〜10p v]\ndelete all of [1〜10p2 v]\ndelete all of [利用者 v]\ndelete this clone\n\ndefine 配置\nset [プレイヤー v] to [0]\nset [ペン v] to [0]\nrepeat (10)\n    change [プレイヤー v] by (1)\n    create clone of (_myself_ v)\nend\nwait (1) seconds\nset [ペン v] to [1]\n\nwhen I start as a clone\nif <(ペン) = [0]> then\n    forever\n        show\n        if <<(1P？) = (プレイヤー)> or <<(item (プレイヤー) of [1〜10p2 v]) = [0]> or <(letter (53) of (item (プレイヤー) of [1〜10p2 v])) = [1]>>> then\n            hide\n        end\n        go to x: (((join (letter (43) of (item (プレイヤー) of [1〜10p2 v])) (join (letter (44) of (item (プレイヤー) of [1〜10p2 v])) (join (letter (45) of (item (プレイヤー) of [1〜10p2 v])) (letter (46) of (item (プレイヤー) of [1〜10p2 v]))))) - (1500)) - (スクロールx)) y: (((join (letter (47) of (item (プレイヤー) of [1〜10p2 v])) (join (letter (48) of (item (プレイヤー) of [1〜10p2 v])) (join (letter (49) of (item (プレイヤー) of [1〜10p2 v])) (letter (50) of (item (プレイヤー) of [1〜10p2 v]))))) - (1500)) - (スクロールy))\n        switch costume to ((join (letter (41) of (item (プレイヤー) of [1〜10p2 v])) (letter (42) of (item (プレイヤー) of [1〜10p2 v]))) - (10))\n        if < (costume [name v]) contains [9]?> then\n            change [color v] effect by (1)\n        else\n            clear graphic effects\n        end\n        if <((join (letter (51) of (item (プレイヤー) of [1〜10p2 v])) (letter (52) of (item (プレイヤー) of [1〜10p2 v]))) - (10)) = [0]> then\n            if < (costume [name v]) contains [0]?> then\n                say []\n            else\n                say (item (プレイヤー) of [利用者 v])\n            end\n        else\n            say (join (item (プレイヤー) of [利用者 v]) (item ((join (letter (51) of (item (プレイヤー) of [1〜10p2 v])) (letter (52) of (item (プレイヤー) of [1〜10p2 v]))) - (10)) of [チャット v]))\n        end\n    end\nend\n\nwhen I receive [オンライン v]\nset [☁ 1p v] to [0]\nset [☁ 2p v] to [0]\nset [☁ 3p v] to [0]\nset [☁ 4p v] to [0]\nset [☁ 5p v] to [0]\nset [☁ 6p v] to [0]\nset [☁ 7p v] to [0]\nset [☁ 8p v] to [0]\nset [☁ 9p v] to [0]\nset [☁ 10p v] to [0]\nset [1p？ v] to [0]\nwait (1) seconds\nif <not <(backdrop [name v]) = [ホーム]>> then\n    broadcast (オンライン！ v)\n    配置\n    ユーザー名\n    if <(☁ 1P) = [0]> then\n        forever\n            set [1p？ v] to [1]\n            set [☁ 1p v] to (join (利用者) (join (([costume # v] of [プレイヤー v]) + (10)) (join (((スクロールx) + ([x position v] of [プレイヤー v])) + (1500)) (join (((スクロールy) + ([y position v] of [プレイヤー v])) + (1500)) (join ((チャット) + (10)) (join (動ける？) (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) ))))))))\n        end\n    else\n        if <(☁ 2P) = [0]> then\n            forever\n                set [1p？ v] to [2]\n                set [☁ 2p v] to (join (利用者) (join (([costume # v] of [プレイヤー v]) + (10)) (join (((スクロールx) + ([x position v] of [プレイヤー v])) + (1500)) (join (((スクロールy) + ([y position v] of [プレイヤー v])) + (1500)) (join ((チャット) + (10)) (join (動ける？) (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) ))))))))\n            end\n        else\n            if <(☁ 3P) = [0]> then\n                forever\n                    set [1p？ v] to [3]\n                    set [☁ 3p v] to (join (利用者) (join (([costume # v] of [プレイヤー v]) + (10)) (join (((スクロールx) + ([x position v] of [プレイヤー v])) + (1500)) (join (((スクロールy) + ([y position v] of [プレイヤー v])) + (1500)) (join ((チャット) + (10)) (join (動ける？) (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) ))))))))\n                end\n            else\n                if <(☁ 4P) = [0]> then\n                    forever\n                        set [1p？ v] to [4]\n                        set [☁ 4p v] to (join (利用者) (join (([costume # v] of [プレイヤー v]) + (10)) (join (((スクロールx) + ([x position v] of [プレイヤー v])) + (1500)) (join (((スクロールy) + ([y position v] of [プレイヤー v])) + (1500)) (join ((チャット) + (10)) (join (動ける？) (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) ))))))))\n                    end\n                else\n                    if <(☁ 5P) = [0]> then\n                        forever\n                            set [1p？ v] to [5]\n                            set [☁ 5p v] to (join (利用者) (join (([costume # v] of [プレイヤー v]) + (10)) (join (((スクロールx) + ([x position v] of [プレイヤー v])) + (1500)) (join (((スクロールy) + ([y position v] of [プレイヤー v])) + (1500)) (join ((チャット) + (10)) (join (動ける？) (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) ))))))))\n                        end\n                    else\n                        if <(☁ 6P) = [0]> then\n                            forever\n                                set [1p？ v] to [6]\n                                set [☁ 6p v] to (join (利用者) (join (([costume # v] of [プレイヤー v]) + (10)) (join (((スクロールx) + ([x position v] of [プレイヤー v])) + (1500)) (join (((スクロールy) + ([y position v] of [プレイヤー v])) + (1500)) (join ((チャット) + (10)) (join (動ける？) (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) ))))))))\n                            end\n                        else\n                            if <(☁ 7P) = [0]> then\n                                forever\n                                    set [1p？ v] to [7]\n                                    set [☁ 7p v] to (join (利用者) (join (([costume # v] of [プレイヤー v]) + (10)) (join (((スクロールx) + ([x position v] of [プレイヤー v])) + (1500)) (join (((スクロールy) + ([y position v] of [プレイヤー v])) + (1500)) (join ((チャット) + (10)) (join (動ける？) (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) ))))))))\n                                end\n                            else\n                                if <(☁ 8P) = [0]> then\n                                    forever\n                                        set [1p？ v] to [8]\n                                        set [☁ 8p v] to (join (利用者) (join (([costume # v] of [プレイヤー v]) + (10)) (join (((スクロールx) + ([x position v] of [プレイヤー v])) + (1500)) (join (((スクロールy) + ([y position v] of [プレイヤー v])) + (1500)) (join ((チャット) + (10)) (join (動ける？) (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) ))))))))\n                                    end\n                                else\n                                    if <(☁ 9P) = [0]> then\n                                        forever\n                                            set [1p？ v] to [9]\n                                            set [☁ 9p v] to (join (利用者) (join (([costume # v] of [プレイヤー v]) + (10)) (join (((スクロールx) + ([x position v] of [プレイヤー v])) + (1500)) (join (((スクロールy) + ([y position v] of [プレイヤー v])) + (1500)) (join ((チャット) + (10)) (join (動ける？) (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) ))))))))\n                                        end\n                                    else\n                                        if <(☁ 10P) = [0]> then\n                                            forever\n                                                set [1p？ v] to [10]\n                                                set [☁ 10p v] to (join (利用者) (join (([costume # v] of [プレイヤー v]) + (10)) (join (((スクロールx) + ([x position v] of [プレイヤー v])) + (1500)) (join (((スクロールy) + ([y position v] of [プレイヤー v])) + (1500)) (join ((チャット) + (10)) (join (動ける？) (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) ))))))))\n                                            end\n                                        else\n                                            wait (0.1) seconds\n                                            broadcast (切り替え v)\n                                            broadcast (満員 v) and wait\n                                            broadcast (オンライン？ v)\n                                            broadcast (ロード長 v)\n                                            stop [this script v]\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [オンライン v]\nforever\n    復元\n    wait (1) seconds\nend\n\ndefine 復元\ndelete all of [利用者 v]\nset [利用者復元2 v] to [0]\nrepeat (10)\n    change [利用者復元2 v] by (1)\n    set [利用者復元1 v] to [0]\n    set [4 v] to []\n    repeat (20)\n        if <not <(join (letter ((利用者復元1) + (1)) of (item (利用者復元2) of [1〜10p2 v])) (letter ((利用者復元1) + (2)) of (item (利用者復元2) of [1〜10p2 v]))) = [00]>> then\n            change [利用者復元1 v] by (2)\n            set [4 v] to (join (4) (item (join (letter ((利用者復元1) - (1)) of (item (利用者復元2) of [1〜10p2 v])) (letter (利用者復元1) of (item (利用者復元2) of [1〜10p2 v]))) of [アルファベット v]))\n        end\n    end\n    add (4) to [利用者 v]\nend\n\nwhen I receive [オンライン v]\nforever\n    delete all of [1〜10p2 v]\n    add (☁ 1P) to [1〜10p2 v]\n    add (☁ 2P) to [1〜10p2 v]\n    add (☁ 3P) to [1〜10p2 v]\n    add (☁ 4P) to [1〜10p2 v]\n    add (☁ 5P) to [1〜10p2 v]\n    add (☁ 6P) to [1〜10p2 v]\n    add (☁ 7P) to [1〜10p2 v]\n    add (☁ 8P) to [1〜10p2 v]\n    add (☁ 9P) to [1〜10p2 v]\n    add (☁ 10P) to [1〜10p2 v]\nend\n\nwhen I receive [オンライン！ v]\nforever\n    delete all of [1〜10p v]\n    add (☁ 1P) to [1〜10p v]\n    add (☁ 2P) to [1〜10p v]\n    add (☁ 3P) to [1〜10p v]\n    add (☁ 4P) to [1〜10p v]\n    add (☁ 5P) to [1〜10p v]\n    add (☁ 6P) to [1〜10p v]\n    add (☁ 7P) to [1〜10p v]\n    add (☁ 8P) to [1〜10p v]\n    add (☁ 9P) to [1〜10p v]\n    add (☁ 10P) to [1〜10p v]\n    wait (1.5) seconds\n    if <(letter (54) of (item (1) of [1〜10p v])) = (letter (54) of (item (1) of [1〜10p2 v]))> then\n        set [☁ 1p v] to [0]\n    end\n    if <(letter (54) of (item (2) of [1〜10p v])) = (letter (54) of (item (2) of [1〜10p2 v]))> then\n        set [☁ 2p v] to [0]\n    end\n    if <(letter (54) of (item (3) of [1〜10p v])) = (letter (54) of (item (3) of [1〜10p2 v]))> then\n        set [☁ 3p v] to [0]\n    end\n    if <(letter (54) of (item (4) of [1〜10p v])) = (letter (54) of (item (4) of [1〜10p2 v]))> then\n        set [☁ 4p v] to [0]\n    end\n    if <(letter (54) of (item (5) of [1〜10p v])) = (letter (54) of (item (5) of [1〜10p2 v]))> then\n        set [☁ 5p v] to [0]\n    end\n    if <(letter (54) of (item (6) of [1〜10p v])) = (letter (54) of (item (6) of [1〜10p2 v]))> then\n        set [☁ 6p v] to [0]\n    end\n    if <(letter (54) of (item (7) of [1〜10p v])) = (letter (54) of (item (7) of [1〜10p2 v]))> then\n        set [☁ 7p v] to [0]\n    end\n    if <(letter (54) of (item (8) of [1〜10p v])) = (letter (54) of (item (8) of [1〜10p2 v]))> then\n        set [☁ 8p v] to [0]\n    end\n    if <(letter (54) of (item (9) of [1〜10p v])) = (letter (54) of (item (9) of [1〜10p2 v]))> then\n        set [☁ 9p v] to [0]\n    end\n    if <(letter (54) of (item (10) of [1〜10p v])) = (letter (54) of (item (10) of [1〜10p2 v]))> then\n        set [☁ 10p v] to [0]\n    end\nend\n\ndefine ユーザー名\nset [利用者文字 v] to [0]\nset [利用者 v] to []\nrepeat (length of (username))\n    change [利用者文字 v] by (1)\n    set [利用者 v] to (join (利用者) (item # of (letter (利用者文字) of (username)) in [アルファベット v]))\nend\nrepeat ((40) - (length of (利用者)))\n    set [利用者 v] to (join (利用者) [0])\nend\n\nwhen I start as a clone\nif <(ペン) = [0]> then\n    forever\n        erase all\n        if <<(item (6) of [☁︎ hack.deta v]) = [1]> and <not <(item (プレイヤー) of [1〜10p2 v]) = [0]>>> then\n            create clone of (_myself_ v)\n        end\n        wait (0.1) seconds\n    end\nelse\n    set pen color to (#ff0000)\n    set pen size to (3)\n    pen down\n    go to (プレイヤー v)\n    delete this clone\nend\n\n@地面\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo [backward v] (1) layers\n\ndefine 配置 (1) (2) (3)\nset [1 v] to (1)\nset [2 v] to (2)\nswitch costume to (3)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(costume [number v]) = [25]> then\n    set [ghost v] effect to (100)\nend\nforever\n    if <(costume [number v]) = [3]> then\n        動く (([sin v] of (((days since 2000) * (86400)) * (70)) ) * (150))\n        set [pitch v] effect to (0)\n    else\n        if <(costume [number v]) = [12]> then\n            switch costume to (27 v)\n            if <<touching (プレイヤー v)?> and <(y1) = [0]>> then\n                set [氷 v] to [1]\n            else\n                set [氷 v] to [0]\n            end\n            switch costume to (12 v)\n            移動 ((1) - (スクロールx)) (((2) - (スクロールy)) + (yショック))\n        else\n            移動 ((1) - (スクロールx)) (((2) - (スクロールy)) + (yショック))\n        end\n    end\nend\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\ndefine 動く (動き)\nswitch costume to (26 v)\nif <<touching (プレイヤー v)?> and <(y1) = [0]>> then\n    set [- v] to ((0) - ((+) - (動き)))\nelse\n    set [- v] to [0]\nend\nswitch costume to (3 v)\nset [+ v] to (動き)\n移動 (((1) - (スクロールx)) + (+)) (((2) - (スクロールy)) + (yショック))\n\nwhen I receive [スタート v]\n配置 [0] [0] [1]\n配置 [480] [0] [2]\n配置 [960] [0] [3]\n配置 [1440] [0] [4]\n配置 [1920] [0] [5]\n配置 [2400] [0] [6]\n配置 [2880] [0] [7]\n配置 [3360] [0] [8]\n配置 [3840] [0] [9]\n配置 [4320] [0] [10]\n配置 [5000] [0] [11]\n配置 [5480] [0] [12]\n配置 [5980] [0] [13]\n配置 [6460] [0] [14]\n配置 [6460] [0] [15]\n配置 [200] [550] [16]\n\nwhen I receive [切り替え v]\ndelete this clone\n\n@背景\n\ndefine 配置 (x) (y) (コスチューム)\nset [1 v] to (x)\nset [2 v] to (y)\nswitch costume to (コスチューム)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [3]> then\n        移動 (((1) - (スクロールx)) + (([sin v] of (((days since 2000) * (86400)) * (70)) ) * (150))) (((2) - (スクロールy)) + (yショック))\n    else\n        移動 ((1) - (スクロールx)) (((2) - (スクロールy)) + (yショック))\n    end\nend\n\nwhen I receive [スタート v]\n配置 [0] [0] [1]\n配置 [480] [0] [2]\n配置 [960] [0] [3]\n配置 [1440] [0] [4]\n配置 [1920] [0] [5]\n配置 [2400] [0] [6]\n配置 [2880] [0] [7]\n配置 [3360] [0] [8]\n配置 [3840] [0] [9]\n配置 [4320] [0] [10]\n配置 [5000] [0] [11]\n配置 [5980] [0] [12]\n配置 [6940] [0] [13]\n配置 [6460] [0] [14]\n\nwhen flag clicked\nhide\ngo to [back v] layer\ngo [forward v] (1) layers\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<<(x position) = (ｘ)> and <(y position) = (ｙ)>> and <(item (5) of [☁︎ hack.deta v]) = [0]>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [切り替え v]\ndelete this clone\n\n@山（背景）\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<<(x position) = (ｘ)> and <(y position) = (ｙ)>> and <(item (5) of [☁︎ hack.deta v]) = [0]>> then\n    show\nelse\n    hide\nend\n\nwhen I start as a clone\nforever\n    移動 (((1) - (スクロールx)) / (3)) (((2) - (スクロールy)) / (3))\nend\n\ndefine 配置 (1) (2) (3) (4)\nset [1 v] to (1)\nset [2 v] to (2)\nswitch costume to (3)\nset [3 v] to (4)\ncreate clone of (_myself_ v)\n\nwhen I receive [スタート v]\n配置 [0] [0] [1] [4]\n配置 [2392] [0] [2] [4]\n配置 [4784] [0] [1] [4]\n配置 [7176] [0] [2] [4]\n\nwhen I receive [切り替え v]\ndelete this clone\n\n@障害物\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [8]> then\n        移動 ((1) - (スクロールx)) ((((2) - (スクロールy)) + (([sin v] of ((timer) * (140)) ) * (30))) + (yショック))\n    else\n        if <(costume [number v]) = [7]> then\n            turn right (8) degrees\n            移動 ((1) - (スクロールx)) (((2) - (スクロールy)) + (yショック))\n        else\n            if <[3] < (costume [number v])> then\n                移動 ((1) - (スクロールx)) ((((2) - (スクロールy)) + (([sin v] of ((timer) * (150)) ) * (10))) + (yショック))\n            else\n                移動 ((1) - (スクロールx)) (((2) - (スクロールy)) + (yショック))\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\ndefine 配置 (1) (2) (3)\nset [1 v] to (1)\nset [2 v] to (2)\nswitch costume to (3)\ncreate clone of (_myself_ v)\n\nwhen I receive [スタート v]\n配置 [480] [0] [1]\n配置 [4320] [0] [2]\n配置 [6940] [0] [3]\n配置 [960] [0] [4]\n配置 [1440] [0] [5]\n配置 [5980] [0] [6]\n配置 [2250] [-40] [7]\n配置 [3760] [-5] [7]\n配置 [6460] [0] [8]\n\nwhen I receive [切り替え v]\ndelete this clone\n\n@モンスター\n\ndefine 配置 (x) (y) (コスチューム) (動かす距離)\nset [+ v] to (動かす距離)\nset [1 v] to (x)\nset [2 v] to (y)\nswitch costume to (コスチューム)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    移動 (((1) + (+x)) - (スクロールx)) (((2) - (スクロールy)) + (yショック))\n    if <[0] < (モンスターx)> then\n        point in direction (90)\n    else\n        point in direction (-90)\n    end\nend\n\nwhen I start as a clone\nset [+x v] to [0]\nset [モンスターx v] to [0]\nforever\n    repeat (+)\n        change [モンスターx v] by (1)\n        set [モンスターx v] to ((モンスターx) * (0.85))\n        change [+x v] by (モンスターx)\n        wait until <(OK？) = [0]>\n    end\n    repeat (+)\n        change [モンスターx v] by (-1)\n        set [モンスターx v] to ((モンスターx) * (0.85))\n        change [+x v] by (モンスターx)\n        wait until <(OK？) = [0]>\n    end\nend\n\nwhen I start as a clone\nset [ok？ v] to [0]\nforever\n    if <<touching (プレイヤー v)?> and <(動ける？) = [0]>> then\n        if <(y1) < [0]> then\n            if <([costume name v] of [サウンドボタン v]) = [1]> then\n                start sound [つぶれる v]\n            end\n            set [y1 v] to [14]\n            set [モンスターコインx v] to ((1) + (+x))\n            set [モンスターコインy v] to (2)\n            broadcast (モンスターコイン v)\n            set [ok？ v] to [1]\n            switch costume to (8 v)\n            wait (0.05) seconds\n            switch costume to (9 v)\n            wait (0.05) seconds\n            switch costume to (10 v)\n            wait (0.05) seconds\n            switch costume to (11 v)\n            wait (0.05) seconds\n            delete this clone\n        else\n            broadcast (初期化 v)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nswitch costume to (1 v)\n配置 [1045] [2] [1] [45]\n配置 [1135] [2] [1] [30]\n配置 [3150] [17] [1] [65]\n配置 [5150] [18] [1] [36]\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen I start as a clone\nforever\n    if <(OK？) = [0]> then\n        if <(costume [name v]) = [4]> then\n            switch costume to (1 v)\n        else\n            next costume\n        end\n    end\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [切り替え v]\ndelete this clone\n\n@コイン\n\ndefine 配置 (x) (y) (コスチューム)\nset [1 v] to (x)\nset [2 v] to (y)\ncreate clone of (_myself_ v)\nset [1 v] to ((x) + (10))\ncreate clone of (_myself_ v)\n\nwhen I receive [スタート v]\nswitch costume to (1 v)\n配置 [-180] [30] [1]\n配置 [130] [-10] [1]\n配置 [180] [-10] [1]\n配置 [420] [20] [1]\n配置 [540] [20] [1]\n配置 [1000] [330] [1]\n配置 [1060] [330] [1]\n配置 [1120] [330] [1]\n配置 [1365] [330] [1]\n配置 [1675] [10] [1]\n配置 [1830] [65] [1]\n配置 [1890] [65] [1]\n配置 [2120] [-15] [1]\n配置 [2170] [-15] [1]\n配置 [2320] [-15] [1]\n配置 [2600] [220] [1]\n配置 [2855] [455] [1]\n配置 [2915] [455] [1]\n配置 [3065] [270] [1]\n配置 [3125] [270] [1]\n配置 [3700] [20] [1]\n配置 [3820] [20] [1]\n配置 [3975] [20] [1]\n配置 [4025] [20] [1]\n配置 [3975] [435] [1]\n配置 [4025] [435] [1]\n配置 [4380] [240] [1]\n配置 [4330] [240] [1]\n配置 [4297] [110] [1]\n配置 [4430] [30] [1]\n配置 [4850] [220] [1]\n配置 [4900] [220] [1]\n配置 [5515] [20] [1]\n配置 [5755] [110] [1]\n配置 [6010] [110] [1]\n配置 [6145] [60] [1]\n配置 [6205] [60] [1]\n配置 [6145] [-100] [1]\n配置 [6205] [-100] [1]\n配置 [6470] [-80] [1]\n配置 [6520] [-80] [1]\n配置 [6725] [55] [1]\n配置 [130] [500] [1]\n配置 [240] [500] [1]\n配置 [420] [650] [1]\n配置 [530] [650] [1]\nswitch costume to (0 v)\n\nwhen I start as a clone\nwait (0.01) seconds\nforever\n    if <touching (プレイヤー v)?> then\n        if <([costume name v] of [サウンドボタン v]) = [1]> then\n            start sound [コイン v]\n        end\n        change [コイン v] by (1)\n        repeat (5)\n            change [ghost v] effect by (10)\n            change size by (((0) - (size)) / (4))\n        end\n        stop [other scripts in sprite v]\n        change [2 v] by (30)\n        clear graphic effects\n        switch costume to (+1 v)\n        go to [front v] layer\n        set size to (100) %\n        repeat (20)\n            移動 ((1) - (スクロールx)) ((2) - (スクロールy))\n            change size by ((((0) - (size)) + (-5)) / (10))\n            change [ghost v] effect by (5)\n        end\n        delete this clone\n    end\nend\n\nwhen I receive [モンスターコイン v]\nif <(costume [number v]) = [1]> then\n    wait (0.5) seconds\n    配置 (モンスターコインx) ((モンスターコインy) + (10)) [1]\nend\n\nwhen I start as a clone\nforever\n    switch costume to (1 v)\n    repeat until <(costume [number v]) = [9]>\n        wait (0.05) seconds\n        next costume\n    end\nend\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen I start as a clone\nforever\n    移動 ((1) - (スクロールx)) (((2) - (スクロールy)) + (yショック))\nend\n\nwhen I receive [切り替え v]\ndelete this clone\n\n@水\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo [backward v] (3) layers\n\ndefine 配置 (1) (2) (3)\nset [1 v] to (1)\nset [2 v] to (2)\nswitch costume to (3)\ncreate clone of (_myself_ v)\n\nwhen I receive [スタート v]\nset [チャット v] to []\n配置 [2880] [0] [1]\n配置 [3360] [0] [2]\n配置 [4320] [0] [3]\n配置 [6940] [0] [4]\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen I start as a clone\nforever\n    移動 ((1) - (スクロールx)) ((((2) - (スクロールy)) + (([sin v] of ((timer) * (150)) ) * (10))) + (yショック))\nend\n\nwhen I receive [切り替え v]\ndelete this clone\n\n@バネ\n\nwhen I receive [スタート v]\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nhide\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [切り替え v]\ndelete this clone\n\nwhen I receive [バネ v]\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [バネ v]\nend\nswitch costume to (2 v)\nwait (0.05) seconds\nswitch costume to (3 v)\nwait (0.05) seconds\nswitch costume to (2 v)\nwait (0.05) seconds\nswitch costume to (1 v)\n\nwhen I start as a clone\nswitch costume to (1 v)\nforever\n    移動 ((2680) - (スクロールx)) (((216) - (スクロールy)) + (yショック))\nend\n\n@はしご\n\nwhen I receive [スタート v]\ncreate clone of (_myself_ v)\nforever\n    移動 ((3880) - (スクロールx)) (((240) - (スクロールy)) + (yショック))\nend\n\nwhen flag clicked\nhide\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [切り替え v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I start as a clone\nforever\n    移動 ((-20) - (スクロールx)) (((300) - (スクロールy)) + (yショック))\nend\n\n@チェックポイント\n\ndefine 配置 (x) (y) (コスチューム)\nset [1 v] to (x)\nset [2 v] to (y)\nswitch costume to (コスチューム)\ncreate clone of (_myself_ v)\n\nwhen I receive [スタート v]\n配置 [550] [-4] [1]\n配置 [1550] [-18] [1]\n配置 [2530] [199] [1]\n配置 [4090] [411] [1]\n配置 [5080] [-4] [1]\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        if <([costume name v] of [サウンドボタン v]) = [1]> then\n            start sound [チェック v]\n            change [コイン v] by (1)\n        end\n        set [x2 v] to (1)\n        set [y2 v] to ((2) + (33))\n        switch costume to (2 v)\n        point in direction (120)\n        repeat until <(round (direction)) = [90]>\n            turn right (((90) - (direction)) / (4)) degrees\n        end\n        forever\n            switch costume to (4 v)\n            repeat (2)\n                wait (0.05) seconds\n                next costume\n            end\n            repeat (4)\n                wait (0.05) seconds\n                switch costume to ((costume [number v]) - (1))\n            end\n            wait (0.05) seconds\n            next costume\n            wait (0.05) seconds\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nforever\n    移動 ((1) - (スクロールx)) (((2) - (スクロールy)) + (yショック))\nend\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [切り替え v]\ndelete this clone\n\n@ゴール\n\nwhen I receive [スタート v]\nforever\n    移動 ((7140) - (スクロールx)) (((117) - (スクロールy)) + (yショック))\nend\n\nwhen flag clicked\nhide\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [スタート v]\nforever\n    switch costume to (3 v)\n    repeat (2)\n        wait (0.05) seconds\n        next costume\n    end\n    repeat (4)\n        wait (0.05) seconds\n        switch costume to ((costume [number v]) - (1))\n    end\n    wait (0.05) seconds\n    next costume\n    wait (0.05) seconds\nend\n\nwhen I receive [切り替え v]\nstop [other scripts in sprite v]\nhide\n\n@土管\n\ndefine 配置 (x) (y) (コスチューム)\nset [1 v] to (x)\nset [2 v] to (y)\nswitch costume to (コスチューム)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    移動 ((1) - (スクロールx)) (((2) - (スクロールy)) + (yショック))\nend\n\nwhen I receive [スタート v]\n配置 [6460] [0] [2]\n配置 [6460] [0] [1]\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\ndefine 移動 (ｘ) (ｙ)\ngo to x: (ｘ) y: (ｙ)\nif <<(x position) = (ｘ)> and <(y position) = (ｙ)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [切り替え v]\ndelete this clone\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    set rotation style [don't rotate v]\n    forever\n        switch costume to (0 v)\n        if <touching (プレイヤー v)?> then\n            turn right (((100) - (direction)) / (4)) degrees\n        else\n            turn right (((0) - (direction)) / (4)) degrees\n        end\n        set [ghost v] effect to (direction)\n        switch costume to (1 v)\n    end\nend\n\n@チート\n\nwhen I receive [スタート v]\nerase all\ndelete all of [☁︎ hack.deta v]\nrepeat (10)\n    add [0] to [☁︎ hack.deta v]\nend\ngo to x: (-305) y: (30)\ngo to [front v] layer\nshow\nforever\n    repeat until <<mouse down?> and <[-128] > (mouse x)>>\n        if <<touching (mouse-pointer v)?> or <<[-128] > (mouse x)> and <<(mouse y) > [-70]> and <[130] > (mouse y)>>>> then\n            replace item (1) of [☁︎ hack.deta v] with [1]\n            change x by (((-195) - (x position)) / (4))\n        else\n            if <not < (item (1) of [☁︎ hack.deta v]) contains [2]?>> then\n                replace item (1) of [☁︎ hack.deta v] with [0]\n                change x by (((-305) - (x position)) / (4))\n            end\n        end\n    end\nend\n\nwhen I receive [ゴール v]\nstop [other scripts in sprite v]\n\nwhen I receive [切り替え v]\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nerase all\nhide\n\n@チート ボタン\n\nwhen I start as a clone\nforever\n    if <(letter (1) of (item (1) of [☁︎ hack.deta v])) = [1]> then\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (10)\n        else\n            set [brightness v] effect to (0)\n        end\n    else\n        replace item (1) of [☁︎ hack.deta v] with [0]\n    end\nend\n\nwhen this sprite clicked\nif <([costume name v] of [サウンドボタン v]) = [1]> then\n    start sound [選択 v]\nend\nrepeat (5)\n    change [ghost v] effect by (10)\n    change size by (((10) - (size)) / (4))\nend\nif < (costume [name v]) contains [*]?> then\n    if <(((letter (2) of (costume [name v])) * (10)) - (1)) < (コイン)> then\n        change [コイン v] by ((letter (2) of (costume [name v])) * (-10))\n        if <not <(letter (1) of (costume [name v])) > [4]>> then\n            replace item (letter (1) of (costume [name v])) of [☁︎ hack.deta v] with [1]\n        end\n        switch costume to (join (letter (1) of (costume [name v])) (item (letter (1) of (costume [name v])) of [☁︎ hack.deta v]))\n    end\nelse\n    if < (costume [name v]) contains [0]?> then\n        replace item (letter (1) of (costume [name v])) of [☁︎ hack.deta v] with [1]\n    else\n        replace item (letter (1) of (costume [name v])) of [☁︎ hack.deta v] with [0]\n    end\n    if <(item (6) of [☁︎ hack.deta v]) = [1]> then\n        replace item (5) of [☁︎ hack.deta v] with [1]\n    end\nend\nrepeat (5)\n    change [ghost v] effect by (-10)\n    change size by (((65) - (size)) / (4))\nend\nclear graphic effects\n\nwhen I receive [スタート v]\nset size to (60) %\ngo to x: (-145) y: (110)\nswitch costume to (23* v)\nrepeat (6)\n    create clone of (_myself_ v)\n    change y by (-33)\n    next costume\nend\n\nwhen I start as a clone\nforever\n    if <(letter (1) of (item (1) of [☁︎ hack.deta v])) = [1]> then\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [ゴール v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [切り替え v]\nstop [other scripts in sprite v]\ndelete this clone\n\nswitch costume to (letter (1) of (costume [name v]))\nswitch costume to (join (letter (1) of (costume [name v])) [1])\n\nwhen I start as a clone\nwait (1) seconds\nforever\n    if <not < (costume [name v]) contains [*]?>> then\n        switch costume to (join (letter (1) of (costume [name v])) (item (letter (1) of (costume [name v])) of [☁︎ hack.deta v]))\n    end\nend\n\n