Merge pull request #538 from AsparagusEduardo/PE-IsUltraBeast

Created macro used to detect Ultra Beasts.
This commit is contained in:
ultima-soul 2020-11-02 09:53:28 -08:00 committed by GitHub
commit 104b48986c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -812,6 +812,8 @@
#define SPECIES_MELTAN 808
#define SPECIES_MELMETAL 809
#define IS_ULTRA_BEAST(speciesId)((speciesId >= SPECIES_NIHILEGO && speciesId <= SPECIES_GUZZLORD) || (speciesId >= SPECIES_POIPOLE && speciesId <= SPECIES_BLACEPHALON))
// Megas
#define SPECIES_MEGA_AMPHAROS 810
#define SPECIES_MEGA_VENUSAUR 811