People have reported that in a quite large number of games, whenever you start emulation the game behaves the same way. That can be explained because the game was "turned on" at that moment, so the random number generation is perhaps based on the latest score, or the number of games played until that moment. When you just start emulation, these numbers are always the same.
I suggest a cheat type to generate a random byte/word between two parameters and poke the result to a given location. For example:
Code: Select all
:gamename:65004000:0000FF08:000000FF:00000000:Generate byte ($00-$FF) at $FF08
:gamename:66004000:0000FF09:00007FFF:00000000:Generate word ($0000-$7FFF) at $FF08-$FF09
In the case of word, there is need to care about endianess, right? That thing about swapping bytes. This cheat could also be assigned to run right after loading the game, or be assigned a key to it and have it activated at a later time, at the user convenience.
Please regulars, post your comments.