diff options
author | kiliwily <69381603+kiliwily@users.noreply.github.com> | 2020-09-19 20:44:16 +0200 |
---|---|---|
committer | kiliwily <69381603+kiliwily@users.noreply.github.com> | 2020-09-19 20:44:16 +0200 |
commit | 56848fb891f55acdc98ee1b5956ffd2b1c8174eb (patch) | |
tree | 4a1495649f5d95ec9a08f2bf5716056b5f87fb20 /src/battle_util.c | |
parent | a130c2dc4adc114a5bf57383046077f2bf66e271 (diff) |
Update battle_util.c
Diffstat (limited to 'src/battle_util.c')
-rw-r--r-- | src/battle_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_util.c b/src/battle_util.c index 0c2e31e07..31ed0b3fe 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -527,8 +527,8 @@ void HandleAction_ThrowPokeblock(void) gBattleStruct->safariPkblThrowCounter++; if (gBattleStruct->safariEscapeFactor > 1) { - //BUG: The safariEscapeFactor is unintetionally able to become 0 (but it can not become negative!). This causes the pokeblock throw glitch. - //To fix that change the < in the if statement below to <=. + // BUG: The safariEscapeFactor is unintetionally able to become 0 (but it can not become negative!). This causes the pokeblock throw glitch. + // To fix that change the < in the if statement below to <=. if (gBattleStruct->safariEscapeFactor < sPkblToEscapeFactor[gBattleStruct->safariPkblThrowCounter][gBattleCommunication[MULTISTRING_CHOOSER]]) gBattleStruct->safariEscapeFactor = 1; else |