summaryrefslogtreecommitdiff
path: root/src/script_pokemon_util.c
diff options
context:
space:
mode:
authorultima-soul <akshayjhanji@hotmail.com>2020-03-13 00:32:04 -0700
committerultima-soul <akshayjhanji@hotmail.com>2020-03-13 00:32:04 -0700
commit99e4de062ae43aa978ad4f1a8cd70bc739c64c9d (patch)
tree1164d31577e6ebddc1cb313d40bb69ce0d426170 /src/script_pokemon_util.c
parent339c2914affc3c62ac9a5725aa1a0c7ccc3161ca (diff)
parent6af8c04d8fa6aaeaeb6c8b919e7770a65b9a883d (diff)
Merge branch 'master' into event_object_movement
Diffstat (limited to 'src/script_pokemon_util.c')
-rw-r--r--src/script_pokemon_util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/script_pokemon_util.c b/src/script_pokemon_util.c
index e12b809c6..677759497 100644
--- a/src/script_pokemon_util.c
+++ b/src/script_pokemon_util.c
@@ -1,9 +1,7 @@
#include "global.h"
-#include "battle.h"
#include "berry.h"
#include "daycare.h"
#include "event_data.h"
-#include "event_object_movement.h"
#include "load_save.h"
#include "malloc.h"
#include "overworld.h"
@@ -119,7 +117,7 @@ static bool8 CheckPartyMonHasHeldItem(u16 item)
return FALSE;
}
-bool8 GetNameOfEnigmaBerryInPlayerParty(void)
+bool8 DoesPartyHaveEnigmaBerry(void)
{
bool8 hasItem = CheckPartyMonHasHeldItem(ITEM_ENIGMA_BERRY);
if (hasItem == TRUE)