-Warriors Platformer-

Instructions:                    \n     ~ⓌⓐⓡⓡⓘⓞⓡⓢⓅⓛⓐⓣⓕⓞⓡⓜⓔⓡ~\nWelcome to a  platformer inspired by the Warriors book series by Erin Hunter about cats! Be sure to Like+Favorite+Follow @__Ivypool__ \nⓁⓔⓥⓔⓛⓢ:\n1-Four trees\n2-ThunderClan \n3-ThunderClan Camp\n4-Sunning Rocks\n5-RiverClan\n6-RiverClan Camp\n7-WindClan\n8-WindClan Camp\n9-ShadowClan\n10-ShadowClan Camp\n11-Back to Four trees!\n~~~~~\nOther Stuff:\n~Space changes cat pelt color\n~Get the mouse to go to next level\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\n\n@next level\n\nwhen flag clicked\nshow\nforever\n    if <touching (cat v)?> then\n        broadcast (Next Level v)\n        wait (0.1) seconds\n        next backdrop\n    end\nend\n\nwhen flag clicked\nforever\n    if <(next) = [10]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [And He Runs v] until done\n    play sound [Walk without the stars- Blixemi v] until done\n    play sound [Stride by Stride- Blixemi v] until done\n    play sound [One not two- Blixemi v] until done\nend\n\n@Words\n\nwhen flag clicked\nhide\nset size to (100) %\ngo to x: (0) y: (0)\n\nwhen flag clicked\nforever\n    if <(next) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\n@favorite\n\nwhen flag clicked\nhide\nset size to (200) %\ngo to x: (-50) y: (0)\n\nwhen flag clicked\nforever\n    if <(next) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\n@Ground\n\nwhen flag clicked\nshow\nswitch costume to (1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@follow\n\nwhen flag clicked\nhide\nset size to (200) %\ngo to x: (41) y: (0)\n\nwhen flag clicked\nforever\n    if <(next) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\n@Cat\n\nwhen flag clicked\nset [next v] to [0]\nset [ghost v] effect to (0)\nshow\ngo to x: (-179) y: (-112)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [x v] by (0.6)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-0.6)\n    end\n    change x by (x)\n    set [x v] to ((x) * (0.9))\n    if <touching (ground v)?> then\n        change y by (0.5)\n        if <touching (ground v)?> then\n            change y by (0.5)\n            if <touching (ground v)?> then\n                change y by (0.5)\n                if <touching (ground v)?> then\n                    change y by (0.5)\n                    if <touching (ground v)?> then\n                        change y by (0.5)\n                        if <touching (ground v)?> then\n                            change y by (0.5)\n                            if <touching (ground v)?> then\n                                change y by (0.5)\n                                if <touching (ground v)?> then\n                                    change y by (0.5)\n                                    if <key (up arrow v) pressed?> then\n                                        if <[0] < (x)> then\n                                            set [x v] to [-7]\n                                        else\n                                            set [x v] to [7]\n                                        end\n                                        set [y v] to [10]\n                                    else\n                                        set [x v] to ((x) * (-1.3))\n                                        change x by (x)\n                                        set [x v] to [0]\n                                        change x by ((x) / (5))\n                                    end\n                                    change y by (-4)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-0.5)\n    change y by (y)\n    if <touching (ground v)?> then\n        set [y v] to ((y) * (-0.25))\n        change y by (y)\n        if <touching (ground v)?> then\n            change y by (y)\n            if <touching (ground v)?> then\n                change y by (y)\n                if <touching (ground v)?> then\n                    change y by (y)\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <touching (ground v)?>> then\n        set [y v] to [10]\n    end\n    change y by (1)\n    if <touching (spikes v)?> then\n        set [x v] to [0]\n        set [y v] to [0]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-179) y: (-108)\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [next level v]\nchange [next v] by (1)\nset [x v] to [0]\nset [y v] to [0]\nwait (0.01) seconds\ngo to x: (-179) y: (-108)\n\nwhen flag clicked\nforever\n    play sound [City Lights v] until done\nend\n\nwhen flag clicked\nswitch costume to (grey cat v)\n\nwhen [space v] key pressed\nnext costume\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nshow\n\n@Spikes\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nshow\nswitch costume to (1 v)\n\n@Background 1\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nset [veolcity v] to [0]\nwait (2) seconds\nforever\n    repeat until <(veolcity) = [10]>\n        wait (0.1) seconds\n        change [veolcity v] by (1)\n    end\n    repeat until <(veolcity) = [-10]>\n        wait (0.1) seconds\n        change [veolcity v] by (-1)\n    end\nend\n\nwhen flag clicked\nforever\n    turn right ((veolcity) * (3)) degrees\nend\n\nwhen flag clicked\npoint in direction (90)\nswitch costume to (costume2 v)\nset size to (100) %\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nrepeat (10)\n    wait (0.1) seconds\n    change [ghost v] effect by (-5)\nend\nwait (5.7) seconds\npoint in direction (80)\nset [data v] to [70]\nset [doat v] to (pick random (70) to (110))\nset [daro v] to (pick random (-1) to (1))\nrepeat (17)\n    set [brightness v] effect to (data)\n    set [data v] to ((data) * (0.7))\n    set size to ((90) + (data)) %\n    point in direction ((doat) + (((data) / (4)) * (daro)))\nend\nwait (0.4) seconds\npoint in direction (80)\nset [data v] to [70]\nset [doat v] to (pick random (70) to (110))\nset [daro v] to (pick random (-1) to (1))\nrepeat (17)\n    set [brightness v] effect to (data)\n    set [data v] to ((data) * (0.7))\n    set size to ((90) + (data)) %\n    point in direction ((doat) + (((data) / (4)) * (daro)))\nend\nwait (0.6) seconds\npoint in direction (80)\nset [data v] to [70]\nset [doat v] to (pick random (70) to (110))\nset [daro v] to (pick random (-1) to (1))\nrepeat (17)\n    set [brightness v] effect to (data)\n    set [data v] to ((data) * (0.7))\n    set size to ((90) + (data)) %\n    point in direction ((doat) + (((data) / (4)) * (daro)))\nend\nwait (0.7) seconds\npoint in direction (80)\nset [data v] to [70]\nset [doat v] to (pick random (70) to (110))\nset [daro v] to (pick random (-1) to (1))\nrepeat (17)\n    set [brightness v] effect to (data)\n    set [data v] to ((data) * (0.7))\n    set size to ((90) + (data)) %\n    point in direction ((doat) + (((data) / (4)) * (daro)))\nend\nwait (0.4) seconds\npoint in direction (80)\nset [data v] to [70]\nset [doat v] to (pick random (70) to (110))\nset [daro v] to (pick random (-1) to (1))\nrepeat (17)\n    set [brightness v] effect to (data)\n    set [data v] to ((data) * (0.7))\n    set size to ((90) + (data)) %\n    point in direction ((doat) + (((data) / (4)) * (daro)))\nend\n\nwhen I receive [end v]\nwait (2) seconds\nhide\n\ngo [backward v] (1) layers\n\n@In/Fade2\n\nwhen I receive [end v]\nwait (2) seconds\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\nglide (0.8) secs to x: (-300) y: (300)\n\nwhen I receive [end v]\nshow\nforever\n    glide (0.8) secs to x: (0) y: (0)\nend\n\nwhen flag clicked\nshow\n\n@In/Fade\n\nwhen I receive [end v]\nwait (2) seconds\nhide\n\nwhen I receive [end v]\nshow\nforever\n    glide (0.8) secs to x: (0) y: (0)\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nglide (0.8) secs to x: (300) y: (-300)\n\nwhen flag clicked\nshow\n\n@Logo/Name\n\nwhen flag clicked\npoint in direction (90)\nset size to (100) %\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nrepeat (10)\n    wait (0.1) seconds\n    change [ghost v] effect by (-10)\nend\nwait (5.7) seconds\npoint in direction (80)\nset [data v] to [70]\nset [doat v] to (pick random (70) to (110))\nset [daro v] to (pick random (-1) to (1))\nrepeat (17)\n    set [brightness v] effect to (data)\n    set [data v] to ((data) * (0.7))\n    set size to ((90) + (data)) %\n    point in direction ((doat) + (((data) / (4)) * (daro)))\nend\nwait (0.4) seconds\npoint in direction (80)\nset [data v] to [70]\nset [doat v] to (pick random (70) to (110))\nset [daro v] to (pick random (-1) to (1))\nrepeat (17)\n    set [brightness v] effect to (data)\n    set [data v] to ((data) * (0.7))\n    set size to ((90) + (data)) %\n    point in direction ((doat) + (((data) / (4)) * (daro)))\nend\nwait (0.6) seconds\npoint in direction (80)\nset [data v] to [70]\nset [doat v] to (pick random (70) to (110))\nset [daro v] to (pick random (-1) to (1))\nrepeat (17)\n    set [brightness v] effect to (data)\n    set [data v] to ((data) * (0.7))\n    set size to ((90) + (data)) %\n    point in direction ((doat) + (((data) / (4)) * (daro)))\nend\nwait (0.7) seconds\npoint in direction (80)\nset [data v] to [70]\nset [doat v] to (pick random (70) to (110))\nset [daro v] to (pick random (-1) to (1))\nrepeat (17)\n    set [brightness v] effect to (data)\n    set [data v] to ((data) * (0.7))\n    set size to ((90) + (data)) %\n    point in direction ((doat) + (((data) / (4)) * (daro)))\nend\nwait (0.4) seconds\npoint in direction (80)\nset [data v] to [70]\nset [doat v] to (pick random (70) to (110))\nset [daro v] to (pick random (-1) to (1))\nrepeat (17)\n    set [brightness v] effect to (data)\n    set [data v] to ((data) * (0.7))\n    set size to ((90) + (data)) %\n    point in direction ((doat) + (((data) / (4)) * (daro)))\nend\n\nwhen flag clicked\nwait (2) seconds\nforever\n    point in direction ((([sin v] of ((timer) * (160)) ) * (16)) + (90))\nend\n\nwhen I receive [end v]\nset [ghost v] effect to (0)\nrepeat (25)\n    change [ghost v] effect by (4)\nend\n\nwhen I receive [end v]\nwait (2) seconds\nhide\n\nwhen flag clicked\nshow\n\n@Music\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nstart sound [Taylor Swift - ME! \(feat4 v]\nwait (13) seconds\nbroadcast (end v)\n\nwhen I receive [end v]\nhide\n\ngo [forward v] (1) layers\n\n