From a34c9ab91b553fcb1f72b94eb912b94bea58885b Mon Sep 17 00:00:00 2001 From: Cheng Hann Gan Date: Thu, 9 Dec 2021 13:56:12 -0500 Subject: AI decomp + type cleanup (#82) * Decomped SetAction() * Changed MapTile.tileType to u16 bit field * Decomped FindStraightThrowableTargets() * Cleaned up CannotAttack() * Cleaned up some externs * Converted dungeon action to substruct --- include/dungeon_ai_items.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/dungeon_ai_items.h') diff --git a/include/dungeon_ai_items.h b/include/dungeon_ai_items.h index e7d9f4f..b9e7625 100644 --- a/include/dungeon_ai_items.h +++ b/include/dungeon_ai_items.h @@ -5,5 +5,7 @@ // 0x73658 void DecideUseItem(struct DungeonEntity *pokemon); +// 0x739DC +void FindStraightThrowableTargets(struct DungeonEntity* pokemon, s32 thrownAIFlag, struct ItemSlot* item, bool8 ignoreRollChance); #endif -- cgit v1.2.3