Users browsing this thread: 2 Guest(s)
Some final code requests (and screenshots)
05-12-2019, 02:38 AM
(05-12-2019, 01:09 AM)Lightning Wrote: The really strange thing here is that the MP usage for Step Mine is correct in-battle (54), but when I go through the menu and look at Step mine, it still says 108... This is why I was confused, and I don't know why the MP usage of Step Mine in the menu is not updating!
Ah, that explains it then. I wasn't even thinking about the menu. To make it show correctly in the menu, you have to change a different bit of code.
Code:
Fork: Step Mine
C3/511A: 68 PLA ; Spell
C3/511B: C999 CMP #$99 ; Step Mine?
C3/511D: D00F BNE $512E ; Branch if not
C3/511F: AD1B02 LDA $021B ; Hours played
C3/5122: 0A ASL A ; Double them
C3/5123: 85E0 STA $E0 ; Set MP cost
C3/5125: AD1C02 LDA $021C ; Minutes played
C3/5128: C91E CMP #$1E ; Under 30?
C3/512A: 9002 BCC $512E ; Branch if so
C3/512C: E6E0 INC $E0 ; MP cost +1
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)