mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
Add front pic anims with help from marijnvdwerf
This commit is contained in:
parent
d5e7ddddb7
commit
ae06c13e99
@ -2541,7 +2541,7 @@ _0805E662:
|
||||
ldr r1, =gSprites
|
||||
adds r1, 0x8
|
||||
adds r0, r1
|
||||
ldr r1, =gUnknown_08309AAC
|
||||
ldr r1, =gMonAnimationsSpriteAnimsPtrTable
|
||||
mov r3, r8
|
||||
lsls r2, r3, 2
|
||||
adds r1, r2
|
||||
|
@ -825,7 +825,7 @@ _080A9A50:
|
||||
adds r0, r5, 0
|
||||
adds r0, 0x8
|
||||
adds r1, r0
|
||||
ldr r0, =gUnknown_08309AAC
|
||||
ldr r0, =gMonAnimationsSpriteAnimsPtrTable
|
||||
ldr r2, =0x00000604
|
||||
adds r0, r2
|
||||
ldr r0, [r0]
|
||||
|
1047
data/data2b.s
1047
data/data2b.s
File diff suppressed because it is too large
Load Diff
6915
data/graphics/pokemon/front_anims.inc
Normal file
6915
data/graphics/pokemon/front_anims.inc
Normal file
File diff suppressed because it is too large
Load Diff
@ -17,7 +17,7 @@ extern const struct CompressedSpritePalette gTrainerFrontPicPaletteTable[];
|
||||
extern const union AffineAnimCmd *const gUnknown_082FF618[];
|
||||
extern const union AffineAnimCmd *const gUnknown_082FF694[];
|
||||
extern const union AnimCmd *const gUnknown_082FF70C[];
|
||||
extern const union AnimCmd *const *const gUnknown_08309AAC[NUM_SPECIES];
|
||||
extern const union AnimCmd *const *const gMonAnimationsSpriteAnimsPtrTable[NUM_SPECIES];
|
||||
extern const union AnimCmd *const *const gUnknown_0830536C[];
|
||||
extern const u8 gUnknown_0831F578[];
|
||||
|
||||
@ -282,7 +282,7 @@ u16 sub_818D3E4(u16 species, u32 otId, u32 personality, u8 flags, s16 x, s16 y,
|
||||
images[j].size = 0x800;
|
||||
}
|
||||
gUnknown_0203CCEC.tileTag = 0xFFFF;
|
||||
gUnknown_0203CCEC.anims = gUnknown_08309AAC[species];
|
||||
gUnknown_0203CCEC.anims = gMonAnimationsSpriteAnimsPtrTable[species];
|
||||
gUnknown_0203CCEC.images = images;
|
||||
if (flags2 == 0x01)
|
||||
{
|
||||
|
@ -28,7 +28,7 @@ extern const u32 gBitTable[];
|
||||
extern const struct SpriteTemplate gUnknown_08329D98[];
|
||||
extern const struct SpriteTemplate gUnknown_08329DF8[];
|
||||
extern const union AnimCmd* gUnknown_082FF70C[];
|
||||
extern const union AnimCmd* const * const gUnknown_08309AAC[];
|
||||
extern const union AnimCmd* const * const gMonAnimationsSpriteAnimsPtrTable[];
|
||||
extern const union AnimCmd* const * const gUnknown_08305D0C[];
|
||||
extern const union AnimCmd* const * const gUnknown_0830536C[];
|
||||
extern const u8 gText_BadEgg[];
|
||||
@ -165,9 +165,9 @@ void sub_806A068(u16 species, u8 bankIdentity)
|
||||
if (bankIdentity == 0 || bankIdentity == 2)
|
||||
gUnknown_0202499C.anims = gUnknown_082FF70C;
|
||||
else if (species > 500)
|
||||
gUnknown_0202499C.anims = gUnknown_08309AAC[species - 500];
|
||||
gUnknown_0202499C.anims = gMonAnimationsSpriteAnimsPtrTable[species - 500];
|
||||
else
|
||||
gUnknown_0202499C.anims = gUnknown_08309AAC[species];
|
||||
gUnknown_0202499C.anims = gMonAnimationsSpriteAnimsPtrTable[species];
|
||||
}
|
||||
|
||||
void sub_806A12C(u16 trainerSpriteId, u8 bankIdentity)
|
||||
|
Loading…
Reference in New Issue
Block a user