

o Therefore, you must return a positive number if the current this.id is greater than other's id, a negative number if this.id is less than other's id, and zero if they are equal. When you want to check stats for your Pokemon, just press X to go to Main Menu, choose your desired Pokemon by pressing A, and select Check summary.

Therefore, you must return a positive number if the current this.name is greater than other's name, a negative number if this name is less than other's name, and zero if they are equal. This should first compare pokemon on their names in ascending alphabetical order. Therefore, you must return a positive number if the current this.primary Type is greater than other's primaryType, a negative number if this.primaryType is less than other's primary Type, and zero if they are equal.Pokemon will use their fastest Charged Move to remove an opponent's shields. Pokemon will always shield themselves if possible. Pokemon will use any move available to deal the most possible damage before they faint.

If the primaryTypes are the same, then you must compare by secondaryType Pokemon will use any move available if it would result in a KO. int compareByType(Pokemon other) o This should first compare pokemon on their primary Type in ascending alphabetical order.Compare Pokemon.java This interface will define methods that compare Pokemon based on their type, name, and id This interface also has the following instance methods:
