summaryrefslogtreecommitdiff
path: root/src/dungeon_ai_movement.c
diff options
context:
space:
mode:
authorAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-03-10 22:29:52 -0500
committerAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-03-10 22:33:13 -0500
commitddb9c518ec401262c85af61ab2ee385863d03ca4 (patch)
treedba52f03a56913f458c27130078570061afca862 /src/dungeon_ai_movement.c
parentcc4053130f1d9d0bb36c78bd39b0b07e96064f5e (diff)
Decomped ResetAction()
Diffstat (limited to 'src/dungeon_ai_movement.c')
-rw-r--r--src/dungeon_ai_movement.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dungeon_ai_movement.c b/src/dungeon_ai_movement.c
index 49609d7..326913a 100644
--- a/src/dungeon_ai_movement.c
+++ b/src/dungeon_ai_movement.c
@@ -28,7 +28,6 @@ extern char *gPtrItsaMonsterHouseMessage;
extern void SendImmobilizeEndMessage(struct DungeonEntity*, struct DungeonEntity*);
extern void SetMessageArgument(char[], struct DungeonEntity*, u32);
-extern void ResetAction(u16*);
extern void MoveIfPossible(struct DungeonEntity*, bool8);
extern u8 sub_8044B28(void);
extern void sub_807AB38(struct DungeonEntity *, u32);
@@ -206,7 +205,7 @@ void DecideAction(struct DungeonEntity *pokemon)
}
}
}
- ResetAction(&pokemonData->action.action);
+ ResetAction(&pokemonData->action);
if (pokemonData->clientType == CLIENT_TYPE_CLIENT)
{
SetWalkAction(&pokemonData->action, pokemonData->entityID);