pokeemerald/include/pokeball.h

33 lines
785 B
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_SAFARI,
BALL_ULTRA,
BALL_MASTER,
BALL_NET,
BALL_DIVE,
BALL_NEST,
BALL_REPEAT,
BALL_TIMER,
BALL_LUXURY,
BALL_PREMIER,
POKEBALL_COUNT
};
2017-12-02 19:39:07 +01:00
#define POKEBALL_PLAYER_SENDOUT 0xFF
#define POKEBALL_OPPONENT_SENDOUT 0xFE
u8 DoPokeballSendOutAnimation(s16 pan, u8 kindOfThrow);
2017-12-02 21:27:00 +01:00
void CreatePokeballSpriteToReleaseMon(u8 monSpriteId, u8 bank, u8 x, u8 y, u8 oamPriority, u8 subpriortiy, u8 g, u32 h, u16 species);
u8 sub_807671C(u8 a, u8 b, u8 x, u8 y, u8 oamPriority, u8 subPriority, u8 g, u32 h);
2017-10-22 18:43:15 +02:00
void sub_8076918(u8 bank);
void DoHitAnimHealthboxEffect(u8 bank);
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