3.5 KiB
3.5 KiB
Room 62: Bedroom
This is the interior of an abandoned bedroom in what appears to have been the master bedroom of a house. The room features a large bed, a dresser with a broken mirror, a chandelier (lamp), and a tattered carpet. The room has exits leading north and south. The chandeliers are only visible when global100 is set. The player can look at various objects but cannot interact with the bed meaningfully.
Look Description
"It appears as if this was once the master bedroom. However, cobwebs hang everywhere, and dust covers the furniture."
Interactions
| Status | Behavior Type | Command | Response |
|---|---|---|---|
| TODO | Look | look under bed / look <under/bed |
"There is nothing under the bed." |
| TODO | Look | look bed |
"The old bed is massive and dominates the room." |
| TODO | Look | look window |
"You don't see a window." |
| TODO | Look | look in chest / look in dresser / look in drawer / look <in/chest,dresser,drawer |
"The drawers are empty." |
| TODO | Look | look chest / look dresser |
(If x < 150): "You see a small dresser." / (If x >= 150): "A chest of drawers, sporting a broken mirror, sets against the wall." |
| TODO | Look | look wall |
"There is nothing of importance on the walls." |
| TODO | Look | look chandelier / look lamp |
"The lamp is old and dusty." |
| TODO | Look | look dirt / look down |
"There is nothing of interest on the floor." |
| TODO | Look | look mirror |
(If near mirror positions): "You look in the mirror and see the reflection of a poor, but beautiful, peasant girl." / (Otherwise): "You're not close enough to look in either mirror." |
| TODO | Look | look carpet / look rug |
"A tattered oriental rug covers the floor at the foot of the bed." |
| TODO | Look | look around / look room / look [<around][/room] |
"It appears as if this was once the master bedroom. However, cobwebs hang everywhere, and dust covers the furniture." |
| TODO | Action | open chest / open dresser / open drawer |
"The drawers are empty." |
| TODO | Action | get on bed / get in bed / lay on bed / lay in bed / sleep on bed / sleep in bed |
"You don't have time for that!" |
Scripts
| Status | Behavior Type | Name | Trigger | Behavior |
|---|---|---|---|---|
| TODO | Background | Chandelier | Room init when global100 != 0 |
Creates two Prop objects with view 536, loops 1 and 2, at positions (114,77) and (205,77), with cel 0 and 1 respectively, set to priority 4 with forward cycling animation |
Technical Notes
- Room Number: 62
- Picture: 62
- Region: 603 (GhostWander)
- Exits: North→68 (via control area $0040), South→59 (via control area $0020)
- Synonyms:
room=bedroom
State Variables
| Variable | Values | Description |
|---|---|---|
global100 |
0, non-zero |
Controls visibility of chandelier props (non-zero = visible) |
global133 |
Room number | Current room number |
global134 |
0-254 |
Used with region 603 for ghost wandering state |
Additional Technical Details
- Entry from Room 59: Player positioned at (47, 129), view 4, xStep 4, yStep 2
- Entry from Room 68: Player positioned at (244, 157), view 4, xStep 4, yStep 2
- Two chandelier Props (view 536) created conditionally based on global100
- Mirror has position-specific responses - only works when player is in rect (19,148,80,168) or (191,133,271,162)
- Dresser response varies based on player's x position (< 150 vs >= 150)
- Uses region 603 for ghost NPC wandering behavior