Users browsing this thread: 1 Guest(s)
Patch: Restored Ability Names (Update)

#61
Posts: 16
Threads: 1
Thanks Received: 0
Thanks Given: 0
Joined: Nov 2019
Reputation: 0
Status
None
Code:
Fork: Draw spell plus MP cost
C3/4FEB:    20EC50      JSR $50EC      ; Spell
C3/4FEE:    206784      JSR $8467      ; Load name
;C3/4FF1:    A2929E      LDX #$9E92     ; 7E/9E92
C3/4FF1:    A2949E      LDX #$9E94     ; 7E/9E94
C3/4FF4:    8E8121      STX $2181      ; Set WRAM LBs
C3/4FF7:    A9FF        LDA #$FF       ; Space char
C3/4FF9:    8D8021      STA $2180      ; Add to string
C3/4FFC:    20EC50      JSR $50EC      ; Spell
C3/4FFF:    200D51      JSR $510D      ; Define MP cost
C3/5002:    20E004      JSR $04E0      ; Turn into text
C3/5005:    A5F8        LDA $F8        ; Tens digit
C3/5007:    8D8021      STA $2180      ; Add to string
C3/500A:    A5F9        LDA $F9        ; Ones digit
C3/500C:    8D8021      STA $2180      ; Add to string
C3/500F:    A9FF        LDA #$FF       ; Space char
C3/5011:    8D8021      STA $2180      ; Add to string
C3/5014:    9C8021      STZ $2180      ; End string
C3/5017:    4CD97F      JMP $7FD9      ; Draw string

This fixed the MP cost positioning for me.
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite