That's the last time I assume I know what "this" will refer to in JavaScript.

This commit is contained in:
Bill Meltsner 2012-01-07 15:55:42 -06:00
parent 9fe5cc2e3a
commit a479cf87ea

View File

@ -522,7 +522,7 @@ function BattlePokemon(set, side)
{
for (var i=0; i<type.length; i++)
{
if (this.hasType(type[i])) return true;
if (selfP.hasType(type[i])) return true;
}
}
else