Prev: B322 Up: Map Next: B38C
B374: Draw Trashman Sprite
Used by the routines at PlaceTrashman and B44A.
Calculate Trashmans sprite graphics pointer.
DrawTrashmanSprite B374 LD L,(IX+$05) L=*IX+05.
B377 LD A,(IX+$06) A=*IX+06.
B37A AND %00000011 Keep only bits 0-1.
B37C OR %00111000 Set bits 3-5 to add the graphics address base.
B37E LD H,A
B37F ADD HL,HL Double the value in HL.
B380 LD E,(IX+$01) Load Trashmans screen address into DE.
B383 LD D,(IX+$02)
B386 LD C,(IX+$03) Set the sprite height/ width in BC.
B389 LD B,(IX+$04)
Continue on to Copier_Pixels.
Prev: B322 Up: Map Next: B38C