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

 

 

Message: 7223

Author: ian.rushforth

Date: 24/03/2019

Subject: Re: Completing "Maria vs. Some Bastards"

 

Danny wrote:

Ian, I believe there is a problem with your fix. > In your code, it reads,
#9A3B LD A, #01 ; If the 'number of items collected' has reached the target, then...
#9A3D LD (#85DE), A ; ... set the Game Mode Indicator to 1 > But the Game Mode Indicator, also in 'Maria vs. Some Bastards' Rev. E is at #85DF, NOT #85DE.
Any thoughts on this?

You're absolutely right Danny! A silly mistake on my part! The reference to #85DE should indeed read #85DF! I have included the full fix below, for reference (please ignore the 'false fix' in Yahoo! post 7214).
At #9425, replace the JUMP to #9A30 with a CALL to #9A30.
#9A30 LD A, (#85C2) ; The address #85C2 is reset to zero at the start of the game; it counts the number of items collected as a positive number #9A33 ADD A, #01 ; Increment the Accumulator #9A35 LD (#85C2), A #9A38 CP [operand] ; Has the number of items collected reached the target number? [The operand of this command is set by the BASIC loader to #78/#F0/#F6 for Easy/Normal/Hard Mode, or #01 for Cheat Mode.] #9A3A RET NZ ; If the number of items collected hasn't reached the target, then RETURN back to the main item-handling routine #9A3B LD A, #01 ; If the 'number of items collected' has reached the target, then... #9A3D LD (#85DF), A ; ... set the Game Mode Indicator to 1 #9A40 RET ; RETURN back to the main item-handling routine, at the point where the item will be marked as collected

 

 

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