Minecraft platformer マインクラフト プラットフォーマー

Instructions: 旗２回推奨❕\nflag twice recommended\n\n♡&☆日本語は下のほうにあるよ！일본은 아래쪽에 있어!\n\n・English・\nhello! It's driveGOX! This time I made a Minecraft platformer!\nI want to ride 1P, so please support ❤️ & ⭐️!\n【Method of operation】\n◆PC/keyboard\n▼ Start\nclick the triangle button\n▼Move\nArrow keys, WSAD keys\n▼Attack\nspace bar\n\n◆ Mobile/iPad users\n▼ Start\nPress the mobile mark to start\n▼Move\nTap the direction you want to go\n▼Attack\nPress "attack"\n\n・日本・\nこんにちは！driveGOXです！今回はマイクラプラットフォーマーを作りました！\n傾向1P乗りたいので❤️＆⭐️をよろしく！\n【操作方法】\n◆PC・キーボードの方\n▼スタート\n三角ボタンをクリック\n▼移動\n矢印キー、WSADキー\n▼攻撃\nスペースキー\n\n◆モバイル・iPadの方\n▼スタート\n携帯マークを押してスタート\n▼移動\n行きたい方向をタップ\n▼攻撃\n「attack」を押す\n\n・한국・\n안녕하세요! driveGOX입니다! 이번에는 마이크라 플랫포머를 만들었습니다!\n경향 1P 타고 싶기 때문에❤️&⭐️을 잘!\n【조작 방법】\n◆PC・키보드의 분\n▼스타트\n삼각 버튼을 클릭\n▼이동\n화살표 키, WSAD 키\n▼공격\n스페이스 키\n\n◆ 모바일 · iPad\n▼스타트\n모바일 마크를 눌러 시작\n▼이동\n가고 싶은 방향을 탭\n▼공격\n"attack"을 누르십시오.\n\n・メモとクレジット・\n\n次も傾向乗るぞ〜！❤️＆⭐️よろしく！\n\n【拡散して】傾向狙ってるんで♡＆☆(できればフォローも)ガチでお願いします！\n傾向乗ってたらコメントしてくれ〜\n【Spread it】 I'm aiming for a trend, so please be serious ♡ & ☆ (follow me if possible)! \n\n参考:@kuri-pa-2 (神)\n曲:フリーbgmサイト @griffpatch (神)\n効果音:効果音ラボ (神サイト)\nプレイヤー:@-paff- (神)\nプレイヤーや敵や剣の見た目:@-firstwave- (神)\n地面&マグマ&トゲ:@griffpatch (神)\nフォローなどのロゴ:@NyantyuGO (神)\nNEXT:@harukun19(神)\n残りは:自作\n\ntag\n#game #games #platformer \n#survival #rolling #all

