From bd7d949f5f9a3eecb3f1edadc258f2a0a628d37b Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sun, 18 Dec 2022 13:49:02 -0300 Subject: [PATCH] Fixed B_DOUBLE_WILD_CHANCE becoming 1% less than what's set --- src/wild_encounter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wild_encounter.c b/src/wild_encounter.c index fe6af5a20e..2c9730cd5e 100644 --- a/src/wild_encounter.c +++ b/src/wild_encounter.c @@ -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;