2player platformer

Instructions: 紫は矢印キーで操作（左・右・上矢印キー）\n黄緑はwadで操作\n棘か下に落ちたら死にます\n無限湧きです\n=============================================　　　　　　　　　　　　　　　　　　　　\n　　　　　　　　　☆と♡よろしく！　　　　　　　　　　

@Stage\n\nwhen flag clicked\n\nwhen I receive [ステージ替え v]\nstart sound [Rip v]\nwait (0.5) seconds\nnext backdrop\n\nwhen I receive [垂れ幕 v]\nstop all sounds\nswitch backdrop to (背景1 v)\n\n@スプライト2\n\nwhen flag clicked\ngo to x: (-211) y: (-65)\nset [黄緑y v] to [0]\nhide\n\nwhen flag clicked\nforever\n    if <[240] < (x position)> then\n        broadcast (ステージ替え v)\n        hide\n        wait (1) seconds\n    end\nend\n\nwhen I receive [キャラ再生 v]\nshow\nset [黄緑y v] to [0]\ngo to x: (-211) y: (-65)\n\nwhen I receive [ステージ替え v]\nhide\n\nwhen flag clicked\ngo to x: (-211) y: (-65)\n\nwhen flag clicked\nforever\n    if <touching color (#609116)?> then\n        set [黄緑y v] to [0]\n        change y by (-13)\n    end\nend\n\nwhen I receive [垂れ幕 v]\nforever\n    if <<touching color (#ffc4c4)?> or <touching color (#b0b1b3)?>> then\n        go to x: (-211) y: (-65)\n        set [黄緑y v] to [0]\n    end\nend\n\nwhen I receive [垂れ幕 v]\ngo to x: (-211) y: (-65)\n\nwhen I receive [垂れ幕 v]\ngo to x: (-211) y: (-65)\nshow\n\nwhen I receive [垂れ幕 v]\nforever\n    if <key (d v) pressed?> then\n        change [黄緑x v] by (1.5)\n        switch costume to (コスチューム2 v)\n    end\n    if <key (a v) pressed?> then\n        change [黄緑x v] by (-1.5)\n        switch costume to (コスチューム3 v)\n    end\n    change x by (黄緑x)\n    set [黄緑x v] to ((黄緑x) * (0.85))\n    if <touching color (#6b5815)?> then\n        change y by (1)\n        if <<touching color (#6b5815)?> and <key (d v) pressed?>> then\n            change x by (-0.23)\n        end\n        if <<key (a v) pressed?> and <touching color (#6b5815)?>> then\n            change x by (0.23)\n        end\n        if <touching color (#6b5815)?> then\n            change y by (1)\n            if <touching color (#6b5815)?> then\n                change y by (1)\n                if <touching color (#6b5815)?> then\n                    change y by (1)\n                    if <touching color (#6b5815)?> then\n                        change y by (1)\n                        if <touching color (#6b5815)?> then\n                            change y by (-5)\n                            change x by ((黄緑x) * (-1))\n                            if <key (w v) pressed?> then\n                                set [黄緑y v] to [12]\n                                start sound [suck1 v]\n                                if <(黄緑x) > [0]> then\n                                    set [黄緑x v] to [-10]\n                                else\n                                    set [黄緑x v] to [10]\n                                end\n                            else\n                                set [黄緑x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (黄緑y)\n    if <touching color (#7ddd2c)?> then\n        change y by ((0) - (黄緑y))\n        set [黄緑y v] to [0]\n    end\n    change y by (-1)\n    if <<key (w v) pressed?> and <touching color (#7ddd2c)?>> then\n        set [黄緑y v] to [15]\n        start sound [suck1 v]\n    else\n        change [黄緑y v] by (-1)\n    end\n    change y by (1)\nend\n\n@スプライト1\n\nwhen flag clicked\nhide\ngo to x: (-210) y: (-65)\nforever\n    if <[240] < (x position)> then\n        broadcast (ステージ替え v)\n        hide\n        wait (1) seconds\n    end\nend\n\nwhen I receive [キャラ再生 v]\nshow\nset [紫y v] to [0]\ngo to x: (-210) y: (-67)\n\nwhen flag clicked\nforever\n    if <touching color (#609116)?> then\n        set [紫y v] to [0]\n        change y by (-13)\n    end\nend\n\nwhen I receive [ステージ替え v]\nhide\n\nwhen I receive [垂れ幕 v]\nforever\n    if <<touching color (#ffc4c4)?> or <touching color (#b0b1b3)?>> then\n        go to x: (-210) y: (-65)\n        set [紫y v] to [0]\n    end\nend\n\nwhen I receive [垂れ幕 v]\ngo to x: (-210) y: (-65)\n\nwhen I receive [垂れ幕 v]\ngo to x: (-210) y: (-65)\nshow\n\nwhen I receive [垂れ幕 v]\nforever\n    if <key (right arrow v) pressed?> then\n        change [紫x v] by (1.5)\n        switch costume to (コスチューム2 v)\n    end\n    if <key (left arrow v) pressed?> then\n        change [紫x v] by (-1.5)\n        switch costume to (コスチューム3 v)\n    end\n    change x by (紫x)\n    set [紫x v] to ((紫x) * (0.85))\n    if <touching color (#6b5815)?> then\n        change y by (1)\n        if <<touching color (#6b5815)?> and <key (right arrow v) pressed?>> then\n            change x by (-0.23)\n        end\n        if <<key (left arrow v) pressed?> and <touching color (#6b5815)?>> then\n            change x by (0.23)\n        end\n        if <touching color (#6b5815)?> then\n            change y by (1)\n            if <touching color (#6b5815)?> then\n                change y by (1)\n                if <touching color (#6b5815)?> then\n                    change y by (1)\n                    if <touching color (#6b5815)?> then\n                        change y by (1)\n                        if <touching color (#6b5815)?> then\n                            change y by (-5)\n                            change x by ((紫x) * (-1))\n                            if <key (up arrow v) pressed?> then\n                                set [紫y v] to [12]\n                                start sound [suck1 v]\n                                if <(紫x) > [0]> then\n                                    set [紫x v] to [-10]\n                                else\n                                    set [紫x v] to [10]\n                                end\n                            else\n                                set [紫x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (紫y)\n    if <touching color (#7ddd2c)?> then\n        change y by ((0) - (紫y))\n        set [紫y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <touching color (#7ddd2c)?>> then\n        set [紫y v] to [15]\n        start sound [suck1 v]\n    else\n        change [紫y v] by (-1)\n    end\n    change y by (1)\nend\n\n@スプライト3\n\nwhen flag clicked\nclear graphic effects\nhide\n\nwhen I receive [ステージ替え v]\nshow\ngo to x: (-177) y: (260)\nrepeat until <(y position) < [-260]>\n    change y by (-20)\nend\nhide\nbroadcast (キャラ再生 v)\n\n@スプライト4\n\nwhen I receive [ステージ替え v]\nshow\ngo to x: (-49) y: (260)\nrepeat until <(y position) < [-260]>\n    change y by (-17)\nend\nhide\n\nwhen flag clicked\nclear graphic effects\nhide\n\n@スプライト5\n\nwhen I receive [ステージ替え v]\nshow\ngo to x: (75) y: (260)\nrepeat until <(y position) < [-260]>\n    change y by (-14)\nend\nhide\n\nwhen flag clicked\nclear graphic effects\nhide\n\n@スプライト6\n\nwhen I receive [ステージ替え v]\nshow\ngo to x: (190) y: (260)\nrepeat until <(y position) < [-260]>\n    change y by (-11)\nend\nhide\n\nwhen flag clicked\nclear graphic effects\nhide\n\n@スプライト7\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (10000000)\n\n@OP\n\nwhen flag clicked\nbroadcast (OP v)\n\nwhen I start as a clone\nshow\nif <(あ) = [0]> then\n    if <(costume [number v]) = [2]> then\n        go to x: (-1) y: (196)\n        go to [front v] layer\n        set [a v] to [-20]\n        repeat (20)\n            change [a v] by (1)\n            change y by (a)\n            残像\n        end\n        repeat (8)\n            set [a v] to [2]\n            repeat (19)\n                change [a v] by (-0.2)\n                change size by ((a) * (3))\n                残像\n            end\n            wait (0.1) seconds\n        end\n        hide\n    end\n    if <(costume [number v]) = [1]> then\n        hide\n        wait (0.25) seconds\n        show\n        go to [front v] layer\n        go to x: (-6) y: (-184)\n        set [a v] to [10]\n        repeat (10)\n            change [a v] by (-1)\n            change y by (a)\n            残像\n        end\n        repeat (8)\n            set [a v] to [2]\n            repeat (19)\n                change [a v] by (-0.2)\n                change size by ((a) * (3))\n                残像\n            end\n            wait (0.1) seconds\n        end\n        hide\n    end\n    if <(costume [number v]) = [3]> then\n        go to x: (0) y: (0)\n        set size to (100) %\n        repeat (10)\n            repeat (10)\n                change [fisheye v] effect by (50)\n            end\n            repeat (10)\n                change [fisheye v] effect by (-50)\n            end\n            change [mosaic v] effect by (10)\n        end\n        hide\n        broadcast (垂れ幕 v)\n    end\nelse\n    repeat (10)\n        change [ghost v] effect by (20)\n    end\n    delete this clone\nend\n\nwhen I receive [op v]\nclear graphic effects\nset [fisheye v] effect to (0)\nset [mosaic v] effect to (0)\nset [color v] effect to (0)\nhide\nset [あ v] to [0]\npoint in direction (90)\nswitch costume to (50760c3d57efe93e71e8aa587c478451 v)\nset size to (100) %\nrepeat (3)\n    create clone of (_myself_ v)\n    next costume\nend\n\nrepeat (8)\n    create clone of (_myself_ v)\n    change [color v] effect by (20)\nend\nwait (5) seconds\nnext costume\nclear graphic effects\ncreate clone of (_myself_ v)\n\nwhen I receive [op v]\nstart sound [Alex Skrindo - Jumbo2 v]\n\nwait (0.01) seconds\n\nwhen I receive [始まり！ v]\ndelete this clone\n\ndefine 消える\npoint in direction (90)\nset size to (100) %\nrepeat (3)\n    turn left (1) degrees\nend\nset [a v] to [20]\nrepeat (20)\n    change [a v] by (-1)\n    change size by (a)\n    turn right (a) degrees\n    change [ghost v] effect by (10)\nend\n\ndefine 残像\nset [あ v] to [1]\ncreate clone of (_myself_ v)\nset [あ v] to [0]\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    forever\n        change [color v] effect by (1)\n    end\nend\n\n