summaryrefslogtreecommitdiff
path: root/include/pokeball.h
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2017-12-15 00:08:48 -0600
committerDiegoisawesome <diego@domoreaweso.me>2017-12-15 00:08:48 -0600
commite3c366df6489c92a6ac5778b458b815cc8eab75d (patch)
tree89c80f554da617d89641af8a707ccf9c96d5707c /include/pokeball.h
parent8e9428c482d33ac59b5c29d89db0bd5a2e6fdef3 (diff)
parentc9f196cdfea08eefffd39ebc77a150f197e1250e (diff)
Merge remote-tracking branch 'pret/master'
Diffstat (limited to 'include/pokeball.h')
-rw-r--r--include/pokeball.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/include/pokeball.h b/include/pokeball.h
index 76f084465..84178b5b2 100644
--- a/include/pokeball.h
+++ b/include/pokeball.h
@@ -1,8 +1,32 @@
#ifndef GUARD_POKEBALL_H
#define GUARD_POKEBALL_H
-u8 sub_80753E8(u16, u8);
+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
+};
+
+#define POKEBALL_PLAYER_SENDOUT 0xFF
+#define POKEBALL_OPPONENT_SENDOUT 0xFE
+
+u8 DoPokeballSendOutAnimation(s16 pan, u8 kindOfThrow);
+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);
void sub_8076918(u8 bank);
void DoHitAnimHealthboxEffect(u8 bank);
+void LoadBallGfx(u8 ballId);
+void FreeBallGfx(u8 ballId);
#endif // GUARD_POKEBALL_H