Prev: 64226 Up: Map Next: 64245
64227: Reset 'Picture Shown' flags
Used by the routine at RESET_GAME.
RESET_PICTURES 64227 LD HL,(64186) HL=graphics flag table
64230 LD A,(64190) A=number of graphics entries
64233 LD B,A Start loop through all graphics entries
RESET_PICTURES_0 64234 LD A,64 A=set bit 6
64236 OR (HL) Set bit 6 of entries in graphics flag table (show picture)
64237 LD (HL),A Rewrite entry back to graphics flag table
64238 INC HL Next entry
64239 DJNZ RESET_PICTURES_0 Loop until all entries are done
64241 LD HL,23296 HL=start of game state table
64244 RET
Prev: 64226 Up: Map Next: 64245