Routines 
Prev: 35828  Up: Map  Next: 35903 
Used by the routine at 35828.


35882  LD HL,35903  Point HL at table of definitions (coordinates) of viewscreen "tunnel" rectangles  
35885  LD A,(HL)  Load A with xcoordinate of right edge of rectangle...  
35886  OR A  ...and if this is zero...  
35887  RET Z  ...then return  
35888  LD E,A  Load E with xcoordinate of right edge of rectangle  
35889  INC HL  Advance HL to ycoordinate of bottom edge of rectangle...  
35890  LD D,(HL)  ...and load into D  
35891  INC HL  Advance HL to xcoordinate of left edge of rectangle...  
35892  LD C,(HL)  ...and load into C  
35893  INC HL  Advance HL to ycoordinate of top edge of rectangle...  
35894  LD B,(HL)  ...and load into B  
35895  PUSH HL  Store HL (current position in rectangle definition data)  
35896  CALL 36573  Draw a rectangle with opposite vertices at (C, B) and (E, D) (pixels)  
35899  POP HL  Restore HL (current position in rectangle definition data)  
35900  INC HL  Advance HL to start of next rectangle's definition data  
35901  JR 35885  Loop back to 35885 to draw next rectangle 
Prev: 35828  Up: Map  Next: 35903 