Position Reader:
while true do
gui.text(0,0, string.format("X: %d, Y: %d", memory.readword(0x021DA6DE,2), memory.readword(0x021DA6FE,2)))
emu.frameadvance()
end
It probably changes the trainer background/music.
I've been able to do it for battle videos, I assume it'd be the same for trainers with the "Unknown" value.
Is it that hard to connect the dots?
Make a bunch of codes to make 1-40, 41-90, etc complete in your pokedex
you have to do them a little bit at a time
I'd just make them for your party instead, I couldn't get those codes you posted to work.
Choose your version, they'll replace your 5th and 6th Pokemon in your party. Gotta carry 6.
White English
Black English
And by the way, Togekiss can't learn Body Slam if it originated from B/W. It'd have to originate from RSEFRLG!
Same problem with Tyranitar, it can't have Superpower if it is from B/W.
The game doesn't care about the legality, so long as the moves are reasonably learn-able.
Following your example AR code faospark, I adapted my temp fix for white to work:
Basically it's just +6 off of the last one, and a halfbyte.
Here's the complete code:
94000130 FFFB0000
B2000024 00000000
0004FD78 000000XX
0004FD7C 000000YY
2004FD82 0000004B
D2000000 00000000
The Battle RNG seeds (64bit) are located at 0x0226B070 in the RAM (white) right before the standard RNG constants (64bits) of Gen 5. When the battle begins playback it is then loaded to the main Battle RNG interpretation region (used for everything ingame as well), and is advanced there.
So far everything lines up with ingame battle RNG, so I might as well link to it here.
I'm kinda going away from Saves towards RAM because in the RAM it is decrypted...
~Encrypted Zone~
0xCC = Battle RNG Constants (16 bytes)
0xDC = Background/Pad #1 (4 bytes)
0xE0 = Background Pad #2 (4 bytes)
The halfword after the Tile/Pad words has some effect on brightness, it's probably related to when the battle took place (timestamp), and changing it allows you to make the scenery bright or dark depending on if the scene allows it (Beach is an example).
I have an internal code 0x0226B090 = 0x004B, which causes the background to be bright. 0x0000 and 0xFFFF is dark.