Squishmallow Platformer

Instructions: Press the flag.\n\nArrow keys, W, A, D, or mobile controls to move.\n\nThat's about it...\n

@Stage\n\nwhen I receive [message1 v]\nswitch backdrop to (backdrop2 v)\nwait until <([costume # v] of [platform v]) = [9]>\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nset [peeps! v] to [18]\nset [done v] to [0]\nswitch backdrop to (backdrop1 v)\nforever\n    if <(Done) = (Peeps!)> then\n        broadcast (Done v)\n        wait (0.0001) seconds\n        set [done v] to [0]\n    end\nend\n\n@Nothing \n\n@thumbnail\n\nwhen flag clicked\nswitch costume to (real thumb4 v)\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n@Platform\n\nwhen I receive [done v]\nnext costume\n\nwhen flag clicked\nswitch costume to (bed v)\ngo to [front v] layer\nforever\n    if <(costume [number v]) = [8]> then\n        broadcast (message1 v)\n    end\nend\n\n@Bad stuff >:(\n\nwhen I receive [done v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\n@Unicat\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.1)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.1)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (8)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\nend\n\n@Pink Owl\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.13)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.13)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (9)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n@flying unicorn\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.2)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.2)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (10)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\nend\n\n@unicorn\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.23)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.23)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (11)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\nend\n\n@Red-panada\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.25)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.25)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (12)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\nend\n\n@Penguin\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.27)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.27)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (13)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n@dog\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.3)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.3)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (14)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n@lion\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.33)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.33)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (18)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n@Red-Fox \n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.35)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.35)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (17)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n@panada\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.37)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.37)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (16)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n@Bunny\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.4)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.4)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (20)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n@koloa\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.43)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.43)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (19)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n@Chick\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.45)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.45)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (15.5)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n@Mouse\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.47)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.47)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (14.5)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n@Cat\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.5)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.5)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (7)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n@Sheep\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (0.87)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-0.87)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (13.5)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n@Penguin \n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (1.53)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.53)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (16.5)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n@purple unicorn\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (0.93)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-0.93)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (17.5)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n@Gray Owl\n\nwhen flag clicked\nset [on v] to [0]\nhide\nforever\n    if <<([costume # v] of [bad stuff >:\( v]) = [12]> and <not <(On) = [1]>>> then\n        broadcast (Join the game v)\n        stop [this script v]\n    end\n    hide\nend\n\nwhen I receive [join the game v]\nshow\nset [peeps! v] to [19]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-230) y: (111)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x velocity v] by (0.89)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-0.89)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (platform v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (13.75)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        hide\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        change [done v] by (1)\n        wait until <(Done) = (Peeps!)>\n        show\n        go to x: (-230) y: (111)\n    end\n    if <<key (r v) pressed?> or <<(y position) < [-160]> or <touching (bad stuff >:\( v)?>>> then\n        go to x: (-230) y: (111)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n    end\nend\n\n