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: 945
Author: john_elliott_uk
Date: 03/10/2000
Subject: Re: hmm
<< trust my logical mind *not* to
investigate the adjacent numbers. >>
The
"adjacent numbers" are a coincidence. Here's the bit of
code in question:
R962F: LD A,(B80BB) ; "Fire"
attribute
CP (HL) ; Attribute on screen
JP Z,DEAD2 ;
They match, he's dead
RET ; Otherwise
RETurn.
(that wretched Yahoo message thing is going to
wreck the formatting of my message, I just *know*
it).
Anyway, what the POKE does is replace the "JP Z"
instruction (no. 202) with a "RET" instruction (no. 201) so
that whatever the result of the comparison, Willy
always escapes death.
