Prev: 40227 Up: Map Next: 40352
40232: Draw Special Room Parts
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 3 of the first table.
Draw_Special_Room_Parts 40232 CALL Draw_Ceiling_Picture Draw the ceiling.
40235 LD DE,33195 Point at the top right corner picture (33195).
40238 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 6 of the first table.
Draw_Top_Right_Corner_And_Right_Wall 40240 LD DE,32979 Point at the top right corner picture (32979).
40243 CALL Draw_Top_Right_Corner_Picture Draw the corner.
40246 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 7 of the first table.
Draw_Top_Right_Ceiling_Corner_And_Wall 40249 CALL Draw_Ceiling_Picture Draw the ceiling.
40252 LD DE,31931 Point at the top right corner picture (31931).
40255 CALL Draw_Top_Right_Corner_Picture Draw the corner.
40258 JP Draw_Right_Wall_Picture Jump to Draw_Right_Wall_Picture to draw the right wall.
Bottom right: a corner. Used for code 3 of the second table.
40261 LD DE,30667 Point at the bottom right corner picture (30667).
40264 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 6 of the second table.
Draw_Bottom_Right_Corner_And_Floor 40266 LD DE,30451 Point at the bottom right corner picture (30451).
40269 CALL Draw_Bottom_Right_Corner_Picture Draw the corner.
40272 JP Draw_Floor_Picture Jump to Draw_Floor_Picture to draw the floor.
Bottom right: a corner and the floor. Used for code 7 of the second table.
40275 LD DE,31715 Point at the bottom right corner picture (31715).
40278 CALL Draw_Bottom_Right_Corner_Picture Draw the corner.
40281 JP Draw_Floor_Picture Jump to Draw_Floor_Picture to draw the floor.
Bottom left: the floor and a corner. Used for code 3 of the third table.
Draw_Floor_And_Bottom_Left_Corner 40284 CALL Draw_Floor_Picture Draw the floor.
40287 LD DE,30343 Point at the bottom left corner picture (30343).
40290 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 6 of the third table.
Draw_Bottom_Left_Corner_And_Left_Wall 40292 LD DE,30559 Point at the bottom left corner picture (30559).
40295 CALL Draw_Bottom_Left_Corner_Picture Draw the corner.
40298 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 7 of the third table.
40301 LD DE,30775 Point at the bottom left corner picture (30775).
40304 CALL Draw_Bottom_Left_Corner_Picture Draw the corner.
40307 JP Draw_Left_Wall_Picture Jump to Draw_Left_Wall_Picture to draw the left wall.
Top left: a corner. Used for code 3 of the fourth table.
40310 LD DE,32871 Point at the top left corner picture (32871).
40313 JP Draw_Top_Left_Corner_Picture Jump to Draw_Top_Left_Corner_Picture to draw the corner.
Top left: a corner. Used for code 6 of the fourth table.
40316 LD DE,33087 Point at the top left corner picture (33087).
40319 JP Draw_Top_Left_Corner_Picture Jump to Draw_Top_Left_Corner_Picture to draw the corner.
Top left: a corner. Used for code 7 of the fourth table.
40322 LD DE,31823 Point at the top left corner picture (31823).
40325 JP Draw_Top_Left_Corner_Picture Jump to Draw_Top_Left_Corner_Picture to draw the corner.
Top right: a corner. Used for codes 0 and 2 of the first table.
40328 LD DE,34191 Point at the top right corner picture (34191).
40331 JP Draw_Top_Right_Corner_Picture Jump to Draw_Top_Right_Corner_Picture to draw the corner.
Bottom right: a corner. Used for codes 0 and 2 of the second table.
40334 LD DE,33975 Point at the bottom right corner picture (33975).
40337 JP Draw_Bottom_Right_Corner_Picture Jump to Draw_Bottom_Right_Corner_Picture to draw the corner.
Bottom left: a corner. Used for codes 0 and 2 of the third table.
40340 LD DE,34083 Point at the bottom left corner picture (34083).
40343 JP Draw_Bottom_Left_Corner_Picture Jump to Draw_Bottom_Left_Corner_Picture to draw the corner.
Top left: a corner. Used for codes 0 and 2 of the fourth table.
40346 LD DE,34299 Point at the top left corner picture (34299).
40349 JP Draw_Top_Left_Corner_Picture Jump to Draw_Top_Left_Corner_Picture to draw the corner.
Prev: 40227 Up: Map Next: 40352