2017-10-22 16:43:15 +00:00
|
|
|
#ifndef GUARD_POKEBALL_H
|
|
|
|
#define GUARD_POKEBALL_H
|
|
|
|
|
2017-12-02 19:38:26 +00:00
|
|
|
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,
|
|
|
|
POKEBALL_COUNT
|
|
|
|
};
|
2017-12-02 18:39:07 +00:00
|
|
|
|
2020-08-05 02:37:52 +00:00
|
|
|
enum {
|
|
|
|
BALL_AFFINE_ANIM_0,
|
|
|
|
BALL_ROTATE_RIGHT,
|
2021-08-24 22:59:32 +00:00
|
|
|
BALL_ROTATE_LEFT,
|
2020-08-05 02:37:52 +00:00
|
|
|
BALL_AFFINE_ANIM_3,
|
|
|
|
BALL_AFFINE_ANIM_4
|
|
|
|
};
|
|
|
|
|
2021-11-01 05:42:02 +00:00
|
|
|
extern const struct CompressedSpriteSheet gBallSpriteSheets[];
|
|
|
|
extern const struct CompressedSpritePalette gBallSpritePalettes[];
|
2018-08-15 04:56:11 +00:00
|
|
|
extern const struct SpriteTemplate gBallSpriteTemplates[];
|
|
|
|
|
2017-12-02 18:39:07 +00:00
|
|
|
#define POKEBALL_PLAYER_SENDOUT 0xFF
|
|
|
|
#define POKEBALL_OPPONENT_SENDOUT 0xFE
|
|
|
|
|
|
|
|
u8 DoPokeballSendOutAnimation(s16 pan, u8 kindOfThrow);
|
2023-07-19 15:33:28 +00:00
|
|
|
void CreatePokeballSpriteToReleaseMon(u8 monSpriteId, u8 monPalNum, u8 x, u8 y, u8 oamPriority, u8 subpriority, u8 delay, u32 fadePalettes, u16 species);
|
2022-06-01 16:41:57 +00:00
|
|
|
u8 CreateTradePokeballSprite(u8 monSpriteId, u8 monPalNum, u8 x, u8 y, u8 oamPriority, u8 subPriority, u8 delay, u32 fadePalettes);
|
2021-01-23 01:03:21 +00:00
|
|
|
void StartHealthboxSlideIn(u8 battler);
|
2018-09-01 16:36:08 +00:00
|
|
|
void DoHitAnimHealthboxEffect(u8 battler);
|
2017-12-02 20:27:00 +00:00
|
|
|
void LoadBallGfx(u8 ballId);
|
|
|
|
void FreeBallGfx(u8 ballId);
|
2017-10-22 16:43:15 +00:00
|
|
|
|
|
|
|
#endif // GUARD_POKEBALL_H
|