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

#2
Posts: 281
Threads: 18
Thanks Received: 13
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)



Messages In This Thread
Increase the Learn Rate of Magic - by Fenrir - 06-07-2016, 10:54 AM
RE: Increase the Learn Rate of Magic - by seibaby - 06-07-2016, 11:05 AM
RE: Increase the Learn Rate of Magic - by Fenrir - 06-07-2016, 11:44 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite