![]() |
Routines |
| Prev: 34190 | Up: Map | Next: 34294 |
|
Copy of 34334 for the old sprite. The self-modified jump at XORSpriteLoop_Shift lands in this run of shifts, which push the graphic pair into pixel alignment before it is XORed onto the screen.
|
||||
| ShiftOldSpritePair | 34265 | ADD HL,HL | Shift the pair left through A. | |
| 34266 | ADC A,A | |||
| 34267 | ADD HL,HL | |||
| 34268 | ADC A,A | |||
| 34269 | ADD HL,HL | |||
| 34270 | ADC A,A | |||
| 34271 | ADD HL,HL | |||
| 34272 | ADC A,A | |||
| 34273 | ADD HL,HL | |||
| 34274 | ADC A,A | |||
| 34275 | ADD HL,HL | |||
| 34276 | ADC A,A | |||
| 34277 | ADD HL,HL | |||
| 34278 | ADC A,A | |||
| 34279 | EX DE,HL | Switch the shifted pair into DE. | ||
|
XOR three bytes onto the screen, then move up one pixel.
|
||||
| ShiftOldSpritePair_XOR | 34280 | EX (SP),HL | XOR A, D and E onto the screen at HL and restore the graphic pointer. | |
| 34281 | XOR (HL) | |||
| 34282 | LD (HL),A | |||
| 34283 | INC L | |||
| 34284 | LD A,D | |||
| 34285 | XOR (HL) | |||
| 34286 | LD (HL),A | |||
| 34287 | INC L | |||
| 34288 | LD A,E | |||
| 34289 | XOR (HL) | |||
| 34290 | LD (HL),A | |||
| 34291 | POP DE | |||
| 34292 | DEC L | |||
| 34293 | DEC L | |||
| Prev: 34190 | Up: Map | Next: 34294 |