Users browsing this thread: 1 Guest(s)
Increase the Learn Rate of Magic

#1
Posts: 76
Threads: 20
Thanks Received: 2
Thanks Given: 4
Joined: Apr 2012
Reputation: 0
Status
None
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?
  Find
Quote  

#2
Posts: 281
Threads: 18
Thanks Received: 12
Thanks Given: 8
Joined: Mar 2014
Reputation: 8
Status
None
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
  Find
Quote  
[-] The following 1 user says Thank You to seibaby for this post:
  • Fenrir (06-07-2016)

#3
Posts: 1,633
Threads: 56
Thanks Received: 13
Thanks Given: 84
Joined: Apr 2014
Reputation: 12
Status
Atma
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!
  Find
Quote  
[-] The following 1 user says Thank You to Tenkarider for this post:
  • Fenrir (06-07-2016)

#4
Posts: 76
Threads: 20
Thanks Received: 2
Thanks Given: 4
Joined: Apr 2012
Reputation: 0
Status
None
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.
  Find
Quote  
[-] The following 1 user says Thank You to Fenrir for this post:
  • Tenkarider (06-07-2016)

#5
Posts: 1,633
Threads: 56
Thanks Received: 13
Thanks Given: 84
Joined: Apr 2014
Reputation: 12
Status
Atma
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!
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite