Users browsing this thread: 1 Guest(s)
How spell names appear when cast
11-29-2021, 08:52 PM
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!
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!
12-01-2021, 02:13 PM
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
12-02-2021, 06:34 PM
Awesome! Thank you so much!
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)