Merge pull request #2151 from ghoulslash/pret/repeatparticlefix
Fix Repeat Ball Particle Animation Sprite Count
This commit is contained in:
@@ -1864,7 +1864,7 @@ static void RepeatBallOpenParticleAnimation(u8 taskId)
|
|||||||
priority = gTasks[taskId].data[3];
|
priority = gTasks[taskId].data[3];
|
||||||
subpriority = gTasks[taskId].data[4];
|
subpriority = gTasks[taskId].data[4];
|
||||||
|
|
||||||
for (i = 0; i < POKEBALL_COUNT; i++)
|
for (i = 0; i < 12; i++)
|
||||||
{
|
{
|
||||||
spriteId = CreateSprite(&sBallParticleSpriteTemplates[ballId], x, y, subpriority);
|
spriteId = CreateSprite(&sBallParticleSpriteTemplates[ballId], x, y, subpriority);
|
||||||
if (spriteId != MAX_SPRITES)
|
if (spriteId != MAX_SPRITES)
|
||||||
|
|||||||
Reference in New Issue
Block a user