Increase the Learn Rate of Magic
#1
Magic spells are learn when the player reaches 100 Magic AP, but I wish to increase this number to the maximum value of 255. Now, I've made changes to the menus with information found in the C3 bank document and posts on the forum. Now, searching for this value as been unsuccessful. I haven't found anything in C3 bank document related to the spell learning cap. Has anyone find the location of this value?

I also cannot access Assassin's C2 bank document and/or his other documents. Anyone knows if there are backup of his documents?
Reply
#2
Here's assassin's doc:
assassin17.brinkster.net/code2i.txt

I believe what you're looking for is at C2/6061.

Code:
Progress towards learning spell

C2/604B: F0 1F        BEQ $606C      (branch if no learn rate, i.e. no spell to learn)
C2/604D: EB           XBA
C2/604E: A5 FB        LDA $FB        (Magic points gained from the battle)
C2/6050: 20 81 47     JSR $4781      (Multiply by spell learn rate)
C2/6053: 85 EE        STA $EE        (Store this amount in $EE)
C2/6055: B1 F4        LDA ($F4),Y    (what % of spell is known)
C2/6057: C9 FF        CMP #$FF
C2/6059: F0 11        BEQ $606C      (Branch if spell already known)
C2/605B: 18           CLC
C2/605C: 65 EE        ADC $EE        (Add amount learned to % known for spell)
C2/605E: B0 04        BCS $6064
C2/6060: C9 64        CMP #$64
C2/6062: 90 02        BCC $6066      (branch if % known didn't reach 100)
C2/6064: A9 80        LDA #$80
C2/6066: 91 F4        STA ($F4),Y    (if it did, mark spell as just learned)
C2/6068: A5 F1        LDA $F1
C2/606A: 04 F0        TSB $F0        (tell Function C2/5D91 to enable gained Magic Point
                                     display, provided we've already gotten an Esper
                                     Magicite from Zozo)
C2/606C: 60           RTS
Reply
#3
Here's something else that might help you:
https://www.ff6hacking.com/forums/showth...p?tid=2772

I already implemented what you want to do in CotG, still i don't remember what i did in the first part of the code, yet Seibaby probably sent
you the solution to the first part.

PS. beware to not provide in a formation x AP where x is a value that multiplied with the spell learning rate results in a value greater that 255
or it will overflow.
THE GREATEST CHALLENGE OF ALL TIMES AWAITS:
http://www.ff6hacking.com/forums/showthr...p?tid=2593
DO YOU HAVE WHAT IT TAKES TO SLAY A GOD?
------------------------------------------------------------------------
Tenkarider's project #2 is started: FF6 Curse of the Madsiur Joke (CotMJ)
http://www.ff6hacking.com/forums/showthr...p?tid=2755
What happens when Madsiur tweaks your account? This full game hack will show that!
Reply
#4
I had a feeling that this information was in C2 Bank, thank you seibaby for the information and link to assassin's document, I bookmarked it. I change the value and it works. As well, thank you for the link Tenkarider.

I'm curious about what you said about the overflowing Tenkarider. Do you mean the spell learned rate from the esper or the Magic AP acquired? In my mod, the Magic AP is the same as the vanilla version. The max that is given out is 10 Magic AP, the only change I've made is to Intangir and Cactuar to gives 5 instead of 10.  As for the learn rate, I doubt I will push it pass 20. I just tested it with the spell Cure with a learning rate of 15 and Edgar learn the spell in three battles and it appears within his magic menu. I was at the Fanatic Tower, and earn 7-8 Magic AP.
Reply
#5
lol i pushed the thank you for error  Laugh

Btw yeah, in vanilla the highest amount of AP you receive is 10 and the highest spell learning rate you have is 20
10 x 20 = 200 -> that will never make overflow the AP received for that spell.
13 AP x 20 = 260 -> overflow -> the spell will actually get 4/6 AP.
THE GREATEST CHALLENGE OF ALL TIMES AWAITS:
http://www.ff6hacking.com/forums/showthr...p?tid=2593
DO YOU HAVE WHAT IT TAKES TO SLAY A GOD?
------------------------------------------------------------------------
Tenkarider's project #2 is started: FF6 Curse of the Madsiur Joke (CotMJ)
http://www.ff6hacking.com/forums/showthr...p?tid=2755
What happens when Madsiur tweaks your account? This full game hack will show that!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Item Drop Rate idea Kugawattan 2 3,212 06-28-2017, 12:35 PM
Last Post: seibaby
  Lets discuss the Lore magic or magic menus in general JCE3000GT 0 1,859 05-20-2017, 08:49 PM
Last Post: JCE3000GT
  [Question] All character can learn natural magic? tsushiy 6 6,805 10-31-2016, 10:14 PM
Last Post: seibaby
  Increase required AP to learn spells from espers Tenkarider 5 6,104 01-20-2015, 05:28 PM
Last Post: Drakkhen
  Esper Learning Rate HELP! Snap006 3 3,833 11-13-2013, 12:01 AM
Last Post: madsiur
  FFVI - Certain Characters learn magic help Kage 9 12,306 06-24-2011, 12:13 AM
Last Post: DjinnAndTonic

Forum Jump:


Users browsing this thread: 1 Guest(s)