fix fishing encounter rolls
This commit is contained in:
parent
d1ca1f667f
commit
26395fe600
@ -1150,7 +1150,7 @@ void CreateBoxMon(struct BoxPokemon *boxMon, u16 species, u8 level, u8 fixedIV,
|
||||
totalRerolls += I_SHINY_CHARM_ADDITIONAL_ROLLS;
|
||||
if (LURE_STEP_COUNT != 0)
|
||||
totalRerolls += 1;
|
||||
if (IsCurrentEncounterFishing())
|
||||
if (I_FISHING_CHAIN && IsCurrentEncounterFishing())
|
||||
totalRerolls += CalculateChainFishingShinyRolls();
|
||||
|
||||
while (GET_SHINY_VALUE(value, personality) >= SHINY_ODDS && totalRerolls > 0)
|
||||
|
||||
@ -919,7 +919,7 @@ static void SetEncounterFishing(void)
|
||||
|
||||
u32 CalculateChainFishingShinyRolls(void)
|
||||
{
|
||||
return (1 + (2 * GetCurrentChainFishingDexNavStreak()));
|
||||
return 2 * GetCurrentChainFishingDexNavStreak();
|
||||
}
|
||||
|
||||
static void SetLastFishingSpecies(u32 species)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user