mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-27 05:43:51 +01:00
Label missing sprite anims
This commit is contained in:
parent
d74017d256
commit
265b49c47b
@ -244,7 +244,7 @@ static const struct OamData sBerryPicRotatingOamData =
|
|||||||
.affineParam = 0
|
.affineParam = 0
|
||||||
};
|
};
|
||||||
|
|
||||||
static const union AnimCmd sSpriteAnim_857FBD8[] =
|
static const union AnimCmd sAnim_BerryPic[] =
|
||||||
{
|
{
|
||||||
ANIMCMD_FRAME(0, 0),
|
ANIMCMD_FRAME(0, 0),
|
||||||
ANIMCMD_END
|
ANIMCMD_END
|
||||||
@ -252,7 +252,7 @@ static const union AnimCmd sSpriteAnim_857FBD8[] =
|
|||||||
|
|
||||||
static const union AnimCmd *const sBerryPicSpriteAnimTable[] =
|
static const union AnimCmd *const sBerryPicSpriteAnimTable[] =
|
||||||
{
|
{
|
||||||
sSpriteAnim_857FBD8
|
sAnim_BerryPic
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct SpriteFrameImage sBerryPicSpriteImageTable[] =
|
static const struct SpriteFrameImage sBerryPicSpriteImageTable[] =
|
||||||
|
@ -264,7 +264,7 @@ static const union AnimCmd *const sSpriteAnimTable_PokeblockCase[] =
|
|||||||
sSpriteAnim_PokeblockCase
|
sSpriteAnim_PokeblockCase
|
||||||
};
|
};
|
||||||
|
|
||||||
static const union AffineAnimCmd sSpriteAffineAnim_85B26C8[] =
|
static const union AffineAnimCmd sAffineAnim_PokeblockCaseShake[] =
|
||||||
{
|
{
|
||||||
AFFINEANIMCMD_FRAME(0, 0, -2, 2),
|
AFFINEANIMCMD_FRAME(0, 0, -2, 2),
|
||||||
AFFINEANIMCMD_FRAME(0, 0, 2, 4),
|
AFFINEANIMCMD_FRAME(0, 0, 2, 4),
|
||||||
@ -273,9 +273,9 @@ static const union AffineAnimCmd sSpriteAffineAnim_85B26C8[] =
|
|||||||
AFFINEANIMCMD_END
|
AFFINEANIMCMD_END
|
||||||
};
|
};
|
||||||
|
|
||||||
static const union AffineAnimCmd *const sSpriteAffineAnimTable_85B26F0[] =
|
static const union AffineAnimCmd *const sAffineAnims_PokeblockCaseShake[] =
|
||||||
{
|
{
|
||||||
sSpriteAffineAnim_85B26C8
|
sAffineAnim_PokeblockCaseShake
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct CompressedSpriteSheet gPokeblockCase_SpriteSheet =
|
const struct CompressedSpriteSheet gPokeblockCase_SpriteSheet =
|
||||||
@ -955,7 +955,7 @@ static void SpriteCB_ShakePokeblockCase(struct Sprite *sprite)
|
|||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
sprite->oam.affineMode = ST_OAM_AFFINE_NORMAL;
|
sprite->oam.affineMode = ST_OAM_AFFINE_NORMAL;
|
||||||
sprite->affineAnims = sSpriteAffineAnimTable_85B26F0;
|
sprite->affineAnims = sAffineAnims_PokeblockCaseShake;
|
||||||
InitSpriteAffineAnim(sprite);
|
InitSpriteAffineAnim(sprite);
|
||||||
sprite->sState = 1;
|
sprite->sState = 1;
|
||||||
sprite->sTimer = 0;
|
sprite->sTimer = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user