# Room 64: Old Dining Room

This is an abandoned dining room in the witch's house. The room features a long table with crumbs, chairs, a window looking out to the cemetery, an empty hutch/cabinet, and a chandelier. When the witch has been defeated (global100 is set), lit candles appear on the table. The player can look at various features but cannot interact much with the room's contents.

## Look Description

"This old dining room has seen better days! The long table is littered with crumbs and dust, and against the wall, the empty hutch is covered with cobwebs."

## Interactions

| Status | Behavior Type | Command | Response |
|--------|--------------|---------|----------|
| TODO | Look | `look` / `look around` / `look room` | "This old dining room has seen better days! The long table is littered with crumbs and dust, and against the wall, the empty hutch is covered with cobwebs." (Print 64 0) |
| TODO | Look | `look under table` / `look <under/table` | "There is nothing of interest under the table." (Print 64 1) |
| TODO | Look | `look table` | "The dusty old table is littered with crumbs." (Print 64 2) |
| TODO | Look | `look chair` | "The chairs seem to be falling apart." (Print 64 3) |
| TODO | Look | `look window` (when in position 231-278, 118-139) | "You see the cemetery out the window." (Print 64 4) |
| TODO | Look | `look window` (when not close enough) | "You're not close enough." (Print 800 1) |
| TODO | Look | `look cabinet` / `look hutch` | "There is nothing of interest in the hutch." (Print 64 5) |
| TODO | Look | `look chandelier` | "A tarnished chandelier hangs above the dining table." (Print 64 6) |
| TODO | Look | `look wall` | "There is nothing of importance on the walls." (Print 64 7) |
| TODO | Look | `look floor` / `look down` / `look dirt` | "There is nothing of interest on the floor." (Print 64 8) |
| TODO | Look | `look crumb` / `look crumbs` | "You see crumbs here." (Print 64 9) |
| TODO | Action | `sit` | "You don't have time for that!" (Print 64 10) |
| TODO | Get | `get crumb` / `get crumbs` | "You have no use for crumbs." (Print 64 11) |

## Scripts

| Status | Behavior Type | Name | Trigger | Behavior |
|--------|--------------|------|---------|----------|
| TODO | Background | CandleAnim | Continuous when `witch_defeated = true` | Three candle props (views 536/2, 536/1, 536/2 with different cels) animate with Fwd cycle on the table |

## Technical Notes

- **Room Number**: 64
- **Picture**: 64
- **Region**: 603 (no separate region script found)
- **Exits**: North→68 (top of room), South→65 (bottom of room)
- **Entry Points**: From Room 68: player positioned at (51, 130); From Room 65: player positioned at (210, 117)

### State Variables

| Variable | Values | Description |
|----------|--------|-------------|
| `witch_defeated` | `true`, `false` | Set when the witch has been defeated (global100). When true, candles appear on the table |
| `global100` | Set when witch defeated | Controls candle visibility in the dining room |
| `global133` | Current room number | Checked to determine if player was last in this room |
| `global134` | Non-zero value | Used to track player position/state for the room region |

### Additional Technical Details

- Room applies Region 603 on entry (no separate script found)
- Exits use control areas: $0040 for north exit to room 68, $0020 for south exit to room 65
- When entering from room 65, player starts at position (210, 117) with view 4 (walking)
- When entering from room 68, player starts at position (51, 130) with view 4 (walking)
- Three static view elements (536, loop 3) show candle holders on the table
- When witch is defeated, additional props appear including two view 648 elements and three animated candle props with cycling animations
- Window can only be examined when player is within the rectangular area (231, 118) to (278, 139)
