Check Point! Platformer!!

Instructions: 新作 「Check Point! platformer!!」できました！\n・矢印キー、WASDキー、タッチで操作\n・オレンジ色に触れると大ジャンプ\n・マグマに触れると戻される\n・Check Point（チェックポイント）を取らないと右に行けない\n・Check Pointは、プレイヤーがマグマに触れると元の状態になる\n\nていうわけで、世界記録目指してがんばってネ！\n\nちなみに、作者のtimeは85です！

@Stage\n\nwhen flag clicked\nforever\n    play sound [すきっぷ v] until done\nend\n\n@サムネ\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\n\n@NEXT\n\ndefine まる (どっち)\npen up\ngo to x: (0) y: (0)\nset pen size to (100)\nif <(どっち) = [1]> then\n    set pen color to (#dcf8f0)\nelse\n    set pen color to (#78ccb1)\nend\npen down\nrepeat (22)\n    set pen (transparency v) to (60)\n    change pen size by (27)\n    go to x: (0) y: (0)\nend\n\nwhen I receive [ねくすとぉ v]\ngo to [front v] layer\ngo to x: (0) y: (0)\nset pen (transparency v) to (0)\nerase all\nset size to (100) %\nswitch costume to (コスチューム2 v)\nhide\nstart sound [Rip v]\nまる [2]\nshow\nまる [1]\nchange [ステージ v] by (1)\nswitch costume to (コスチューム3 v)\nwait (0.3) seconds\nまる [2]\nhide\nset pen size to (1000)\nset pen (transparency v) to (0)\nset pen color to (#7dccb4)\nrepeat (10)\n    erase all\n    go to x: (0) y: (0)\n    change pen (transparency v) by (10)\nend\nbroadcast (ねくすとぉしゅーりょー v)\n\nwhen flag clicked\nhide\nerase all\npen up\n\n@地面\n\nwhen flag clicked\ngo to [front v] layer\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [クリア v]\nshow variable [time v]\nset [☁ ログ v] to (time)\nif <(☁ 世界記録) > (time)> then\n    set [☁ 世界記録 v] to (time)\nend\nshow variable [☁ 世界記録 v]\n\nwhen flag clicked\nhide variable [☁ 世界記録 v]\nhide variable [time v]\nwait until <(costume [number v]) = [1]>\nrepeat until <(costume [number v]) = [11]>\n    change [time v] by (1)\n    wait (0.9) seconds\nend\n\nwhen I receive [ねくすとぉしゅーりょー v]\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\nwhen I receive [ねくすとぉ v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@プレイヤー\n\nwhen flag clicked\nclear graphic effects\nset size to (65) %\nwait (0.01) seconds\nset rotation style [left-right v]\npoint in direction (90)\ngo to [front v] layer\nset [x v] to [0]\nset [y v] to [0]\nset [ステージ v] to [1]\nclear graphic effects\ngo to x: (-200) y: (0)\nshow\nforever\n    if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    set [x v] to ((x) * (0.92))\n    change x by (x)\n    if <touching (地面 v)?> then\n        change y by (1)\n        if <touching (地面 v)?> then\n            change y by (1)\n            if <touching (地面 v)?> then\n                change y by (1)\n                if <touching (地面 v)?> then\n                    change y by (1)\n                    if <touching (地面 v)?> then\n                        change y by (1)\n                        if <touching (地面 v)?> then\n                            change y by (1)\n                            if <touching (地面 v)?> then\n                                change x by ((0) - (x))\n                                change y by (-5)\n                                if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> then\n                                    if <[0] < (x)> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                    set [y v] to [15]\n                                else\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((0) - (y))\n        set [y v] to [0]\n    end\n    change y by (-2)\n    if <<<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> and <touching (地面 v)?>> then\n        start sound [jump-cute1 v]\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<(y position) < [-165]> or <touching (マグマ v)?>> then\n        start sound [Teleport2 v]\n        repeat (15)\n            change [ghost v] effect by (5)\n            change [brightness v] effect by (5)\n        end\n        hide\n        clear graphic effects\n        go to x: (-200) y: (0)\n        set [x v] to [0]\n        set [y v] to [0]\n        show\n        if <not <[] = (item (ステージ) of [はた v])>> then\n            replace item (ステージ) of [はた v] with [0]\n        end\n    end\n    if <<not <(item (ステージ) of [はた v]) = [0]>> and <[239] < (x position)>> then\n        if <not <(ステージ) = [11]>> then\n            hide\n            clear graphic effects\n            go to x: (-200) y: (0)\n            set [x v] to [0]\n            set [y v] to [0]\n            broadcast (ねくすとぉ v) and wait\n            show\n            if <(ステージ) = [11]> then\n                broadcast (クリア v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (ばね v)?> then\n        start sound [jump-anime1 v]\n        set [y v] to [22.5]\n    end\nend\n\nwhen flag clicked\nforever\n    reset timer\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<(mouse y) < [-50]> and <mouse down?>>> then\n        switch costume to (コスチューム2 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen flag clicked\nforever\n    wait (0.01) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (20)\n    change [ghost v] effect by (5)\n    change size by (-1.5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <<(ステージ) = [11]> and <(y position) > [181]>> then\n        broadcast (へー v)\n    end\nend\n\nwhen [r v] key pressed\ngo to x: (-200) y: (0)\n\n@マグマ\n\nwhen flag clicked\nset [time v] to [0]\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [ねくすとぉ v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [ねくすとぉしゅーりょー v]\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\n@ばね\n\nwhen flag clicked\nshow\nforever\n    go to x: (0) y: (-125)\n    switch costume to (ステージ)\nend\n\nwhen [timer v] > (0)\nhide\nhide variable [time v]\nhide variable [☁ 世界記録 v]\n\nwhen I receive [ねくすとぉ v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [ねくすとぉしゅーりょー v]\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\n@旗\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\n    if <<(判定) = [0]> and <<(iro) = [0]> and <touching (プレイヤー v)?>>> then\n        replace item (ステージ) of [はた v] with [1]\n        start sound [Water Drop v]\n    end\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [ねくすとぉ v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [ねくすとぉしゅーりょー v]\nset [color v] effect to (0)\nset [brightness v] effect to (0)\nset [iro v] to [0]\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\nwhen flag clicked\ndelete all of [はた v]\nadd [] to [はた v]\nadd [0] to [はた v]\nadd [] to [はた v]\nrepeat (8)\n    add [0] to [はた v]\nend\n\nwhen flag clicked\nforever\n    if <(item (ステージ) of [はた v]) = [1]> then\n        set [iro v] to [80]\n        set [brightness v] effect to (-10)\n    else\n        set [iro v] to [0]\n        set [brightness v] effect to (0)\n    end\n    set [color v] effect to (iro)\nend\n\n