splatoon　platformer!!
@Stage\n\nwhen flag clicked\nforever\n    play sound [Nebula v] until done\nend\n\n@プレイヤー\n\nwhen flag clicked\nbroadcast (Game Start v)\nhide\nset size to (100) %\n\nwhen I receive [game start v]\nset [x v] to [0]\nset [y v] to [0]\nset size to (100) %\nswitch costume to (mae v)\ngo to x: (-160) y: (-30)\npoint in direction (90)\nshow\nforever\n    set [kosu v] to (costume [number v])\n    set [m v] to (direction)\n    if <<key (space v) pressed?> or <<touching (mouse-pointer v)?> and <not <mouse down?>>>> then\n        if <[0] < (インク)> then\n            create clone of (球 v)\n        end\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        point in direction (90)\n        if <(y) = [0]> then\n            switch costume to (migi v)\n        end\n        change y by (-5)\n        if <touching (地形 v)?> then\n            change [x v] by (1)\n        else\n            change [x v] by (1)\n        end\n        change y by (5)\n    else\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n            point in direction (-90)\n            if <(y) = [0]> then\n                switch costume to (migi v)\n            end\n            change y by (-5)\n            if <touching (地形 v)?> then\n                change [x v] by (-1)\n            else\n                change [x v] by (-1)\n            end\n            change y by (5)\n        else\n            if <(y) = [0]> then\n                switch costume to (mae v)\n            end\n        end\n    end\n    set [x v] to ((x) * (0.9))\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 x by ((x) * (-1))\n                            change y by (-5)\n                            set [x v] to [0]\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(y position) < (mouse y)> and <mouse down?>>> then\n                                set [y v] to [10]\n                                if <(direction) = [90]> then\n                                    set [x v] to [-7]\n                                else\n                                    set [x v] to [7]\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 ((y) * (-1))\n        set [y v] to [0]\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(y position) < (mouse y)> and <mouse down?>>> then\n            set [地形仮3 v] to [0]\n            change y by (10)\n            if <touching (地形 v)?> then\n                set [地形仮3 v] to [1]\n            end\n            change y by (-10)\n            if <(地形仮3) = [0]> then\n                set [y v] to [15]\n                if <(costume [name v]) = [r]> then\n                    switch costume to (hidari v)\n                else\n                    switch costume to (ue v)\n                end\n            end\n        end\n    end\n    if <(x position) > [230]> then\n        set size to (100) %\n        set rotation style [left-right v]\n        set [x v] to [0]\n        set [y v] to [0]\n        switch costume to (mae v)\n        point in direction (90)\n        clear graphic effects\n        show\n        set [i v] to [1]\n        broadcast (Next Steage v)\n        go to x: (-160) y: (-30)\n        set [i v] to [0]\n    end\n    if <<<<<(y position) < [-160]> or <touching (敵1 v)?>> or <touching (敵2 v)?>> or <touching (敵3 v)?>> or <touching (敵5bos v)?>> then\n        set rotation style [all around v]\n        start sound [_oof v]\n        change [インク v] by (-10)\n        broadcast (kaku v)\n        repeat (20)\n            turn right (15) degrees\n            change size by (-2.5)\n            change [ghost v] effect by (5)\n            change y by (8)\n        end\n        set size to (100) %\n        set rotation style [left-right v]\n        set [x v] to [0]\n        set [y v] to [0]\n        switch costume to (mae v)\n        go to x: (-160) y: (-30)\n        point in direction (90)\n        show\n        set [ghost v] effect to (0)\n        broadcast (hyou v) and wait\n    end\nend\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen [timer v] > (1)\nhide\n\nif <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>> then\n    switch costume to (mae2 v)\nend\n\nset [☁ time v] to [10000]\n\n@地形\n\nwhen flag clicked\nswitch costume to (1 v)\nwait until <<(time) < (☁ time)> and <(costume [number v]) = [10]>>\n更新\n\nwhen I receive [next steage v]\nnext costume\n\nwhen flag clicked\nset [time v] to [0]\nrepeat until <(costume [number v]) = [10]>\n    wait (1) seconds\n    change [time v] by (1)\nend\n\ndefine 更新\nset [☁ time v] to (time)\n\n@サムネ\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.1)\nshow\n\nwhen flag clicked\nforever\n    change [1 v] by (1)\nend\n\nwhen flag clicked\nforever\n    set [1 v] to [0]\n    wait (0.01) seconds\n    if <[5] < (1)> then\n        stop [all v]\n    end\nend\n\nset [☁ time v] to [1000000000000]\n\n@球\n\nwhen flag clicked\nset [i v] to [0]\nerase all\nhide\n\nwhen I start as a clone\nchange [インク v] by (-1)\nstart sound [ポップ v]\nshow\ngo to (buki v)\nif <(m) = [90]> then\n    repeat until <touching (_edge_ v)?>\n        move (13) steps\n        change y by (-1.3)\n        if <<(I) = [1]> or <<touching (敵2 v)?> or <<touching (敵4 v)?> or <touching (敵3 v)?>>>> then\n            wait (0.1) seconds\n            delete this clone\n        end\n        if <touching (地形 v)?> then\n            change y by (-15)\n            stamp\n            delete this clone\n        end\n    end\nelse\n    repeat until <touching (_edge_ v)?>\n        move (-15) steps\n        change y by (-2)\n        if <<(I) = [1]> or <<touching (敵2 v)?> or <<touching (敵4 v)?> or <touching (敵3 v)?>>>> then\n            wait (0.1) seconds\n            delete this clone\n        end\n        if <touching (地形 v)?> then\n            change y by (-5)\n            stamp\n            delete this clone\n        end\n    end\nend\ndelete this clone\n\nwhen I receive [next steage v]\nerase all\n\n@敵2\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to x: (13) y: (74)\nhide\nforever\n    if <([costume # v] of [地形 v]) = [5]> then\n        if <not <touching (球 v)?>> then\n            show\n        end\n    else\n        hide\n    end\n    if <touching (球 v)?> then\n        next costume\n        if <(costume [number v]) = [6]> then\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            forever\n                hide\n            end\n        end\n    end\nend\n\n@敵3\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to x: (13) y: (-50)\nhide\nforever\n    if <([costume # v] of [地形 v]) = [1]> then\n        if <not <touching (球 v)?>> then\n            show\n        end\n    else\n        hide\n    end\n    if <touching (球 v)?> then\n        next costume\n        if <(costume [number v]) = [6]> then\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            forever\n                hide\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    repeat (10)\n        change x by (5)\n    end\n    wait (1) seconds\n    repeat (10)\n        change x by (-5)\n    end\n    wait (1) seconds\nend\n\n@敵5bos\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to x: (13) y: (-40)\nhide\nforever\n    if <([costume # v] of [地形 v]) = [9]> then\n        if <not <touching (球 v)?>> then\n            show\n        end\n    else\n        hide\n    end\n    if <touching (球 v)?> then\n        if <(pick random (1) to (10)) = (pick random (1) to (10))> then\n            next costume\n        end\n    end\n    if <(costume [number v]) = [6]> then\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        forever\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    repeat (10)\n        change x by (8)\n    end\n    wait (0.3) seconds\n    repeat (10)\n        change x by (-8)\n    end\n    wait (0.3) seconds\nend\n\n@スプライト2\n\nwhen flag clicked\nset y to (0)\ngo to x: (230) y: (100)\nerase all\nset pen size to (30)\nset [インク v] to [10]\nset [インク最大 v] to [10]\nset [幅 v] to [300]\nforever\n    change pen size by (1)\n    erase all\n    set pen color to (#37ff00)\n    pen down\n    set x to ((幅) / (2))\n    set x to (() - (((幅) / (2)) + (3)))\n    pen up\n    set pen color to (#4b00fd)\n    change pen size by (-1)\n    if <<not <(インク) = [0]>> and <[0] < (インク)>> then\n        pen down\n        set x to (() - (((幅) / (2)) + (3)))\n        change x by (((((幅) / (2)) + (3)) / ((インク最大) / (2))) * (インク))\n    end\nend\n\nwhen flag clicked\nset [インク v] to [100]\nset [インク最大 v] to [100]\nforever\n    if <[99] < (インク)> then\n        set [インク v] to [100]\n    end\nend\n\n@buki\n\nwhen flag clicked\nshow\nforever\n    go to (プレイヤー v)\n    point in direction (m)\n    switch costume to (kosu)\nend\n\nwhen I receive [hyou v]\nshow\n\nwhen I receive [kaku v]\nhide\n\n
game1p!!\n日本語は下にあります\n\nEnglish\nI entered the world of splatoon!?\nUse the arrow keys or WDAS key or tap\nHit the ink with spacebar or character tap\nInk will run out if wasted! Use it carefullyThe gauge above is the remaining amount of ink\nThe time will be updated as early as possible!\n\n日本語\nsplatoonの世界に入っちゃった！？\n矢印キーまたはwdasキーまたはタップで操作\nスペースキーまたはキャラクターをタップでインクを打つ\nインクは無駄遣いするとなくなってしまいます！慎重に使いましょう上のゲージがインクの残量です\nタイムは1番早いと更新されます！