Prev: 48949 Up: Map Next: 49044
49031: Unused: Apply 3-Wide Sprite Attributes
Unused routine to apply colour attributes for a 3-wide sprite. Handles both the overlay buffer and screen attributes.
Input
D Bit 0: 1 = two columns wide, 0 = one column wide
E Sprite X position
HL Screen buffer address
Unused_Apply_3Wide_Attributes 49031 LD C,88 Set C to 88 (overlay attribute buffer base high byte).
49033 PUSH HL Stash the screen address on the stack.
49034 CALL 49044 Call Unused_Write_3Wide_Attributes to apply the overlay buffer attributes.
49037 POP HL Restore the screen address from the stack.
49038 LD C,248 Set C to 248 (screen attribute buffer base high byte).
49040 CALL 49044 Call Unused_Write_3Wide_Attributes to apply the screen attributes.
49043 RET Return.
Prev: 48949 Up: Map Next: 49044