Prev: 29732 Up: Map Next: 29746
29735: Update the SRB for the speech bubble
Used by the routines at 29518 (when printing the speech bubble) and 29746 (when removing the speech bubble). Sets the bits in the screen refresh buffer (SRB) that correspond to the speech bubble, so that they are refreshed when the display is updated.
Input
DE SRB byte address
29735 LD A,255 Set all bits in this SRB byte, indicating that 8 squares in a row (the bottom half of the bubble) need refreshing
29737 LD (DE),A
29738 LD A,E Point DE at the SRB byte corresponding to the next row up
29739 SUB 4
29741 LD E,A
29742 LD A,255 Set all bits in this SRB byte, indicating that 8 squares in a row (the top half of the bubble) need refreshing
29744 LD (DE),A
29745 RET
Prev: 29732 Up: Map Next: 29746