CardsOfTheHeart

#pastebinmonday 1/9/2017 - Pokemon Puzzle Challenge's RNG

Jan 9th, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. Pokemon Puzzle Challenge uses a four-byte RAM address at 0000C83C to drive its random number generator (RNG). I am beginning to wonder if some of the most popular GBC emulators are handling parts of this address incorrectly.
  2.  
  3. Both bgb and Gambatte (via BizHawk) boot the game with both C83E and C83F at their maximum value, 255. You can zero out C83E by holding a button as the title screen cutscene loads, but C83F is stuck at 255. It might be possible to roll it over to zero, but it would take ages.
  4.  
  5. I have examined literally THOUSANDS of RNG values in BizHawk to get the starting stage patterns that they generate. Not ONCE have I gotten anything on console (GB Player or GBA SP) that matches one of these values... or even close, for that matter. And I am certain that bgb is in the same boat because the first stage I loaded in my bgb testing matched a stage in the BizHawk findings.
  6.  
  7. Then, as I was about to lose hope, I booted the rerecording version of VBA hoping to see something different. And lo and behold, this boots the game with both of the above values at zero. I took a look at one RNG value and got something that matches none of my previous findings. I will investigate this further today after work to find out if this is actually behavior consistent with console. I am really hoping that it is because I am starting to get frustrated looking at this.
Add Comment
Please, Sign In to add comment