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: 783
Author: john_elliott_uk
Date: 14/09/2000
Subject: Re: Is it possible.......
<< John Elliott may know.>>
As it happens, I do know. But it's late at night and
I'm feeling tired, so I'm not going to bother working
out addresses and patches. I'll just outline the
changes necessary, and leave you all to work out the
tedious details :-)
Load up the JSW disassembly
from my homepage, and do a search for the label
"BREAKFALL:". A few lines after BREAKFALL: are some lines that
read
LD A,(AIRBORNE)
CP 0Ch
and the 0Ch byte
is the maximum falling height. So all you need to do
is work out its address and change that byte? Well,
not quite.
The variable I've called AIRBORNE is
used to indicate whether Willy is on the ground,
jumping, falling or dead - search for "AIRBORNE:" for the
details. There are a number of places where its value gets
automatically set, and you would do well to check them if
you're going to change the allowed-fall height. So it's
best to do a search for "(AIRBORNE),A" and check if
the values written to it are correct. In particular,
there's one place where AIRBORNE is set to 0Ch (so that
Willy is certain to die of falling when he hits the
ground), and one where it's set to 06h (I forget exactly
why).
