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: 6236
Author: adban_de_corcy
Date: 29/08/2007
Subject: Re: Tweaking the JSW engine: One for the experts
> Changing exits can be done with a patch vector. You've probablyThanks a lot, John... So it can be done.
> noticed that it happens in the original JSW64.
>
> For a timed change of exits you'd use the 'main loop' patch vector,
> something like this:
>
> LD D,nnn ;Room number of the top landing
> LD A,(time) ;Last digit of the clock
> CP '0'
> JR Z,doit
> CP '5'
> JR Z,doit
> LD D,mmm ;Room number of the nightmare room
> doit:
> LD A,D
> LD (80E9h),A ;Set exit to be the specified value.
> RET
Now, how could one do that in JSWED?
Or how could it be done... by us, computer-analphabets?
I have no idea what computer language are your instructions in, much
less how to type them in or apply them to a JSW game...
