Routines |
Prev: 54704 | Up: Map | Next: 54758 |
Draws the character frame at the location of one of the three (open) doors. This is direct function, hence is only used when the door is open (it doesn't utilise the door buffer).
|
|||||||||||
Draw_CharacterInDoorway | 54730 | CALL Character_Address | Retrieve the memory location for the character frame from the passed index in A. | ||||||||
54733 | EX DE,HL | ||||||||||
54734 | LD B,88 | Sets the height and width. | |||||||||
54736 | LD C,6 | ||||||||||
54738 | LD A,(52762) | Retrieves the currently in-focus door from Door_Frame_Reference. | |||||||||
54741 | LD HL,16514 | Work out which screen position to use for the currently focused door;
|
|||||||||
54744 | DEC A | ||||||||||
54745 | JR Z,Copy_Routine | ||||||||||
54747 | DEC A | ||||||||||
54748 | LD HL,16525 | ||||||||||
54751 | JR Z,Copy_Routine | ||||||||||
54753 | LD HL,16536 | ||||||||||
54756 | JR Copy_Routine |
Prev: 54704 | Up: Map | Next: 54758 |