Scripting allows wild encounters with Pokemon, typically requiring the player to interact with a stationary event. However, you can add in the "trigger encounter with X species" to any script.
Use PPRE, I don't know of a list of HGSS script commands/howto's.