https://docs.google.com/document/d/1ZVuOfirN-yFArkkHW_8mpR6qB_6R0kNe9laTuU-myFc/edit?usp=sharing
This was the most recent guide I could find from the IRL speedruns (Courtesy of
http://www.speedrun.com/pmdsky/guides)
I suppose most of the routing is the same, aside from in the dungeons themselves. Generally, the RNG is the most improvable and abusable thing, given that it can be modified by button inputs. The RNG handles a frightening amount of things in the game, from the dungeon layouts, to the questions of the Personality Quiz, all the way down to which Partner Pokemon appear in which rows when you go to choose your partner.
I believe the RNG Address is located at 0x020AEF2C, given that it changes randomly every frame. It's 2 Bytes, with a maximum value of FFFF (65,535). It also has the same starting value (348C, or 13452 in decimal) when starting the game from reset, even when the DS's time is different, in my testing.