Users browsing this thread: 2 Guest(s)
Some final code requests (and screenshots)

Posts: 51
Threads: 5
Thanks Received: 2
Thanks Given: 0
Joined: Apr 2018
Reputation: 8
Status
Shell
(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
  Find
Quote  
[-] The following 1 user says Thank You to Subtraction for this post:
  • Lightning (05-13-2019)



Messages In This Thread
RE: Some final code requests (and screenshots) - by Subtraction - 05-12-2019, 02:38 AM

Forum Jump:

Users browsing this thread: 2 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite