pokeemerald/include/pokeball.h

60 lines
1.4 KiB
C
Raw Normal View History

2017-10-22 18:43:15 +02:00
#ifndef GUARD_POKEBALL_H
#define GUARD_POKEBALL_H
2017-12-02 20:38:26 +01:00
enum
{
BALL_POKE,
BALL_GREAT,
BALL_ULTRA,
BALL_MASTER,
2021-06-19 06:46:20 +02:00
BALL_PREMIER,
BALL_HEAL,
2017-12-02 20:38:26 +01:00
BALL_NET,
BALL_NEST,
2021-06-19 06:46:20 +02:00
BALL_DIVE,
BALL_DUSK,
2017-12-02 20:38:26 +01:00
BALL_TIMER,
2021-06-19 06:46:20 +02:00
BALL_QUICK,
BALL_REPEAT,
2017-12-02 20:38:26 +01:00
BALL_LUXURY,
2019-04-14 12:13:44 +02:00
BALL_LEVEL,
BALL_LURE,
BALL_MOON,
BALL_FRIEND,
BALL_LOVE,
BALL_FAST,
2021-06-19 06:46:20 +02:00
BALL_HEAVY,
BALL_DREAM,
BALL_SAFARI,
2019-04-14 12:13:44 +02:00
BALL_SPORT,
BALL_PARK,
BALL_BEAST,
2021-06-19 06:46:20 +02:00
BALL_CHERISH,
2017-12-02 20:38:26 +01:00
POKEBALL_COUNT
};
2017-12-02 19:39:07 +01:00
enum {
BALL_AFFINE_ANIM_0,
BALL_ROTATE_RIGHT,
BALL_ROTATE_LEFT,
BALL_AFFINE_ANIM_3,
BALL_AFFINE_ANIM_4
};
2021-11-01 06:42:02 +01:00
extern const struct CompressedSpriteSheet gBallSpriteSheets[];
extern const struct CompressedSpritePalette gBallSpritePalettes[];
2018-08-15 06:56:11 +02:00
extern const struct SpriteTemplate gBallSpriteTemplates[];
2017-12-02 19:39:07 +01:00
#define POKEBALL_PLAYER_SENDOUT 0xFF
#define POKEBALL_OPPONENT_SENDOUT 0xFE
u8 DoPokeballSendOutAnimation(s16 pan, u8 kindOfThrow);
2022-06-01 18:41:57 +02:00
void CreatePokeballSpriteToReleaseMon(u8 monSpriteId, u8 monPalNum, u8 x, u8 y, u8 oamPriority, u8 subpriortiy, u8 delay, u32 fadePalettes, u16 species);
u8 CreateTradePokeballSprite(u8 monSpriteId, u8 monPalNum, u8 x, u8 y, u8 oamPriority, u8 subPriority, u8 delay, u32 fadePalettes);
2021-01-23 02:03:21 +01:00
void StartHealthboxSlideIn(u8 battler);
2018-09-01 18:36:08 +02:00
void DoHitAnimHealthboxEffect(u8 battler);
2017-12-02 21:27:00 +01:00
void LoadBallGfx(u8 ballId);
void FreeBallGfx(u8 ballId);
2017-10-22 18:43:15 +02:00
#endif // GUARD_POKEBALL_H