Examples of Asleep


Examples of pokemon.status.Asleep

  {
    int ailment = 1 + (int)(Math.random() * ((5 - 1) + 1));
   
    if (ailment == 1 && !pokemon.isVolatile())
    {
      pokemon = new Asleep(pokemon);
    }
   
    if (pokemon.getHealth() <= damage)
    {
      pokemon.setHealth(0);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.