Routines |
Prev: 32212 | Up: Map | Next: 32234 |
Used by the routine at 29442. Slides the current contents of the top or bottom half of the speech bubble text window one pixel to the left, and places the new pixel column (4 pixels high) into the slot freed up on the right.
|
||||||||||
32216 | LD B,4 | There are four pixel rows to slide left | ||||||||
32218 | PUSH BC | Save the pixel row counter | ||||||||
32219 | LD C,L | Save L in C briefly | ||||||||
32220 | LD B,6 | The text window is six bytes wide | ||||||||
32222 | RLCA | Push a pixel into the carry flag | ||||||||
32223 | RL (HL) | Slide this pixel into a row of the text window | ||||||||
32225 | DEC HL | |||||||||
32226 | DJNZ 32223 | |||||||||
32228 | LD L,C | Restore L | ||||||||
32229 | POP BC | Restore the pixel row counter to B | ||||||||
32230 | INC H | Move to the next row of pixels | ||||||||
32231 | DJNZ 32218 | Jump back until all four rows of pixels have been done | ||||||||
32233 | RET |
Prev: 32212 | Up: Map | Next: 32234 |