diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-01-25 22:46:40 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-01-25 22:46:40 -0500 |
commit | 154c44250512828d56f5431188a7907cd149ef10 (patch) | |
tree | efcc44e62d9699b51cac25a68cb4b762544c5ed4 /src/status_checks.c | |
parent | 408fe77d7b9440d7eb5d46eda5f920572d516d67 (diff) |
Decomped CanMoveInDirection()
Diffstat (limited to 'src/status_checks.c')
-rw-r--r-- | src/status_checks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/status_checks.c b/src/status_checks.c index ed39e99..b371934 100644 --- a/src/status_checks.c +++ b/src/status_checks.c @@ -6,6 +6,7 @@ #include "constants/status.h" #include "code_80521D0.h" #include "dungeon_action.h" +#include "dungeon_capabilities_1.h" #include "dungeon_random.h" extern char *gPtrFrozenMessage; @@ -17,7 +18,6 @@ extern char *gPtrInfatuatedMessage; extern char gAvailablePokemonNames[]; extern void SetMessageArgument(char[], struct DungeonEntity*, u32); -extern bool8 CanMoveForward2(struct DungeonEntity*, u8); extern void DecideAttack(struct DungeonEntity*); bool8 HasStatusAffectingActions(struct DungeonEntity *pokemon) @@ -74,7 +74,7 @@ bool8 HasStatusAffectingActions(struct DungeonEntity *pokemon) } if (pokemonData->eyesightStatus == EYESIGHT_STATUS_BLINKER) { - if (!CanMoveForward2(pokemon, pokemonData->action.facingDir)) + if (!CanMoveInDirection(pokemon, pokemonData->action.facingDir)) { if (DungeonRandomCapped(2) != 0) { |