操作が変わる⁉platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\nhide variable [☁ ここにたどり着いた人数 v]\nset [stage v] to [1]\nforever\n    set volume to (60) %\n    play sound [bgm_maoudamashii_8bit22 v] until done\nend\n\nwhen flag clicked\nset [stage v] to [1]\nforever\n    if <(Stage) = [9]> then\n        if <key (3 v) pressed?> then\n            broadcast (お？ v)\n        end\n    end\nend\n\nwhen I receive [お？ v]\nforever\n    if <key (1 v) pressed?> then\n        broadcast (気づいた？ v)\n    end\nend\n\nwhen I receive [気づいた？ v]\nforever\n    if <key (5 v) pressed?> then\n        broadcast (よくやった v)\n        wait (3) seconds\n        show variable [☁ ここにたどり着いた人数 v]\n        change [☁ ここにたどり着いた人数 v] by (1)\n        stop [all v]\n    end\nend\n\nwhen I receive [next v]\nchange [stage v] by (1)\nif <(Stage) = [9]> then\n    switch backdrop to (背景2 v)\n    broadcast (all clear v)\nend\n\nforever\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\nend\n\nforever\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\nend\n\nforever\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\nend\n\nforever\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\n    change [color v] effect by (25)\nend\n\n@軽量化\n\n@キャラ\n\nwhen flag clicked\nswitch costume to (キャラ v)\ngo to [front v] layer\nshow\npoint in direction (90)\ngo to x: (-180) y: (-70)\nset [x v] to [0]\nset [y v] to [0]\nbroadcast (キー変更 v)\n\nwhen I receive [キー変更 v]\nforever\n    set [x v] to ((x) * (0.75))\n    if <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> then\n        change [x v] by ((<key (right arrow v) pressed?> - <key (left arrow v) pressed?>) * (1.5))\n        point in direction ((<key (right arrow v) pressed?> - <key (left arrow v) pressed?>) * (90))\n    else\n        if <<key (d v) pressed?> or <key (a v) pressed?>> then\n            change [x v] by ((<key (d v) pressed?> - <key (a v) pressed?>) * (1.5))\n            point in direction ((<key (d v) pressed?> - <key (a v) pressed?>) * (90))\n        else\n            if <<<[100] < (mouse x)> and <mouse down?>> or <<(mouse x) < [-100]> and <mouse down?>>> then\n                change [x v] by ((<[100] < (mouse x)> - <(mouse x) < [-100]>) * (1.5))\n                point in direction ((<[100] < (mouse x)> - <(mouse x) < [-100]>) * (90))\n            end\n        end\n    end\n    change x by (x)\n    if <touching (地面 v)?> then\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n            if <(x) > [0]> then\n                set [x v] to [-7]\n            else\n                set [x v] to [7]\n            end\n            set [y v] to [14]\n            start sound [Rip v]\n        else\n            set [y v] to [0]\n        end\n    end\n    change y by (-1)\n    if <touching (地面 v)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n            set [y v] to [14]\n            start sound [Rip v]\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <<touching (_edge_ v)?> and <[230] < (x position)>> then\n        broadcast (next v)\n        go to x: (-180) y: (-70)\n    end\n    if <(y position) < [-179]> then\n        go to x: (-180) y: (-70)\n    end\nend\n\nwhen I receive [キー変更2 v]\nforever\n    set [x v] to ((x) * (0.75))\n    if <<key (up arrow v) pressed?> or <key (left arrow v) pressed?>> then\n        change [x v] by ((<key (up arrow v) pressed?> - <key (left arrow v) pressed?>) * (1.5))\n        point in direction ((<key (up arrow v) pressed?> - <key (left arrow v) pressed?>) * (90))\n    else\n        if <<key (w v) pressed?> or <key (a v) pressed?>> then\n            change [x v] by ((<key (w v) pressed?> - <key (a v) pressed?>) * (1.5))\n            point in direction ((<key (w v) pressed?> - <key (a v) pressed?>) * (90))\n        else\n            if <<<mouse down?> and <(mouse y) > [0]>> or <<(mouse x) < [-100]> and <mouse down?>>> then\n                change [x v] by ((<(mouse y) > [0]> - <(mouse x) < [-100]>) * (1.5))\n                point in direction ((<(mouse y) > [0]> - <(mouse x) < [-100]>) * (90))\n            end\n        end\n    end\n    change x by (x)\n    if <touching (地面 v)?> then\n        change x by ((x) * (-1))\n        if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<[100] < (mouse x)> and <mouse down?>>>> then\n            if <(x) > [0]> then\n                set [x v] to [-7]\n            else\n                set [x v] to [7]\n            end\n            set [y v] to [14]\n            start sound [Rip v]\n        else\n            set [y v] to [0]\n        end\n    end\n    change y by (-1)\n    if <touching (地面 v)?> then\n        if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<[100] < (mouse x)> and <mouse down?>>>> then\n            set [y v] to [14]\n            start sound [Rip v]\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <<touching (_edge_ v)?> and <[230] < (x position)>> then\n        broadcast (next v)\n        go to x: (-180) y: (-70)\n    end\n    if <(y position) < [-179]> then\n        go to x: (-180) y: (-70)\n    end\nend\n\nwhen I receive [キー変更3 v]\nforever\n    set [x v] to ((x) * (0.75))\n    if <<key (left arrow v) pressed?> or <key (up arrow v) pressed?>> then\n        change [x v] by ((<key (left arrow v) pressed?> - <key (up arrow v) pressed?>) * (1.5))\n        point in direction ((<key (left arrow v) pressed?> - <key (up arrow v) pressed?>) * (90))\n    else\n        if <<key (a v) pressed?> or <key (w v) pressed?>> then\n            change [x v] by ((<key (a v) pressed?> - <key (w v) pressed?>) * (1.5))\n            point in direction ((<key (a v) pressed?> - <key (w v) pressed?>) * (90))\n        else\n            if <<<(mouse x) < [-100]> and <mouse down?>> or <<mouse down?> and <(mouse y) > [0]>>> then\n                change [x v] by ((<(mouse x) < [-100]> - <(mouse y) > [0]>) * (1.5))\n                point in direction ((<(mouse x) < [-100]> - <(mouse y) > [0]>) * (90))\n            end\n        end\n    end\n    change x by (x)\n    if <touching (地面 v)?> then\n        change x by ((x) * (-1))\n        if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<[100] < (mouse x)> and <mouse down?>>>> then\n            if <(x) > [0]> then\n                set [x v] to [-7]\n            else\n                set [x v] to [7]\n            end\n            set [y v] to [14]\n            start sound [Rip v]\n        else\n            set [y v] to [0]\n        end\n    end\n    change y by (-1)\n    if <touching (地面 v)?> then\n        if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<[100] < (mouse x)> and <mouse down?>>>> then\n            set [y v] to [14]\n            start sound [Rip v]\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <<touching (_edge_ v)?> and <[230] < (x position)>> then\n        broadcast (next v)\n        go to x: (-180) y: (-70)\n    end\n    if <(y position) < [-179]> then\n        go to x: (-180) y: (-70)\n    end\nend\n\nwhen I receive [キー変更4 v]\nforever\n    set [x v] to ((x) * (0.75))\n    if <<key (right arrow v) pressed?> or <key (up arrow v) pressed?>> then\n        change [x v] by ((<key (right arrow v) pressed?> - <key (up arrow v) pressed?>) * (1.5))\n        point in direction ((<key (right arrow v) pressed?> - <key (up arrow v) pressed?>) * (90))\n    else\n        if <<key (d v) pressed?> or <key (w v) pressed?>> then\n            change [x v] by ((<key (d v) pressed?> - <key (w v) pressed?>) * (1.5))\n            point in direction ((<key (d v) pressed?> - <key (w v) pressed?>) * (90))\n        else\n            if <<<[100] < (mouse x)> and <mouse down?>> or <<mouse down?> and <(mouse y) > [0]>>> then\n                change [x v] by ((<[100] < (mouse x)> - <(mouse y) > [0]>) * (1.5))\n                point in direction ((<[100] < (mouse x)> - <(mouse y) > [0]>) * (90))\n            end\n        end\n    end\n    change x by (x)\n    if <touching (地面 v)?> then\n        change x by ((x) * (-1))\n        if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<(mouse x) < [-100]> and <mouse down?>>>> then\n            if <(x) > [0]> then\n                set [x v] to [-7]\n            else\n                set [x v] to [7]\n            end\n            set [y v] to [14]\n            start sound [Rip v]\n        else\n            set [y v] to [0]\n        end\n    end\n    change y by (-1)\n    if <touching (地面 v)?> then\n        if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<(mouse x) < [-100]> and <mouse down?>>>> then\n            set [y v] to [14]\n            start sound [Rip v]\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <<touching (_edge_ v)?> and <[230] < (x position)>> then\n        broadcast (next v)\n        go to x: (-180) y: (-70)\n    end\n    if <(y position) < [-179]> then\n        go to x: (-180) y: (-70)\n    end\nend\n\nwhen I receive [キー変更5 v]\nforever\n    set [x v] to ((x) * (0.75))\n    if <<key (up arrow v) pressed?> or <key (left arrow v) pressed?>> then\n        change [x v] by ((<key (up arrow v) pressed?> - <key (left arrow v) pressed?>) * (1.5))\n        point in direction ((<key (up arrow v) pressed?> - <key (left arrow v) pressed?>) * (90))\n    else\n        if <<key (w v) pressed?> or <key (a v) pressed?>> then\n            change [x v] by ((<key (w v) pressed?> - <key (a v) pressed?>) * (1.5))\n            point in direction ((<key (w v) pressed?> - <key (a v) pressed?>) * (90))\n        else\n            if <<<(mouse y) > [0]> and <mouse down?>> or <<mouse down?> and <(mouse x) < [-100]>>> then\n                change [x v] by ((<(mouse y) > [0]> - <(mouse x) < [-100]>) * (1.5))\n                point in direction ((<(mouse y) > [0]> - <(mouse x) < [-100]>) * (90))\n            end\n        end\n    end\n    change x by (x)\n    if <touching (地面 v)?> then\n        change x by ((x) * (-1))\n        if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<[100] < (mouse x)> and <mouse down?>>>> then\n            if <(x) > [0]> then\n                set [x v] to [-7]\n            else\n                set [x v] to [7]\n            end\n            set [y v] to [14]\n            start sound [Rip v]\n        else\n            set [y v] to [0]\n        end\n    end\n    change y by (-1)\n    if <touching (地面 v)?> then\n        if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<[100] < (mouse x)> and <mouse down?>>>> then\n            set [y v] to [14]\n            start sound [Rip v]\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <<touching (_edge_ v)?> and <[230] < (x position)>> then\n        broadcast (next v)\n        go to x: (-180) y: (-70)\n    end\n    if <(y position) < [-179]> then\n        go to x: (-180) y: (-70)\n    end\nend\n\nwhen I receive [キー変更6 v]\nforever\n    set [x v] to ((x) * (0.75))\n    if <<key (up arrow v) pressed?> or <key (right arrow v) pressed?>> then\n        change [x v] by ((<key (up arrow v) pressed?> - <key (right arrow v) pressed?>) * (1.5))\n        point in direction ((<key (up arrow v) pressed?> - <key (right arrow v) pressed?>) * (90))\n    else\n        if <<key (w v) pressed?> or <key (d v) pressed?>> then\n            change [x v] by ((<key (w v) pressed?> - <key (d v) pressed?>) * (1.5))\n            point in direction ((<key (w v) pressed?> - <key (d v) pressed?>) * (90))\n        else\n            if <<<(mouse y) > [0]> and <mouse down?>> or <<mouse down?> and <[100] < (mouse x)>>> then\n                change [x v] by ((<(mouse y) > [0]> - <[100] < (mouse x)>) * (1.5))\n                point in direction ((<(mouse y) > [0]> - <[100] < (mouse x)>) * (90))\n            end\n        end\n    end\n    change x by (x)\n    if <touching (地面 v)?> then\n        change x by ((x) * (-1))\n        if <<key (left arrow v) pressed?> or <<key (s v) pressed?> or <<(mouse x) < [-100]> and <mouse down?>>>> then\n            if <(x) > [0]> then\n                set [x v] to [-7]\n            else\n                set [x v] to [7]\n            end\n            set [y v] to [14]\n            start sound [Rip v]\n        else\n            set [y v] to [0]\n        end\n    end\n    change y by (-1)\n    if <touching (地面 v)?> then\n        if <<key (left arrow v) pressed?> or <<key (s v) pressed?> or <<(mouse x) < [-100]> and <mouse down?>>>> then\n            set [y v] to [14]\n            start sound [Rip v]\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <<touching (_edge_ v)?> and <[230] < (x position)>> then\n        broadcast (next v)\n        go to x: (-180) y: (-70)\n    end\n    if <(y position) < [-179]> then\n        go to x: (-180) y: (-70)\n    end\nend\n\nwhen I receive [変更 v]\nset [キー変更 v] to (pick random (1) to (6))\nif <(キー変更) = [1]> then\n    stop [other scripts in sprite v]\n    broadcast (キー変更 v)\nend\nif <(キー変更) = [2]> then\n    stop [other scripts in sprite v]\n    broadcast (キー変更2 v)\nend\nif <(キー変更) = [3]> then\n    stop [other scripts in sprite v]\n    broadcast (キー変更3 v)\nend\nif <(キー変更) = [4]> then\n    stop [other scripts in sprite v]\n    broadcast (キー変更4 v)\nend\nif <(キー変更) = [5]> then\n    stop [other scripts in sprite v]\n    broadcast (キー変更5 v)\nend\nif <(キー変更) = [6]> then\n    stop [other scripts in sprite v]\n    broadcast (キー変更6 v)\nend\nwait (7) seconds\nbroadcast (予告 v)\n\nwhen flag clicked\nwait (pick random (5) to (10)) seconds\nbroadcast (予告 v)\n\nwhen I receive [初期リス v]\nstart sound [Crunch v]\ngo to x: (-180) y: (-70)\n\nwhen I receive [next v]\nstop [other scripts in sprite v]\n\n@地面\n\nwhen flag clicked\nset [stage v] to [1]\ngo to x: (0) y: (0)\ngo to [front v] layer\nforever\n    switch costume to ((stage) mod (10))\nend\n\nwhen I receive [next v]\nchange [stage v] by (1)\n\nwhen I receive [よくやった v]\nbroadcast (next v)\n\n@針\n\nwhen flag clicked\nset [stage v] to [1]\ngo to x: (0) y: (0)\ngo to [front v] layer\nforever\n    switch costume to ((stage) mod (10))\n    if <touching (キャラ v)?> then\n        broadcast (初期リス v)\n    end\nend\n\nwhen I receive [next v]\nchange [stage v] by (1)\n\n@Rododokun\n\nwait (0.5) seconds\n\nwhen I receive [予告 v]\nset volume to (120) %\nset size to (100) %\nclear graphic effects\nif <([backdrop # v] of [_stage_ v]) = [1]> then\n    go to x: (0) y: (60)\n    set [countspead v] to [0]\n    switch costume to (3 v)\n    show\n    repeat (3)\n        set [countspead v] to [0]\n        set size to (100) %\n        start sound [Countdown v]\n        repeat (3)\n            change size by (CountSpead)\n            change [countspead v] by (3)\n        end\n        repeat (6)\n            change size by (CountSpead)\n            change [countspead v] by (-4)\n        end\n        wait ((2.5) / (3)) seconds\n        next costume\n    end\n    start sound [Start v]\n    repeat (10)\n        change [ghost v] effect by (10)\n        change size by (3)\n    end\nend\nbroadcast (変更 v)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [next v]\nset volume to (120) %\nstop [other scripts in sprite v]\nwait (1.8) seconds\nshow\nclear graphic effects\nbroadcast (変更 v)\nset [countspead v] to [0]\nset size to (100) %\nswitch costume to (go v)\nstart sound [Start v]\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (3)\nend\nhide\n\n@pen\n\nwhen flag clicked\nset size to (Infinity) %\ndelete all of [x v]\ndelete all of [y v]\ndelete all of [横移動速度 v]\ndelete all of [降る速度 v]\nrepeat (30)\n    add (pick random (-230) to (230)) to [x v]\n    add (pick random (-200) to (200)) to [y v]\n    add (pick random (-1.0) to (1.0)) to [横移動速度 v]\n    add (pick random (-1.0) to (-3.0)) to [降る速度 v]\n    add (pick random (15.0) to (25.0)) to [大きさ v]\nend\nforever\n    びょーが\nend\n\ndefine x (x) y (y) に (大きさ) の大きさでゆきびょーが\ngo to x: (x) y: (y)\nset pen size to (1)\nset pen (transparency v) to (70)\nrepeat (大きさ)\n    change pen size by (1.2)\n    change pen (transparency v) by (1)\n    pen down\nend\npen up\n\ndefine びょーが\nset [変数 v] to [0]\nerase all\ngo to x: (0) y: (0)\npen down\npen up\nset pen color to (#ffffff)\nrepeat (30)\n    change [変数 v] by (1)\n    x (item (変数) of [x v]) y (item (変数) of [y v]) に (item (変数) of [大きさ v]) の大きさでゆきびょーが\n    replace item (変数) of [x v] with ((item (変数) of [x v]) + (item (変数) of [横移動速度 v]))\n    replace item (変数) of [y v] with ((item (変数) of [y v]) + (item (変数) of [降る速度 v]))\n    if <(item (変数) of [y v]) < [-200]> then\n        replace item (変数) of [x v] with (pick random (-230) to (230))\n        replace item (変数) of [y v] with [200]\n        replace item (変数) of [横移動速度 v] with (pick random (-1.0) to (1.0))\n        replace item (変数) of [降る速度 v] with (pick random (-1) to (-3))\n        replace item (変数) of [大きさ v] with (pick random (15.0) to (25.0))\n    end\nend\n\n@敵\n\nwhen flag clicked\nset [stage v] to [1]\ngo to [front v] layer\ngo to x: (0) y: (-70)\nset rotation style [left-right v]\nhide\nset size to (35) %\nforever\n    if <<(stage) = [6]> or <<(stage) = [7]> or <(stage) = [8]>>> then\n        show\n        if <([x position v] of [キャラ v]) < (x position)> then\n            set [xx v] to [-5]\n            point in direction (-90)\n        else\n            set [xx v] to [5]\n            point in direction (90)\n        end\n        set [xx v] to ((xx) * (0.75))\n        change x by (xx)\n        change [yy v] by (-1)\n        change y by (yy)\n        if <touching (地面 v)?> then\n            change y by ((yy) * (-1))\n            set [yy v] to [0]\n        end\n        if <touching (キャラ v)?> then\n            broadcast (初期リス v)\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [初期リス v]\ngo to x: (0) y: (-70)\n\nwhen I receive [next v]\nchange [stage v] by (1)\n\n@落ちてくるやつ\n\nwhen flag clicked\nset [stage v] to [1]\ngo to x: (-220) y: (80)\nforever\n    if <(stage) = [8]> then\n        create clone of (_myself_ v)\n        wait (1) seconds\n    else\n        hide\n    end\nend\n\nwhen I receive [初期リス v]\ndelete this clone\n\ngo to x: (-200) y: (80)\n\nwhen I start as a clone\nforever\n    show\n    set [xxx v] to [10]\n    set [xxx v] to ((xxx) * (0.75))\n    change x by (xxx)\n    change [yyy v] by (-1)\n    change y by (yyy)\n    if <touching (地面 v)?> then\n        change y by ((yyy) * (-1))\n        set [yyy v] to [0]\n    end\n    if <touching (キャラ v)?> then\n        broadcast (初期リス v)\n    end\n    if <[230] < (x position)> then\n        delete this clone\n    end\nend\n\nwhen I receive [next v]\nchange [stage v] by (1)\n\n@next\n\nwhen flag clicked\n\nwhen I start as a clone\nset size to (110) %\nshow\nif <<(costume [number v]) = [1]> or <<(costume [number v]) = [2]> or <(costume [number v]) = [3]>>> then\n    go to x: (0) y: (-342)\n    forever\n        change y by (((0) - (y position)) / (5))\n    end\nelse\n    go to x: (-493) y: (0)\n    if <(costume [number v]) = [7]> then\n        forever\n            change x by (((0) - (x position)) / (5))\n        end\n    else\n        forever\n            change x by (((30) - (x position)) / (5))\n        end\n    end\nend\n\nwhen I start as a clone\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [next v]\ngo to [front v] layer\nswitch costume to (コスチューム3 \(1\) v)\nrepeat (7)\n    create clone of (_myself_ v)\n    next costume\n    wait (0.1) seconds\nend\n\nmove (10) steps\n\n@……\n\nwhen flag clicked\nhide\ngo to x: (-150) y: (184)\nforever\n    wait (5) seconds\n    show\n    glide (0.75) secs to x: (-150) y: (140)\n    wait (2) seconds\n    glide (0.75) secs to x: (-150) y: (184)\n    hide\nend\n\n@スプライト7\n\nwhen I receive [time v]\ngo to [front v] layer\nshow\nshow variable [time v]\nwait (1) seconds\nbroadcast (worldrecord v)\n\nwhen flag clicked\nhide variable [time v]\nreset timer\nhide\nforever\n    set [time v] to (timer)\nend\n\nwhen I receive [all clear v]\nstop [other scripts in sprite v]\nset [time v] to (timer)\nbroadcast (time v)\nstop [this script v]\n\nwhen I receive [for samune v]\nhide\n\nwhen I receive [よくやった v]\nhide variable [time v]\nhide\n\n@スプライト8\n\nwhen I receive [number of people cleared v]\ngo to [front v] layer\nchange [☁ number of people cleared v] by (1)\nshow\nwait (1) seconds\nshow variable [☁ number of people cleared v]\nwait (1) seconds\nbroadcast (clear rate v)\n\nwhen flag clicked\nhide variable [☁ number of people cleared v]\nhide\n\nwhen I receive [for samune v]\nhide\n\nwhen I receive [よくやった v]\nhide variable [☁ number of people cleared v]\nhide\n\n@スプライト9\n\nwhen I receive [clear rate v]\ngo to [front v] layer\nset [☁ clear rate v] to (join ([floor v] of (((☁ Number of people cleared) / (☁ Play people)) * (100)) ) [%])\nshow\nwait (1) seconds\nshow variable [☁ clear rate v]\n\nwhen flag clicked\nhide variable [☁ clear rate v]\nhide\n\nwhen I receive [for samune v]\nhide\n\nwhen I receive [よくやった v]\nhide variable [☁ clear rate v]\nhide\n\n@スプライト10\n\nwhen I receive [worldrecord v]\ngo to [front v] layer\nif <(time) < (☁ Worldrecord)> then\n    set [☁ worldrecord v] to (time)\nend\nshow\nwait (1) seconds\nshow variable [☁ worldrecord v]\nwait (1) seconds\nbroadcast (number of people cleared v)\n\nwhen flag clicked\nwait (3) seconds\nchange [☁ play people v] by (1)\nhide variable [☁ worldrecord v]\nhide\n\nwhen I receive [for samune v]\nhide\n\nwhen I receive [よくやった v]\nhide variable [☁ worldrecord v]\nhide\n\nset [☁ worldrecord v] to [2500]\n\n@スプライト11\n\ngo to [front v] layer\nclear graphic effects\nshow\n\nwhen flag clicked\nhide\n\n@傾向3pｱﾘｶﾞﾄｳ!(^^)!\n\n
----------------------------------memo-------------------------------\n新作→ https://scratch.mit.edu/projects/946930348/\n拡散すると作者がとっても喜ぶ!(^^)!\nSpread the word!\n世界記録   89.724\n作者のタイム   67.777\n傾向2p\n☆と♡、フォローしてくれると作者が喜ぶ(/・ω・)/\nモバイル対応。\n世界記録を目指せ！！\nThe keys of this platformer change as it counts down.\n宣伝しないでください\nPlease don't advertise.\n-----------------------------------credit-------------------------------\n@syoinsy様  -  雪\n@neko_hood様  -  氷山\n@Taiki0504様  -  曲\n　bgm_魔王魂様\n@yumikorin_Anime様  -  結晶\n@-doremiFX-様  -  next素材\n-------------------------拡散してくれた方------------------------\n@dgakjdjoa様\n@fuji_3035様\n@kyuuma17様\n@Cs_risu6様\n@marumaru0923様\n@nyaoha3102様\n@tgwy1926yg様\n@tibitoka様\n-----------------------------------font---------------------------------\nコーポレート・ロゴ\n------------------------------------tag---------------------------------\n#冬\n#プラットフォーマー\n#platformer\n#games\n#game\n#winter\n#music\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n最後のステージで暗号を入力すると……\n気づいたら天才