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

 

arrowleft Previous message
Next message arrowright
arrowleftthread Previous in thread
Next in thread arrowrightthread

 

 

Message: 4292

Author: john_elliott_uk

Date: 13/06/2004

Subject: Re: MM/JSW and lives

 

In manicminerandjetsetwilly@yahoogroups.com, Alexandra wrote:

In MM I'm thinking of making the time bonus more valuable and that
should pretty much fix the problem. I could also make items give you
more points. If someone could point me to the hex values to change I
would be very grateful.

In MM, all score increments are a power of 10 (1,10,100 etc.) For
example, the code to boost the score when an item is collected goes
like this:

8F82: 21 2C 84 LD HL,842Ch
8F85: CD FE 90 CALL 90FEh

This adds 100 points. You change the number of points by changing HL:

LD HL,842Ah adds 10000 points.
LD HL,842Bh adds 1000 points.
LD HL,842Ch adds 100 points.
LD HL,842Dh adds 10 points.
LD HL,842Eh adds 1 point.

The score increment when air is running down is:

90BA: 21 2E 84 LD HL,842Eh
90BD: CD FE 90 CALL 90FEh

and the other time is when a Kong Beast is killed:

91DA: 21 2C 84 LD HL,842Ch
91DD: CD FE 90 CALL 90FEh

A similar system is used to detect when the number of Willies should
be boosted.

90EE: FE 2A CP 2Ah

-- That is, when the 10000s digit is changed, the number of lives is
boosted.

 

 

arrowleft Previous message Back to the Yahoo! Archive
home page
Next message arrowright
arrowleftthread Previous in thread Next in thread arrowrightthread