![]() |
Routines |
Prev: 26896 | Up: Map | Next: 26923 |
Used by the routine at 27016.
|
||||||||||||||||||||
ColouriseSprite | 26907 | INC B | Increment the sprite block counter in B' by one. | |||||||||||||||||
26908 | LD (HL),A | Write the sprite data to the sprite background buffer. | ||||||||||||||||||
26909 | INC HL | Increment the sprite background buffer by one. | ||||||||||||||||||
26910 | LD (HL),E | Write the sprite X position to the sprite background buffer. | ||||||||||||||||||
26911 | INC HL | Increment the sprite background buffer by one. | ||||||||||||||||||
26912 | LD (HL),D | Write the sprite Y position to the sprite background buffer. | ||||||||||||||||||
26913 | INC HL | Increment the sprite background buffer by one. | ||||||||||||||||||
26914 | CP 7 | Check if this is a special sprite (type 7). | ||||||||||||||||||
26916 | LD A,C | Load the sprite attribute from C'. | ||||||||||||||||||
26917 | EXX | Switch back to the normal registers. | ||||||||||||||||||
26918 | LD (HL),A | Write the sprite attribute to the attribute buffer. | ||||||||||||||||||
26919 | RET NZ | Return if this isn't a special type 7 sprite (from line 26914). | ||||||||||||||||||
26920 | JP 29682 | Jump to 29682. |
Prev: 26896 | Up: Map | Next: 26923 |