summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvan <eroelke@gmail.com>2019-11-26 16:54:55 -0700
committerEvan <eroelke@gmail.com>2019-11-26 16:54:55 -0700
commit4b33546727007829bb80121790ff377f4e9739b9 (patch)
tree4800f0dff1b1763f349e5c7d77a4c3554ab39403 /src
parentdd6239fe266d5972fdc36348f3d72148cc8f94fb (diff)
DoPokeballSendOutAnimation
Diffstat (limited to 'src')
-rw-r--r--src/pokeball.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pokeball.c b/src/pokeball.c
index dc4f98a6e..e9d50599b 100644
--- a/src/pokeball.c
+++ b/src/pokeball.c
@@ -1 +1,13 @@
#include "global.h"
+#include "pokeball.h"
+#include "battle.h"
+
+
+u8 DoPokeballSendOutAnimation(u16 a0, u8 a1)
+{
+ gDoingBattleAnim = 1;
+ gBattleSpritesDataPtr->healthBoxesData[gActiveBattler].ballAnimActive = TRUE;
+ CreateTask(sub_804A9A0, 5);
+
+ return 0;
+}