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
| Previous message | Next message | |||
| Previous in thread | Next in thread | |||
Message: 7214
Author: ian.rushforth
Date: 04/02/2019
Subject: Re: Completing "Maria vs. Some Bastards"
And here is a bug-fix for the aforementioned bug, which should fit into the available space:
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 (#85DE), 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
| Previous message | Back to the Yahoo! Archive home page |
Next message | ||
| Previous in thread | Next in thread | |||
