Jump to content

Pokémon Red and Blue randomizer code: Difference between revisions

no edit summary
>Torchickens
(Created page with "This code allows the player to use an arbitrary code execution item as a wild Pokémon randomizer (grass and cave encounters supported), to be used with a bootstrap code t...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1:
This code allows the player to use an [[arbitrary code execution]] item as a wild Pokémon randomizer (grass and cave encounters supported), to be used with a bootstrap code to slot 3.
 
It uses [[OAM DMA hijacking]] to constantly write the random value of a d-sum addressFFD3 (specifically FFD3hRandomAdd) in the main encounter table at D888.
 
==Code==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.