1.16.1 · Index · Add Address · Statistics · Reference · About

 ?  Address 0x0051CA14
 ?  Player ID -112212 (Byte Offset: 00)
 ?  Version 1.16.1
 ?  Name Last Random Number
 ?  Size 4
 ?  Length 1
 ?  SC:Remaster Simple Data
 ?  Description Randomization seed for the next random number, mask with 0x7FFF0000 for the last returned number.

int getRandomNumber(){
lastRandomNumber = lastRandomNumber * 0x15A4E35 + 1;
return (lastRandomNumber >> 16) & 0x7FFF;
}
Edit
Links: full · short · direct