Scripting in Essentials 101
View Single Post
December 11th, 2012 (10:47 AM).
Join Date: Dec 2008
Quote originally posted by
And I think venom12 meant that since
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.
View original post
greater than or equal to
. By that logic, if we do
the minimum number will be the same,
. And since when you have a Pokemon in your party, the lowest number your party can have is
. There is a difference between
of arrays, one being that the first index in an array is always
, and that the minimum positive (non nil) length of an array is
View Public Profile
Send a private message to Luka S.J.
Visit Luka S.J.'s homepage!
Find all posts by Luka S.J.
Find threads started by Luka S.J.
Ignore Posts by Luka S.J.