2 Player Platformer

Instructions: 10 Follower special is out!!

@Stage\n\nwhen flag clicked\nswitch backdrop to (level 1 v)\n\nwhen I receive [next level v]\nnext backdrop\n\n@Player 1\n\nwhen [space v] key pressed\nask [Do you want to switch player 1's color? Yes/No] and wait\nif <(answer) = [yes]> then\n    ask [What color?   Red/Orange/Yellow/Green/Blue/Purple] and wait\n    if <(answer) = [Red]> then\n        switch costume to (red v)\n    end\n    if <(answer) = [Orange]> then\n        switch costume to (orange v)\n    end\n    if <(answer) = [Yellow]> then\n        switch costume to (yellow v)\n    end\n    if <(answer) = [Green]> then\n        switch costume to (green v)\n    end\n    if <(answer) = [Blue]> then\n        switch costume to (blue v)\n    end\n    if <(answer) = [Purple]> then\n        switch costume to (purple v)\n    end\nend\n\nwhen flag clicked\nset size to (100) %\nshow\nswitch costume to (blue v)\ngo to x: (-190) y: (-90)\nset [y v] to [0]\nset [x v] to [0]\nset rotation style [left-right v]\nforever\n    change [y v] by (-0.5)\n    if <key (right arrow v) pressed?> then\n        change [x v] by (0.7)\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-0.7)\n        point in direction (-90)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((x) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                            if <key (up arrow v) pressed?> then\n                                if <(x) > [0]> then\n                                    set [x v] to [-8]\n                                else\n                                    set [x v] to [8]\n                                end\n                                set [y v] to [10]\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 (#000000)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <key (up arrow v) pressed?> then\n            if <not <(costume [number v]) = [7]>> then\n                set [y v] to [10]\n            else\n                set [y v] to [15]\n            end\n        end\n    end\n    change y by (1)\n    if <touching (goal v)?> then\n        broadcast (Next level v)\n    end\n    if <touching color (#ff9400)?> then\n        set [y v] to [20]\n    end\n    if <touching color (#ffff00)?> then\n        change size by (-1)\n    end\n    if <touching color (#00ff55)?> then\n        change size by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-190) y: (-90)\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-190) y: (-90)\nset size to (100) %\n\nwhen [r v] key pressed\ngo to x: (-190) y: (-90)\n\n@Player 2\n\nwhen [q v] key pressed\nask [Do you want to switch player 2's color? Yes/No] and wait\nif <(answer) = [yes]> then\n    ask [What color?   Red/Orange/Yellow/Green/Blue/Purple] and wait\n    if <(answer) = [Red]> then\n        switch costume to (red v)\n    end\n    if <(answer) = [Orange]> then\n        switch costume to (orange v)\n    end\n    if <(answer) = [Yellow]> then\n        switch costume to (yellow v)\n    end\n    if <(answer) = [Green]> then\n        switch costume to (green v)\n    end\n    if <(answer) = [Blue]> then\n        switch costume to (blue v)\n    end\n    if <(answer) = [Purple]> then\n        switch costume to (purple v)\n    end\nend\n\nwhen flag clicked\nset size to (100) %\nshow\nswitch costume to (green v)\ngo to x: (-220) y: (-90)\nset [y v] to [0]\nset [x v] to [0]\nset rotation style [left-right v]\nforever\n    change [y v] by (-0.5)\n    if <key (d v) pressed?> then\n        change [x v] by (0.7)\n        point in direction (90)\n    end\n    if <key (a v) pressed?> then\n        change [x v] by (-0.7)\n        point in direction (-90)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((x) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                            if <key (w v) pressed?> then\n                                if <(x) > [0]> then\n                                    set [x v] to [-8]\n                                else\n                                    set [x v] to [8]\n                                end\n                                set [y v] to [10]\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 (#000000)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <key (w v) pressed?> then\n            set [y v] to [10]\n        end\n    end\n    change y by (1)\n    if <touching (goal v)?> then\n        broadcast (next level v)\n    end\n    if <touching color (#ff9400)?> then\n        set [y v] to [20]\n    end\n    if <touching color (#ffff00)?> then\n        change size by (-1)\n    end\n    if <touching color (#00ff55)?> then\n        change size by (1)\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-220) y: (-90)\nset size to (100) %\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-220) y: (-90)\n    end\nend\n\nwhen [r v] key pressed\ngo to x: (-220) y: (-90)\n\n@Goal\n\nwhen backdrop switches to [level 1 v]\ngo to x: (215) y: (-140)\n\nwhen backdrop switches to [level 4 v]\ngo to x: (215) y: (-140)\n\nwhen backdrop switches to [level 3 v]\ngo to x: (-215) y: (110)\n\nwhen backdrop switches to [level 2 v]\ngo to x: (215) y: (-140)\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [level 10 v]\ngo to x: (180) y: (165)\n\nwhen backdrop switches to [level 9 v]\ngo to x: (180) y: (100)\n\nwhen backdrop switches to [level 5 v]\ngo to x: (-50) y: (0)\npoint in direction (180)\n\nwhen backdrop switches to [level 6 v]\npoint in direction (90)\ngo to x: (215) y: (-140)\n\nwhen backdrop switches to [level 7 v]\ngo to x: (215) y: (-140)\n\nwhen backdrop switches to [finish! v]\nhide\n\n@thumbnail\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\nshow\ngo to x: (0) y: (0)\n\n