mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01: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:
commit
386a62fe81
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user