Spelunky is © 2008, 2009 Derek Yu and Mossmouth, LLC, and is used under the [Spelunky User License v1.1b](https://spelunky.ai/LICENSE.txt). spelunky.ai is an unofficial fan project, not affiliated with or endorsed by Mossmouth. The game and its assets may not be sold.

Music by George Buzinkai and Jonathan Perry; sound effects made in SFXR. From Spelunky Classic 1.1, © 2008, 2009 Derek Yu and Mossmouth, LLC.

# Moai

From the spelunky.ai wiki: <https://spelunky.ai/wiki/moai>. Verified against the spelunky.ai port [v0.1.10](https://github.com/851-labs/spelunky/releases/tag/v0.1.10) on 28 October 2026.

This page describes a secret.

The Moai is a stone head in Spelunky Classic, on one of the Ice Caves' levels 9–12 once a game, with the Hedjet sealed in a chamber inside it.

![A long stone face in dark blue-grey, with heavy brows, a long nose and a wide mouth](https://spelunky.ai/wiki/media/583f7aa191eace98/sprites/sMoaiInside/frames/0%404x.png)

| Moai    |                                                                                           |
| ------- | ----------------------------------------------------------------------------------------- |
| Levels  | 9–12[^1]                                                                                  |
| Chance  | Once a game: 1 in 4 on level 9, 1 in 3 on level 10, 1 in 2 on level 11, else level 12[^1] |
| Part of | [The Ice Caves](https://spelunky.ai/wiki/ice-caves)[^1]                                   |

The Moai is a statue of a head, three blocks wide and four tall, standing on a ledge of rock in one room of
an [Ice Caves](https://spelunky.ai/wiki/ice-caves) level. Nothing breaks it. Inside is a sealed chamber with the
[Hedjet](https://spelunky.ai/wiki/hedjet), the crown that opens the way to the [City of Gold](https://spelunky.ai/wiki/city-of-gold), and an exit of its own.
Around it, the level is an ordinary Ice Caves level, and no message announces it.

## Generation

Every Ice Caves level rolls for the Moai until one makes it: level 9 one time in 4, level 10 one time in 3,
level 11 one time in 2, and level 12 always, so every game that reaches level 12 has had exactly one[^1]. The flag that it's made is cleared only when a new game
starts[^2]. A game started from the Temple's shortcut, at level 13,
never makes one. The [Mothership](https://spelunky.ai/wiki/mothership) and the [Yeti lair](https://spelunky.ai/wiki/yeti-lair) are the other branches of the same roll,
so neither can share the Moai's level, and neither comes before it[^3].

Once the level's path is laid, a room of the second or third row, at random, becomes the Moai's, whatever
the path had put there[^4]. It's one of two layouts, each as likely:
the statue right of the room's middle or left of it, on a ledge of rock open on both sides[^5]. The three blocks it stands on can't be destroyed[^6]. The first clip shows a Moai on level 9: the player makes his
way down to its ledge, stops beside it, and heads back left[^7].

**Clip: The Moai.** On an Ice Caves level with the Moai, the player makes his way down from a ledge, past a Yeti, to the rock the Moai stands on: a stone head three blocks wide and four tall. He stops beside it, then drops off the ledge and heads back left. ([video](https://spelunky.ai/wiki/media/583f7aa191eace98/clips/moai/statue/clip.mp4))

The statue is three solid pieces that can't be destroyed: its left and right sides, each a block wide and
four tall, and its brow between them[^8][^9][^10][^11]. Under the brow, a fourth block, three tall and as strong, fills
the chamber. It holds, from the top, a block of thin ice, then the Moai's own exit with the Hedjet lying on
it, free[^12][^13].

No message announces the Moai: a level starts with one only when it's dark or a special level, and the
Moai's is neither. No Ice Caves level is dark, and the Ice Caves' special levels are the other branches of
the Moai's roll[^14][^15].

## Inhabitants

Level generation makes [the Ice Caves'](https://spelunky.ai/wiki/ice-caves#inhabitants) monsters on the Moai's level as on any
other: [Yetis](https://spelunky.ai/wiki/yeti) and [UFOs](https://spelunky.ai/wiki/ufo) on the blocks[^16]. Nothing
lives inside the statue.

## Items and shops

### The Hedjet

The way in is the [Ankh](https://spelunky.ai/wiki/ankh). When a player wearing it dies on the Moai's level, the Ankh brings him back
with 4 hearts and, if the Moai is active, puts him inside it: the block filling the chamber is destroyed,
and he appears in its top, on the thin ice[^17]. Things far
outside the view are switched off and the code doesn't see them, so a player who dies far from the Moai
comes back at the level's entrance instead, as on any other level[^18][^19]. The thin ice
melts under him in 30 steps (1 second), and he drops onto the Hedjet[^20].
A [Teleporter](https://spelunky.ai/wiki/teleporter) jump can land him inside too[^3]. In the second clip, the player,
wearing the Ankh, drops a [Bomb](https://spelunky.ai/wiki/bomb) at his feet; the blast takes his last hearts, the Ankh revives him in
the chamber, the ice gives way, and he picks up the Hedjet and takes the Moai's exit[^21].

**Clip: Hedjet in the Moai.** On the level with the Moai, the player, wearing an ankh, drops a bomb at his feet. The blast takes his last hearts, and the ankh revives him inside the Moai's sealed chamber, where he falls onto the Hedjet, picks it up and leaves by the Moai's own exit. ([video](https://spelunky.ai/wiki/media/583f7aa191eace98/clips/hedjet/moai/clip.mp4))

The Ankh is sold only in the [Black Market](https://spelunky.ai/wiki/black-market), so the player has to carry it there to the
Moai's level without dying ([the Hedjet's page](https://spelunky.ai/wiki/hedjet#obtaining) has the rest, and
[Reaching the City of Gold](https://spelunky.ai/wiki/city-of-gold-route) walks through the whole way to the City of Gold). The Moai's exit leads to the next
level, as the level's own exit does[^22].

### Shops

Shops, Kali's altar and the [Golden Idol](https://spelunky.ai/wiki/golden-idol)'s room come as on
[any Ice Caves level](https://spelunky.ai/wiki/ice-caves#items-and-shops). A shop only takes a room the path left empty, so never
the Moai's[^23].

## Trivia

- The Moai's exit is made with the `type` "Moai Exit", which nothing in the game reads[^22].
- The game's draw code has a commented-out line that would print "TRUE" beside the player once the Moai
  had been made[^24].

## FAQ

### Where is the Moai in Spelunky Classic?

On one of [the Ice Caves](https://spelunky.ai/wiki/ice-caves)' levels, once a game: level 9 one time in 4, level 10 one time in 3, level 11 one time in 2, and otherwise level 12. It stands in a room of the level's second or third row.

### How do you get inside the Moai in Spelunky Classic?

By dying wearing the [Ankh](https://spelunky.ai/wiki/ankh) on its level, while the Moai is near the view: the Ankh revives the player inside it. Its blocks can't be destroyed, so nothing else opens it, though a [Teleporter](https://spelunky.ai/wiki/teleporter) jump can land inside too.

### What is inside the Moai in Spelunky Classic?

The [Hedjet](https://spelunky.ai/wiki/hedjet), free to take, lying on an exit of the Moai's own, under a block of thin ice. The exit leads on to the next level.

### Is there a Moai in every game of Spelunky Classic?

In every game that reaches level 12: level 12 has it if levels 9 to 11 didn't. A game started from the Temple's shortcut, at level 13, has none.

## See also

- **Related:** [Ankh](https://spelunky.ai/wiki/ankh), [Reaching the City of Gold](https://spelunky.ai/wiki/city-of-gold-route), [Mothership](https://spelunky.ai/wiki/mothership), [Yeti Lair](https://spelunky.ai/wiki/yeti-lair)
- **Found here:** [Hedjet](https://spelunky.ai/wiki/hedjet)

## References

[^1]: [`scripts/scrLevelGen.gml:212-221`](https://spelunky.ai/wiki/source/scripts/scrLevelGen#L212-L221)

[^2]: [`scripts/scrClearGlobals.gml:77`](https://spelunky.ai/wiki/source/scripts/scrClearGlobals#L77)

[^3]: Quirk 1 (docs/quirks.md)

[^4]: [`scripts/scrLevelGen.gml:220`](https://spelunky.ai/wiki/source/scripts/scrLevelGen#L220)

[^5]: [`scripts/scrRoomGen3.gml:153-160`](https://spelunky.ai/wiki/source/scripts/scrRoomGen3#L153-L160)

[^6]: [`scripts/scrRoomGen3.gml:502-506`](https://spelunky.ai/wiki/source/scripts/scrRoomGen3#L502-L506)

[^7]: Clip moai/statue

[^8]: [`scripts/scrRoomGen3.gml:487-491`](https://spelunky.ai/wiki/source/scripts/scrRoomGen3#L487-L491)

[^9]: [`objects/oMoai/create.gml:3`](https://spelunky.ai/wiki/source/objects/oMoai/create#L3)

[^10]: [`objects/oMoai2/create.gml:3`](https://spelunky.ai/wiki/source/objects/oMoai2/create#L3)

[^11]: [`objects/oMoai3/create.gml:3`](https://spelunky.ai/wiki/source/objects/oMoai3/create#L3)

[^12]: [`scripts/scrRoomGen3.gml:492-501`](https://spelunky.ai/wiki/source/scripts/scrRoomGen3#L492-L501)

[^13]: [`objects/oMoaiInside/create.gml:3`](https://spelunky.ai/wiki/source/objects/oMoaiInside/create#L3)

[^14]: [`scripts/scrInitLevel.gml:206-220`](https://spelunky.ai/wiki/source/scripts/scrInitLevel#L206-L220)

[^15]: [`scripts/scrInitLevel.gml:169`](https://spelunky.ai/wiki/source/scripts/scrInitLevel#L169)

[^16]: [`scripts/scrEntityGen.gml:338-379`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L338-L379)

[^17]: [`objects/oPlayer1/step.gml:1853-1861`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L1853-L1861)

[^18]: [`objects/oLevel/step.gml:75-94`](https://spelunky.ai/wiki/source/objects/oLevel/step#L75-L94)

[^19]: [`objects/oPlayer1/step.gml:1867-1872`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L1867-L1872)

[^20]: [`objects/oThinIce/step.gml:1-13`](https://spelunky.ai/wiki/source/objects/oThinIce/step#L1-L13)

[^21]: Clip hedjet/moai

[^22]: [`scripts/scrRoomGen3.gml:496-497`](https://spelunky.ai/wiki/source/scripts/scrRoomGen3#L496-L497)

[^23]: [`scripts/scrLevelGen.gml:239-297`](https://spelunky.ai/wiki/source/scripts/scrLevelGen#L239-L297)

[^24]: [`objects/oGame/draw.gml:168`](https://spelunky.ai/wiki/source/objects/oGame/draw#L168)

### Source code

- [`scripts/scrLevelGen.gml`](https://spelunky.ai/wiki/source/scripts/scrLevelGen)
- [`scripts/scrRoomGen3.gml`](https://spelunky.ai/wiki/source/scripts/scrRoomGen3)
- [`objects/oMoai/create.gml`](https://spelunky.ai/wiki/source/objects/oMoai/create)
- [`objects/oMoaiInside/create.gml`](https://spelunky.ai/wiki/source/objects/oMoaiInside/create)
- [`objects/oPlayer1/step.gml`](https://spelunky.ai/wiki/source/objects/oPlayer1/step)
