Users browsing this thread: 1 Guest(s)
How spell names appear when cast

#1
Posts: 50
Threads: 15
Thanks Received: 6
Thanks Given: 10
Joined: Aug 2013
Reputation: 2
Status
None
This seems super basic but I was not able to find an answer after searching many discussions.

I would like to remove the spell white/black/effect icon so that spell names can be one letter longer. However, as I'm sure you know, the first character in spell names is omitted when spells are used in battle.

I'm guessing a simple pointer change would remove this effect, but I'm not sure where to start. Does anybody know?

Thanks!
Quote  

#2
Posts: 179
Threads: 3
Thanks Received: 24
Thanks Given: 4
Joined: Apr 2015
Reputation: 18
Status
None
I think this is the code you're looking for (This is for v1.0, the offset is C1/6016 for v1.1)

Code:
; spell name
C1/6019: EB           XBA
C1/601A: A9 07        LDA #$07        ; 7 letters
C1/601C: 85 10        STA $10
C1/601E: 8D 6D 61     STA $616D
C1/6021: 20 CA 18     JSR $18CA
C1/6024: C2 20        REP #$20
C1/6026: AF 16 42 00  LDA $004216
C1/602A: AA           TAX
C1/602B: 7B           TDC
C1/602C: E2 20        SEP #$20
C1/602E: CE 6D 61     DEC $616D       ; skip symbol byte
C1/6031: BF 68 F5 E6  LDA $E6F568,X   ; spell name (skips symbol byte)
C1/6035: C9 FF        CMP #$FF
C1/6037: F0 09        BEQ $6042
C1/6039: 20 11 61     JSR $6111
C1/603C: E8           INX
C1/603D: CE 6D 61     DEC $616D
C1/6040: D0 EF        BNE $6031
C1/6042: 60           RTS
  Find
Quote  
[-] The following 1 user says Thank You to Everything for this post:
  • fedorajoe (12-02-2021)

#3
Posts: 50
Threads: 15
Thanks Received: 6
Thanks Given: 10
Joined: Aug 2013
Reputation: 2
Status
None
Awesome! Thank you so much!
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite