Prev: 40352 Up: Map Next: 40470
40406: Special Room Frame Tables
Four tables of eight routines, one table for each part of the frame of a special room (see Draw_Special_Room_Frame). The code from the world map selects the entry. The tables are for the top right, the bottom right, the bottom left and the top left, in that order.
Top right.
Special_Room_Frame_Tables 40406 DEFW 40328 Code 0: a corner (40328).
40408 DEFW Draw_Ceiling_Picture Code 1: the ceiling (Draw_Ceiling_Picture).
40410 DEFW 40328 Code 2: a corner (40328).
40412 DEFW Draw_Special_Room_Parts Code 3: the ceiling and a corner (Draw_Special_Room_Parts).
40414 DEFW Draw_Right_Wall_Picture Code 4: the right wall (Draw_Right_Wall_Picture).
40416 DEFW Draw_Nothing Code 5: nothing (Draw_Nothing).
40418 DEFW Draw_Top_Right_Corner_And_Right_Wall Code 6: a corner and the right wall (Draw_Top_Right_Corner_And_Right_Wall).
40420 DEFW Draw_Top_Right_Ceiling_Corner_And_Wall Code 7: the ceiling, a corner and the right wall (Draw_Top_Right_Ceiling_Corner_And_Wall).
Bottom right.
Special_Room_Frame_Tables_Bottom_Right 40422 DEFW 40334 Code 0: a corner (40334).
40424 DEFW Draw_Nothing Code 1: nothing (Draw_Nothing).
40426 DEFW 40334 Code 2: a corner (40334).
40428 DEFW 40261 Code 3: a corner (40261).
40430 DEFW Draw_Nothing Code 4: nothing (Draw_Nothing).
40432 DEFW Draw_Nothing Code 5: nothing (Draw_Nothing).
40434 DEFW Draw_Bottom_Right_Corner_And_Floor Code 6: a corner and the floor (Draw_Bottom_Right_Corner_And_Floor).
40436 DEFW 40275 Code 7: a corner and the floor (40275).
Bottom left.
Special_Room_Frame_Tables_Bottom_Left 40438 DEFW 40340 Code 0: a corner (40340).
40440 DEFW Draw_Nothing Code 1: nothing (Draw_Nothing).
40442 DEFW 40340 Code 2: a corner (40340).
40444 DEFW Draw_Floor_And_Bottom_Left_Corner Code 3: the floor and a corner (Draw_Floor_And_Bottom_Left_Corner).
40446 DEFW Draw_Nothing Code 4: nothing (Draw_Nothing).
40448 DEFW Draw_Nothing Code 5: nothing (Draw_Nothing).
40450 DEFW Draw_Bottom_Left_Corner_And_Left_Wall Code 6: a corner and the left wall (Draw_Bottom_Left_Corner_And_Left_Wall).
40452 DEFW 40301 Code 7: a corner and the left wall (40301).
Top left.
Special_Room_Frame_Tables_Top_Left 40454 DEFW 40346 Code 0: a corner (40346).
40456 DEFW Draw_Nothing Code 1: nothing (Draw_Nothing).
40458 DEFW 40346 Code 2: a corner (40346).
40460 DEFW 40310 Code 3: a corner (40310).
40462 DEFW Draw_Nothing Code 4: nothing (Draw_Nothing).
40464 DEFW Draw_Nothing Code 5: nothing (Draw_Nothing).
40466 DEFW 40316 Code 6: a corner (40316).
40468 DEFW 40322 Code 7: a corner (40322).
Prev: 40352 Up: Map Next: 40470