# Room 45: Genesta's Bed Chamber

## Look Description

"Genesta's bed chamber is very beautiful and serene. Genesta lies very still upon the seashell bed; her concerned fairy helpers hovering near, and her pet snow leopard lying close by."

## Interactions

| Status | Behavior Type | Command | Response |
|--------|--------------|---------|----------|
| TODO | Look | `look [at/on/in]/bed` | "Genesta is very ill. She lies, unmoving, in her shell bed." (Print 45 0) |
| TODO | Look | `look <under/bed` | "There is nothing under the bed." (Print 45 1) |
| TODO | Look | `look/wand[<magic]` | "Genesta's magic wand lies upon the bed." (Print 45 2) |
| TODO | Look | `look/window` (when near window) | "You see the ocean out the window." (Print 45 3) |
| TODO | Look | `look/window` (when far from window) | "You can't see out the window from here." (Print 45 4) |
| TODO | Look | `look/blossom,flora` | "Gorgeous flowers surround Genesta as she lies, ill, on her bed." (Print 45 5) |
| TODO | Look | `look/stair` | "Wide steps lead down from Genesta's bed chamber." (Print 45 6) |
| TODO | Look | `look/chest,dresser,drawer` (when looking inside) | "No. It's private." (Print 45 7) |
| TODO | Look | `look/chest,dresser,drawer` (when looking at) | "It must hold Genesta's clothes." (Print 45 8) |
| TODO | Look | `look/wall` | "There is nothing of importance on the walls." (Print 45 9) |
| TODO | Look | `look [<down]/dirt` | "There is nothing interesting on the floor." (Print 45 10) |
| TODO | Look | `look/genesta` | "The lovely fairy is visibly fading...fast. Within hours, if she doesn't get her magic talisman back, she'll be dead." (Print 45 11) |
| TODO | Look | `look/leopard[<snow,white]` | "A white, spotted snow leopard lies on the floor of Genesta's bed chamber. It lies quite still, but for an occasional twitch of its tail." (Print 45 12) |
| TODO | Look | `look [<around][/room,tower,bedroom,chamber[<bed]]` | "Genesta's bed chamber is very beautiful and serene. Genesta lies very still upon the seashell bed; her concerned fairy helpers hovering near, and her pet snow leopard lying close by." (Print 45 13) |
| TODO | Look | `look[/fairies[<little]]` | "Genesta's constant companions are small fairies with fluttering wings and brightly-colored gowns. They utter not a word." (Print 45 23) |
| TODO | Action | `deliver,return/amulet[/genesta]` | Gives magic talisman to Genesta, triggers ending sequence (Print 45 14) |
| TODO | Action | `(lay<down,on,in),(sleep<in,on),(get<in,on)[/bed]` or `sleep` | "Not with Genesta in it!" (Print 45 15) |
| TODO | Get | `get/blossom` | "No. They belong to Genesta." (Print 45 16) |
| TODO | Get | `get,get,rob/wand` | "That belongs to Genesta." (Print 45 17) |
| TODO | Action | `open/dresser,drawer,chest` | "No. It's private." (Print 45 7) |
| TODO | Talk | `converse/genesta` or `converse` | "As you attempt to speak to the gravely ill Genesta, her small fairy helpers flutter madly about, trying to prevent you from disturbing her." (Print 45 18) |
| TODO | Action | `kill/genesta` | "THAT is DEFINITELY NOT the thing to do!" (Print 45 19) |
| TODO | Get | `get/genesta` | "You cannot get Genesta." (Print 45 20) |
| TODO | Action | `kiss/genesta` or `kiss` | "She needs her talisman, not a kiss!" (Print 45 21) |
| TODO | Action | `help,save/genesta` | "You can start by helping to get her talisman back from Lolotte." (Print 45 22) |
| TODO | Talk | `converse[/fairies]` | "You speak to the little fairies, but they do not respond. Perhaps, they cannot talk." (Print 45 24) |
| TODO | Action | `kill[/fairies]` | "You are NOT a murderous girl, Rosella!" (Print 45 25) |
| TODO | Get | `get/fairies` or `capture/fairies` | "It's impossible to obtain a fairy." (Print 45 26) |
| TODO | Action | `kiss/fairies` | "The little fairies do not need kissing." (Print 45 27) |
| TODO | Action | `help/fairies` | "The little fairies don't need your help; Genesta does." (Print 45 28) |
| TODO | Talk | `converse/leopard[<snow,white]` | "Snow leopards do not talk!" (Print 45 29) |
| TODO | Action | `kill/leopard[<snow,white]` | "Oh, yeah. You're going to kill a big snow leopard with your bare hands!" (Print 45 30) |
| TODO | Get | `get,capture/leopard[<snow,white]` | "Not this cat!" (Print 45 31) |
| TODO | Action | `kiss,pat/leopard[<snow,white]` | "That's probably not a good idea." (Print 45 32) |
| TODO | Inventory | `deliver/*/leopard` | "The snow leopard doesn't want it." (Print 45 33) |
| TODO | Inventory | `deliver/fairies/*` or `deliver/*/fairies` | "The small fairies don't need anything." (Print 45 34) |
| TODO | Inventory | `deliver/genesta,fairies/*` or `deliver/*[/genesta,fairies]` | "Genesta only needs her talisman." (Print 45 35) |

