I dunno :P Whenever I'm bored
Vash's idea would actually be easy, and it wouldn't need to do it every x seconds, it could do it constantly, for example like this:
Code:
ldr r0, MapSlot
@get the checksum one slot at a time
@by loading mapslot, storing value
@adding 0x2, storing new mapslot, ending code
@and beginning again
@get the checksum, lets say in r4
ldr r3, StoredChecksum
cmp r4, r3
bne CheckForSeeds
bx lr
CheckForSeeds:
sub r3, r4, r3
@now check if difference is the value of a seed
@or, you can even check if it changes from a seed to an empty space
@like if someone removes your house
@it would be a negative number if you do that, which you can just use neg to negate a register
@rest of stuff
@if not a seed, store new checksum
strh r4, StoredChecksum
blah blah
Edit:
well, maybe it would be better to do it every few seconds...XD
otherwise the time it takes to loop every slot may be enough time to drop more than one seed, which may confuse it.
a 32-bit word should be enough to hold the checksum of every single slot on the map, even if every slot held 0xFFFF