From c30cf5c6da8283330bc352d58acc037739cd8b72 Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Tue, 4 Jan 2022 00:00:31 -0600 Subject: Decomped EvaluateItem() --- include/dungeon_ai_item_weight.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 include/dungeon_ai_item_weight.h (limited to 'include/dungeon_ai_item_weight.h') diff --git a/include/dungeon_ai_item_weight.h b/include/dungeon_ai_item_weight.h new file mode 100644 index 0000000..705c0ca --- /dev/null +++ b/include/dungeon_ai_item_weight.h @@ -0,0 +1,9 @@ +#ifndef GUARD_DUNGEON_AI_ITEM_WEIGHT_H +#define GUARD_DUNGEON_AI_ITEM_WEIGHT_H + +#include "dungeon_entity.h" + +// 0x48F28 +u32 EvaluateItem(struct DungeonEntity *targetPokemon, struct ItemSlot *item, u32 itemTargetFlags); + +#endif -- cgit v1.2.3 From 42bcb068b61656f083009816b927207393a35b10 Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Fri, 7 Jan 2022 01:45:35 -0600 Subject: Decomped CanTargetAdjacentPokemon() --- include/dungeon_ai_item_weight.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/dungeon_ai_item_weight.h') diff --git a/include/dungeon_ai_item_weight.h b/include/dungeon_ai_item_weight.h index 705c0ca..a498744 100644 --- a/include/dungeon_ai_item_weight.h +++ b/include/dungeon_ai_item_weight.h @@ -5,5 +5,7 @@ // 0x48F28 u32 EvaluateItem(struct DungeonEntity *targetPokemon, struct ItemSlot *item, u32 itemTargetFlags); +// 0x494EC +bool8 CanTargetAdjacentPokemon(struct DungeonEntity *pokemon); #endif -- cgit v1.2.3