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/code_8057824_1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/code_8057824_1.c') diff --git a/src/code_8057824_1.c b/src/code_8057824_1.c index f79299a..5409061 100644 --- a/src/code_8057824_1.c +++ b/src/code_8057824_1.c @@ -3364,7 +3364,7 @@ void sub_808B1CC(u8 r0) void SetupRegiFacingDirection(struct DungeonEntity *r0) { - r0->entityData->facingDir = DIRECTION_NORTH; + r0->entityData->action.facingDir = DIRECTION_NORTH; sub_806CE68(r0, DIRECTION_NORTH); } -- cgit v1.2.3