Thread: [Guide] Scripting in Essentials 101
View Single Post
  #5    
Old December 11th, 2012 (09:32 AM).
Dying Light's Avatar
Dying Light
Pegasus Knight
 
Join Date: Jun 2011
Location: Somewhere cold...
Gender: Male
Nature: Hardy
This a good thread, carmaniac. Maybe this will help some of the newbies and lower the number of question threads.

And I think venom12 meant that since if $Trainer.party.length>=1 checks for Pokémon number 1, in the code 1 basically means 2, and 0 means 1. That would make the code actually search for the second Pokémon in the party, not the first since the first is 0. Although, if they function the way you describe, then there should be no problem.
__________________
None

“Our only limits are the ones we place on ourselves.”
Reply With Quote