Prev: 39812 Up: Map Next: 39856
39844: Draw Left Wall
Used by the routine at Draw_Room.
Draws the left wall of the room if bit 6 of the frame flags is set, or clears its area if it is not.
The wall is drawn at x position 0 and y position 48 by Draw_Right_Wall_Check_Present, using the tiles of the table at Left_Wall_Tile_Table.
Input
DE Frame flags of the room in E
IX Object record of Sabreman
Draw_Left_Wall 39844 PUSH DE Stash the frame flags on the stack.
39845 BIT 6,E Test bit 6 of the frame flags (the left wall).
39847 LD HL,12288 Set the x position to 0 and the y position to 48 (12288).
39850 LD DE,39664 Point at the table of wall tiles (Left_Wall_Tile_Table).
39853 JP Draw_Right_Wall_Check_Present Jump to Draw_Right_Wall_Check_Present to draw the left wall.
Prev: 39812 Up: Map Next: 39856