Users browsing this thread: 1 Guest(s)
Usable Magic for all Characters

#7
Posts: 763
Threads: 83
Thanks Received: 55
Thanks Given: 7
Joined: Apr 2015
Reputation: 22
Status
Obliviscence
Fixed. After a couple weeks of off-and-on searching, downloading a debugger (super useful) and searching all over the dissasemblies for C0, C1, C2, and C3... it was all one tiny little place that uses ADC to get to the magic starting address instead of outright loading it.

Code:
C2/5589: BD D8 3E     LDA $3ED8,X
C2/558C: 22 CF 50 C3  JSR $C3/50CF***
C2/5590: EB           XBA
C2/5591: A9 36        LDA #$36
C2/5593: 20 81 47     JSR $4781
C2/5596: C2 21        REP #$21
C2/5598: 69 6E        ADC #$6E
C2/559A: 1A           INC
C2/559B: F0           STA $F0

*** - My changes


On the plus-side... i learned a TON about how magic works in the game. Apparently the magic list for battle is stored for each character in the battle, including the players equipped esper, their magic list, and a lore list (per character). All of the lists get populated with all magic that is known by anyone in the battle (I'm guessing this is since Gogo doesn't learn his own). Then the game goes back and blanks out the spells that are NOT known by each character, leaving them with their individual lists. Crazy stuff. Here's a neat little table:

Code:
Battle Magic Data

$208E - battle magic list 1
$21CA - battle magic list 2
$2306 - battle magic list 3
$2442 - battle magic list 4


spell offsets (4 bytes each)
    $0 - Esper
    $1-$36 - Magic list
    $37-$4E - Lore list

spell bytes
    1-Spell-ID
    2-Unknown [related to spell availability]
    3-Targetting
    4-Spell-MP cost

Anyway, the updated patches are up for anyone who wants them.
  Find
Quote  



Messages In This Thread
Usable Magic for all Characters - by B-Run - 07-14-2012, 07:23 AM
RE: Usable Magic for all Characters - by SSJ Rick - 07-14-2012, 09:49 PM
RE: Usable Magic for all Characters - by madsiur - 07-15-2012, 06:01 AM
RE: Usable Magic for all Characters - by SSJ Rick - 07-15-2012, 12:20 PM
RE: Usable Magic for all Characters - by B-Run - 07-16-2012, 11:10 AM
RE: Usable Magic for all Characters - by B-Run - 07-28-2012, 02:05 PM
RE: Usable Magic for all Characters - by B-Run - 08-03-2012, 03:51 PM
RE: Usable Magic for all Characters - by cdizzle - 11-26-2014, 04:20 PM
RE: Usable Magic for all Characters - by Scorcher - 11-27-2014, 06:23 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite