mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-13 15:13:42 +01:00
Make data easier to edit
This commit is contained in:
parent
d8b952f94c
commit
a83fc52a7e
@ -449,6 +449,7 @@
|
||||
|
||||
// National Dex Index Defines
|
||||
|
||||
#define NATIONAL_DEX_NONE 0
|
||||
#define NATIONAL_DEX_BULBASAUR 1
|
||||
#define NATIONAL_DEX_IVYSAUR 2
|
||||
#define NATIONAL_DEX_VENUSAUR 3
|
||||
@ -865,6 +866,7 @@
|
||||
|
||||
// Hoenn Dex Index Defines
|
||||
|
||||
#define HOENN_DEX_NONE 0
|
||||
#define HOENN_DEX_BULBASAUR 203
|
||||
#define HOENN_DEX_IVYSAUR 204
|
||||
#define HOENN_DEX_VENUSAUR 205
|
||||
|
@ -11,15 +11,15 @@ void AnimTask_ShakeMon2Step(u8 taskId);
|
||||
void AnimTask_ShakeMonInPlaceStep(u8 taskId);
|
||||
void AnimTask_ShakeAndSinkMonStep(u8 taskId);
|
||||
void sub_80D57B8(u8 taskId);
|
||||
void DoHorizontalLunge(struct Sprite *sprite);
|
||||
void ReverseHorizontalLungeDirection(struct Sprite *sprite);
|
||||
void DoVerticalDip(struct Sprite *sprite);
|
||||
void ReverseVerticalDipDirection(struct Sprite* sprite);
|
||||
void SlideMonToOriginalPos(struct Sprite *sprite);
|
||||
void SlideMonToOriginalPosStep(struct Sprite *sprite);
|
||||
void SlideMonToOffset(struct Sprite *sprite);
|
||||
void sub_80D5B48(struct Sprite *sprite);
|
||||
void sub_80D5C20(struct Sprite *sprite);
|
||||
static void DoHorizontalLunge(struct Sprite *sprite);
|
||||
static void ReverseHorizontalLungeDirection(struct Sprite *sprite);
|
||||
static void DoVerticalDip(struct Sprite *sprite);
|
||||
static void ReverseVerticalDipDirection(struct Sprite* sprite);
|
||||
static void SlideMonToOriginalPos(struct Sprite *sprite);
|
||||
static void SlideMonToOriginalPosStep(struct Sprite *sprite);
|
||||
static void SlideMonToOffset(struct Sprite *sprite);
|
||||
static void sub_80D5B48(struct Sprite *sprite);
|
||||
static void sub_80D5C20(struct Sprite *sprite);
|
||||
void AnimTask_WindUpLungePart1(u8 taskId);
|
||||
void AnimTask_WindUpLungePart2(u8 taskId);
|
||||
void AnimTask_SwayMonStep(u8 taskId);
|
||||
@ -428,7 +428,7 @@ void AnimTask_TranslateMonEllipticalRespectSide(u8 taskId)
|
||||
// horizontally, and then moves back in the opposite direction.
|
||||
// arg 0: duration of single lunge direction
|
||||
// arg 1: x pixel delta that is applied each frame
|
||||
void DoHorizontalLunge(struct Sprite *sprite)
|
||||
static void DoHorizontalLunge(struct Sprite *sprite)
|
||||
{
|
||||
sprite->invisible = TRUE;
|
||||
if (GetBattlerSide(gBattleAnimAttacker) != B_SIDE_PLAYER)
|
||||
@ -444,7 +444,7 @@ void DoHorizontalLunge(struct Sprite *sprite)
|
||||
sprite->callback = sub_80A6630;
|
||||
}
|
||||
|
||||
void ReverseHorizontalLungeDirection(struct Sprite *sprite)
|
||||
static void ReverseHorizontalLungeDirection(struct Sprite *sprite)
|
||||
{
|
||||
sprite->data[0] = sprite->data[4];
|
||||
sprite->data[1] = -sprite->data[1];
|
||||
@ -457,7 +457,7 @@ void ReverseHorizontalLungeDirection(struct Sprite *sprite)
|
||||
// arg 0: duration of single dip direction
|
||||
// arg 1: y pixel delta that is applied each frame
|
||||
// arg 2: battler
|
||||
void DoVerticalDip(struct Sprite *sprite)
|
||||
static void DoVerticalDip(struct Sprite *sprite)
|
||||
{
|
||||
u8 spriteId;
|
||||
sprite->invisible = TRUE;
|
||||
@ -471,7 +471,7 @@ void DoVerticalDip(struct Sprite *sprite)
|
||||
sprite->callback = sub_80A6630;
|
||||
}
|
||||
|
||||
void ReverseVerticalDipDirection(struct Sprite *sprite)
|
||||
static void ReverseVerticalDipDirection(struct Sprite *sprite)
|
||||
{
|
||||
sprite->data[0] = sprite->data[4];
|
||||
sprite->data[2] = -sprite->data[2];
|
||||
@ -484,7 +484,7 @@ void ReverseVerticalDipDirection(struct Sprite *sprite)
|
||||
// arg 0: 1 = target or 0 = attacker
|
||||
// arg 1: direction (0 = horizontal and vertical, 1 = horizontal only, 2 = vertical only)
|
||||
// arg 2: duration
|
||||
void SlideMonToOriginalPos(struct Sprite *sprite)
|
||||
static void SlideMonToOriginalPos(struct Sprite *sprite)
|
||||
{
|
||||
u32 monSpriteId;
|
||||
if (!gBattleAnimArgs[0])
|
||||
@ -514,7 +514,7 @@ void SlideMonToOriginalPos(struct Sprite *sprite)
|
||||
sprite->callback = SlideMonToOriginalPosStep;
|
||||
}
|
||||
|
||||
void SlideMonToOriginalPosStep(struct Sprite *sprite)
|
||||
static void SlideMonToOriginalPosStep(struct Sprite *sprite)
|
||||
{
|
||||
s8 monSpriteId;
|
||||
u8 lo;
|
||||
@ -551,7 +551,7 @@ void SlideMonToOriginalPosStep(struct Sprite *sprite)
|
||||
// arg 2: target y pixel offset
|
||||
// arg 3: mirror vertical translation for opposite battle side
|
||||
// arg 4: duration
|
||||
void SlideMonToOffset(struct Sprite *sprite)
|
||||
static void SlideMonToOffset(struct Sprite *sprite)
|
||||
{
|
||||
u8 battler;
|
||||
u8 monSpriteId;
|
||||
@ -584,7 +584,7 @@ void SlideMonToOffset(struct Sprite *sprite)
|
||||
sprite->callback = sub_80A6680;
|
||||
}
|
||||
|
||||
void sub_80D5B48(struct Sprite *sprite)
|
||||
static void sub_80D5B48(struct Sprite *sprite)
|
||||
{
|
||||
u8 spriteId;
|
||||
u8 battlerId;
|
||||
@ -628,7 +628,7 @@ void sub_80D5B48(struct Sprite *sprite)
|
||||
}
|
||||
|
||||
|
||||
void sub_80D5C20(struct Sprite *sprite)
|
||||
static void sub_80D5C20(struct Sprite *sprite)
|
||||
{
|
||||
gSprites[sprite->data[5]].pos2.x = 0;
|
||||
gSprites[sprite->data[5]].pos2.y = 0;
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -832,7 +832,7 @@ static const struct BgTemplate gUnknown_0856E630[] =
|
||||
}
|
||||
};
|
||||
|
||||
static const struct WindowTemplate gUnknown_0856E640[] =
|
||||
static const struct WindowTemplate gUnknown_0856E640[] =
|
||||
{
|
||||
{
|
||||
.bg = 2,
|
||||
@ -895,7 +895,7 @@ static const struct BgTemplate gUnknown_0856E668[] =
|
||||
},
|
||||
};
|
||||
|
||||
static const struct WindowTemplate gUnknown_0856E670[] =
|
||||
static const struct WindowTemplate gUnknown_0856E670[] =
|
||||
{
|
||||
{
|
||||
.bg = 2,
|
||||
@ -1195,7 +1195,7 @@ static const struct BgTemplate gUnknown_0856EFF8[] =
|
||||
}
|
||||
};
|
||||
|
||||
static const struct WindowTemplate gUnknown_0856F008[] =
|
||||
static const struct WindowTemplate gUnknown_0856F008[] =
|
||||
{
|
||||
{
|
||||
.bg = 2,
|
||||
|
2475
src/pokemon.c
2475
src/pokemon.c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user