| Prev: 703E | Up: Map | Next: 7051 |
7046: Set XOR blending mode for sprite rendering
|
Modifies sprite rendering code via self-modifying instructions. Patches sprite_draw_op with XOR B and sprite_erase_op with NOP to enable XOR blending mode for fighters/tanks.
|
||||
| blending_mode_xor_nop | 7046 | LD A,$A8 | Patch OPCODE_XOR_B into sprite_draw_op and OPCODE_NOP into sprite_erase_op for XOR rendering. | |
| 7048 | LD ($8C3C),A | |||
| 704B | LD A,$00 | |||
| 704D | LD ($8C1B),A | |||
| 7050 | RET | |||
| Prev: 703E | Up: Map | Next: 7051 |