mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-11 12:37:14 -05:00
Merge pull request #2526 from AsparagusEduardo/RHH/pr/fix/doubleWildChance
Fixed B_DOUBLE_WILD_CHANCE becoming 1% less than what's set
This commit is contained in:
@@ -1104,7 +1104,7 @@ bool8 TryDoDoubleWildBattle(void)
|
||||
return TRUE;
|
||||
#endif
|
||||
#if B_DOUBLE_WILD_CHANCE != 0
|
||||
else if ((Random() % 100) + 1 < B_DOUBLE_WILD_CHANCE)
|
||||
else if ((Random() % 100) + 1 <= B_DOUBLE_WILD_CHANCE)
|
||||
return TRUE;
|
||||
#endif
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user