Main Menu
Main Page
New pages
Recent changes
Random page

Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Glitch categories

Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools

Legendary Star Blob 2 (Hakuda) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Site source code

Search Wiki


Search Forums


Author Topic: Pokemon Force-Encounter address for G/S?  (Read 528 times)

0 Members and 1 Guest are viewing this topic.


  • Member+
  • *
  • Offline Offline
    • View Profile
Pokemon Force-Encounter address for G/S?
« on: October 12, 2017, 12:32:29 pm »
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?


  • A guy who likes glitchyness.
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • "NIDOQUEEN THOMAS wants to battle!"
    • View Profile
Re: Pokemon Force-Encounter address for G/S?
« Reply #1 on: October 15, 2017, 03:52:21 am »
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)
"Time is mone
Go along then" - Old Man

TMZ4 is the BEST TM while the sucky Channel is the best channel.


  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Pokemon Force-Encounter address for G/S?
« Reply #2 on: October 15, 2017, 07:07:01 am »
Address 0xD059 in English Red and Blue corresponds to the wCurOpponent 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.


  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: Pokemon Force-Encounter address for G/S?
« Reply #3 on: October 15, 2017, 11:03:30 am »
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.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)