mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
58 lines
1.2 KiB
C
58 lines
1.2 KiB
C
#ifndef GUARD_POKEBALL_H
|
|
#define GUARD_POKEBALL_H
|
|
|
|
enum
|
|
{
|
|
BALL_POKE,
|
|
BALL_GREAT,
|
|
BALL_SAFARI,
|
|
BALL_ULTRA,
|
|
BALL_MASTER,
|
|
BALL_NET,
|
|
BALL_DIVE,
|
|
BALL_NEST,
|
|
BALL_REPEAT,
|
|
BALL_TIMER,
|
|
BALL_LUXURY,
|
|
BALL_PREMIER,
|
|
BALL_LEVEL,
|
|
BALL_LURE,
|
|
BALL_MOON,
|
|
BALL_FRIEND,
|
|
BALL_LOVE,
|
|
BALL_HEAVY,
|
|
BALL_FAST,
|
|
BALL_SPORT,
|
|
BALL_DUSK,
|
|
BALL_QUICK,
|
|
BALL_HEAL,
|
|
BALL_CHERISH,
|
|
BALL_PARK,
|
|
BALL_DREAM,
|
|
BALL_BEAST,
|
|
POKEBALL_COUNT
|
|
};
|
|
|
|
enum {
|
|
BALL_AFFINE_ANIM_0,
|
|
BALL_ROTATE_RIGHT,
|
|
BALL_ROTATE_LEFT,
|
|
BALL_AFFINE_ANIM_3,
|
|
BALL_AFFINE_ANIM_4
|
|
};
|
|
|
|
extern const struct SpriteTemplate gBallSpriteTemplates[];
|
|
|
|
#define POKEBALL_PLAYER_SENDOUT 0xFF
|
|
#define POKEBALL_OPPONENT_SENDOUT 0xFE
|
|
|
|
u8 DoPokeballSendOutAnimation(s16 pan, u8 kindOfThrow);
|
|
void CreatePokeballSpriteToReleaseMon(u8 monSpriteId, u8 battler, u8 x, u8 y, u8 oamPriority, u8 subpriortiy, u8 g, u32 h, u16 species);
|
|
u8 CreateTradePokeballSprite(u8 a, u8 b, u8 x, u8 y, u8 oamPriority, u8 subPriority, u8 g, u32 h);
|
|
void StartHealthboxSlideIn(u8 battler);
|
|
void DoHitAnimHealthboxEffect(u8 battler);
|
|
void LoadBallGfx(u8 ballId);
|
|
void FreeBallGfx(u8 ballId);
|
|
|
|
#endif // GUARD_POKEBALL_H
|