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: 6954

Author: rushforthian

Date: 27/11/2016

Subject: Re: Broadsoft Lifts v0.2: Hex-editor type-in

 

And yet more quirky features can be encountered if you put a Broadsoft Lift into the same room as a Rope, with the two in close proximity:


- Willy can pass through the Lift whilst he's on the Rope (he is safe as long as his vertical position on the screen isn't lower than that of the Lift as he encounters it).   He gets raised up by the Lift as he passes through it, so that he is cell-row aligned, and then drops back down again once he is beyond the lift's influence - whilst remaining on the rope throughout;

- If the Rope follows the Lift in the Guardian List, and a pixel collision occurs between the two, then Willy can get picked up safely by the Rope as long as he wasn't jumping at the time, but fatally (in most instances) if he happened to be in mid-jump;

- A similar bug to that which I reported in message 6936 can occur, if Willy climbs up the Rope to the room above, drops back onto it and then swings into a position that coincides with (or is slightly above) the Lift - he is killed because the Airborne Status Indicator at #85D1 is still set to a value higher than 12, so the program thinks that he has fallen a fatal height directly onto the Lift.

That latter bug occurs even if the fix which I suggested in message 6936 is in place.  However, the fault here really lies with Matt Smith's original Rope routine, rather than with the Broadsoft Lifts code - the way the Rope code works is that the Airborne Status Indicator is reset to zero when Willy subsequently jumps, falls off, or climbs above the top of a Rope, rather than when he actually lands on the Rope.  (A similar problem can arise, for instance, if Willy is saved from a fatal drop by catching onto a Rope, but if he then teleports into another room using WRITETYPER, at which point his fall resumes without the Airborne Status Indicator being reset - he can potentially be killed by landing on a room element even if he doesn't fall a fatal distance within the destination room.)

 

 

arrowleft
arrowright