mirror of
https://github.com/mm201/pkmn-classic-framework.git
synced 2026-08-24 03:04:10 -05:00
Fixed some math in Platinum Gamestats RNG
This commit is contained in:
@@ -70,7 +70,7 @@ namespace PkmnFoundations.GTS
|
||||
|
||||
private static int DecryptRNG(int prev)
|
||||
{
|
||||
return (prev * 0x000244fd + 0x00006015) | 0x10000000;
|
||||
return (prev * 0x000244fd + 0x00006015) & ~0x10000000;
|
||||
}
|
||||
|
||||
public static String ResponseChecksum(byte[] responseArray)
|
||||
|
||||
Reference in New Issue
Block a user