Skip to content

Commit

Permalink
Added gender-dependent evolutions
Browse files Browse the repository at this point in the history
Mothim, here we come!
  • Loading branch information
varkor committed Apr 22, 2016
1 parent 0dc6b84 commit f0480c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions battle/scripts/objects/general/pokemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,8 @@ function pokemon (data, validate) {
return self.friendship < (requirement !== null ? requirement : 220);
case "item":
return self.item !== requirement;
case "gender":
return self.gender !== requirement;
}
})) {
evolution = evo;
Expand Down

0 comments on commit f0480c1

Please sign in to comment.