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: 3138
Author: john_elliott_uk
Date: 02/12/2002
Subject: Re: Technical question
--- In manicminerandjetsetwilly@y..., soa1000
> since you can poke the game to make a fire block act
I don't see why not. (tappity tappity)
> like an air block, can you a) poke it to act like a water block, and
> b) set individual rooms to do that?
Well, yes, I see how it can be done. Just in case I'm run over by a
bus tomorrow, here's how to change it at a global level:
To change fire to air, change the byte at 9633h from 0CAh to 0C9h.
To change fire to water, do the same as for air, plus change
the bytes at 8E4Dh from
28 13 23 3A BB 80 BE 28 0C to
CA D4 8E 23 BE CA D4 8E 00
(you can thank Matthew Smith's inefficient coding for the fact that
this works; if he'd done a better job, there wouldn't have been room
for the changes :-) )
Fire to earth is a more complicated subject which I won't go into
right now.
Now, as for doing it on a per-room basis, this would be fairly easy
in JSW48 (just blow away some of the copy protection code). In JSW128,
I'm not sure off the top of my head if there's enough spare space or
how well it would get on with the superjump code. Perhaps you might
have to lose a sprite page, as you do with teleporters.
