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 --- src/dungeon_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dungeon_util.c') diff --git a/src/dungeon_util.c b/src/dungeon_util.c index f717212..5943d4b 100644 --- a/src/dungeon_util.c +++ b/src/dungeon_util.c @@ -2,7 +2,7 @@ #include "dungeon_util.h" extern struct MapTile* GetMapTileAtPosition(s16, s16); -extern struct MapTile *GetMapEntity(s16, s16); +extern struct MapTile* GetMapEntity(s16, s16); bool8 EntityExists(struct DungeonEntity *entity) { -- cgit v1.2.3