Jump to content

Recommended Posts

Posted

...instead of catching pokemon and looking at their IVs.

Not that I'm much of ASM programmer, but common logic dictates that Voltorb flip minigame board is constructed using several consecutive RNG calls. Since when you lose, the whole board is shown, this can theoretically lead to determine RNG initialization parameters as well which frame you are on (and possibly to advance frames as well).

Anyway, is there any research regarding how this mini-game works? 2bit x 25 tiles is 2 4-byte words, plus, I imagine, there is a check for number of 0/1/2/3 tiles for a given level. Though, more likely that there is one call for specific 0/1/2/3 spread(see below) and one to shuffle these tiles to set the board.

Some thoughts on how RNG for Voltorb flip might work:

  Reveal hidden contents
Posted

The Voltorb Flip game is actually seeded using the game's Mersenne Twister RNG. Kaphotics did some looking at it just last night actually, to see if it had any useful applications for RNGing.

(4:13:57 AM) Kaphotics: 624 -> 16 for just starting the game
(4:14:04 AM) Kaphotics: err, loading the table at goldenrod
(4:14:46 AM) Kaphotics: god what the fuck
(4:14:59 AM) Kaphotics: it chooses to advance a frame on certain tiles
(4:16:19 AM) Kaphotics: oh I see
(4:16:41 AM) Kaphotics: if you do a risky move (high chance of being a voltorb), it checks to see if it should warn you based on the risk
(4:18:46 AM) Kaphotics: 624 -> 16 (next 17) -> 31 (next 32) -> 47 (next 48) -> 95 (next 96)
(4:18:58 AM) Kaphotics: so essentially it's NOT constant but based on the MTRNG values it gets
(4:19:04 AM) Kaphotics: it probably trashes certain ones
(4:19:31 AM) Kaphotics: tl;dr -- not worth it

We have several other ways of confirming seed\second\delay in HGSS, though. Elm calls are the most commonly used -- each time you call Elm, he gives three responses decided by the upper 16-bits of the RNG, modulus 3.

Posted

Yes, I am aware of Elm calls method, however I wondered if there are other good ones.

By the way, did Kaphotics say how does RNG determine the order and values of tiles in this minigame? If anything, we might get a 95% reliable calculator for always winning it :)

Posted

Well, it's understandable. Gen 4 is dead anyway...

Yes, I neglected to notice that Chatot's Chatter can be used not just for frame advancement. Thanks!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...