Pokemon Force-Encounter address for G/S? - Page 1
In Pokemon R/B, there is address $D059, which when set to a non-zero value, forces an encounter with the corresponding species index that the address is set to. Is there a similar address for Gold and Silver?
By the way, I keep hearing that you must "fix the stack" when making ACE codes for Gen 2. How does one accomplish this?
1. I don't think there's any address as all wild encounters are taken directly from ROM, and events that trigger battles also probably do this.
2.Simply save and reset the game.
(Someone confirm 1)
Address [tt]0xD059[/tt] in English Red and Blue corresponds to the [tt]wCurOpponent[/tt] function on the disassembly. A quick search for that name doesn't return an equivalent in the English Crystal disassembly. This doesn't necessarily mean that it's not possible, though.
I checked a bit, and there doesn't seem to be a memory address that does what D059 does.
Wild battles are handled by map script, Trainer & scripted battles by directly calling StartBattle.
Maybe there's an entry point, but I doubt it.