Thread: [Guide] Scripting in Essentials 101
View Single Post
  #4    
Old December 11th, 2012 (12:37 AM).
Luka S.J.'s Avatar
Luka S.J. Luka S.J. is offline
@LukaSJ0
 
Join Date: Dec 2008
Location: Croatia
Age: 22
Gender: Male
Nature: Adamant
Posts: 892
Quote originally posted by venom12:
You should use $Trainer.party.length>0 instead of if $Trainer.party.length>=1, because it checks if you have first pokemon not the second
That is pretty much the same thing. The first method checks if the length is 1 or above. The second method checks if length is 1 or above.
__________________
Reply With Quote