Splatoon 3 Platformer / スプラトゥーン3プラットフォーマー
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\nhide variable [time v]\n\nwhen I receive [スタート v]\nswitch backdrop to (背景2 v)\nforever\n    play sound (pick random (1) to (2)) until done\nend\n\nset [ステージ v] to [15]\n\nwhen I receive [スタート v]\nset [time v] to [0]\nforever\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen I receive [次のステージ v]\nif <(ステージ) = [16]> then\n    stop [other scripts in sprite v]\n    set [☁ あなたの記録\(your time\) v] to (time)\n    show variable [time v]\n    wait (0.5) seconds\n    start sound [勝利bgm v]\nend\n\n@intro\n\nwhen I start as a clone\nif <(costume [name v]) = [icon]> then\n    point in direction (60)\n    show\n    switch costume to (icon v)\n    clear graphic effects\n    set size to (0) %\n    go to [front v] layer\n    repeat (4)\n        change size by (25)\n    end\n    set size to (100) %\n    repeat (125)\n        turn right (0.5) degrees\n    end\n    repeat (2)\n        change size by (-50)\n    end\n    delete this clone\nend\nif <(costume [name v]) = [爆発]> then\n    set [雑用 v] to (pick random (-100) to (100))\n    show\n    switch costume to (爆発 v)\n    set size to (0) %\n    set [color v] effect to (-20)\n    go to [front v] layer\n    set [color v] effect to (-20)\n    clear graphic effects\n    go to x: (0) y: (0)\n    point in direction (90)\n    set [ghost v] effect to (20)\n    set [brightness v] effect to (20)\n    set [color v] effect to (-20)\n    repeat until <(size) > [1500]>\n        switch costume to (size v)\n        set [color v] effect to (-20)\n        set [color v] effect to (-20)\n        go to [front v] layer\n        change size by (80)\n        switch costume to (爆発 v)\n        set [color v] effect to (雑用)\n    end\n    repeat (20)\n        switch costume to (size v)\n        change size by (100)\n        switch costume to (爆発 v)\n    end\n    delete this clone\nend\nif <<[5] < (costume [number v])> and <[10] > (costume [number v])>> then\n    set [雑用 v] to (costume [number v])\n    go to [front v] layer\n    clear graphic effects\n    show\n    set size to (pick random (60) to (150)) %\n    go to (random position v)\n    point in direction (pick random (1) to (360))\n    repeat (128)\n        move (pick random (0.5) to (0.8)) steps\n        turn right (pick random (0.2) to (1)) degrees\n        switch costume to (雑用)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nhide\nclear graphic effects\npoint in direction (90)\nwait (0.5) seconds\nset size to (100) %\nswitch costume to (sake玉 v)\nshow\ngo to x: (0) y: (182)\nset [雑用 v] to [0]\nrepeat until <[1] > (y position)>\n    change y by (雑用)\n    change [雑用 v] by (-1)\nend\nset [雑用 v] to [10]\nrepeat (10)\n    change y by (雑用)\n    change [雑用 v] by (-1)\nend\nrepeat until <[1] > (y position)>\n    change y by (雑用)\n    change [雑用 v] by (-1)\nend\nset [雑用 v] to [5]\nrepeat (10)\n    change y by (雑用)\n    change [雑用 v] by (-1)\nend\nrepeat until <[1] > (y position)>\n    change y by (雑用)\n    change [雑用 v] by (-1)\nend\nstart sound [Brooks - Limbo \(ft. 3 v]\nrepeat (2)\n    change size by (-20)\nend\nset [brightness v] effect to (-100)\n◯\nrepeat (5)\n    switch costume to (size v)\n    change size by (500)\n    switch costume to (sake玉 v)\nend\nswitch costume to (黒玉 v)\nwait (3) seconds\nswitch costume to (爆発 v)\ncreate clone of (_myself_ v)\nswitch costume to (sake玉 v)\nwait (1) seconds\nrepeat (5)\n    switch costume to (size v)\n    change size by (-500)\n    switch costume to (黒玉 v)\nend\nclear graphic effects\nswitch costume to (sake玉 v)\nset [雑用 v] to [5]\nrepeat (2)\n    change y by (雑用)\n    change [雑用 v] by (-1)\nend\nrepeat until <[-170] > (y position)>\n    turn right (雑用) degrees\n    change y by (雑用)\n    change [雑用 v] by (-1)\nend\nhide\nwait (1) seconds\nbroadcast (スタート v)\n\ndefine ◯\nrepeat (pick random (8) to (20))\n    switch costume to (pick random (9) to (6))\n    create clone of (_myself_ v)\nend\nswitch costume to (icon v)\ncreate clone of (_myself_ v)\nswitch costume to (爆発 v)\ncreate clone of (_myself_ v)\nswitch costume to (sake玉 v)\n\n@プレイヤー\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <<key (any v) pressed?> or <mouse down?>> then\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n    end\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\ndefine 当たり判定\nswitch costume to (ヾ\(｡>﹏<｡\)ﾉﾞ✧*。 v)\nchange x by (x)\n\nwhen I receive [スタート v]\nset [復活してる？ v] to [はい]\ngo to [front v] layer\nswitch costume to (ヾ\(｡>﹏<｡\)ﾉﾞ✧*。 v)\nclear graphic effects\nset size to (70) %\nwait (0.01) seconds\nset rotation style [left-right v]\npoint in direction (90)\nset [変数 v] to [0]\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 <not <<key (down arrow v) pressed?> or <key (s v) pressed?>>> then\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        当たり判定\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 [ジャンプ v]\n            set [y v] to [16]\n        end\n    end\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 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 <<(y position) < [-165]> or <touching (敵 v)?>> then\n        set [復活してる？ v] to [いいえ]\n        start sound [やられた 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        set [復活してる？ v] to [はい]\n    end\n    if <<(敵の数) = [0]> and <<[239] < (x position)> and <not <(ステージ) = [16]>>>> 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        change [ステージ v] by (1)\n        broadcast (next v) and wait\n        show\n    end\n    if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        set [x v] to [0]\n        point towards (mouse-pointer v)\n    end\nend\n\n@地面\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nhide\n\nwhen I receive [スタート v]\nshow\n\nwhen I receive [次のステージ v]\nshow\nswitch costume to (ステージ)\n\n@銃\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nwait (0.02) seconds\nshow\ngo to [front v] layer\nswitch costume to (スプラシューター v)\nset [武器 v] to [スプラシューター]\nforever\n    go to (プレイヤー v)\n    point towards (mouse-pointer v)\n    move (25) steps\n    if <(direction) > [0]> then\n        switch costume to (武器)\n    else\n        switch costume to (join (武器) [2])\n    end\nend\n\nset [武器 v] to [バレルスピナー]\n\nset [武器 v] to [ホットブラスター]\n\nset [武器 v] to [チャージャー]\n\nset [武器 v] to [スプラシューター]\n\n@弾\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nforever\n    if <mouse down?> then\n        set volume to (100) %\n        if <(武器) = [スプラシューター]> then\n            switch costume to (スプラシューター、バレルスピナー v)\n            create clone of (_myself_ v)\n            start sound [スプラシューター v]\n            wait (0.03) seconds\n        end\n        if <(武器) = [ホットブラスター]> then\n            switch costume to (ブラスター v)\n            start sound [ブラスター出す v]\n            create clone of (_myself_ v)\n            wait (0.8) seconds\n        end\n        if <(武器) = [チャージャー]> then\n            set [ため v] to [0]\n            start sound [チャージャー\(チャージ\) v]\n            repeat until <not <mouse down?>>\n                change [ため v] by (0.4)\n                if <(ため) > [10]> then\n                    set [ため v] to [9.5]\n                end\n            end\n            switch costume to (チャージャー v)\n            create clone of (_myself_ v)\n            if <(ため) > [8]> then\n                play sound [チャージャー撃つ v] until done\n            else\n                play sound [チャージャー撃つ2 v] until done\n            end\n            set volume to (0) %\n        end\n        if <(武器) = [バレルスピナー]> then\n            start sound [スピナーため始め v]\n            set [ため v] to [0]\n            repeat until <not <mouse down?>>\n                if <(ため) > [29]> then\n                    start sound [スピナーためている v]\n                    change [ため v] by (1)\n                else\n                    change [ため v] by (1)\n                end\n                if <(ため) > [31]> then\n                    set [ため v] to [30]\n                end\n            end\n            start sound [スピナー撃つ v]\n            if <(ため) > [20]> then\n                repeat ((ため) * (2))\n                    switch costume to (スプラシューター、バレルスピナー v)\n                    create clone of (_myself_ v)\n                end\n            else\n                repeat (ため)\n                    switch costume to (スプラシューター、バレルスピナー v)\n                    create clone of (_myself_ v)\n                end\n            end\n            set volume to (0) %\n        end\n    end\nend\n\nwhen I start as a clone\nset [強さ v] to [0]\nshow\nif << (costume [name v]) contains [スプラシューター]?> and <not <(武器) = [ホットブラスター]>>> then\n    set [重力 v] to [-1]\n    go to (銃 v)\n    point towards (mouse-pointer v)\n    if <(武器) = [スプラシューター]> then\n        if <(direction) > [0]> then\n            turn left (pick random (20) to (5)) degrees\n        else\n            turn left (pick random (-20) to (-5)) degrees\n        end\n    else\n        turn left (pick random (-10) to (10)) degrees\n        change y by (-8)\n    end\n    repeat until <<touching (_edge_ v)?> or <<touching (地面 v)?> or <touching (敵 v)?>>>\n        move (30) steps\n        if <(武器) = [スプラシューター]> then\n            change y by (重力)\n            if <(direction) > [0]> then\n                turn right (5) degrees\n            else\n                turn right (-5) degrees\n            end\n            set [重力 v] to ((重力) * (1.3))\n        end\n    end\nend\nif <<(武器) = [ホットブラスター]> and < (costume [name v]) contains [スプラシューター]?>> then\n    repeat (3)\n        move (20) steps\n        if <touching (敵 v)?> then\n            delete this clone\n        end\n    end\nend\nif < (costume [name v]) contains [ブラスター]?> then\n    set [強さ v] to [1]\n    go to (銃 v)\n    point towards (mouse-pointer v)\n    if <(y) = [0]> then\n        turn left (0) degrees\n    else\n        turn left (pick random (-30) to (30)) degrees\n    end\n    repeat (8)\n        move (30) steps\n        if <<touching (地面 v)?> or <touching (敵 v)?>> then\n            if <touching (地面 v)?> then\n                start sound [ブラスター爆発2 v]\n                delete this clone\n            end\n            if <touching (敵 v)?> then\n                wait (0.1) seconds\n                爆風\n                delete this clone\n            end\n        end\n    end\n    if <not <<touching (地面 v)?> or <touching (敵 v)?>>> then\n        爆風\n    end\nend\nif < (costume [name v]) contains [チャージャー]?> then\n    go to (銃 v)\n    point towards (mouse-pointer v)\n    move (60) steps\n    change y by (5)\n    repeat (ため)\n        move (50) steps\n        if <<touching (_edge_ v)?> or <<touching (地面 v)?> or <touching (敵 v)?>>> then\n            repeat (2)\n                move (50) steps\n            end\n            delete this clone\n        end\n    end\nend\ndelete this clone\n\ndefine 爆風\nset [強さ v] to [0]\nstart sound [ブラスター爆発1 v]\nswitch costume to (スプラシューター、バレルスピナー v)\npoint in direction (90)\nrepeat (8)\n    create clone of (_myself_ v)\n    turn right (45) degrees\nend\n\n@ポインター\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nforever\n    if <mouse down?> then\n        show\n        change x by (((mouse x) - (x position)) / (2))\n        change y by (((mouse y) - (y position)) / (2))\n    else\n        hide\n        change x by (((mouse x) - (x position)) / (2))\n        change y by (((mouse y) - (y position)) / (2))\n    end\n    if <touching (地面 v)?> then\n        switch costume to (join (武器) [地面])\n    else\n        switch costume to (join (武器) [標準])\n    end\nend\n\nset [武器 v] to [チャージャー]\n\n@敵\n\nwhen flag clicked\n\nwhen I start as a clone\nshow\nset [hp v] to [20]\nrepeat until <<(y position) < [-165]> or <(hp) < [1]>>\n    if <([x position v] of [プレイヤー v]) < (x position)> then\n        point in direction (-90)\n        if <(costume [number v]) = [1]> then\n            change [idx v] by (-0.5)\n            if <(costume [number v]) = [3]> then\n                change [idx v] by (-0.2)\n            end\n        else\n            change [idx v] by (-1)\n        end\n    else\n        point in direction (90)\n        if <(costume [number v]) = [1]> then\n            change [idx v] by (0.5)\n            if <(costume [number v]) = [3]> then\n                change [idx v] by (0.2)\n            end\n        else\n            change [idx v] by (1)\n        end\n    end\n    set [idx v] to ((IDX) * (0.92))\n    change x by (IDX)\n    if <touching (地面 v)?> then\n        if <(costume [number v]) = [3]> then\n            set [idy v] to [25]\n        else\n            set [idy v] to [16]\n        end\n    end\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) - (IDX))\n                                change y by (-5)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [idy v] by (-1)\n    change y by (IDY)\n    if <touching (地面 v)?> then\n        change y by ((0) - (IDY))\n        set [idx v] to [0]\n    end\n    change y by (-2)\n    if <touching (弾 v)?> then\n        start sound [Crunch v]\n        if <(武器) = [スプラシューター]> then\n            change [hp v] by (-5)\n        end\n        if <<(武器) = [ホットブラスター]> and <(強さ) = [1]>> then\n            change [hp v] by (-20)\n        end\n        if <<(武器) = [ホットブラスター]> and <(強さ) = [0]>> then\n            change [hp v] by (-10)\n        end\n        if <(武器) = [チャージャー]> then\n            if <[8.9] < (ため)> then\n                change [hp v] by (-20)\n            end\n            if <[5] < (ため)> then\n                change [hp v] by (-8)\n            end\n            if <[2] < (ため)> then\n                change [hp v] by (-4)\n            end\n            if <[0.4] < (ため)> then\n                change [hp v] by (-2)\n            end\n        end\n        if <(武器) = [バレルスピナー]> then\n            change [hp v] by (-4)\n        end\n    end\n    if <(復活してる？) = [いいえ]> then\n        if <(ステージ) = [11]> then\n            go to x: (pick random (210) to (190)) y: (100)\n        else\n            go to x: (pick random (210) to (190)) y: (50)\n        end\n    end\n    set [変数 v] to (hp)\nend\nchange [敵の数 v] by (-1)\nif <[1] > (敵の数)> then\n    set [敵の数 v] to [0]\nend\nstart sound [Glass Breaking v]\nrepeat (10)\n    change [brightness v] effect by (10)\n    change [ghost v] effect by (-10)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\ngo to [front v] layer\nset [敵の数 v] to [0]\nhide\nswitch costume to (敵赤 v)\nclear graphic effects\nset size to (70) %\nwait (0.01) seconds\nset rotation style [left-right v]\npoint in direction (-90)\nclear graphic effects\n\nwhen I receive [次のステージ v]\nwait (1) seconds\nswitch costume to (敵赤 v)\nif <(ステージ) = [2]> then\n    set [敵の数 v] to [1]\n    go to x: (200) y: (0)\n    create clone of (_myself_ v)\nend\nswitch costume to (敵緑 v)\nif <(ステージ) = [3]> then\n    set [敵の数 v] to [1]\n    go to x: (200) y: (50)\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [5]> then\n    switch costume to (敵青 v)\n    set [敵の数 v] to [1]\n    go to x: (pick random (210) to (190)) y: (50)\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [6]> then\n    go to x: (pick random (210) to (190)) y: (50)\n    repeat (3)\n        switch costume to (pick random (1) to (3))\n        create clone of (_myself_ v)\n        change [敵の数 v] by (1)\n        wait (pick random (0.01) to (0.5)) seconds\n    end\nend\nif <(ステージ) = [7]> then\n    go to x: (pick random (210) to (190)) y: (50)\n    repeat (4)\n        switch costume to (pick random (1) to (3))\n        create clone of (_myself_ v)\n        change [敵の数 v] by (1)\n        wait (pick random (0.01) to (0.5)) seconds\n    end\nend\nif <(ステージ) = [9]> then\n    go to x: (pick random (210) to (190)) y: (50)\n    switch costume to (敵赤 v)\n    repeat (2)\n        create clone of (_myself_ v)\n        change [敵の数 v] by (1)\n        wait (pick random (0.01) to (0.5)) seconds\n    end\nend\nif <(ステージ) = [10]> then\n    go to x: (pick random (210) to (190)) y: (50)\n    repeat (8)\n        switch costume to (pick random (1) to (3))\n        create clone of (_myself_ v)\n        change [敵の数 v] by (1)\n        wait (pick random (0.2) to (0.5)) seconds\n    end\nend\nif <(ステージ) = [11]> then\n    go to x: (pick random (210) to (190)) y: (100)\n    switch costume to (敵緑 v)\n    repeat (2)\n        create clone of (_myself_ v)\n        change [敵の数 v] by (1)\n        wait (pick random (0.01) to (0.5)) seconds\n    end\n    repeat (6)\n        create clone of (_myself_ v)\n        change [敵の数 v] by (1)\n        wait (0.01) seconds\n    end\nend\nif <(ステージ) = [13]> then\n    switch costume to (敵赤 v)\n    go to x: (pick random (210) to (190)) y: (100)\n    repeat (12)\n        create clone of (_myself_ v)\n        change [敵の数 v] by (1)\n        wait (pick random (0.3) to (0.8)) seconds\n    end\nend\nif <(ステージ) = [14]> then\n    switch costume to (敵赤 v)\n    go to x: (pick random (210) to (190)) y: (50)\n    repeat (15)\n        switch costume to (pick random (1) to (2))\n        create clone of (_myself_ v)\n        change [敵の数 v] by (1)\n        wait (pick random (0.3) to (0.8)) seconds\n    end\nend\nif <(ステージ) = [15]> then\n    switch costume to (敵赤 v)\n    go to x: (pick random (210) to (190)) y: (50)\n    repeat (30)\n        switch costume to (pick random (1) to (3))\n        create clone of (_myself_ v)\n        change [敵の数 v] by (1)\n        wait (pick random (0.2) to (0.5)) seconds\n    end\nend\n\n@Next\n\nwhen flag clicked\nhide\n\nwhen I receive [next v]\nset [color v] effect to (100)\nstart sound [High Whoosh v]\nrepeat (10)\n    change [color v] effect by (-10)\n    create clone of (_myself_ v)\n    wait (0.025) seconds\nend\nwait (1) seconds\nbroadcast (次のステージ v)\nwait (0.5) seconds\n\nwhen I start as a clone\ngo to [front v] layer\nshow\ngo to x: (-466) y: (0)\nset [a v] to [29]\nrepeat (21)\n    change x by (a)\n    change [a v] by (-1)\nend\nrepeat (16)\n    change x by (a)\n    change [a v] by (-0.5)\nend\nrepeat (16)\n    change x by (a)\n    change [a v] by (0.5)\nend\nrepeat (23)\n    change x by (a)\n    change [a v] by (1)\nend\ndelete this clone\n\n@落ちている銃\n\nwhen flag clicked\nhide\n\nwhen I receive [次のステージ v]\nset [雑用2 v] to [0]\nif <(ステージ) = [4]> then\n    switch costume to (太陽拳！ v)\n    create clone of (_myself_ v)\n    switch costume to (チャージャー v)\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [8]> then\n    switch costume to (太陽拳！ v)\n    create clone of (_myself_ v)\n    switch costume to (ホットブラスター v)\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [12]> then\n    switch costume to (太陽拳！ v)\n    create clone of (_myself_ v)\n    switch costume to (バレルスピナー v)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\npoint in direction (90)\nif < (costume [name v]) contains [太陽拳]?> then\n    go to x: (0) y: (-45)\n    repeat until <(雑用2) = [1]>\n        turn right (4) degrees\n    end\nend\nif << (costume [name v]) contains [チャージャー]?> or << (costume [name v]) contains [ブラスター]?> or < (costume [name v]) contains [スピナー]?>>> then\n    go to x: (0) y: (-48)\n    repeat until <touching (プレイヤー v)?>\n        change y by (([cos v] of ((timer) * (350)) ) * (1))\n    end\n    set [雑用2 v] to [1]\n    change [銃のもってる数 v] by (1)\n    start sound [Coin v]\nend\ndelete this clone\n\nwhen I receive [スタート v]\nforever\n    if <<<<<key (0 v) pressed?> and <key (4 v) pressed?>> and <key (7 v) pressed?>> and <key (k v) pressed?>> and <key (s v) pressed?>> then\n        set [銃 v] to [リボルバー]\n    end\nend\n\n@選択する銃\n\nwhen flag clicked\nhide\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    forever\n        show\n        if <<mouse down?> and <touching (mouse-pointer v)?>> then\n            set [武器 v] to [スプラシューター]\n        end\n    end\nend\nif <(costume [number v]) = [2]> then\n    forever\n        if <[1] < (銃のもってる数)> then\n            show\n            if <<mouse down?> and <touching (mouse-pointer v)?>> then\n                set [武器 v] to [チャージャー]\n            end\n        else\n            hide\n        end\n    end\nend\nif <(costume [number v]) = [3]> then\n    forever\n        if <[2] < (銃のもってる数)> then\n            show\n            if <<mouse down?> and <touching (mouse-pointer v)?>> then\n                set [武器 v] to [ホットブラスター]\n            end\n        else\n            hide\n        end\n    end\nend\nif <(costume [number v]) = [4]> then\n    forever\n        if <[3] < (銃のもってる数)> then\n            show\n            if <<mouse down?> and <touching (mouse-pointer v)?>> then\n                set [武器 v] to [バレルスピナー]\n            end\n        else\n            hide\n        end\n    end\nend\n\nwhen I receive [スタート v]\nshow\n\nwhen I receive [スタート v]\nset [銃のもってる数 v] to [1]\nhide\nswitch costume to (ピストル v)\ngo to x: (-180) y: (-140)\nrepeat (4)\n    create clone of (_myself_ v)\n    change x by (120)\n    next costume\nend\n\n@サムネ\n\nwhen flag clicked\nhide\n\n
日本語は下　読まないと損します\n➠➠English\nI tried Nintendo's Splatoon 3 as a platformer!\nYou can move with arrow keys, wasd keys, taps, etc.\nYou can shoot the gun by tapping, but you can shoot without moving with the down key or S key.\n(mobile is not possible)\nShooter: Can fire to some extent\nCharger: Can be charged to fire high-powered bullets\n       increase. (Rapid fire is not allowed)\nBlaster: Fires high-powered bullets and explodes.\nSpinner: Hold to charge and fire bullets at once.\nHave fun!\n▶日本語◀\n任天堂のスプラトゥーン3をプラットフォーマーにしてみました！\n方向キー、wasd キー、タップなどで移動できます。\nタップで弾を撃つことができますが、下キーまたはsキーで動かずに撃つことができます。(モバイルは不可）\nシューター:ある程度連射することが出来ます\nチャージャー:チャージして高威力の弾を打つことが出来　　　　　　 \n 　　　　　　ます。(連射は不可)\nブラスター:高威力の弾を出し、爆発します。\nスピナー:長押しでチャージし、一気に弾を放ちます。\n　　　　　　　　▶楽しんで！◀