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.

# Olmec

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

*For the level he guards, see Olmec's Lair.*

Olmec is the final boss of Spelunky Classic, a giant stone head that hops after the player and slams down on him, and that only lava can kill.

![A giant golden head with a red jewel in its headband and white eyes](https://spelunky.ai/wiki/media/17b72a4951674638/sprites/sOlmec/frames/0%404x.png)

| Olmec     |                                                                                                                                                                                                                                                                                                                                                                                |
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Health    | Can't be harmed; lava kills it[^1]                                                                                                                                                                                                                                                                                                                                             |
| Damage    | Crushes the player under a slam[^2]                                                                                                                                                                                                                                                                                                                                            |
| Speed     | 5 pixels per step[^3]                                                                                                                                                                                                                                                                                                                                                          |
| Behaviour | Hops after the player and slams down on him[^4]                                                                                                                                                                                                                                                                                                                                |
| Objects   | `oOlmec`, `oYellowBall`                                                                                                                                                                                                                                                                                                                                                        |
| Found in  | Olmec's Lair[^5]                                                                                                                                                                                                                                                                                                                                                               |
| Drops     | [Caveman](https://spelunky.ai/wiki/caveman) (its worshippers, as it wakes)[^6], [Hawkman](https://spelunky.ai/wiki/hawkman) (its worshipper, as it wakes)[^7], [Bat](https://spelunky.ai/wiki/bat), [Spider](https://spelunky.ai/wiki/spider), [Snake](https://spelunky.ai/wiki/snake), [Frog](https://spelunky.ai/wiki/frog), [Fire Frog](https://spelunky.ai/wiki/fire-frog) |

Olmec waits at the end of the game, on level 16, Olmec's Lair, above a sea of lava, with a
Hawkman and Cavemen bowing before him. He is four blocks wide and tall, and he isn't a monster as the game
counts them but a moving block of stone: nothing the player carries can hurt him, and his only attack is to
fall on the player. The way to beat him is to make him dig: every slam breaks the floor he lands on, and when
he breaks through into the lava he sinks, and the exit opens.

## Behaviour

The fight has its phases: the awakening, then hops and slams, with yellow balls between them, until he
reaches the lava.

### Awakening

**Clip: Olmec awakening.** The view pans across Olmec's lair to the giant stone head, which cracks open, flinging its worshipping hawkman away. Its worshipping cavemen get up and charge, and Olmec hops and slams down before the view returns to the player. ([video](https://spelunky.ai/wiki/media/17b72a4951674638/clips/olmec/awakening/clip.mp4))

When the player arrives, he can't move[^8]. The view pans right
across the lair, 2 pixels a step, to Olmec[^9]. 100 steps after
it stops, Olmec's stone cracks: the [Hawkman](https://spelunky.ai/wiki/hawkman) bowing to him is flung away, stunned and with 1 hit
point, and the bowing [Cavemen](https://spelunky.ai/wiki/caveman) freeze[^10]. Two more
cracks, 50 steps apart, bare his golden face, and 50 steps after that he hops for the first time, with an
alarm[^11][^12][^13]. 20 steps into that hop, the Cavemen get up and charge[^6]. The hop ends in a slam, and 50 steps after it, the view goes
back to the player, who can move, and the boss music starts[^14][^15][^16]. The clip shows
the whole awakening, 437 steps (about 15 seconds) from the player's arrival to his first move[^17].

### Hops and slams

**Clip: Olmec slam.** Olmec hops toward the player, stops in the air above him, and slams down as he runs clear, breaking the floor beneath it. Three yellow balls burst out of it and land as a snake, a bat and a frog. ([video](https://spelunky.ai/wiki/media/17b72a4951674638/clips/olmec/slam/clip.mp4))

Olmec rests on the ground, 100 steps after the awakening, 40–100 steps after a hop that lands without a slam
and 60 after a slam, then hops: he leaves the ground at 4 pixels per step upward, and gravity
brings him down[^18][^19][^20]. For the first 10 steps of a hop he rises straight up; then,
if the player is past either side of him, he drifts toward him, speeding up by 0.25 a step to
2 pixels per step and slowing again[^21]. He stops
at walls, and a hop that hits the ceiling breaks the blocks above him[^22].

If, while he's in the air, the player is lower than his top and within 32 pixels of his middle, Olmec stops dead for
20 steps and then slams down at 5 pixels per step, gaining speed as he
falls[^14][^23]. The
check skips a slam while he's drifting left at half his top speed or more, so he passes over the player, but
not right, where he stops at any speed[^24][^25]. When a slam lands, it shakes the screen and breaks every
block he lands on[^26][^27], so he drops through to whatever is below. The
clip shows Olmec hopping toward the player, stopping in the air over him, and slamming down as he runs clear,
breaking the floor[^28].

A player standing on top of Olmec rides along with him[^29][^30].

### Yellow balls

Once a slam has landed, Olmec has a 1 in 2 chance of spitting three yellow balls before he rests[^31][^32]. Each flies off
2–5 pixels a step to either side and 4–7 upward, falling as it goes[^33][^34]. Where a ball hits a wall, floor or ceiling, it turns into a
monster: a [Bat](https://spelunky.ai/wiki/bat), [Spider](https://spelunky.ai/wiki/spider), [Snake](https://spelunky.ai/wiki/snake) or [Frog](https://spelunky.ai/wiki/frog), each a 9 in 40 chance, or a
[Fire Frog](https://spelunky.ai/wiki/fire-frog), 1 in 10 (the game rolls a 1 in 2 chance between picking from the first four and
from all five)[^35]. A ball that leaves the room is gone[^36]. The balls don't hurt the player. In the clip above,
three balls land as a Snake, a Bat and a Frog[^28].

## Damage

**Clip: Olmec crush.** The player stands still under Olmec, which stops in the air above him and slams down on top of him, crushing him with all four hearts. ([video](https://spelunky.ai/wiki/media/17b72a4951674638/clips/olmec/crush/clip.mp4))

Olmec's only attack is his weight. A player who ends up inside him, when he slams down on him, is crushed:
he dies with however many hearts he had, and the death is counted against Olmec, as any crush in his lair is[^37][^25]. The clip shows a player who stands still under Olmec
crushed with all four hearts[^38]. Touching Olmec otherwise does nothing: he's a
block the player can stand on.

The rest of the danger is what he brings: the [Cavemen](https://spelunky.ai/wiki/caveman) who charge as he wakes, which can beat a
player who stands still to death[^39], and the
monsters his yellow balls make.

## Defeating

**Clip: Olmec in the lava.** Olmec's last slam breaks through the bottom of its lair into the lava, where it slowly sinks out of sight. ([video](https://spelunky.ai/wiki/media/17b72a4951674638/clips/olmec/lava/clip.mp4))

Olmec can't be harmed. He's a moving block, not one of the monsters the game's weapons look for, so the
Whip, bombs, bullets, thrown items and stomps do nothing to him[^40].
A bomb can only blow up the floor around him.

Lava kills him. When his feet touch lava, he stops, shakes the screen with a roar of fire and sinks, and
once the lava closes over his top, he's gone[^1][^41]. That happens when his slams have dug him down through the
floor of the lair into the lava below. In the clip, his last slam breaks through, and he takes 220 steps
(7.33 seconds) to sink out of sight[^42]. His death counts as a kill, and the exit
opens: a door of the lair becomes its exit, with a block of stone beneath it[^43][^44][^45].

## Locations

Olmec is only in Olmec's Lair, level 16, the room the game goes to after level 15[^5]. He's placed there by hand, with his worshippers, rather than
made by level generation[^46]. The level editor has no tile for him.

## Tips

- Slams dig: leading Olmec to slam again and again in one place takes him down through the floor toward the
  lava.
- When Olmec stops in the air, get out from under him: he slams down 20 steps later.
- The top of Olmec is the safest place in the lair: he carries a player who stands on him.
- His yellow balls turn into monsters where they land, so a fight that drags on fills the lair with Bats,
  Snakes and Spiders.

## Trivia

- His yellow balls' collision with blocks still has the code that turns them into monsters, commented out;
  their step event does it instead[^47].
- His object's states include `DEAD`, which nothing sets: he's destroyed the moment the lava covers him[^48][^49].

## FAQ

### How do you beat Olmec in Spelunky Classic?

By getting him into the lava below his lair. Nothing else hurts him, but every slam breaks the floor he lands on, so a player who keeps luring him into slamming leads him to dig his way down until he falls into the lava and sinks. Then the exit opens.

### Can you damage Olmec with bombs or the whip in Spelunky Classic?

No. Olmec isn't one of the monsters weapons hurt: he's a moving block of stone. Bombs only blow up the floor around him.

### How does Olmec kill the player in Spelunky Classic?

By landing on him. When the player is below Olmec, he stops in the air for 20 steps and then slams down; a player still under him is crushed, whatever his hearts. Touching Olmec otherwise does no harm, and the player can even ride on top of him.

### What are Olmec's yellow balls in Spelunky Classic?

After some slams, Olmec spits three yellow balls, which fly off and turn into a [Bat](https://spelunky.ai/wiki/bat), [Spider](https://spelunky.ai/wiki/spider), [Snake](https://spelunky.ai/wiki/snake), [Frog](https://spelunky.ai/wiki/frog) or [Fire Frog](https://spelunky.ai/wiki/fire-frog) where they hit a wall or the floor. The balls do the player no harm.

### What level is Olmec on in Spelunky Classic?

Level 16, the last, after the Temple: Olmec's Lair, a level of its own rather than a generated one.

## See also

- **Damaged by:** Lava[^1]
- **Related:** [Magma Man](https://spelunky.ai/wiki/magma-man)

## References

[^1]: `objects/oOlmec/step.gml:35-43`

[^2]: `objects/oPlayer1/step.gml:1493-1505`

[^3]: `objects/oOlmec/step.gml:150`

[^4]: `objects/oOlmec/step.gml:92-177`

[^5]: `objects/oTransition/step.gml:26`

[^6]: `objects/oOlmec/alarm_6.gml:1-7`

[^7]: `objects/oOlmec/alarm_1.gml:9-21`

[^8]: `objects/oPlayer1/create.gml:102`

[^9]: `objects/oOlmec/step.gml:51-62`

[^10]: `objects/oOlmec/alarm_1.gml:1-27`

[^11]: `objects/oOlmec/alarm_2.gml:1-9`

[^12]: `objects/oOlmec/alarm_3.gml:1-9`

[^13]: `objects/oOlmec/alarm_4.gml:1-5`

[^14]: `objects/oOlmec/step.gml:121-129`

[^15]: `objects/oOlmec/step.gml:156-176`

[^16]: `objects/oOlmec/alarm_5.gml:1-8`

[^17]: Clip olmec/awakening

[^18]: `objects/oOlmec/alarm_5.gml:6-7`

[^19]: `objects/oOlmec/step.gml:68-79`

[^20]: `objects/oOlmec/step.gml:92-144`

[^21]: `objects/oOlmec/step.gml:102-119`

[^22]: `objects/oOlmec/step.gml:15-33`

[^23]: `objects/oOlmec/step.gml:145-155`

[^24]: `objects/oOlmec/step.gml:121-122`

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

[^26]: `objects/oOlmec/step.gml:156-166`

[^27]: `objects/oOlmecSlam/collision_oSolid.gml:1-7`

[^28]: Clip olmec/slam

[^29]: `objects/oOlmec/step.gml:3-7`

[^30]: `objects/oOlmec/step.gml:48-49`

[^31]: `objects/oOlmec/step.gml:167-176`

[^32]: `objects/oOlmec/step.gml:80-91`

[^33]: `objects/oYellowBall/create.gml:3-8`

[^34]: `objects/oYellowBall/step.gml:1-22`

[^35]: `objects/oYellowBall/step.gml:4-20`

[^36]: `objects/oYellowBall/other_outside.gml:1`

[^37]: `objects/oPlayer1/step.gml:1490-1505`

[^38]: Clip olmec/crush

[^39]: Replay `fidelity/replays/olmec-death-seed-1.txt`

[^40]: `objects/oOlmec/create.gml:8`

[^41]: `objects/oOlmec/step.gml:178-185`

[^42]: Clip olmec/lava

[^43]: `objects/oOlmec/step.gml:39-41`

[^44]: `objects/oFinalBoss/step.gml:1-19`

[^45]: Replay `fidelity/replays/ending-seed-1.txt`

[^46]: `rOlmec`, as the room editor placed it

[^47]: `objects/oYellowBall/collision_oSolid.gml:1-16`

[^48]: `objects/oOlmec/create.gml:28`

[^49]: `objects/oOlmec/step.gml:37-43`

### Source code

- `objects/oOlmec/create.gml`
- `objects/oOlmec/step.gml`
- `objects/oOlmec/alarm_1.gml`
- `objects/oOlmec/alarm_2.gml`
- `objects/oOlmec/alarm_3.gml`
- `objects/oOlmec/alarm_4.gml`
- `objects/oOlmec/alarm_5.gml`
- `objects/oOlmec/alarm_6.gml`
- `objects/oOlmecSlam/collision_oSolid.gml`
- `objects/oYellowBall/create.gml`
- `objects/oYellowBall/step.gml`
- `objects/oFinalBoss/step.gml`
- `objects/oPlayer1/step.gml`
