Qhimm.com Forums

Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: BrutalAl on 2009-07-17 14:49:50

Title: RNG (table) used on the world map?
Post by: BrutalAl on 2009-07-17 14:49:50
I know of one RNG table (0-255) that goes 177, 202, 238, ..., 171, 176, 12. This baby is to my knowing often used for various randomness in fields but not for randomness on the world map.
Apart from the just mentioned one I only know of one other RNG table and it goes 99, 6, 240, ..., 199, 106, 202 but that isn't it either it seems.

Anyone happen to know which RNG table is used for worldmap randomness?
Title: Re: RNG (table) used on the world map?
Post by: nfitc1 on 2009-07-17 18:50:27
The 99, 6, 240, ... is in the KERNEL.BIN and likely only used in battle. There is one .bin file in world_us.lgp which might contain it, if it exists.