Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Twilight Zone Odd Change
05-22-2014, 06:22 AM
Post: #1
Twilight Zone Odd Change
Anyone ever look at Odd Change and making it a fixed value? (For tournament leveling purposes)
Find all posts by this user
Quote this message in a reply
07-11-2016, 07:37 PM
Post: #2
RE: Twilight Zone Odd Change
(05-22-2014 06:22 AM)RalphButler Wrote:  Anyone ever look at Odd Change and making it a fixed value? (For tournament leveling purposes)

5FB3: 25 10 BCS $5FC5 ;if carry set=do odd change
5FB5: 8D 28 BSR $5FDF ;carry not set, do piano award
5FB7: BD 89 78 JSR $8978
5FBA: 00 11 NEG $11
5FBC: 1F 89 TFR A,B
5FBE: 86 2A LDA #$2A
5FC0: BD 64 4F JSR $644F
5FC3: 20 03 BRA $5FC8
5FC5: BD 65 8C JSR $658C ;do odd change.

Above code snippet from rom 9.2 - if you just want to skip odd change entirely, just make 5fc5 39 (rts) - this is at offset 4dfc5.

Have not gotten far into what the odd change routine is doing to get its value - rumor has it it's something keyed off of the stack. Some more tracing needed.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)