Prev: 38063 Up: Map Next: 38099
38072: Clear Dart Pointer Attributes
Used by the routine at MainMenu.
Input
HL The co-ordinates of the dart
ClearDartPointerAttributes 38072 CALL CalculateAttributeBuffer Call CalculateAttributeBuffer.
38075 XOR A Write INK: BLACK, PAPER: BLACK to 4 character blocks in this attribute row.
38076 LD (HL),A
38077 INC HL
38078 LD (HL),A
38079 INC HL
38080 LD (HL),A
38081 INC HL
38082 LD (HL),A
38083 INC HL
38084 LD (HL),A
Move down one row, and back 4 character blocks (the width of the dart graphic).
38085 LD DE,28 HL+=0028.
38088 ADD HL,DE
38089 LD (HL),A Write INK: BLACK, PAPER: BLACK to 4 character blocks in this attribute row.
38090 INC HL
38091 LD (HL),A
38092 INC HL
38093 LD (HL),A
38094 INC HL
38095 LD (HL),A
38096 INC HL
38097 LD (HL),A
38098 RET Return.
Prev: 38063 Up: Map Next: 38099