mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 03:57:38 +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;
|
return TRUE;
|
||||||
#endif
|
#endif
|
||||||
#if B_DOUBLE_WILD_CHANCE != 0
|
#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;
|
return TRUE;
|
||||||
#endif
|
#endif
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user