Christmas | Platformer | #All #Games

Instructions: RyūEngine - Demo Expanded\n▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬\n\nhttps://turbowarp.org/578589748?hqpen

@Stage\n\nwhen flag clicked\nforever\n    play sound [c418-sweden-minecraft-volume-alpha v] until done\nend\n\nwhen flag clicked\nbroadcast (スタート v)\n\n@武器\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [11]>\nset [剣ある？ v] to [0]\nwait until <(ステージ) = [17]>\nset [剣ある？ v] to [0]\nwait until <(ステージ) = [21]>\nset [剣ある？ v] to [0]\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [10]>\nset [剣ある？ v] to [1]\nwait until <touching (プレイヤー2 v)?>\nset [剣ある？ v] to [0]\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [16]>\nset [剣ある？ v] to [1]\nwait until <touching (プレイヤー2 v)?>\nset [剣ある？ v] to [0]\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [20]>\nset [剣ある？ v] to [1]\nwait until <touching (プレイヤー2 v)?>\nset [剣ある？ v] to [0]\n\nwhen I receive [スタート v]\nset size to (100) %\nclear graphic effects\nshow\nforever\n    switch costume to (ステージ)\n    if <touching (プレイヤー2 v)?> then\n        set [持ち物 v] to (costume [name v])\n        repeat (20)\n            change [ghost v] effect by (5)\n            change size by (5)\n        end\n        hide\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    change size by ([cos v] of (た) )\nend\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [16]>\nset size to (100) %\nclear graphic effects\nshow\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [20]>\nset size to (100) %\nclear graphic effects\nshow\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [3]>\nset [n v] to (☁ 遊んでくれた人)\nwait (0.1) seconds\nif <(N) = (☁ 遊んでくれた人)> then\n    wait (0.1) seconds\n    set [☁ 遊んでくれた人 v] to ((N) + (1))\nend\n\nset [☁ 世界記録＼\(^o^\)／ｵﾜﾀ v] to [181.1]\n\n@プレイヤー2\n\nwhen flag clicked\nforever\n    if <<not <(ライフ) = [0]>> and <<touching (ステージ v)?> and <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <(mouse x) < [0]>> and <(攻撃状態) = [0]>>> or <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<mouse down?> and <[0] < (mouse x)>> and <(攻撃状態) = [0]>>>>>> then\n        play sound (pick random (5) to (6)) until done\n    end\nend\n\nwhen I receive [スタート v]\nset [ライフ v] to [20]\nset [x2 v] to [0]\nset [y2 v] to [0]\nset [重力 v] to [0.9]\nset [ステージ v] to [1]\nset [スピード v] to [0.7]\nset [ジャンプ力 v] to [13]\nset [命はあるんか v] to [1]\nset [地面の摩擦 v] to [0.9]\nset [壁キックの跳ね返り v] to [5]\nset [壁キックのジャンプ力 v] to [10]\nclear graphic effects\nset size to (70) %\nwait (0.01) seconds\npoint in direction (90)\ngo to [front v] layer\nset [x2 v] to [0]\nset [y2 v] to [0]\nclear graphic effects\ngo to x: (-200) y: (-80)\nshow\nforever\n    if <<not <(ライフ) = [0]>> and <(命はあるんか) = [1]>> then\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <(mouse x) < [0]>> and <(攻撃状態) = [0]>>> then\n            point in direction (-90)\n            if <<touching (水 v)?> or <touching (マグマ v)?>> then\n                change [x2 v] by ((0) - ((スピード) / (2)))\n            else\n                change [x2 v] by ((0) - (スピード))\n            end\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<mouse down?> and <[0] < (mouse x)>> and <(攻撃状態) = [0]>>> then\n            point in direction (90)\n            if <<touching (水 v)?> or <touching (マグマ v)?>> then\n                change [x2 v] by ((スピード) / (2))\n            else\n                change [x2 v] by (スピード)\n            end\n        end\n        set [x2 v] to ((x2) * (地面の摩擦))\n        change x by (x2)\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) - (x2))\n                                    change y by (-6)\n                                    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>> then\n                                        if <not <touching (水 v)?>> then\n                                            if <(x2) > [0]> then\n                                                set [x2 v] to ((0) - (壁キックの跳ね返り))\n                                            else\n                                                set [x2 v] to (壁キックの跳ね返り)\n                                            end\n                                            set [y2 v] to (壁キックのジャンプ力)\n                                        end\n                                    else\n                                        set [x2 v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [y2 v] by ((0) - (重力))\n        if <<touching (水 v)?> and <(y2) < [-2]>> then\n            set [y2 v] to [-2]\n        end\n        change y by (y2)\n        if <touching (ステージ v)?> then\n            change y by ((0) - (y2))\n            set [y2 v] to [0]\n        end\n        change y by (-1)\n        if <<touching (水 v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>>> then\n            set [y2 v] to [4]\n        else\n            if <touching (ステージ v)?> then\n                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>> then\n                    set [y2 v] to (ジャンプ力)\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [スタート v]\nwait (0.3) seconds\nforever\n    if <<[225] < (x position)> and <not <(ステージ) = [30]>>> then\n        NEXT\n    end\nend\n\ndefine NEXT\nbroadcast (next v)\nset [x2 v] to [0]\nset [y2 v] to [100]\nset [命はあるんか v] to [0]\nwait (0.4) seconds\nchange [ステージ v] by (1)\nwait (0.1) seconds\nset [x2 v] to [0]\nset [y2 v] to [0]\ngo to x: (-200) y: (-80)\nwait (2) seconds\nset [命はあるんか v] to [1]\n\nwhen I receive [スタート v]\nforever\n    if <touching (マグマ v)?> then\n        repeat until <not <touching (マグマ v)?>>\n            if <not <(ライフ) = [0]>> then\n                change [ライフ v] by (-9)\n                switch costume to (スティーブ やられた v)\n                start sound [う v]\n            end\n            wait (0.2) seconds\n        end\n    else\n        if <not <touching (マグマ v)?>> then\n            switch costume to (普通 v)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <(ライフ) < [0.01]> then\n        broadcast (やられた v)\n        set [ライフ v] to [0]\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <(ライフ) = [0]> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-200) y: (0)\n        set [ghost v] effect to (0)\n        point in direction (90)\n        set [ライフ v] to [20]\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (ゾンビ v)?> then\n        start sound [う v]\n        change [ライフ v] by (-8)\n        broadcast (ダメージ v)\n        if <(x position) < (ゾンビ位置x)> then\n            set [x2 v] to [-10]\n            set [y2 v] to [10]\n        else\n            set [x2 v] to [10]\n            set [y2 v] to [10]\n        end\n        wait (0.35) seconds\n    end\nend\n\nwhen I receive [ダメージ v]\nrepeat (10)\n    switch costume to (スティーブ やられた v)\nend\n\nwhen I receive [スタート v]\nforever\n    if <(y position) < [-180]> then\n        repeat until <(ライフ) < [0.01]>\n            change [ライフ v] by (-20)\n            start sound [う v]\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (サボテン v)?> then\n        repeat until <not <touching (サボテン v)?>>\n            if <not <(ライフ) = [0]>> then\n                change [ライフ v] by (-7)\n                switch costume to (スティーブ やられた v)\n                start sound [う v]\n            end\n            wait (0.2) seconds\n        end\n    else\n        if <not <touching (マグマ v)?>> then\n            switch costume to (普通 v)\n        end\n    end\nend\n\n@ステージ\n\nwhen I receive [スタート v]\nforever\n    switch costume to (ステージ)\nend\n\n@Health2\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to ((ライフ) + (1))\nend\n\n@武器2\n\nwhen I receive [next v]\nset size to (100) %\nclear graphic effects\nshow\n\nwhen flag clicked\nforever\n    if <[100] < (direction)> then\n        point in direction (100)\n    end\n    if <(direction) < [-100]> then\n        point in direction (-100)\n    end\nend\n\nwhen I receive [スタート v]\ngo to [front v] layer\nset [攻撃 v] to [0]\nforever\n    switch costume to (持ち物)\n    if <[0] < ([direction v] of [プレイヤー2 v])> then\n        set [右左 v] to [右]\n        go to x: (([x position v] of [プレイヤー2 v]) + (23)) y: (([y position v] of [プレイヤー2 v]) + (-5))\n        if <(攻撃) = [0]> then\n            point in direction (-100)\n        end\n    else\n        set [右左 v] to [左]\n        go to x: (([x position v] of [プレイヤー2 v]) + (-23)) y: (([y position v] of [プレイヤー2 v]) + (-5))\n        if <(攻撃) = [0]> then\n            point in direction (100)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nset [持ち物 v] to [1]\nforever\n    if <(右左) = [右]> then\n        switch costume to ((持ち物) + (1))\n    else\n        switch costume to (持ち物)\n    end\nend\n\nwhen I receive [attack v]\nset [攻撃 v] to [1]\nif <(右左) = [右]> then\n    repeat (4)\n        turn right (15) degrees\n    end\nelse\n    repeat (4)\n        turn left (15) degrees\n    end\nend\nset [攻撃 v] to [0]\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        broadcast (attack v)\n    end\n    wait until <not <key (space v) pressed?>>\nend\n\n@Next!\n\nwhen I receive [next v]\nset [color v] effect to (pick random (-250) to (250))\ngo to [front v] layer\nhide\nstart sound [High Whoosh v]\nclone [1]\nwait (0.05) seconds\nclone [2]\nwait (0.05) seconds\nclone [3]\nwait (0.05) seconds\nclone [4]\nwait (0.05) seconds\nclone [5]\n\ndefine clone (cloneid)\nswitch costume to (cloneid)\ncreate clone of (_myself_ v)\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    set [move v] to [OK]\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 I receive [スタート v]\nforever\n    switch costume to (ステージ)\nend\n\n@地面2\n\nwhen I receive [スタート v]\nforever\n    switch costume to (ステージ)\nend\n\nset [ステージ v] to [23]\n\n@水\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to (ステージ)\n    set [ghost v] effect to (40)\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (プレイヤー2 v)?> then\n        go to [front v] layer\n    end\nend\n\n@太陽\n\nwhen flag clicked\nset [た v] to [0]\ngo to [back v] layer\nset size to (100) %\nshow\nforever\n    change [た v] by (10)\nend\n\nwhen flag clicked\nforever\n    change size by ([cos v] of (た) )\nend\n\n@ゾンビ\n\nwhen I start as a clone\nset [hp v] to [20]\nforever\n    if <<touching (武器2 v)?> and <(攻撃) = [1]>> then\n        if <([x position v] of [プレイヤー2 v]) < (x position)> then\n            set [ゾンビx v] to [10]\n            set [ゾンビy v] to [10]\n        else\n            set [ゾンビx v] to [-10]\n            set [ゾンビy v] to [10]\n        end\n        change [hp v] by ([costume name v] of [武器2 v])\n        if <(HP) < [0.01]> then\n            switch costume to (player2 v)\n            start sound [倒した v]\n            set [slime x v] to (x position)\n            set [slime y v] to (y position)\n            broadcast (Slime Death v)\n            repeat (4)\n                change [ghost v] effect by (25)\n            end\n            delete this clone\n        else\n            if <(pick random (1) to (2)) = [1]> then\n                start sound [攻撃 v]\n                switch costume to (player2 v)\n            else\n                start sound [攻撃2 v]\n                switch costume to (player2 v)\n            end\n            wait until <(攻撃) = [0]>\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nset size to (70) %\nwait (0.01) seconds\npoint in direction (90)\nset [ゾンビx v] to [0]\nset [ゾンビy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(ライフ) = [0]>> then\n        if <([x position v] of [プレイヤー2 v]) < (x position)> then\n            point in direction (-90)\n            if <touching (水 v)?> then\n                change [ゾンビx v] by (-0.14)\n            else\n                change [ゾンビx v] by (-0.2)\n            end\n        end\n        if <(x position) < ([x position v] of [プレイヤー2 v])> then\n            point in direction (90)\n            if <touching (水 v)?> then\n                change [ゾンビx v] by (0.14)\n            else\n                change [ゾンビx v] by (0.2)\n            end\n        end\n        set [ゾンビx v] to ((ゾンビx) * (0.9))\n        change x by (ゾンビx)\n        if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n            change y by (1)\n            if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n                change y by (1)\n                if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n                    change y by (1)\n                    if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n                        change y by (1)\n                        if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n                            change y by (1)\n                            if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n                                change y by (1)\n                                if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n                                    change x by ((0) - (ゾンビx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [プレイヤー2 v])>> then\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 (-0.9)\n        if <<touching (水 v)?> and <(ゾンビy) < [-2]>> then\n            set [ゾンビy v] to [-2]\n        end\n        change y by (ゾンビy)\n        if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n            change y by ((0) - (ゾンビy))\n            set [ゾンビy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (水 v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [ゾンビy v] to [4]\n        else\n            if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n                if <(y position) < ([y position v] of [プレイヤー2 v])> then\n                    set [ゾンビy v] to [12]\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nif <(ステージ) = [5]> then\n    go to x: (300) y: (0)\nend\nif <(ステージ) = [7]> then\n    go to x: (300) y: (0)\nend\n\nwhen I start as a clone\nswitch costume to (player v)\nforever\n    set [ゾンビ位置x v] to (x position)\n    set [ゾンビ位置y v] to (y position)\nend\n\nwhen I receive [やられた v]\nrepeat (10)\n    delete this clone\nend\nif <(ステージ) = [5]> then\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [7]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [14]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [17]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [21]> then\n    repeat (12)\n        go to x: (250) y: (150)\n        if <(ステージ) = [21]> then\n            create clone of (_myself_ v)\n        end\n        go to x: (-250) y: (150)\n        wait (pick random (0.8) to (0.9)) seconds\n        if <(ステージ) = [21]> then\n            create clone of (_myself_ v)\n        end\n        wait (pick random (0.8) to (0.9)) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (マグマ v)?> then\n        change [hp v] by (-3)\n        if <(HP) < [0.01]> then\n            start sound [倒した v]\n            set [slime x v] to (x position)\n            set [slime y v] to (y position)\n            broadcast (Slime Death v)\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            delete this clone\n        else\n            if <(pick random (1) to (2)) = [1]> then\n                start sound [攻撃 v]\n            else\n                start sound [攻撃2 v]\n            end\n        end\n        wait (0.25) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (マグマ v)?> then\n        switch costume to (player2 v)\n    else\n        if <(攻撃) = [0]> then\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    wait (pick random (5) to (7)) seconds\n    if <(pick random (1) to (3)) = [1]> then\n        play sound [zombie1 v] until done\n    else\n        if <(pick random (1) to (2)) = [1]> then\n            play sound [zombie2 v] until done\n        else\n            play sound [zombie3 v] until done\n        end\n    end\nend\n\nwhen I receive [スタート v]\nset [削除 v] to [0]\nwait (1) seconds\nset [削除 v] to [1]\n\nwhen I start as a clone\nif <(削除) = [0]> then\n    delete this clone\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [スタート v]\ngo to x: (250) y: (0)\ngo to [front v] layer\nhide\nforever\n    wait until <(ステージ) = [5]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait until <(ステージ) = [7]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait until <(ステージ) = [14]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait until <(ステージ) = [17]>\n    go to x: (250) y: (150)\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait until <(ステージ) = [21]>\n    wait (0.5) seconds\n    repeat (12)\n        go to x: (250) y: (150)\n        wait (pick random (0.8) to (0.9)) seconds\n        if <(ステージ) = [21]> then\n            create clone of (_myself_ v)\n        end\n        go to x: (-250) y: (150)\n        wait (pick random (0.8) to (0.9)) seconds\n        if <(ステージ) = [21]> then\n            create clone of (_myself_ v)\n        end\n    end\nend\n\n@Glow\n\nwhen flag clicked\nforever\n    go to x: ([x position v] of [武器 v]) y: (([y position v] of [武器 v]) + (-5))\n    point in direction ((timer) * (8))\n    set size to (500) %\n    go to [back v] layer\n    if <(剣ある？) = [1]> then\n        show\n        clear graphic effects\n    else\n        repeat (20)\n            change [ghost v] effect by (5)\n            change size by (5)\n        end\n        hide\n    end\nend\n\n@(๑•̀ㅂ•́)و✧\n\nwhen I receive [最後 v]\nshow\nstop [all v]\n\nwhen I receive [スタート v]\nforever\n    if <(φ\(*￣0￣\)) > [10]> then\n        broadcast (最後 v)\n    end\nend\n\nwhen I receive [スタート v]\nset [φ\(*￣0￣\) v] to [0]\nforever\n    change [φ\(*￣0￣\) v] by (1)\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\nforever\n    wait (0.01) seconds\n    set [φ\(*￣0￣\) v] to [0]\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nhide variable [☁ 世界記録＼\(^o^\)／ｵﾜﾀ v]\nhide variable [time v]\nwait (0.01) seconds\nwait until <(ステージ) = [23]>\nset [time v] to ((round ((timer) * (10))) / (10))\nwait (0.01) seconds\nif <(ステージ) = [23]> then\n    if <(time) < (☁ 世界記録＼\(^o^\)／ｵﾜﾀ)> then\n        wait (0.01) seconds\n        if <not <(☁ 世界記録＼\(^o^\)／ｵﾜﾀ) < (time)>> then\n            set [☁ 世界記録＼\(^o^\)／ｵﾜﾀ v] to (time)\n            broadcast (確認 v)\n        end\n    end\nend\nwait (2.5) seconds\nif <(ステージ) = [23]> then\n    show variable [☁ 世界記録＼\(^o^\)／ｵﾜﾀ v]\n    show variable [time v]\nend\n\nwhen I receive [確認 v]\nif <not <(☁ 世界記録＼\(^o^\)／ｵﾜﾀ) < (time)>> then\n    wait () seconds\n    if <not <(☁ 世界記録＼\(^o^\)／ｵﾜﾀ) < (time)>> then\n        wait () seconds\n        set [☁ 世界記録＼\(^o^\)／ｵﾜﾀ v] to (time)\n    end\nend\n\n@サムネ\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@サボテン\n\nwhen I receive [スタート v]\nforever\n    switch costume to (ステージ)\nend\n\n@Slime Particles\n\nwhen flag clicked\nhide\n\nwhen I receive [slime death v]\nrepeat (2)\n    Particles\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\nset [ghost v] effect to (0)\nset [color v] effect to (pick random (-5) to (5))\nset [brightness v] effect to (pick random (-30) to (10))\ngo to x: (SLIME X) y: (SLIME Y)\nshow\nset [xv v] to (pick random (-8) to (8))\nset [yv v] to (pick random (5) to (20))\nrepeat until <touching (ステージ v)?>\n    change [yv v] by (-2)\n    set [xv v] to ((xv) * (0.9))\n    set [yv v] to ((yv) * (0.9))\n    change x by (xv)\n    change y by (yv)\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 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                                                else\n                                                    change y by (-1)\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nrepeat (20)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\ndefine Particles\nrepeat (4)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(複製対策) = [1]> then\n    delete this clone\nend\nset [複製対策 v] to [1]\n\n@スプライト1\n\nwhen flag clicked\nshow\ngo to [front v] layer\nforever\n    if <touching (mouse-pointer v)?> then\n        set [攻撃状態 v] to [1]\n        set [ghost v] effect to (10)\n        if <mouse down?> then\n            broadcast (attack v)\n            wait (0.1) seconds\n            wait until <not <mouse down?>>\n        end\n    else\n        set [ghost v] effect to (70)\n        set [攻撃状態 v] to [0]\n    end\nend\n\nwhen [space v] key pressed\nhide\n\n