mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Merge pull request #1468 from ultima-soul/patch-1
Replace Hardcoded Number in MakeCaptureStars
This commit is contained in:
commit
7582a6b12e
@ -1420,7 +1420,7 @@ static void MakeCaptureStars(struct Sprite *sprite)
|
||||
LoadBallParticleGfx(BALL_MASTER);
|
||||
for (i = 0; i < ARRAY_COUNT(sCaptureStars); i++)
|
||||
{
|
||||
u8 spriteId = CreateSprite(&sBallParticleSpriteTemplates[4], sprite->pos1.x, sprite->pos1.y, subpriority);
|
||||
u8 spriteId = CreateSprite(&sBallParticleSpriteTemplates[BALL_MASTER], sprite->pos1.x, sprite->pos1.y, subpriority);
|
||||
if (spriteId != MAX_SPRITES)
|
||||
{
|
||||
gSprites[spriteId].sDuration = 24;
|
||||
|
Loading…
Reference in New Issue
Block a user