@Stage\n\nwhen flag clicked\nset volume to (100) %\nswitch backdrop to (背景1 v)\nstop all sounds\nrepeat until <(ステージ) = [14]>\n    start sound [ｂｇｍ v]\n    wait (95.28) seconds\nend\n\nwhen I receive [start v]\nswitch backdrop to (空 v)\n\nwhen flag clicked\nhide variable [☁ 世界記録 v]\nhide variable [ｈp v]\nhide variable [記録 v]\n\nwhen I receive [おしまい v]\nstop all sounds\n\nwhen flag clicked\nset [ステージ v] to [0]\nforever\n    if <(ステージ) = [1]> then\n        switch backdrop to (空 v)\n    end\n    if <(ステージ) = [9]> then\n        switch backdrop to (洞窟、エンド v)\n    end\n    if <(ステージ) = [11]> then\n        switch backdrop to (ネザー v)\n    end\n    if <(ステージ) = [14]> then\n        switch backdrop to (洞窟、エンド v)\n    end\n    if <(ステージ) = [16]> then\n        switch backdrop to (エンド v)\n    end\n    if <(ステージ) = [17]> then\n        switch backdrop to (洞窟、エンド v)\n    end\nend\n\nstop all sounds\nswitch backdrop to (洞窟、エンド v)\n\nwhen I receive [アウトロ v]\nstart sound [ｂｇｍ v]\n\n@当たったらﾀﾋぬ\n\nwhen I receive [start v]\nshow\nset [タイム v] to [0]\nforever\n    switch costume to (ステージ)\n    if <(ステージ) = [17]> then\n        set [ステージ v] to [17]\n    end\nend\n\nhide\n\nwhen flag clicked\ngo [backward v] (10) layers\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [おしまい v]\nhide\n\nwhen flag clicked\nhide\n\ncreate clone of (_myself_ v)\nset x to (-190)\n\n@お次！\n\nwhen I receive [次！ v]\nswitch costume to (コスチューム1 v)\ngo to [front v] layer\nhide\nstart sound [High Whoosh v]\nrepeat (4)\n    wait (0.0025) seconds\n    next costume\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nif <<(costume [number v]) = [1]> or <<(costume [number v]) = [2]> or <<(costume [number v]) = [3]> or <<(costume [number v]) = [4]> or <(costume [number v]) = [5]>>>>> then\n    go to x: (468) y: (0)\n    repeat until <(round (x position)) = [0]>\n        change x by (((0) - (x position)) / (7))\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    wait (2.2) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [2]> then\n    wait (2.1) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [3]> then\n    wait (2) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [4]> then\n    wait (1.9) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [5]> then\n    wait (1.8) seconds\n    repeat until <[330] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\n\n@ゲート\n\nwhen flag clicked\nhide\nforever\n    go to [back v] layer\n    if <(ステージ) = [10]> then\n        switch costume to (ネザゲ1 v)\n        go to x: (168) y: (15)\n        show\n    end\n    if <(ステージ) = [13]> then\n        switch costume to (ネザゲ1 v)\n        go to x: (182) y: (-23)\n        show\n    end\n    if <(ステージ) = [11]> then\n        switch costume to (ネザゲ2 v)\n        go to x: (-168) y: (-22)\n        show\n    end\n    if <(ステージ) = [14]> then\n        switch costume to (エンド v)\n        go to x: (74) y: (-22)\n        show\n    end\n    if <(ステージ) = [14]> then\n        create clone of (_myself_ v)\n    end\n    if <(ステージ) = [17]> then\n        switch costume to (エンド v)\n        go to x: (66) y: (-85)\n        show\n    end\n    if <<<touching (プレイヤー v)?> and <(costume [number v]) = [1]>> or <<<touching (プレイヤー v)?> and <(costume [number v]) = [3]>> and <(ステージ) = [14]>>> then\n        hide\n        change [ステージ v] by (1)\n        broadcast (次！ v)\n    end\n    if <<<touching (プレイヤー v)?> and <(costume [number v]) = [3]>> and <(ステージ) = [17]>> then\n        hide\n        broadcast (アウトロ v)\n        change [ステージ v] by (1)\n    end\nend\n\nwhen I receive [次！ v]\nhide\n\nchange [ステージ v] by (1)\n\nwhen I start as a clone\ngo to x: (-168) y: (0)\nswitch costume to (ネザゲ2 v)\nshow\nwait until <(ステージ) = [15]>\ndelete this clone\n\ndelete this clone\n\n@地面\n\nwhen flag clicked\nhide variable [☁ 世界記録 v]\nhide variable [タイム v]\npoint in direction (90)\nset [タイム v] to [0]\nhide\n\nwhen I receive [start v]\nshow\nset [ステージ v] to [1]\nforever\n    go to x: (0) y: (0)\n    switch costume to (ステージ)\nend\n\nwhen I receive [start v]\nforever\n    wait (1) seconds\n    change [タイム v] by (1)\n    if <(ステージ) = [17]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [アウトロ v]\nhide\n\nwhen I receive [おしまい v]\nforever\n    hide variable [☁ 世界記録 v]\n    hide variable [タイム v]\nend\n\nwhen I receive [おしまい v]\nhide variable [☁ 世界記録 v]\nhide\n\nwhen I receive [作成用のメッセージ v]\nchange [ステージ v] by (1)\n\n@スタート\n\nwhen flag clicked\nwait (0.00000000000001) seconds\nset [ghost v] effect to (100)\ngo to x: (0) y: (-150)\nswitch costume to (② v)\nrepeat (10)\n    change [ghost v] effect by (-10)\n    change y by ((timer) * (15))\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    show\n    switch costume to (① v)\n    set [ghost v] effect to (100)\n    go to x: (0) y: (-50)\n    repeat (10)\n        change [ghost v] effect by (-10)\n        change y by ((timer) * (15))\n    end\n    wait until <(お) = [1]>\n    delete this clone\nend\nif <(costume [number v]) = [3]> then\n    clear graphic effects\n    switch costume to (背景 v)\n    go to x: (0) y: (0)\n    show\n    wait until <(お) = [1]>\n    delete this clone\nend\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    change [お v] by (1)\n    broadcast (START v)\n    hide\nend\nif <(costume [number v]) = [2]> then\n    broadcast (モバイル v)\n    repeat (4)\n        change [ghost v] effect by (25)\n    end\n    hide\nend\n\nwhen flag clicked\nswitch costume to (背景 v)\ncreate clone of (_myself_ v)\nswitch costume to (① v)\ncreate clone of (_myself_ v)\nset [お v] to [0]\nshow\n\nwhen I receive [start v]\nhide\n\n@プレイヤー\n\nwhen I receive [start v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (player2 v)\nrepeat (6)\n    change size by (-6)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nhide\nset volume to (100) %\n\ngo to x: (-200) y: (-76)\n\ndefine X (x) Y (y)\ngo to x: (x) y: (y)\nset [y v] to [0]\nset [x v] to [0]\nset rotation style [left-right v]\npoint in direction (90)\nclear graphic effects\n\ndefine スピード (スピード) 摩擦 (摩擦) 重力 (重力) ジャンプ高さ (ジャンプ高さ)\nchange [y v] by (重力)\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>>> then\n    change [x v] by (スピード)\n    point in direction (90)\nend\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>>> then\n    change [x v] by ((スピード) * (-1))\n    point in direction (-90)\nend\nset [x v] to ((X) * (摩擦))\nchange x by (X)\nrepeat (8)\n    change y by <<touching (地面 v)?> or <touching (地面 v)?>>\nend\nif <touching (地面 v)?> then\n    change x by (() - (X))\n    change y by (-8)\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 ((ジャンプ高さ) - (1))\n        set [x v] to ((5) - ((14) * <[0] < (X)>))\n    end\nend\nchange y by (Y)\nif <touching (地面 v)?> then\n    change y by ((Y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-1)\nif <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n    if <touching (地面 v)?> then\n        set [y v] to (ジャンプ高さ)\n    end\nend\nchange y by (1)\n\nwhen I receive [start v]\nshow\nX [-200] Y [-10]\nset [ok v] to [0]\nset [ななめ v] to [1]\nforever\n    スピード [1] 摩擦 [0.88] 重力 [-1] ジャンプ高さ [13]\n    if <<<<<touching (スプライト v)?> or <<touching (当たったらﾀﾋぬ v)?> or <touching (敵 v)?>>> or <touching (弓矢 v)?>> or <touching (スケルトン v)?>> or <(y position) < [-175]>> then\n        リスポーン\n    end\n    if <[240] < (x position)> then\n        if <(ステージ) = [18]> then\n            broadcast (アウトロ v)\n        else\n            broadcast (次！ v)\n            change [ステージ v] by (1)\n            X [-200] Y [-10]\n        end\n    end\nend\n\nwhen I receive [次！ v]\nrepeat (100)\n    X [-200] Y [-10]\nend\n\nwhen I receive [おしまい v]\nhide\n\nwhen I receive [アウトロ v]\nset volume to (0) %\n\ndefine リスポーン\nset [ok v] to [1]\nset rotation style [all around v]\nset [y v] to [10]\nstart sound [Crunch v]\nrepeat (20)\n    change [y v] by (-1)\n    change [ghost v] effect by (5)\n    turn right (8) degrees\n    change y by (Y)\nend\nset [ok v] to [0]\nX [-200] Y [-10]\n\nchange [x v] by (1)\npoint in direction (90)\nchange [x v] by ((1) * (-1))\npoint in direction (-90)\n\nset [x v] to [0]\n\nwhen flag clicked\nwait until <touching (剣 v)?>\nforever\n    if <(direction) = [90]> then\n        broadcast (右持ち v)\n    end\n    if <(direction) = [-90]> then\n        broadcast (左持ち v)\n    end\nend\n\nwhen I receive [アウトロ v]\nhide\n\n@やってくれてテンキュー！\n\nwhen I receive [アウトロ v]\nswitch costume to (よろ！ v)\ngo to [front v] layer\nswitch backdrop to (背景2 v)\npoint in direction (90)\nshow\nrepeat until <(y position) = [353]>\n    change y by (0.5)\nend\nwait (2) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nstop [all v]\n\nwhen flag clicked\ngo to x: (0) y: (-523)\nclear graphic effects\nhide\n\n@サムネ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n@スプライト5\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [表示 v]\ngo to [front v] layer\nhide\ngo to x: (151) y: (180)\nforever\n    wait (pick random (5) to (8)) seconds\n    show\n    start sound [ポップ v]\n    glide (1) secs to x: (151) y: (155)\n    wait (3) seconds\n    glide (1) secs to x: (151) y: (180)\n    hide\nend\n\nwhen I receive [start v]\nbroadcast (表示 v)\n\n@敵\n\nwhen flag clicked\nset [hp v] to [150]\nset rotation style [left-right v]\nset [敵x v] to [0]\nhide\n\nchange [敵x v] by (1)\npoint in direction (90)\n\nwhen I receive [start v]\nforever\n    repeat (15)\n        change [敵x v] by (1)\n        point in direction (90)\n    end\n    wait (0.2) seconds\n    repeat (15)\n        change [敵x v] by ((1) * (-1))\n        point in direction (-90)\n    end\n    wait (0.2) seconds\nend\n\nwhen I receive [start v]\nforever\n    set [敵の角度 v] to (direction)\nend\n\nwhen I receive [剣 v]\nwait (0.15) seconds\nif <touching (剣 v)?> then\n    change [hp v] by (-50)\n    if <(hp) < [1]> then\n        hide\n    end\n    if <(ステージ) = [2]> then\n        switch costume to (ゾンビ2 v)\n        wait (0.2) seconds\n        switch costume to (ゾンビ v)\n    end\n    if <(ステージ) = [4]> then\n        switch costume to (ゾンビ2 v)\n        wait (0.2) seconds\n        switch costume to (ゾンビ v)\n    end\n    if <(ステージ) = [6]> then\n        switch costume to (クリーパー2 v)\n        wait (0.2) seconds\n        switch costume to (クリーパー v)\n    end\n    if <(ステージ) = [8]> then\n        switch costume to (クリーパー2 v)\n        wait (0.2) seconds\n        switch costume to (クリーパー v)\n    end\n    if <(ステージ) = [12]> then\n        switch costume to (ピグリン2 v)\n        wait (0.2) seconds\n        switch costume to (ピグリン v)\n    end\n    if <(ステージ) = [13]> then\n        switch costume to (ブレイズ2 v)\n        wait (0.2) seconds\n        switch costume to (ブレイズ v)\n    end\n    if <(ステージ) = [15]> then\n        switch costume to (エンダーマン2 v)\n        wait (0.2) seconds\n        switch costume to (エンダーマン v)\n    end\nend\n\nwhen I receive [start v]\nhide\nforever\n    if <(ステージ) = [2]> then\n        show\n        switch costume to (ゾンビ v)\n        go to x: (100) y: (-80)\n        repeat until <(ステージ) = [3]>\n            set [敵x v] to ((敵X) * (0.88))\n            change x by (敵X)\n            point in direction (敵の角度)\n        end\n        hide\n    end\n    if <(ステージ) = [4]> then\n        show\n        switch costume to (ゾンビ v)\n        go to x: (140) y: (-113)\n        repeat until <(ステージ) = [5]>\n            set [敵x v] to ((敵X) * (0.88))\n            change x by (敵X)\n            point in direction (敵の角度)\n        end\n        hide\n    end\n    if <(ステージ) = [6]> then\n        show\n        switch costume to (クリーパー v)\n        go to x: (50) y: (-95)\n        repeat until <(ステージ) = [7]>\n            set [敵x v] to ((敵X) * (0.88))\n            change x by (敵X)\n            point in direction (敵の角度)\n        end\n        hide\n    end\n    if <(ステージ) = [8]> then\n        show\n        switch costume to (クリーパー v)\n        go to x: (105) y: (-102)\n        repeat until <(ステージ) = [9]>\n            set [敵x v] to ((敵X) * (0.88))\n            change x by (敵X)\n            point in direction (敵の角度)\n        end\n        hide\n    end\n    if <(ステージ) = [12]> then\n        show\n        switch costume to (ピグリン v)\n        go to x: (145) y: (89)\n        repeat until <(ステージ) = [13]>\n            set [敵x v] to ((敵X) * (0.88))\n            change x by (敵X)\n            point in direction (敵の角度)\n        end\n        hide\n    end\n    if <(ステージ) = [13]> then\n        show\n        switch costume to (ブレイズ v)\n        go to x: (-105) y: (20)\n        repeat until <(ステージ) = [14]>\n            set [敵x v] to ((敵X) * (0.88))\n            change x by (敵X)\n            point in direction (敵の角度)\n        end\n        hide\n    end\n    if <(ステージ) = [15]> then\n        show\n        switch costume to (エンダーマン v)\n        go to x: (-53) y: (100)\n        repeat until <(ステージ) = [16]>\n            wait (0.5) seconds\n            go to x: (pick random (-63) to (-43)) y: (100)\n        end\n        hide\n    end\nend\n\nwhen I receive [start v]\nhide\n\nwhen I receive [次！ v]\nset [hp v] to [150]\n\n@弓矢\n\nwhen flag clicked\nset size to (150) %\nset [ｓ v] to [0]\nset rotation style [left-right v]\npoint in direction (90)\nhide\n\nwhen I receive [スケ矢 v]\nset [ｓ v] to [0]\nshow\nswitch costume to (1 v)\nrepeat until <(ｓ) = [1]>\n    go to (スケルトン v)\nend\nhide\n\nwhen I start as a clone\nshow\nswitch costume to (4 v)\nrepeat until <<<touching (_edge_ v)?> or <touching (プレイヤー v)?>> or <(ｓ) = [1]>>\n    change x by (-10)\nend\ndelete this clone\n\nwhen I receive [スケ矢撤退 v]\nset [ｓ v] to [1]\n\nwhen I receive [スケ矢 v]\nrepeat until <(ｓ) = [1]>\n    repeat (2)\n        next costume\n        wait (1) seconds\n    end\n    switch costume to (1 v)\n    create clone of (_myself_ v)\n    wait (3) seconds\nend\n\n@スケルトン\n\nwhen flag clicked\nset size to (100) %\nhide\n\nwhen I receive [start v]\nswitch costume to (スケルトン v)\nset [hp v] to [150]\nforever\n    if <(ステージ) = [5]> then\n        go to x: (-31) y: (17)\n        show\n        wait (1.5) seconds\n        broadcast (スケ矢 v)\n        wait until <(ステージ) = [6]>\n    else\n        broadcast (スケ矢撤退 v)\n        hide\n    end\nend\n\nchange [ステージ v] by (1)\n\nwhen I receive [スケ矢 v]\n\nwhen I receive [剣 v]\nwait (0.15) seconds\nif <touching (剣 v)?> then\n    change [hp v] by (-50)\n    if <(HP) < [1]> then\n        broadcast (スケ矢撤退 v)\n        hide\n    end\n    if <(ステージ) = [5]> then\n        switch costume to (スケルトン2 v)\n        wait (0.2) seconds\n        switch costume to (スケルトン v)\n    end\nend\n\n@剣\n\nwhen I receive [右持ち v]\nset [持ち手 v] to [右]\nswitch costume to (剣右 v)\n\nwhen I receive [左持ち v]\nset [持ち手 v] to [左]\nswitch costume to (剣左 v)\n\nwhen I receive [start v]\ngo to x: (0) y: (0)\nswitch costume to (剣　落 v)\nshow\nwait until <touching (プレイヤー v)?>\nset size to (30) %\ngo to [front v] layer\nbroadcast (剣ゲット v)\nforever\n    if <(持ち手) = [右]> then\n        go to x: (([x position v] of [プレイヤー v]) + (20)) y: (([y position v] of [プレイヤー v]) - (15))\n    end\n    if <(持ち手) = [左]> then\n        go to x: (([x position v] of [プレイヤー v]) - (20)) y: (([y position v] of [プレイヤー v]) - (15))\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (274) y: (181)\nset size to (50) %\nhide\n\nwhen I receive [剣 v]\nif <(持ち手) = [右]> then\n    set [剣a v] to [NO]\n    repeat (4)\n        turn right (15) degrees\n    end\n    repeat (4)\n        turn left (15) degrees\n    end\n    set [剣a v] to [YES]\nend\nif <(持ち手) = [左]> then\n    set [剣a v] to [NO]\n    repeat (4)\n        turn left (15) degrees\n    end\n    repeat (4)\n        turn right (15) degrees\n    end\n    set [剣a v] to [YES]\nend\n\nchange y by (-3.75)\n\nchange x by (10)\n\nwhen I receive [アウトロ v]\nhide\n\nwhen I receive [アウトロ v]\nhide variable [☁ 世界記録 v]\nhide variable [記録 v]\n\n@剣ボタン\n\nwhen flag clicked\nset [剣a v] to [YES]\nhide\n\nwhen I receive [モバイル v]\ngo to x: (0) y: (-150)\nset [ghost v] effect to (100)\nshow\n\nwhen [space v] key pressed\nif <(剣a) = [YES]> then\n    broadcast (剣 v)\nend\n\nwhen I receive [剣ゲット v]\nset [ghost v] effect to (0)\ngo to [front v] layer\n\nwhen I receive [start v]\nforever\n    if <touching (mouse-pointer v)?> then\n        if <mouse down?> then\n            if <(剣a) = [YES]> then\n                go to [front v] layer\n                broadcast (剣 v)\n                wait until <not <mouse down?>>\n            end\n        end\n    end\nend\n\nwhen I receive [アウトロ v]\nhide\n\n@エンダードラゴン\n\nwhen flag clicked\nset [エンダードラゴン v] to [0]\nhide\nforever\n    if <(ステージ) = [16]> then\n        show\n        broadcast (エンダードラゴン1 v)\n        wait until <(ステージ) = [17]>\n    end\nend\n\nwhen I receive [エンダードラゴン1 v]\nforever\n    set [エンダードラゴン v] to [1]\n    repeat (9)\n        change [エンダードラゴン v] by (1)\n        wait (0.001) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    switch costume to (エンダードラゴン)\nend\n\nwhen I receive [剣 v]\nwait (0.15) seconds\nif <touching (剣 v)?> then\n    change [ｈp v] by (-50)\n    if <(Ｈp) < [1]> then\n        hide\n    end\n    if <(ステージ) = [16]> then\n        change [エンダードラゴン v] by (10)\n        wait (0.2) seconds\n        change [エンダードラゴン v] by (-10)\n    end\nend\n\nwhen flag clicked\nhide variable [ｈp v]\nset [ｈp v] to [350]\nset [エンダードラゴン v] to [0]\nset rotation style [left-right v]\nset size to (120) %\nhide\nforever\n    if <(ステージ) = [16]> then\n        show variable [ｈp v]\n        go to x: (-13) y: (-35)\n        show\n        repeat until <(ステージ) = [17]>\n            wait (1) seconds\n            point in direction (90)\n            repeat (10)\n                change x by (5)\n                change y by (5)\n            end\n            point in direction (-90)\n            repeat (10)\n                change x by (-5)\n                change y by (5)\n            end\n            point in direction (-90)\n            repeat (10)\n                change x by (-5)\n                change y by (-5)\n            end\n            point in direction (90)\n            repeat (10)\n                change x by (5)\n                change y by (-5)\n            end\n            wait (4) seconds\n        end\n    end\nend\n\n@記録\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [start v]\nreset timer\n\nwhen flag clicked\nhide\nforever\n    if <(ステージ) = [17]> then\n        broadcast (記録 v)\n        set [記録 v] to (timer)\n        hide variable [ｈp v]\n        if <(☁ 世界記録) < (記録)> then\n            set [☁ 世界記録 v] to (記録)\n        end\n        wait until <(ステージ) = [18]>\n    end\nend\n\nshow variable [☁ 世界記録 v]\nshow variable [記録 v]\n\nwhen I receive [アウトロ v]\nhide\n\n@数\n\nwhen I start as a clone\nshow\nrepeat until <(ステージ) = [18]>\n    if <(letter (クローン　桁) of (☁ 世界記録)) = [.]> then\n        switch costume to (. v)\n    else\n        switch costume to (letter (クローン　桁) of (☁ 世界記録))\n    end\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [記録 v]\nhide\nset size to (50) %\ngo to x: (-60) y: (30)\nset [クローン　桁 v] to [0]\nrepeat (30)\n    change [クローン　桁 v] by (1)\n    create clone of (_myself_ v)\n    change x by (15)\nend\n\n@数2\n\nwhen I start as a clone\nshow\nrepeat until <(ステージ) = [18]>\n    if <(letter (クローン　桁) of (記録)) = [.]> then\n        switch costume to (. v)\n    else\n        switch costume to (letter (クローン　桁) of (記録))\n    end\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [記録 v]\nhide\nset size to (50) %\ngo to x: (-200) y: (30)\nset [クローン　桁 v] to [0]\nrepeat (30)\n    change [クローン　桁 v] by (1)\n    create clone of (_myself_ v)\n    change x by (15)\nend\n\n