Skip to content

Instantly share code, notes, and snippets.

Created April 29, 2011 06:00
Show Gist options
  • Save anonymous/947916 to your computer and use it in GitHub Desktop.
Save anonymous/947916 to your computer and use it in GitHub Desktop.
No need for teambuilder!
,
checkteam: function () {
sys.sendMessage(src, "");
for (var i = 0; i < 6; i+=1) {sys.sendMessage(src, sys.gender(sys.teamPokeGender(src, i)) + " " + sys.ability(sys.teamPokeAbility(src, i)) + " " + sys.nature(sys.teamPokeNature(src, i)) + " " + sys.pokemon(sys.teamPoke(src, i)) + " @ " + sys.item(sys.teamPokeItem(src, i)));
for (var j = 0; j < 4; j++) {sys.sendMessage(src, '- ' + sys.move(sys.teamPokeMove(src, i, j)));}}
sys.sendMessage(src, "");
return;
}
,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment