Prev: 48236 Up: Map Next: 48290
48275: Create Crosshair
Used by the routine at CheckSheriffLost.
Puts the crosshair (an object of type 3) in the last object slot, if it is not already there.
CreateCrosshair 48275 LD DE,41821 Point DE at the last object slot.
48278 LD A,(DE) Return if the last object slot is in use.
48279 AND A
48280 RET NZ
48281 LD HL,48290 Point HL at CrosshairTemplate.
48284 LD BC,16 Set the size of an object slot in BC.
48287 LDIR Copy the template into the slot.
48289 RET Return.
Prev: 48236 Up: Map Next: 48290