mirror of https://github.com/pret/pokeemerald.git
extern gAncientPowerRockSpriteTemplate fix
This commit is contained in:
parent
697d2b7f30
commit
9ab4f5d26a
|
@ -110,7 +110,7 @@ static void MainCB2_EndIntro(void);
|
|||
|
||||
extern const struct CompressedSpriteSheet gBattleAnimPicTable[];
|
||||
extern const struct CompressedSpritePalette gBattleAnimPaletteTable[];
|
||||
extern const struct SpriteTemplate gAncientPowerRockSpriteTemplate[];
|
||||
extern const struct SpriteTemplate gAncientPowerRockSpriteTemplate;
|
||||
|
||||
enum {
|
||||
COPYRIGHT_INITIALIZE,
|
||||
|
@ -1993,7 +1993,7 @@ static void CreateGroudonRockSprites(u8 taskId)
|
|||
|
||||
for (i = 0; i < (int)ARRAY_COUNT(sGroudonRockData); i++)
|
||||
{
|
||||
spriteId = CreateSprite(gAncientPowerRockSpriteTemplate, sGroudonRockData[i][0], DISPLAY_HEIGHT, i);
|
||||
spriteId = CreateSprite(&gAncientPowerRockSpriteTemplate, sGroudonRockData[i][0], DISPLAY_HEIGHT, i);
|
||||
gSprites[spriteId].callback = SpriteCB_GroudonRocks;
|
||||
gSprites[spriteId].oam.priority = 0;
|
||||
gSprites[spriteId].sRockId = i;
|
||||
|
|
Loading…
Reference in New Issue