# Room 38: Island Garden

This is an exterior garden area on a tropical island near the ivory palace. The room features decorative animated elements (possibly fountain or statue elements), birds that wander the garden, well-maintained grass and flora, a flagstone path, and a statue with dolphins. The player can explore various features of the garden but cannot interact with the birds or pick flowers.

## Look Description

"You are roaming through the wonderful island garden. Towering beside you is an enchanting ivory palace. You see an interesting statue within this part of the garden."

## Interactions

| Status | Behavior Type | Command | Response |
|--------|--------------|---------|----------|
| TODO | Look | `look /bush` | "A lovely hedge surrounds this island garden." (Print 38 0) |
| TODO | Look | `look /beach` | "You can see the beach in the distance." (Print 38 1) |
| TODO | Look | `look /dirt` | "You see nothing but grass on the ground." (Print 38 2) |
| TODO | Look | `look /grass` | "The grass looks well-tended and manicured." (Print 38 3) |
| TODO | Look | `look /flora` | "The foliage grows luxuriantly here." (Print 38 4) |
| TODO | Look | `look /blossom` | "You see lovely beds of well-tended flowers." (Print 38 5) |
| TODO | Look | `look /forest` | "You see many unusual and lovely trees on this island." (Print 38 6) |
| TODO | Look | `look /garden` | "The beautiful garden gives you a sense of peaceful serenity." (Print 38 7) |
| TODO | Look | `look /path` | "A nice flagstone path circles the statue." (Print 38 8) |
| TODO | Look | `look /castle` | "The lovely ivory palace rises majestically beside you." (Print 38 9) |
| TODO | Look | `look /ocean` | "You can see the ocean in the distance." (Print 38 10) |
| TODO | Look | `look /bird` | "There are many exotic birds on this island." (Print 38 11) |
| TODO | Look | `look /monument` / `look /dolphin` | "Depicted in the statue: a pair of dolphins leap gracefully from a wave." (Print 38 12) |
| TODO | Look | `look [around]` / `look [/island]` / `look [/room]` | "You are roaming through the wonderful island garden. Towering beside you is an enchanting ivory palace. You see an interesting statue within this part of the garden." (Print 38 13) |
| TODO | Talk | `converse /bird` | "Cheep, cheep!" (Print 38 14) |
| TODO | Get | `capture /bird` / `get /bird` | "You can't catch the birds." (Print 38 15) |
| TODO | Action | `kiss /bird` | "You'd have to catch the bird first." (Print 38 16) |
| TODO | Get | `get /blossom` | "It would waste your precious time to stop and pick flowers." (Print 38 17) |

## Scripts

| Status | Behavior Type | Name | Trigger | Behavior |
|--------|--------------|------|---------|----------|
| TODO | Background | (unnamed Prop 1) | Continuous | Animated prop with view 662, loop 3, at position 199, 74 - cycles forward continuously |
| TODO | Background | (unnamed Prop 2) | Continuous | Animated prop with view 662, loop 4, at position 303, 98 - cycles forward continuously |
| TODO | Background | (unnamed Extra 1) | Continuous | Extra bird animation with view 341, loop 2, at position 243, 37 - random pause cycling |
| TODO | Background | (unnamed Extra 2) | Continuous | Extra bird animation with view 341, loop 3, at position 214, 26 - random pause cycling |

## Technical Notes

- **Room Number**: 38
- **Picture**: 38 (or 138 if `global100` is set)
- **Region**: 505 (Island Garden)
- **Exits**: North→35, South→41, West→37
- **Horizon**: 74
- **Music**: None specified

### State Variables

| Variable | Values | Description |
|----------|--------|-------------|
| `global101` | 0 | Room-specific state (initialized to 0) |
| `global100` | 0, non-zero | If set, room uses alternate picture 138 |

### Entry Points

| Direction | Position | Condition |
|-----------|-----------|-----------|
| From North (Room 35) | x: 196, y: 78 | Player enters from north |
| From South (Room 41) | x: 159, y: 187 | Player enters from south |

### Additional Technical Details

- Room sets `global101` to 0 on init
- Room uses Region 505 for shared island/palace logic
- Two Extra objects provide bird animations with random cycling behavior
- Two Prop objects provide continuous decorative animations
- Player starts with view 2, xStep 3, yStep 2 (normal walking)
- If entering from room 35, player positioned at x:196 y:78
- If entering from room 41, player positioned at x:159 y:187
