Change HasTwoFramesAnimation to take into account species with 1 frame (#6655)
Co-authored-by: Hedara <hedara90@gmail.com> Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
This commit is contained in:
parent
db7e45f1d6
commit
7d4de15d9d
@ -6334,7 +6334,10 @@ void HandleSetPokedexFlag(u16 nationalNum, u8 caseId, u32 personality)
|
||||
|
||||
bool8 HasTwoFramesAnimation(u16 species)
|
||||
{
|
||||
return P_TWO_FRAME_FRONT_SPRITES && species != SPECIES_UNOWN && !gTestRunnerHeadless;
|
||||
return P_TWO_FRAME_FRONT_SPRITES
|
||||
&& gSpeciesInfo[species].frontAnimFrames != sAnims_SingleFramePlaceHolder
|
||||
&& species != SPECIES_UNOWN
|
||||
&& !gTestRunnerHeadless;
|
||||
}
|
||||
|
||||
static bool8 ShouldSkipFriendshipChange(void)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user