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.

# Flare

From the spelunky.ai wiki: <https://spelunky.ai/wiki/flare>.

The Flare is a carryable item in Spelunky Classic, three to a crate by a dark level's entrance, that lights the dark 96 pixels around it.

![A small round flame, white at its heart, ringed with yellow and red](https://spelunky.ai/wiki/media/sprites/sFlare/anim%404x.png)

| Flare    |                                                                                                                                                                                              |
| -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Kind     | Carryable                                                                                                                                                                                    |
| Effect   | Lights the dark around it[^1]                                                                                                                                                                |
| Damage   | 1 hit point[^2][^3][^4][^5][^6][^7]                                                                                                                                                          |
| Objects  | `oFlare`, `oFlareCrate`                                                                                                                                                                      |
| Found in | [The Mines](https://spelunky.ai/wiki/mines), [The Jungle](https://spelunky.ai/wiki/jungle), [The Temple](https://spelunky.ai/wiki/temple), [Dark level](https://spelunky.ai/wiki/dark-level) |

Level generation puts a crate of Flares beside the entrance of every [dark level](https://spelunky.ai/wiki/dark-level) it makes, and the
level's opening message, "I'D BETTER USE THESE FLARES!", points the player to it. A Flare is a light he can carry: held,
thrown or lying on the ground, it lights a circle of the cave around it, and his own small light widens
beside it. Nothing burns it out, so one carried through the level's exit is still lit on the next level.

## Usage

**Clip: Crate of flares.** After the screen between levels, level 2 of the Mines loads dark, with a crate of flares glowing beside the entrance. The player walks over to it and opens it with up and the attack key, and three lit flares fly out, each lighting the dark around it. ([video](https://spelunky.ai/wiki/media/clips/flare/crate/clip.mp4))

### The crate

The crate of Flares is a box with a flame on its lid. Pressing up and the attack key while the player stands
over it opens it: it vanishes in a puff of smoke and 3 flares lit Flares fly out of it,
each up at 1 to 3 pixels a step and across at up to 3 either way[^8].
In the clip, level 2 of the [Mines](https://spelunky.ai/wiki/mines) loads dark with the crate glowing beside the entrance; the player
walks over to it and opens it, and the three Flares scatter, each with its own circle of light[^9]. He can open the crate while he's carrying it, and his hands are empty after[^10].

Unopened, the crate is a light of its own, as wide as a Flare's, and it throws off sparks every 2 steps[^11][^12].
It's heavy, like a [Crate](https://spelunky.ai/wiki/crate): the player carries it higher than other items and throws it at 4 pixels a
step plus his own speed, rising at 2, or at 4 upward, and he sets it down when he takes an exit, so it stays
on its level[^13][^14][^15].

### The Flare

A Flare is picked up and thrown as any item is ([Throwing](https://spelunky.ai/wiki/throwing)): crouching over it with empty hands, the attack
key lifts it, and the attack key throws it, at 8 pixels a step plus the player's speed, rising at 3[^16][^17]. It
flickers and throws off a spark every 2 steps, which drifts up and fades[^18][^19][^20].

On a dark level, each Flare lights the dark within 96 pixels of it, wherever it is[^21]. The darkness itself, which sets how far the player's
own light reaches, is measured from the Flare nearest him: the nearer it is, the wider his light, up to
96 pixels when he holds it ([Dark level](https://spelunky.ai/wiki/dark-level#the-darkness))[^22].
Nothing counts down a Flare's life: its one timer makes its sparks, so it stays lit until water or lava ends
it[^23][^19].

Thrown faster than 2 pixels a step into a monster, a Flare takes 1 hit point from the monster
nearest it and flies on, as a [Rock](https://spelunky.ai/wiki/rock) does; a Caveman, a Hawkman, a Mantrap, a Yeti or a Vampire is also
stunned[^24]. It can't hurt the player, whose code checks only for
Rocks and arrows[^25].

Carried through a level's exit, a Flare is in the player's hands on the next level, as a Rock is: he's drawn
holding it on the screen between levels, and while he holds it the HUD shows it in the box for the held item[^26][^27][^28][^29].

## Locations

- **[Dark levels](https://spelunky.ai/wiki/dark-level)**, in [the Mines](https://spelunky.ai/wiki/mines), [the Jungle](https://spelunky.ai/wiki/jungle) and [the Temple](https://spelunky.ai/wiki/temple):
  one crate by the entrance of each that level generation makes dark (not one a defiled altar darkens later), on its left if there's no block there, else on its right, else on it[^30].
- **The title screen**, which has one of its own ([Trivia](https://spelunky.ai/wiki/flare#trivia)).

[Level generation](https://spelunky.ai/wiki/level-generation) makes no Flares anywhere else, and the [level editor](https://spelunky.ai/wiki/level-editor) has
no tile for one or for the crate.

## Interactions

- **Water**, of a pool or a [flooded level](https://spelunky.ai/wiki/flooded-level). A Flare or a crate that touches it is put out:
  it's destroyed with a splash, the crate with a puff of smoke too, and if the player is holding it, his
  hands are empty[^31][^32].
- **[Lava](https://spelunky.ai/wiki/lava).** A Flare that touches lava stops and sinks, and is destroyed once it's under the surface[^33].
- **[Bombs](https://spelunky.ai/wiki/bomb).** An explosion throws a Flare or the crate away from it without putting it out[^34].
- **The [Hedjet](https://spelunky.ai/wiki/hedjet).** Worn, it makes the darkness 0 whatever Flares there are, so the player's own light is
  always at its widest; Flares still light their own circles[^35][^36].

## Tips

- Thrown ahead, a Flare lights what's coming: it lights a circle around itself wherever it lands, and keeps
  lighting it.
- A crate opened beside water can lose Flares to it: they fly out to either side, and water puts them
  out at once.
- The crate itself lights the dark as a Flare does, so carried unopened, it lights the way as well as one
  Flare, though heavy and thrown short.

## Trivia

**Clip: The title screen's flare.** The title screen starts dark. A flare drops in from the top at its right edge, and as it falls, the dark fades and the title shows. ([video](https://spelunky.ai/wiki/media/clips/flare/title/clip.mp4))

- The title screen starts dark, and its intro drops a Flare in from the top: the darkness lifts as it falls
  and is gone once the Flare is 160 pixels from the top[^37][^38]. The clip shows it[^39]. When the title
  screen is entered at one of its doors or its rope rather than through the intro, a Flare lies on its floor
  at the right instead[^40].
- The code keeps what's left of Flares lit with a key of their own: a new game still sets a count of 3,
  "not used any more", and the line that would read the flare key is commented out
  ([Controls](https://spelunky.ai/wiki/controls))[^41][^42][^43]. A commented-out line in the dark level's
  roll would have put a Flare at the player's feet[^44].
- The code that opens the crate stores it in a variable named `chest`, as the code for a
  [Chest](https://spelunky.ai/wiki/chest) and a Crate does[^45].

## FAQ

### How many flares are in a crate in Spelunky Classic?

3 flares. Pressing up and the attack key over the crate by a [dark level](https://spelunky.ai/wiki/dark-level)'s entrance opens it, and they fly out lit, one way or the other.

### Do flares burn out in Spelunky Classic?

No. Nothing in a Flare's code counts down its life: it stays lit until water puts it out or lava swallows it, and it can be carried from level to level.

### What does the flare key do in Spelunky Classic?

Nothing. The game reads a flare key from its settings, but the line that would check it is commented out, so Flares come only from the crate on a dark level. They're picked up and thrown as any item is.

### Can a Flare hurt monsters in Spelunky Classic?

Yes. Thrown faster than 2 pixels a step, it takes 1 hit point from the monster nearest it, as a [Rock](https://spelunky.ai/wiki/rock) does, and flies on. It can't hurt the player.

## See also

- **Related:** [Dark level](https://spelunky.ai/wiki/dark-level), [Throwing](https://spelunky.ai/wiki/throwing), [Hedjet](https://spelunky.ai/wiki/hedjet), [Crate](https://spelunky.ai/wiki/crate), [Lamp](https://spelunky.ai/wiki/lamp), [Tiki Torch](https://spelunky.ai/wiki/tiki-torch)
- **Damages:** [Damsel](https://spelunky.ai/wiki/damsel)

## References

[^1]: [`objects/oScreen/step_begin.gml:179-186`](https://spelunky.ai/wiki/source/objects/oScreen/step_begin#L179-L186)

[^2]: [`objects/oItem/step.gml:282`](https://spelunky.ai/wiki/source/objects/oItem/step#L282)

[^3]: [`objects/oItem/step.gml:294`](https://spelunky.ai/wiki/source/objects/oItem/step#L294)

[^4]: [`objects/oItem/step.gml:305`](https://spelunky.ai/wiki/source/objects/oItem/step#L305)

[^5]: [`objects/oItem/step.gml:315`](https://spelunky.ai/wiki/source/objects/oItem/step#L315)

[^6]: [`objects/oItem/step.gml:325`](https://spelunky.ai/wiki/source/objects/oItem/step#L325)

[^7]: [`objects/oItem/step.gml:344`](https://spelunky.ai/wiki/source/objects/oItem/step#L344)

[^8]: [`objects/oPlayer1/step.gml:649-669`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L649-L669)

[^9]: Clip [flare/crate](https://spelunky.ai/wiki/flare#clip-flare-crate)

[^10]: [`objects/oPlayer1/step.gml:661-665`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L661-L665)

[^11]: [`objects/oScreen/step_begin.gml:183-186`](https://spelunky.ai/wiki/source/objects/oScreen/step_begin#L183-L186)

[^12]: [`objects/oFlareCrate/alarm_0.gml:1-2`](https://spelunky.ai/wiki/source/objects/oFlareCrate/alarm_0#L1-L2)

[^13]: [`objects/oFlareCrate/create.gml:9`](https://spelunky.ai/wiki/source/objects/oFlareCrate/create#L9)

[^14]: [`scripts/scrUseItem.gml:609-635`](https://spelunky.ai/wiki/source/scripts/scrUseItem#L609-L635)

[^15]: [`objects/oPlayer1/step.gml:815-820`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L815-L820)

[^16]: [`objects/oPlayer1/step.gml:1203-1214`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L1203-L1214)

[^17]: [`scripts/scrUseItem.gml:605-646`](https://spelunky.ai/wiki/source/scripts/scrUseItem#L605-L646)

[^18]: [`objects/oFlare/create.gml:2`](https://spelunky.ai/wiki/source/objects/oFlare/create#L2)

[^19]: [`objects/oFlare/alarm_0.gml:1-2`](https://spelunky.ai/wiki/source/objects/oFlare/alarm_0#L1-L2)

[^20]: [`objects/oFlareSpark/step.gml:1-6`](https://spelunky.ai/wiki/source/objects/oFlareSpark/step#L1-L6)

[^21]: [`objects/oScreen/step_begin.gml:179-182`](https://spelunky.ai/wiki/source/objects/oScreen/step_begin#L179-L182)

[^22]: [`objects/oLevel/step.gml:110-137`](https://spelunky.ai/wiki/source/objects/oLevel/step#L110-L137)

[^23]: [`objects/oFlare/create.gml:14`](https://spelunky.ai/wiki/source/objects/oFlare/create#L14)

[^24]: [`objects/oItem/step.gml:256-350`](https://spelunky.ai/wiki/source/objects/oItem/step#L256-L350)

[^25]: [`objects/oPlayer1/step.gml:1513-1565`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L1513-L1565)

[^26]: [`objects/oPlayer1/step.gml:842-850`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L842-L850)

[^27]: [`scripts/scrHoldItem.gml:48`](https://spelunky.ai/wiki/source/scripts/scrHoldItem#L48)

[^28]: [`objects/oPDummy/draw.gml:35`](https://spelunky.ai/wiki/source/objects/oPDummy/draw#L35)

[^29]: [`scripts/scrDrawHUD.gml:95`](https://spelunky.ai/wiki/source/scripts/scrDrawHUD#L95)

[^30]: [`scripts/scrEntityGen.gml:527-545`](https://spelunky.ai/wiki/source/scripts/scrEntityGen#L527-L545)

[^31]: [`objects/oFlare/step.gml:6-20`](https://spelunky.ai/wiki/source/objects/oFlare/step#L6-L20)

[^32]: [`objects/oFlareCrate/step.gml:3-18`](https://spelunky.ai/wiki/source/objects/oFlareCrate/step#L3-L18)

[^33]: [`objects/oItem/step.gml:160-185`](https://spelunky.ai/wiki/source/objects/oItem/step#L160-L185)

[^34]: [`objects/oExplosion/collision_oItem.gml:30-36`](https://spelunky.ai/wiki/source/objects/oExplosion/collision_oItem#L30-L36)

[^35]: [`objects/oLevel/step.gml:116-121`](https://spelunky.ai/wiki/source/objects/oLevel/step#L116-L121)

[^36]: [`objects/oScreen/step_begin.gml:178-182`](https://spelunky.ai/wiki/source/objects/oScreen/step_begin#L178-L182)

[^37]: [`objects/oTitle/alarm_2.gml:1-4`](https://spelunky.ai/wiki/source/objects/oTitle/alarm_2#L1-L4)

[^38]: [`objects/oTitle/draw.gml:1-7`](https://spelunky.ai/wiki/source/objects/oTitle/draw#L1-L7)

[^39]: Clip [flare/title](https://spelunky.ai/wiki/flare#clip-flare-title)

[^40]: [`objects/oTitle/create.gml:72-98`](https://spelunky.ai/wiki/source/objects/oTitle/create#L72-L98)

[^41]: [`scripts/scrClearGlobals.gml:115`](https://spelunky.ai/wiki/source/scripts/scrClearGlobals#L115)

[^42]: [`objects/oPlayer1/step.gml:413`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L413)

[^43]: [“The flare key is read but never checked.”](https://github.com/851-labs/spelunky/blob/441458fcee127d2a4bff9d1cb9b930574f50004a/docs/quirks.md?plain=1#L48), [docs/quirks.md §1](https://github.com/851-labs/spelunky/blob/441458fcee127d2a4bff9d1cb9b930574f50004a/docs/quirks.md#1-bugs-and-leftovers-in-the-11-source)

[^44]: [`scripts/scrInitLevel.gml:168-173`](https://spelunky.ai/wiki/source/scripts/scrInitLevel#L168-L173)

[^45]: [`objects/oPlayer1/step.gml:653`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L653)

### Source code

- [`objects/oFlare/create.gml`](https://spelunky.ai/wiki/source/objects/oFlare/create)
- [`objects/oFlare/step.gml`](https://spelunky.ai/wiki/source/objects/oFlare/step)
- [`objects/oFlare/alarm_0.gml`](https://spelunky.ai/wiki/source/objects/oFlare/alarm_0)
- [`objects/oFlareCrate/create.gml`](https://spelunky.ai/wiki/source/objects/oFlareCrate/create)
- [`objects/oFlareCrate/step.gml`](https://spelunky.ai/wiki/source/objects/oFlareCrate/step)
- [`objects/oFlareCrate/alarm_0.gml`](https://spelunky.ai/wiki/source/objects/oFlareCrate/alarm_0)
- [`objects/oPlayer1/step.gml`](https://spelunky.ai/wiki/source/objects/oPlayer1/step)
- [`objects/oLevel/step.gml`](https://spelunky.ai/wiki/source/objects/oLevel/step)
- [`objects/oScreen/step_begin.gml`](https://spelunky.ai/wiki/source/objects/oScreen/step_begin)
- [`scripts/scrEntityGen.gml`](https://spelunky.ai/wiki/source/scripts/scrEntityGen)
