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_action.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 include/dungeon_action.h (limited to 'include/dungeon_action.h') diff --git a/include/dungeon_action.h b/include/dungeon_action.h new file mode 100644 index 0000000..c3631f7 --- /dev/null +++ b/include/dungeon_action.h @@ -0,0 +1,9 @@ +#ifndef GUARD_DUNGEON_ACTION_H +#define GUARD_DUNGEON_ACTION_H + +#include "dungeon_entity.h" + +// 0x44C94 +void SetAction(struct DungeonActionContainer *actionPointer, u16 action); + +#endif -- cgit v1.2.3