## Scripts

| Status | Behavior Type | Name | Trigger | Behavior |
|--------|--------------|------|---------|----------|
| TODO | Background | `ChaseEgo` | Player enters center zone (rect 93,116 to 223,151) and is to the left of center | Fairy chases and moves toward player, print message about fairies trying to keep player away (Print 45 36) |
| TODO | Interaction | `ChaseEgoWhenTalk` | Player tries to talk to Genesta | Fairy moves toward player, then returns to wandering after 4 seconds |
| TODO | Background | `Flutter3` | Default script for left fairy (view 112) | Fairy moves to position 103,60 then wanders randomly |
| TODO | Background | `Flutter6` | Default script for right fairy (view 115) | Fairy moves to position 220,60 then wanders randomly |
| TODO | Background | `catMove` | global223 is set (leopard released) | Snow leopard cycles through animation frames, occasionally plays meow animation |
| TODO | Interaction | `closer` | Player delivers amulet to Genesta | End game sequence: Genesta recovers, thanks player, transforms Rosella, exits to room 690 (the ending) |

## Technical Notes

- **Room Number**: 45
- **Picture**: 45
- **Style**: $0010 (dpOPEN_CENTEREDGE)
- **Exits**: East → Room 46 (right edge, control area $0040)
- **Music**: Sound 34 (fairyMusic)

### Objects

| Object | View | Description |
|--------|------|-------------|
| Bed | 101 | Genesta's seashell bed with loop 0 (ill state), loop 1 (awake), loop 2 (sitting up), loop 3 (waving) |
| Left Fairy | 112 | Small fairy helper that flutters around the left side |
| Right Fairy | 115 | Small fairy helper that flutters around the right side |
| Snow Leopard | 365 | Genesta's pet leopard (only visible when global223 is set) |
| Candle Props | 632 | Animated candles on either side of the bed (loops 1) |

### State Variables

| Variable | Values | Description |
|----------|--------|-------------|
| `global205` | 0, 1 | Room completion flag - set to 1 after delivering amulet |
| `global223` | 0, 1 | Snow leopard released flag - when set, leopard is visible and animated |
| `global224` | 0, 1 | Amulet delivered flag - set when player gives amulet to Genesta |
| `global160` | 30 | Used to track the current room for Genesta conversation |
| `global159` | 0, 1 | Genesta conversation state |
| `global204` | 0 | Temporary flag during ending sequence |
| `global169` | 0, 1 | Used in Genesta look description for conditional text |
| `global228` | string | Format buffer for Genesta look description |

### Synonyms

- `room` = castle
- `leopard` = cat

### Entry Position

- Player enters at position (225, 174) - from the west
- Entry position controlled by `gPrevRoomNum` in caller (not shown in this room)
