Merge pull request #452 from Meowsy/pokemon-adding-easer

Add macros to simplify defining front animations and still pics.
This commit is contained in:
Diegoisawesome
2018-12-18 14:27:01 -06:00
committed by GitHub
9 changed files with 904 additions and 898 deletions

View File

@@ -2122,12 +2122,12 @@ static void sub_8038B94(u8 taskId)
if (species != SPECIES_EGG && hp != 0 && status == 0)
r7 |= 1 << i * 2;
if (species == 0)
if (species == SPECIES_NONE)
continue;
if (hp != 0 && (species == SPECIES_EGG || status != 0))
r7 |= 2 << i * 2;
if (species == 0)
if (species == SPECIES_NONE)
continue;
if (species != SPECIES_EGG && hp == 0)
r7 |= 3 << i * 2;