User:Blaziken257/T1 Random Encounters
Jump to navigation
Jump to search
"Random" encounters in Telefang 1 are not actually random; they depend on how long you have walked, and in what terrain.
The game stores a little endian counter at 0xC950-0xC951. The counter starts at 0. The following affects the counter:
- The counter increases by 1 per frame whenever you walk in normal terrain.
- However, this does not apply anywhere inside a house/mart, in an antenna tree acre, or certain acres in the overworld that have a value of 1 in this map.
- The counter increases by 1 per frame whenever you walk in water.
- However, this does not apply in antenna tree acres.
- The counter increases 4x as fast when walking in grass.
- The counter increases 2x as fast when running.
- This stacks with the above, so running in grass makes the counter increase by 8 per frame.
- The counter never increases while the phone is ringing.
- The counter resets to 0 when:
- A battle ends.
- Entering an antenna tree.
- Talking to Gumi in any shop.
- Warping.
When the counter reaches 800 (0x320) or more, a battle starts!
[Note to self: There may be other situations where the counter resets to 0...]