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.

# Graveyard level

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

A graveyard level is a special Jungle level of Spelunky Classic, with graves that hide treasure and Zombies and Vampires in place of its usual monsters.

![A grey gravestone with R.I.P. carved on it](https://spelunky.ai/wiki/media/1d3f433106e37ef1/sprites/sGrave6/frames/0%404x.png)

| Graveyard level |                                                   |
| --------------- | ------------------------------------------------- |
| Levels          | 5–8[^1]                                           |
| Chance          | 1 in 10[^2]                                       |
| Part of         | [The Jungle](https://spelunky.ai/wiki/jungle)[^1] |

A graveyard level is a level of [the Jungle](https://spelunky.ai/wiki/jungle) laid out as any other, but with graves standing on
its ground, most with treasure buried under them. The dead walk there: [Zombies](https://spelunky.ai/wiki/zombie) and
[Vampires](https://spelunky.ai/wiki/vampire) take the place of the Jungle's ground monsters, [Dead Fish](https://spelunky.ai/wiki/dead-fish) swim in place
of [Piranhas](https://spelunky.ai/wiki/piranha), and piles of bones that may rise as [Skeletons](https://spelunky.ai/wiki/skeleton) are eleven times as
common. The Jungle's idol room becomes the [Crystal Skull](https://spelunky.ai/wiki/crystal-skull)'s. The level opens with "THE DEAD
ARE RESTLESS!".

## Generation

Every level of the Jungle makes the roll, 1 in 10, after its path is laid[^3][^4]. It's
separate from the other special levels' rolls, so a graveyard can be a [flooded level](https://spelunky.ai/wiki/flooded-level) or a
[dark level](https://spelunky.ai/wiki/dark-level) as well. It can be the [Black Market](https://spelunky.ai/wiki/black-market) too, one market in ten, which
never says so ([Black Market](https://spelunky.ai/wiki/black-market#special-levels))[^5].

It opens with "THE DEAD ARE RESTLESS!"[^6]. On a dark
level, the message comes after the dark level's, and on a flooded level the lake's comes after it, as "YOU
HEAR RUSHING WATER..." if the level is dark too[^7][^8][^5] ([Flooded level](https://spelunky.ai/wiki/flooded-level#the-roll)). In the clip, level 8 loads
as a graveyard, with graves on the ground; the player whips a Zombie, kills two [Bats](https://spelunky.ai/wiki/bat), and is
bitten by a second Zombie before he jumps on it[^9].

**Clip: A graveyard level.** Level 8 of the Jungle loads as a graveyard, with the message "THE DEAD ARE RESTLESS!" Graves stand on the ground. The player whips a zombie, kills two bats, and is bitten by a second zombie before he jumps on it. ([video](https://spelunky.ai/wiki/media/1d3f433106e37ef1/clips/restless-dead/arrival/clip.mp4))

### The graves

[Level generation](https://spelunky.ai/wiki/level-generation) goes over every block of earth, and puts a grave on top of one with a 1 in 20 chance, if
nothing is there (a block, the entrance or the exit) and it isn't in one of the six columns that flank the
borders between rooms (`x` 160, 176, 320, 336, 480 and 496)[^10].
A grave is solid, one of five headstones at random, and breaks when the block under it does[^11][^12].

The level's top border is earth with nothing over it inside the level, so most graveyard levels have a grave
or more above the top, out of sight, their treasure sealed in the border's rock[^5][^13].

### The Crystal Skull's room

The room that would hold the Jungle's [Golden Idol](https://spelunky.ai/wiki/golden-idol) (a side room's 1 in 9, once a level, once
the roll for [Kali's altar](https://spelunky.ai/wiki/kalis-altar) fails) holds the [Crystal Skull](https://spelunky.ai/wiki/crystal-skull) instead: a tomb of temple stone
with the skull inside, four piles of bones around it, which are always rising bones, and two push blocks[^14][^15][^5]. Picking up the skull brings the [Ghost](https://spelunky.ai/wiki/ghost), if there's none on the level yet[^16][^17].

## Inhabitants

The ground's monsters are made on top of blocks with open space above, outside the entrance's room,
whether or not there's water above[^18]:

| Monster                                         | Where                                                                              | Chance                                          |            |
| ----------------------------------------------- | ---------------------------------------------------------------------------------- | ----------------------------------------------- | ---------- |
| [Zombie](https://spelunky.ai/wiki/zombie)       | On top of a block                                                                  | 1 in 25                                         | [^19]      |
| [Vampire](https://spelunky.ai/wiki/vampire)     | On top of a block                                                                  | 1 in 160, once the Zombie's fails               | [^20]      |
| [Bat](https://spelunky.ai/wiki/bat)             | Hanging under a block                                                              | 1 in 60, where other Jungle levels have 1 in 80 | [^21]      |
| [Dead Fish](https://spelunky.ai/wiki/dead-fish) | In the water                                                                       | 1 in 30 for each water tile                     | [^22]      |
| [Monkey](https://spelunky.ai/wiki/monkey)       | On a vine                                                                          | 1 in 15 for each vine tile                      | [^23]      |
| [Skeleton](https://spelunky.ai/wiki/skeleton)   | Rising from a pile of bones, one pile in eight (below)                             | Bones eleven times as likely                    | [^24][^25] |
| [Scarab](https://spelunky.ai/wiki/scarab)       | Hanging under a block, on a [dark level](https://spelunky.ai/wiki/dark-level) only | 1 in 40                                         | [^26]      |

So level generation makes no [Mantraps](https://spelunky.ai/wiki/mantrap), [Cavemen](https://spelunky.ai/wiki/caveman), [Frogs](https://spelunky.ai/wiki/frog),
[Fire Frogs](https://spelunky.ai/wiki/fire-frog) or [Piranhas](https://spelunky.ai/wiki/piranha) on a graveyard level, and makes Zombies, Vampires and Dead
Fish nowhere else[^27]. The [Ghost](https://spelunky.ai/wiki/ghost) comes to a player
who stays too long, as on every level[^28].

## Hazards

- **[Zombies](https://spelunky.ai/wiki/zombie)** and **[Vampires](https://spelunky.ai/wiki/vampire)** on the ground.
- **[Dead Fish](https://spelunky.ai/wiki/dead-fish)** in the water.
- The Jungle's [Spear Traps](https://spelunky.ai/wiki/spear-trap) and [Spikes](https://spelunky.ai/wiki/spikes), as on its other levels.

## Items and shops

### The graves' treasure

Each grave may bury something in the block it stands on: a Shotgun for an Ash grave, or else gold or a gem,
if the block holds no treasure already[^29]:

| What                                                                  | Chance                                  |       |
| --------------------------------------------------------------------- | --------------------------------------- | ----- |
| An Ash grave, with a free [Shotgun](https://spelunky.ai/wiki/shotgun) | 1 in 40                                 | [^30] |
| A [Gold Nugget](https://spelunky.ai/wiki/gold-nugget)                 | 1 in 2, once the Ash grave's roll fails | [^31] |
| A [Big Sapphire](https://spelunky.ai/wiki/big-sapphire)               | 1 in 4, once those fail                 | [^32] |
| A [Big Emerald](https://spelunky.ai/wiki/big-emerald)                 | 1 in 6, once those fail                 | [^33] |
| A [Big Ruby](https://spelunky.ai/wiki/big-ruby)                       | 1 in 8, once those fail                 | [^34] |
| Nothing                                                               | Once those fail                         | [^35] |

The game means to make one Ash grave a level at most, but the flag it sets isn't the one it checks, so
every grave rolls its 1 in 40 afresh, and a level can have two or more ([Several Ash graves](https://spelunky.ai/wiki/ash-graves))[^5][^36].

**Clip: Two Ash graves on one level.** A graveyard level opens with two Ash graves in view, each with a free Shotgun buried in the block under it. The game means to make at most one, but the flag it sets is never the one it checks. ([video](https://spelunky.ai/wiki/media/1d3f433106e37ef1/clips/quirks/ash-graves/clip.mp4))

### Treasure and shops

Treasure is scattered as on [any Jungle level](https://spelunky.ai/wiki/jungle#items-and-shops), but piles of bones, each a
[Skeleton](https://spelunky.ai/wiki/skeleton) waiting to rise one time in eight, are eleven times as likely: their roll is passed
10, which it adds to the 1 it needs to come up[^24][^37][^25][^38][^39]. Shops
come as on the Jungle's other levels.

## Secrets

- **The [Crystal Skull](https://spelunky.ai/wiki/crystal-skull)**, on a graveyard level with an idol room.
- **Ash graves**, each with a free [Shotgun](https://spelunky.ai/wiki/shotgun).

## Trivia

- The code spells the level's flag `cemetary`[^2].
- A grave's object has its own headstone sprite, which never shows: its create event always swaps it for one
  of five others[^11][^5].

## FAQ

### How common is a graveyard level in Spelunky Classic?

Each level of [the Jungle](https://spelunky.ai/wiki/jungle), 5 to 8, has a 1 in 10 chance of being one, whatever else it is: a [flooded level](https://spelunky.ai/wiki/flooded-level), a [dark level](https://spelunky.ai/wiki/dark-level) or the [Black Market](https://spelunky.ai/wiki/black-market). It opens with "THE DEAD ARE RESTLESS!".

### What monsters are on a graveyard level in Spelunky Classic?

[Zombies](https://spelunky.ai/wiki/zombie) and [Vampires](https://spelunky.ai/wiki/vampire) on the ground in place of the Jungle's [Mantraps](https://spelunky.ai/wiki/mantrap), [Cavemen](https://spelunky.ai/wiki/caveman) and [Frogs](https://spelunky.ai/wiki/frog), [Dead Fish](https://spelunky.ai/wiki/dead-fish) in the water in place of [Piranhas](https://spelunky.ai/wiki/piranha), more [Bats](https://spelunky.ai/wiki/bat), and more piles of bones that rise as [Skeletons](https://spelunky.ai/wiki/skeleton).

### What is in the graves in Spelunky Classic?

Most often a [Gold Nugget](https://spelunky.ai/wiki/gold-nugget), buried in the block under the grave, or else a big gem, or nothing. One grave in 40 is an Ash grave, with a free [Shotgun](https://spelunky.ai/wiki/shotgun) buried under it.

### Where is the Crystal Skull in Spelunky Classic?

On a graveyard level, in the room that would hold the Jungle's [Golden Idol](https://spelunky.ai/wiki/golden-idol). Not every graveyard level has that room, and picking up the [Crystal Skull](https://spelunky.ai/wiki/crystal-skull) brings the [Ghost](https://spelunky.ai/wiki/ghost).

## Gallery

**Clip: Crystal skull and the ghost.** On a Jungle graveyard level, the player picks up the crystal skull in its stone tomb, and skeletons rise from the bones around it. A ghost drifts in from the side of the screen, through the walls, and kills him on touch. ([video](https://spelunky.ai/wiki/media/1d3f433106e37ef1/clips/crystal-skull/ghost/clip.mp4))

## See also

- **Related:** [Zombie](https://spelunky.ai/wiki/zombie), [Vampire](https://spelunky.ai/wiki/vampire), [Crystal Skull](https://spelunky.ai/wiki/crystal-skull), [Level generation](https://spelunky.ai/wiki/level-generation), [Several Ash graves](https://spelunky.ai/wiki/ash-graves)
- **Found here:** [Big Emerald](https://spelunky.ai/wiki/big-emerald), [Big Ruby](https://spelunky.ai/wiki/big-ruby), [Big Sapphire](https://spelunky.ai/wiki/big-sapphire), [Crystal Skull](https://spelunky.ai/wiki/crystal-skull), [Dead Fish](https://spelunky.ai/wiki/dead-fish), [Gold Nugget](https://spelunky.ai/wiki/gold-nugget), [Shotgun](https://spelunky.ai/wiki/shotgun), [Skeleton](https://spelunky.ai/wiki/skeleton), [Vampire](https://spelunky.ai/wiki/vampire), [Zombie](https://spelunky.ai/wiki/zombie)

## References

[^1]: [`scripts/scrInitLevel.gml:148`](https://spelunky.ai/wiki/source/scripts/scrInitLevel#L148)

[^2]: [`scripts/scrInitLevel.gml:147-148`](https://spelunky.ai/wiki/source/scripts/scrInitLevel#L147-L148)

[^3]: [`scripts/scrInitLevel.gml:144-148`](https://spelunky.ai/wiki/source/scripts/scrInitLevel#L144-L148)

[^4]: [`scripts/scrClearGlobals.gml:56`](https://spelunky.ai/wiki/source/scripts/scrClearGlobals#L56)

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

[^6]: [`objects/oPlayer1/alarm_0.gml:27-33`](https://spelunky.ai/wiki/source/objects/oPlayer1/alarm_0#L27-L33)

[^7]: [`objects/oPlayer1/alarm_1.gml:11-23`](https://spelunky.ai/wiki/source/objects/oPlayer1/alarm_1#L11-L23)

[^8]: [`objects/oPlayer1/alarm_4.gml:1-6`](https://spelunky.ai/wiki/source/objects/oPlayer1/alarm_4#L1-L6)

[^9]: Clip restless-dead/arrival

[^10]: [`scripts/scrEntityGen.gml:176-187`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L176-L187)

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

[^12]: [`objects/oSolid/destroy.gml:19-23`](https://spelunky.ai/wiki/source/objects/oSolid/destroy#L19-L23)

[^13]: Replay `fidelity/replays/item-seed-420-ash-graves.txt`

[^14]: [`scripts/scrRoomGen2.gml:79-114`](https://spelunky.ai/wiki/source/scripts/scrRoomGen2#L79-L114)

[^15]: [`scripts/scrRoomGen2.gml:490-494`](https://spelunky.ai/wiki/source/scripts/scrRoomGen2#L490-L494)

[^16]: [`objects/oPlayer1/step.gml:1232-1239`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L1232-L1239)

[^17]: Clip crystal-skull/ghost

[^18]: [`scripts/scrEntityGen.gml:262-337`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L262-L337)

[^19]: [`scripts/scrEntityGen.gml:280-282`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L280-L282)

[^20]: [`scripts/scrEntityGen.gml:283`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L283)

[^21]: [`scripts/scrEntityGen.gml:268-272`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L268-L272)

[^22]: [`scripts/scrEntityGen.gml:326-336`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L326-L336)

[^23]: [`scripts/scrEntityGen.gml:321-324`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L321-L324)

[^24]: [`scripts/scrEntityGen.gml:255-259`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L255-L259)

[^25]: [`scripts/scrTreasureGen.gml:80-88`](https://spelunky.ai/wiki/source/scripts/scrTreasureGen#L80-L88)

[^26]: [`scripts/scrEntityGen.gml:271`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L271)

[^27]: [`scripts/scrEntityGen.gml:280-295`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L280-L295)

[^28]: [`objects/oGame/step.gml:39-46`](https://spelunky.ai/wiki/source/objects/oGame/step#L39-L46)

[^29]: [`scripts/scrEntityGen.gml:188-202`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L188-L202)

[^30]: [`scripts/scrEntityGen.gml:188-195`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L188-L195)

[^31]: [`scripts/scrEntityGen.gml:198`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L198)

[^32]: [`scripts/scrEntityGen.gml:199`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L199)

[^33]: [`scripts/scrEntityGen.gml:200`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L200)

[^34]: [`scripts/scrEntityGen.gml:201`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L201)

[^35]: [`scripts/scrEntityGen.gml:196-202`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L196-L202)

[^36]: Clip quirks/ash-graves

[^37]: [`scripts/scrTreasureGen.gml:24`](https://spelunky.ai/wiki/source/scripts/scrTreasureGen#L24)

[^38]: [`scripts/scrTreasureGen.gml:103-111`](https://spelunky.ai/wiki/source/scripts/scrTreasureGen#L103-L111)

[^39]: [`scripts/scrTreasureGen.gml:124-132`](https://spelunky.ai/wiki/source/scripts/scrTreasureGen#L124-L132)

### Source code

- [`scripts/scrInitLevel.gml`](https://spelunky.ai/wiki/source/scripts/scrInitLevel)
- [`scripts/scrClearGlobals.gml`](https://spelunky.ai/wiki/source/scripts/scrClearGlobals)
- [`scripts/scrEntityGen.gml`](https://spelunky.ai/wiki/source/scripts/scrEntityGen)
- [`scripts/scrTreasureGen.gml`](https://spelunky.ai/wiki/source/scripts/scrTreasureGen)
- [`scripts/scrRoomGen2.gml`](https://spelunky.ai/wiki/source/scripts/scrRoomGen2)
- [`objects/oGrave/create.gml`](https://spelunky.ai/wiki/source/objects/oGrave/create)
- [`objects/oPlayer1/alarm_0.gml`](https://spelunky.ai/wiki/source/objects/oPlayer1/alarm_0)
- [`objects/oPlayer1/alarm_1.gml`](https://spelunky.ai/wiki/source/objects/oPlayer1/alarm_1)
