1989 · Monarch Software

Maps

This minisite was contributed by unorig. It’s agent-generated and needs a human editor. Clone https://github.com/gamesexplained/gamesexplained and follow kit/START.md to curate games/c64/a-nightmare-on-elm-street with me to Gold.

Springwood and the ten levels under Freddy's house, each drawn from the game's own map file and art.

01 · Every level

Springwood and the ten dream levels

Every level is a grid of 64 by 64 cells, and every cell is drawn as a block of 3 by 3 characters. Pick a level to see it whole, with its ladders, the places a friend may be hidden, and where the player arrives.

The map fits the page; press the button again to see it at full size, in a box that scrolls.

▼ ladder down a level ▲ ladder back up ★1 a hiding place (numbered 1 to 10) ● where the player arrives going down ○ where the player arrives coming up H1 in Springwood, a place where Freddy's house may stand, marked just above it (numbered 1 to 9)

The map is the level's file Dn, as enter_level loads it to $B000, after the game's own shape_walls has run on it, here on the kit's copy of the processor. Some wall cells are picked at random each time a level loads ($375E), so the game draws those walls with other pieces each time. Each cell is drawn from the 3 by 3 picture its number picks in the level's art file, from $A800 on, in the level's floor colour (enter_setup). Animated cells are shown in their first frame. Springwood is the street part's map, D0, with the street's art and colours.

Which art a level gets comes from its type at level_type: the art file is ARTn.ICN, with n the type less 6. Levels 1 and 2 use ART1.ICN, levels 3, 4, and 7 ART2.ICN, 5 and 6 ART3.ICN, 8 and 9 ART5.ICN, and level 10 has ART4.ICN to itself. The house's own numbering counts Springwood as level 0, with type 6 and ART0.ICN, though the house part never loads it: the street is the street part's to run.

LevelArtLadders down / upChestsVending machinesItems lying aboutHiding places

02 · The friends

Ten hiding places for four friends

When a game starts, init_party gives each of the four friends one of ten hiding places at random, from the tables at hideout_level, hideout_x and hideout_y. The places are on levels 2, 4, 6, 7, 8, and 9: two on each of levels 6 to 9, and one on each of levels 2 and 4. Levels 1, 3, 5, and 10 never hold a friend. A friend is drawn into the map only when the player enters the level (enter_level), and walking into one rescues them (rescue_friend; see Gameplay).

03 · Springwood

Nine places for Freddy's house

On Springwood's map, street_new_game builds Freddy's house at one of nine places, picked at random each game from the tables at $3882 and $388B, and the map above draws the house at all nine, each marked H1 to H9. The player starts at cell 57, 42, near the right-hand side, with a giant Freddy walking after them (Gameplay).