rh-hideout / pokeemerald-expansion

Feature branches for the pokeemerald decompilation. See the wiki for more info.
305 stars 815 forks source link

Only call RNG once when generating IVs in some cases #4876

Open tertu-m opened 6 days ago

tertu-m commented 6 days ago

Description

This causes CreateBoxMon to call Random32 instead of Random when generating IVs. With HQ_RANDOM on, this means the generator is called only once when generating IVs; theoretically this should increase the number of possible IV/PID combinations. IV generation should be unchanged with HQ_RANDOM off.

Discord contact info

tertu