diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-03-10 22:29:52 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-03-10 22:33:13 -0500 |
commit | ddb9c518ec401262c85af61ab2ee385863d03ca4 (patch) | |
tree | dba52f03a56913f458c27130078570061afca862 /src/dungeon_action.c | |
parent | cc4053130f1d9d0bb36c78bd39b0b07e96064f5e (diff) |
Decomped ResetAction()
Diffstat (limited to 'src/dungeon_action.c')
-rw-r--r-- | src/dungeon_action.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dungeon_action.c b/src/dungeon_action.c index 9034e4c..912e8b4 100644 --- a/src/dungeon_action.c +++ b/src/dungeon_action.c @@ -5,6 +5,13 @@ #include "dungeon_entity.h" #include "pokemon.h" +void ResetAction(struct DungeonActionContainer *actionPointer) +{ + actionPointer->action = DUNGEON_ACTION_NONE; + actionPointer->actionUseIndex = 0; + actionPointer->unkC = 0; +} + void SetAction(struct DungeonActionContainer *actionPointer, u16 action) { actionPointer->action = action; |