From c8114eb3a5c9ca2b63fbed90e0e6715b4957b2b7 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Tue, 3 Oct 2017 12:11:13 +0200 Subject: [PATCH] create battle_transition.h --- include/battle.h | 3 --- include/battle_transition.h | 6 ++++++ src/tileset_anims.c | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 include/battle_transition.h diff --git a/include/battle.h b/include/battle.h index bc70b86ea8..67d3d873d7 100644 --- a/include/battle.h +++ b/include/battle.h @@ -927,9 +927,6 @@ u8 GetBankSide(u8 bank); u8 GetBankIdentity(u8 bank); u8 GetBankByIdentity(u8 bank); -// battle_transition -void sub_8149DFC(u8 a1); - // Move this somewhere else #include "sprite.h" diff --git a/include/battle_transition.h b/include/battle_transition.h new file mode 100644 index 0000000000..1603f5c93c --- /dev/null +++ b/include/battle_transition.h @@ -0,0 +1,6 @@ +#ifndef GUARD_BATTLE_TRANSITION_H +#define GUARD_BATTLE_TRANSITION_H + +void sub_8149DFC(u8 a1); + +#endif // GUARD_BATTLE_TRANSITION_H diff --git a/src/tileset_anims.c b/src/tileset_anims.c index e53461e02e..4ad787e1c8 100644 --- a/src/tileset_anims.c +++ b/src/tileset_anims.c @@ -3,7 +3,7 @@ #include "global.h" #include "palette.h" #include "blend_palette.h" -#include "battle.h" +#include "battle_transition.h" #include "task.h" // Static type declarations