![]() |
Routines |
| Prev: 39704 | Up: Map | Next: 39748 |
|
Used by the routine at Draw_Room.
Draws the floor of the room if bit 4 of the frame flags is set, or clears its area if it is not.
The floor is drawn at x position 24 and y position 160 by the code that draws the ceiling (see Draw_Ceiling), using the tiles of the table at Floor_Tile_Table.
|
||||||||||
| Draw_Floor | 39736 | PUSH DE | Stash the frame flags on the stack. | |||||||
| 39737 | BIT 4,E | Test bit 4 of the frame flags (the floor). | ||||||||
| 39739 | LD HL,40984 | Set the x position to 24 and the y position to 160 (40984). | ||||||||
| 39742 | LD DE,39748 | Point at the table of floor tiles (Floor_Tile_Table). | ||||||||
| 39745 | JP Draw_Ceiling_Check_Present | Jump to Draw_Ceiling_Check_Present to draw the floor. | ||||||||
| Prev: 39704 | Up: Map | Next: 39748 |