Prev: 9B84 Up: Map Next: 9BB0
9BA4: 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 00 and y position 30 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 9BA4 PUSH DE Stash the frame flags on the stack.
9BA5 BIT 6,E Test bit 6 of the frame flags (the left wall).
9BA7 LD HL,$3000 Set the x position to 00 and the y position to 30 (3000).
9BAA LD DE,$9AF0 Point at the table of wall tiles (Left_Wall_Tile_Table).
9BAD JP Draw_Right_Wall_Check_Present Jump to Draw_Right_Wall_Check_Present to draw the left wall.
Prev: 9B84 Up: Map Next: 9BB0