Prev: F1FA Up: Map Next: F21E
F216: Code sheet - bytes used to randomize code sheet co-ordinates choice
Used in routine at F21E to pick a random value for the co-ordinates of the security code on the code sheet that needs to be entered.
The first 4 values are randomized, the next 4 are fixed (and used to further randomize the initial values)
F216 DEFB $6B,$85 System variable FRAMES cycle timer (2 bytes of it) stored here at start of code routine at F289
F218 DEFB $B9 The (first) 2 bytes of the FRAMES timer are used as a random address to pick a byte from.
The byte is stored here, in the routine at F289.
F219 DEFB $8B The byte at F218 is copied here as well in the same routine.
This will be the random value that the co-ordinates are generated from.
F21A DEFB $76,$B5,$53,$B0 4 byte values that are used to XOR and pixel-shift with the previous four, to create random numbers
Prev: F1FA Up: Map Next: F21E