Red & Green! platformer

Instructions:    　　　　　✨Red & Green! platformer✨\n\n赤と緑を切り替えて進むプラットフォーマーです\nIt is a platformer that switches between red and green\n\n少しむずかしいですが頑張ってください！\nIt is a little difficult, but please do your best!\n\n少しのバグはご了承ください\nPlease be aware that there are a few bugs\n\n▼遊び方 / how to play\n矢印キーまたはW,A,Dキーで移動できます\nArrow keys or W,A,D keys to move\n\nスペースキー,Zキー,タップで赤と緑を変えることができます\nYou can change red and green with the space key, Z key, and tap\n\n針に触れるとやられてしまいます\nTouch the needle and you're hit\n\n▼クレジット / Credit\nmusic : @-Xaf-\nBasic player movements : @-seven7-\nfont : american captain\n\n良いと思ってくれたら❤⭐、フォローお願いします！\nIf you think it's good, please ❤⭐follow me!\n\n▼追記(japanese)\n1/13 : 実は一年前に作リ途中だったもののリメイクです\n1/14 : 伸びクソ悪い()\n4/3 : 久しぶりに見たら以外に伸びてて草 あとむずいﾗｼｲ\n\n#game #all #platformer #goriraf0612 #red #green

@Stage\n\nwhen flag clicked\nif <(pick random (1) to (2)) = [1]> then\n    forever\n        play sound [Inferno v] until done\n        play sound [Treenan v] until done\n    end\nelse\n    forever\n        play sound [Treenan v] until done\n        play sound [Inferno v] until done\n    end\nend\n\n@プレイヤー\n\nwhen flag clicked\npoint in direction (90)\nswitch costume to (緑 v)\nset [ステージ数 v] to [1]\ngo to x: (-200) y: (50)\nset [x v] to [0]\nset [y v] to [0]\nset size to (70) %\nforever\n    if <[0] = (ばくよう)> then\n        go to [back v] layer\n        if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n            point in direction (90)\n            change [x v] by (1.75)\n        end\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            point in direction (-90)\n            change [x v] by (-1.75)\n        end\n        set [x v] to ((X) * (0.8))\n        change x by (X)\n        if <<<(costume [number v]) = [1]> and <touching (ステージ\(緑\) v)?>> or <<(costume [number v]) = [2]> and <touching (ステージ\(赤\) v)?>>> then\n            change y by (1)\n            if <<<(costume [number v]) = [1]> and <touching (ステージ\(緑\) v)?>> or <<(costume [number v]) = [2]> and <touching (ステージ\(赤\) v)?>>> then\n                change y by (1)\n                if <<<(costume [number v]) = [1]> and <touching (ステージ\(緑\) v)?>> or <<(costume [number v]) = [2]> and <touching (ステージ\(赤\) v)?>>> then\n                    change y by (3)\n                    if <<<(costume [number v]) = [1]> and <touching (ステージ\(緑\) v)?>> or <<(costume [number v]) = [2]> and <touching (ステージ\(赤\) v)?>>> then\n                        change y by (-5)\n                        change x by ((X) * (-1))\n                        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                            if <(X) > [0]> then\n                                set [x v] to [-15]\n                            else\n                                set [x v] to [15]\n                            end\n                            set [y v] to [14.5]\n                        else\n                            set [x v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n        change [y v] by (-1)\n        change y by (Y)\n        if <<<(costume [number v]) = [1]> and <touching (ステージ\(緑\) v)?>> or <<(costume [number v]) = [2]> and <touching (ステージ\(赤\) v)?>>> then\n            change y by ((Y) * (-1))\n            set [y v] to [0]\n        end\n        if <(x position) > [245]> then\n            次！\n        end\n        if <<[-184] > (y position)> or <touching (針など v)?>> then\n            ☠\n        end\n        change y by (-1)\n        if <<not <<<(costume [number v]) = [1]> and <touching (ステージ\(赤\) v)?>> or <<(costume [number v]) = [2]> and <touching (ステージ\(緑\) v)?>>>> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            if <<touching (ステージ\(赤\) v)?> or <touching (ステージ\(緑\) v)?>> then\n                start sound [Jump v]\n                set [y v] to [15]\n            end\n        end\n        broadcast (a v)\n    end\nend\n\ndefine 次！\nset [あ v] to [0]\nswitch costume to (緑 v)\ngo to x: (-200) y: (10)\nbroadcast (つぎのすてーじ v) and wait\nrepeat until <(あ) = [1]>\n    set [x v] to [0]\n    set [y v] to [0]\nend\n\ndefine ☠\nset rotation style [all around v]\nset [ばくよう v] to [1]\nset [y v] to [10]\nset [ghost v] effect to (0)\nstart sound [Crunch v]\nswitch costume to (やられたっ v)\ngo to [front v] layer\nrepeat (25)\n    turn right (10) degrees\n    change [ghost v] effect by (4)\n    change [y v] by (-1)\n    change y by (Y)\nend\nset [x v] to [0]\nset [y v] to [0]\nset [ばくよう v] to [0]\nset rotation style [left-right v]\nswitch costume to (緑 v)\npoint in direction (90)\nset [ghost v] effect to (0)\ngo to x: (-200) y: (10)\n\nwhen flag clicked\nforever\n    if <<key (space v) pressed?> or <<key (z v) pressed?> or <mouse down?>>> then\n        if <(ばくよう) = [0]> then\n            if <(costume [name v]) = [赤]> then\n                switch costume to (緑 v)\n            else\n                switch costume to (赤 v)\n            end\n            wait until <not <<key (space v) pressed?> or <<key (z v) pressed?> or <mouse down?>>>>\n        end\n    end\nend\n\nwhen flag clicked\nset [ばくよう v] to [0]\nforever\n    if <<<<(costume [number v]) = [1]> and <touching (ステージ\(赤\) v)?>> or <<(costume [number v]) = [2]> and <touching (ステージ\(緑\) v)?>>> or <key (r v) pressed?>> then\n        ☠\n    end\nend\n\nwhen flag clicked\nset [あ v] to [0]\nforever\n    if <touching color (#9ce76a)?> then\n        set [あ v] to [1]\n    else\n        set [あ v] to [0]\n    end\nend\n\nwhen I receive [a v]\nchange y by (1)\n\n@ステージ(緑)\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ数)\nend\n\nwhen flag clicked\nrepeat (10)\n    hide variable [time v]\n    hide variable [☁ world record v]\nend\nwait until <(costume [number v]) = [10]>\nset [time v] to (round (timer))\nif <(time) < (☁ world record)> then\n    set [☁ world record v] to (time)\nend\nshow variable [time v]\nshow variable [☁ world record v]\n\n@ねくすと\n\ndefine クローン (名前)\nswitch costume to (名前)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [front v] layer\nif <<(costume [name v]) = [1]> or <<(costume [name v]) = [2]> or <<(costume [name v]) = [3]> or >>> then\n    show\n    go to x: (0) y: (465)\n    repeat until <(round (y position)) = [0]>\n        change y by (((0) - (y position)) / (7))\n    end\n    delete this clone\nend\nif <<[4] < (costume [number v])> and <(costume [number v]) < [9]>> then\n    change [color v] effect by (20)\n    show\n    go to x: (0) y: (-465)\n    repeat until <(round (y position)) = [0]>\n        change y by (((0) - (y position)) / (7))\n    end\nend\nif <(costume [number v]) = [5]> then\n    wait (0.35) seconds\n    あ\nend\nif <(costume [number v]) = [6]> then\n    wait (0.25) seconds\n    あ\nend\nif <(costume [number v]) = [7]> then\n    wait (0.15) seconds\n    あ\nend\nif <(costume [number v]) = [8]> then\n    あ\nend\n\ndefine あ\nrepeat until <(x position) > [460]>\n    change x by (((1) + (x position)) / (4))\nend\ndelete this clone\n\nwhen I receive [つぎのすてーじ v]\nstart sound [Rip v]\nchange [color v] effect by (15)\nhide\nクローン [1]\nwait (0.05) seconds\nクローン [2]\nwait (0.05) seconds\nクローン [3]\nwait (0.05) seconds\nクローン [4]\nwait (0.15) seconds\nクローン [5]\nwait (0.05) seconds\nクローン [6]\nwait (0.05) seconds\nクローン [7]\nwait (0.05) seconds\nクローン [8]\nchange [ステージ数 v] by (1)\n\nwhen I receive [つぎのすてーじ v]\nwait (2.5) seconds\nset [あ v] to [1]\n\n@ステージ(赤)\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ数)\nend\n\n@針など\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    switch costume to (ステージ数)\nend\n\n@スプライト1\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n