Warrior Cat Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop4 v)\nforever\n    play sound [Warriors song v] until done\nend\n\nwhen I receive [play game v]\nswitch backdrop to (backdrop3 v)\n\nwhen I receive [next level v]\nnext backdrop\nif <(backdrop [number v]) = [17]> then\n    broadcast (came back v)\nend\n\nwhen I receive [end end end v]\nswitch backdrop to (backdrop18 v)\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [start v]\nsay [Hi! My name is Blackspots, ThunderClan's deputy, and your mentor. I'll be guide you around ThunderClan today.] for (4) seconds\nask [What's the prefix of your name? ] and wait\nset [prefixx v] to (answer)\nset [name cat v] to (join (Prefixx) [paw])\nsay [What do you look like?] for (2) seconds\nbroadcast (what do you look like v)\nswitch backdrop to (backdrop2 v)\nhide\n\n@Sprite2\n\nwhen I receive [what do you look like v]\nset size to (150) %\nshow\ngo to x: (0) y: (0)\nforever\n    if <<key (space v) pressed?> and <(backdrop [name v]) = [backdrop2]>> then\n        next costume\n        wait (0.2) seconds\n    end\nend\n\nwhen I receive [play game v]\nhide\nset size to (75) %\nwait (1.5) seconds\ngo to x: (-196) y: (-17)\nshow\nset [x v] to [0]\nset [y v] to [0]\nrepeat until <(backdrop [name v]) = [backdrop17]>\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n            if <([abs v] of (x) ) = (x)> 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    change y by (y)\n    if <touching color (#000008)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <touching color (#000008)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<touching color (#69c7ff)?> or <touching color (#393a36)?>> then\n        go to x: (-196) y: (13)\n    end\n    if <<(x position) = [240]> or <(x position) > [240]>> then\n        broadcast (next level v)\n    end\n    if <touching color (#ffff00)?> then\n        set [y v] to [20]\n    end\n    if <touching color (#ccd8ff)?> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [10]\n        else\n            set [y v] to [-1]\n        end\n        if <key (down arrow v) pressed?> then\n            set [y v] to [-5]\n        end\n    end\nend\ngo to x: (-166) y: (-85)\n\nwhen I receive [next level v]\ngo to x: (-196) y: (13)\n\nwhen I receive [i do v]\nsay [I do.] for (2) seconds\nbroadcast (then v)\n\nwhen I receive [end end end v]\nhide\n\nwhen flag clicked\nset size to (75) %\nhide\n\n@Sprite3\n\nwhen flag clicked\nset size to (100) %\ngo to [front v] layer\nshow\ngo to x: (-102) y: (-92)\nrepeat until <(backdrop [name v]) = [backdrop2]>\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\n    if <<touching (mouse-pointer v)?> and <<mouse down?> and <(costume [number v]) = [2]>>> then\n        broadcast (start v)\n        hide\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nhide\nwait until <(backdrop [name v]) = [backdrop2]>\nshow\nset size to (50) %\ngo to x: (179) y: (-126)\nrepeat until <(backdrop [name v]) = [backdrop1]>\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume4 v)\n    else\n        switch costume to (costume3 v)\n    end\n    if <<touching (mouse-pointer v)?> and <<mouse down?> and <(costume [number v]) = [2]>>> then\n        broadcast (play game v)\n        hide\n    end\nend\n\n@Sprite6\n\nwhen flag clicked\nset [name cat v] to [0]\nset size to (80) %\nhide\nadd [claw] to [names sufix v]\nadd [fur] to [names sufix v]\nadd [pelt] to [names sufix v]\nadd [shine] to [names sufix v]\nadd [heart] to [names sufix v]\nadd [feather] to [names sufix v]\nadd [leaf] to [names sufix v]\nadd [flight] to [names sufix v]\nadd [stripe] to [names sufix v]\nadd [tail] to [names sufix v]\nadd [wind] to [names sufix v]\nadd [stream] to [names sufix v]\nadd [storm] to [names sufix v]\nadd [flower] to [names sufix v]\nadd [song] to [names sufix v]\nadd [fang] to [names sufix v]\n\nwhen I receive [then v]\nsay [By the powers of StarClan, I give you your warrior name.] for (3) seconds\nsay (join (Name cat) [, from now on you will be known as...]) for (2) seconds\nsay (join (Prefixx) (item (random) of [names sufix v])) for (2) seconds\nsay [I am proud to have you as my warrior.] for (3) seconds\nbroadcast (end end end v)\nhide\n\nwhen I receive [came back v]\nshow\npoint in direction (-90)\ngo to x: (152) y: (-81)\nsay (join [Hello ] (join (Name cat) [! I see. You came back from patrol.])) for (3) seconds\nthink [Hmm...] for (2) seconds\nsay [Let all cats old enough to catch their own prey gather around for a clan meeting.] for (3) seconds\nsay [I,  Twilightstar, leader of ThunderClan, call upon my warrior ancestors to look down on this apprentice.] for (3) seconds\nsay [] for (2) seconds\nsay [and I commend him/her to you as a warrior in his/her turn.] for (2) seconds\nsay (join (Name cat) [, do you promise to uphold the warrior code and protect and defend this Clan, even at the cost of your life?]) for (4) seconds\nbroadcast (i do v)\n\n
Warriors Platformer!\nUse the arrow keys.\nEnjoy!