diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-20 12:51:18 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-20 21:59:22 -0500 |
commit | 96372eb336d21e5da66246983e0522212f370bdf (patch) | |
tree | 84112b7f1643443dba9af53b21890ae9504a45bb /src/dungeon_ai_item_weight.c | |
parent | 3555fb7c945ef5152910a84390ecbd1a38ea585d (diff) |
Decomped CanUseOnSelfWithStatusChecker()
Diffstat (limited to 'src/dungeon_ai_item_weight.c')
-rw-r--r-- | src/dungeon_ai_item_weight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dungeon_ai_item_weight.c b/src/dungeon_ai_item_weight.c index 0fe019f..5006970 100644 --- a/src/dungeon_ai_item_weight.c +++ b/src/dungeon_ai_item_weight.c @@ -185,7 +185,7 @@ u32 EvaluateItem(struct DungeonEntity *targetPokemon, struct ItemSlot *item, u32 } break; case ITEM_ID_QUICK_SEED: - if (targetPokemon->entityData->movementSpeed <= 3) + if (targetPokemon->entityData->movementSpeed < MAX_MOVEMENT_SPEED) { if (CanTargetAdjacentPokemon(targetPokemon)) { |