![]() |
Routines |
| Prev: 9D23 | Up: Map | Next: 9DA0 |
|
The routines that draw the parts of the frame of a special room that are chosen by the four tables at Special_Room_Frame_Tables. Each entry draws one to three pictures (see Room_Graphics) and returns to the code that called it. The entries are in the order of their addresses: they are not grouped by table.
|
||||
|
Top right: the ceiling and a corner. Used for code 03 of the first table.
|
||||
| Draw_Special_Room_Parts | 9D28 | CALL Draw_Ceiling_Picture | Draw the ceiling. | |
| 9D2B | LD DE,$81AB | Point at the top right corner picture (81AB). | ||
| 9D2E | JR Draw_Top_Right_Corner_Picture | Jump to Draw_Top_Right_Corner_Picture to draw the corner. | ||
|
Top right: a corner and the right wall. Used for code 06 of the first table.
|
||||
| Draw_Top_Right_Corner_And_Right_Wall | 9D30 | LD DE,$80D3 | Point at the top right corner picture (80D3). | |
| 9D33 | CALL Draw_Top_Right_Corner_Picture | Draw the corner. | ||
| 9D36 | JP Draw_Right_Wall_Picture | Jump to Draw_Right_Wall_Picture to draw the right wall. | ||
|
Top right: the ceiling, a corner and the right wall. Used for code 07 of the first table.
|
||||
| Draw_Top_Right_Ceiling_Corner_And_Wall | 9D39 | CALL Draw_Ceiling_Picture | Draw the ceiling. | |
| 9D3C | LD DE,$7CBB | Point at the top right corner picture (7CBB). | ||
| 9D3F | CALL Draw_Top_Right_Corner_Picture | Draw the corner. | ||
| 9D42 | JP Draw_Right_Wall_Picture | Jump to Draw_Right_Wall_Picture to draw the right wall. | ||
|
Bottom right: a corner. Used for code 03 of the second table.
|
||||
| 9D45 | LD DE,$77CB | Point at the bottom right corner picture (77CB). | ||
| 9D48 | JR Draw_Bottom_Right_Corner_Picture | Jump to Draw_Bottom_Right_Corner_Picture to draw the corner. | ||
|
Bottom right: a corner and the floor. Used for code 06 of the second table.
|
||||
| Draw_Bottom_Right_Corner_And_Floor | 9D4A | LD DE,$76F3 | Point at the bottom right corner picture (76F3). | |
| 9D4D | CALL Draw_Bottom_Right_Corner_Picture | Draw the corner. | ||
| 9D50 | JP Draw_Floor_Picture | Jump to Draw_Floor_Picture to draw the floor. | ||
|
Bottom right: a corner and the floor. Used for code 07 of the second table.
|
||||
| 9D53 | LD DE,$7BE3 | Point at the bottom right corner picture (7BE3). | ||
| 9D56 | CALL Draw_Bottom_Right_Corner_Picture | Draw the corner. | ||
| 9D59 | JP Draw_Floor_Picture | Jump to Draw_Floor_Picture to draw the floor. | ||
|
Bottom left: the floor and a corner. Used for code 03 of the third table.
|
||||
| Draw_Floor_And_Bottom_Left_Corner | 9D5C | CALL Draw_Floor_Picture | Draw the floor. | |
| 9D5F | LD DE,$7687 | Point at the bottom left corner picture (7687). | ||
| 9D62 | JR Draw_Bottom_Left_Corner_Picture | Jump to Draw_Bottom_Left_Corner_Picture to draw the corner. | ||
|
Bottom left: a corner and the left wall. Used for code 06 of the third table.
|
||||
| Draw_Bottom_Left_Corner_And_Left_Wall | 9D64 | LD DE,$775F | Point at the bottom left corner picture (775F). | |
| 9D67 | CALL Draw_Bottom_Left_Corner_Picture | Draw the corner. | ||
| 9D6A | JP Draw_Left_Wall_Picture | Jump to Draw_Left_Wall_Picture to draw the left wall. | ||
|
Bottom left: a corner and the left wall. Used for code 07 of the third table.
|
||||
| 9D6D | LD DE,$7837 | Point at the bottom left corner picture (7837). | ||
| 9D70 | CALL Draw_Bottom_Left_Corner_Picture | Draw the corner. | ||
| 9D73 | JP Draw_Left_Wall_Picture | Jump to Draw_Left_Wall_Picture to draw the left wall. | ||
|
Top left: a corner. Used for code 03 of the fourth table.
|
||||
| 9D76 | LD DE,$8067 | Point at the top left corner picture (8067). | ||
| 9D79 | JP Draw_Top_Left_Corner_Picture | Jump to Draw_Top_Left_Corner_Picture to draw the corner. | ||
|
Top left: a corner. Used for code 06 of the fourth table.
|
||||
| 9D7C | LD DE,$813F | Point at the top left corner picture (813F). | ||
| 9D7F | JP Draw_Top_Left_Corner_Picture | Jump to Draw_Top_Left_Corner_Picture to draw the corner. | ||
|
Top left: a corner. Used for code 07 of the fourth table.
|
||||
| 9D82 | LD DE,$7C4F | Point at the top left corner picture (7C4F). | ||
| 9D85 | JP Draw_Top_Left_Corner_Picture | Jump to Draw_Top_Left_Corner_Picture to draw the corner. | ||
|
Top right: a corner. Used for codes 00 and 02 of the first table.
|
||||
| 9D88 | LD DE,$858F | Point at the top right corner picture (858F). | ||
| 9D8B | JP Draw_Top_Right_Corner_Picture | Jump to Draw_Top_Right_Corner_Picture to draw the corner. | ||
|
Bottom right: a corner. Used for codes 00 and 02 of the second table.
|
||||
| 9D8E | LD DE,$84B7 | Point at the bottom right corner picture (84B7). | ||
| 9D91 | JP Draw_Bottom_Right_Corner_Picture | Jump to Draw_Bottom_Right_Corner_Picture to draw the corner. | ||
|
Bottom left: a corner. Used for codes 00 and 02 of the third table.
|
||||
| 9D94 | LD DE,$8523 | Point at the bottom left corner picture (8523). | ||
| 9D97 | JP Draw_Bottom_Left_Corner_Picture | Jump to Draw_Bottom_Left_Corner_Picture to draw the corner. | ||
|
Top left: a corner. Used for codes 00 and 02 of the fourth table.
|
||||
| 9D9A | LD DE,$85FB | Point at the top left corner picture (85FB). | ||
| 9D9D | JP Draw_Top_Left_Corner_Picture | Jump to Draw_Top_Left_Corner_Picture to draw the corner. | ||
| Prev: 9D23 | Up: Map | Next: 9DA0 |