Resource centre for ZX Spectrum games
using Manic Miner and Jet Set Willy game engines
Archive of the
Manic Miner & Jet Set Willy Yahoo! Group
messages
|
|
||
|
|
Message: 7138
Author: rushforthian
Date: 26/08/2017
Subject: Re: "Willy's Hoard" released!
Daniel wrote:
> 2. The room ("MICROBYTE's Messy Attic") which looks different depending on how many lives you have when you enter it, and which
changes when you lose a life inside it.
> This happens because a part of this room's data is the area in memory
where the guardian data for the current room is written (between
#8100 and #8147). As a matter of fact, I cannot explain the
connection between the guardians in the current room and the number
of lives you have - why should the guardian data change if you lose a
life? - but that's the way it seems to work.
The guardian data don't change as such if you lose a life (or at least, not as a resuolt of Willy losing a life).
In fact, the guardian data (as stored in the Guardian Buffer at addresses #8100-#813F) change constantly during the natural course of the game, as the guardians move around the current room!
So the layout of the upper half of the Messy Attic represents a snapshot of the guardian positions immediately prior to each enactment of the 'Room Setup' routine (#8912-#898A) - whether that routine is executed upon entry to the Messy Attic, or each time Willy loses a life within that room.
