Ankh
Verified against the spelunky.ai port v0.1.10 on .
For the Black Market shop that sells it, see The Black Market's Ankh.
The Ankh is an equipment item in Spelunky Classic that brings the player back to life once, with 4 hearts; only the Black Market sells it, for $50,000.
Wearing it, the player has a second life: the first time his hearts run out, the Ankh shatters and he's put back on his feet with 4 hearts, at the level's entrance. Only the Black Market's Ankh shop sells it. It's worn from the moment it's paid for (or stolen) until it saves him, or until the game ends.
Effect
#Paying for it or carrying it out of the shop puts it on: the message "YOU GOT THE ANKH! YOU FEEL PROTECTED." shows, the Ankh disappears, and an icon of it joins the row under the hearts [3] [4]. A new game takes it away if it's still unused [5] [6].
When the player's hearts drop below 1 on a level, the Ankh takes the death's place. His hearts are set to 4 hearts, whatever he had before, and he's moved: to the inside of the Moai if the level has one and it's active (things far outside the view are switched off [7]), to a set place near the left wall in Olmec's Lair, and otherwise to the level's entrance. A ball and chain, if Kali has given him one, come with him. He stops moving and blinks, invincible, for 2 seconds, while the message "THE ANKH SHATTERS! YOU HAVE BEEN REVIVED!" shows with a teleporter's sound. The Ankh is gone [8]. However the last heart is lost, this comes before the game ends, which only happens without the Ankh [9].
The clip shows the player stealing the Ankh by jumping out of the Ankh shop, then dropping back in, where the angry Shopkeeper's shots take his hearts; the Ankh shatters and he's back at the level's entrance with 4 hearts [10]. On a level with the Moai, the same death near it puts him inside the Moai instead, a chamber nothing else opens (see Hedjet) [11].
Obtaining
#The Black Market comes once a game, as the level after the one in the Jungle whose hidden entrance the player finds (the Udjat Eye helps); so it's level 6, 7 or 8 [14] [15]. One of its shops is the Ankh shop, a room with the Ankh on display and a Shopkeeper who greets the player with "I HAVE SOMETHING SPECIAL..." [16] [17]. The shop puts it up directly, not through the code that stocks other shops, so it costs $50,000 whatever the level [18]. Nothing else makes an Ankh: no other shop, Crate, block or gift, and the level editor has no tile for it.
Carrying it out of the shop without paying puts it on and angers the Shopkeeper, as with any ware [19]. In the clip, the player jumps up out of the shop's room with it, and it goes on at once [20].
Interactions
#- Only the first death is saved: the Ankh is used up, and the next time his hearts run out the game ends [21] [9].
- The revival restores 4 hearts even to a player who had more before, as it sets his hearts rather than adding to them [22].
Tips
#- On a level with the Moai, a death with the Ankh near it is a way inside it; see Hedjet.
- Stealing the Ankh angers the Shopkeeper, but the death his shots may cause is the one the Ankh then saves, as in the clip.
Trivia
#- Its
typeis "Ankh", and its shop message "AN ANKH FOR $50000." [23]. - In Olmec's Lair, where there's no entrance to go back to, the revival puts the player at a fixed point, x 24 and y 552 [24].
FAQ
#- What does the Ankh do in Spelunky Classic?
It saves the player from one death. When his hearts run out, it shatters instead, and he comes back to life with 4 hearts, usually at the level's entrance.
- Where do you get the Ankh in Spelunky Classic?
In the Black Market's Ankh shop, for $50,000 on whichever level the market is. Nothing else in the game makes one.
- Where does the Ankh revive you in Spelunky Classic?
At the level's entrance, except on a level with a Moai near enough to the view to be active, where it's inside the Moai, and in Olmec's Lair, where it's a set place near its left wall.
- Can the Ankh be stolen in Spelunky Classic?
Yes. Carrying it out of the Ankh shop without paying puts it on, as with any ware, and angers the Shopkeeper, who shoots at the player.
Gallery
#See also
#References
#objects/oPlayer1/step.gml:1853-1896objects/oAnkh/create.gml:7scripts/scrStealItem.gml:35-45scripts/scrDrawHUD.gml:106-110scripts/scrClearGlobals.gml:85objects/oTransition/create.gml:20-24objects/oLevel/step.gml:75-94objects/oPlayer1/step.gml:1847-1896objects/oPlayer1/step.gml:1897-1920- Clip ankh/revive
- Clip hedjet/moai
scripts/scrLevelGen.gml:40-69scripts/scrRoomGenMarket.gml:112-116scripts/scrInitLevel.gml:186-192objects/oPlayer1/step.gml:879scripts/scrRoomGenMarket.gml:361-364objects/oShopkeeper/step.gml:133objects/oAnkh/create.gml:7-8- Quirk 1 (docs/quirks.md)
- Replay
fidelity/replays/item-seed-9-ankh.txt objects/oPlayer1/step.gml:1891objects/oPlayer1/step.gml:1855objects/oAnkh/create.gml:3-8objects/oPlayer1/step.gml:1862-1866
Source code
objects/oAnkh/create.gmlobjects/oPlayer1/step.gmlscripts/scrStealItem.gmlscripts/scrRoomGenMarket.gml