Users browsing this thread: 1 Guest(s)
Summon Command Acts like Magicite

#2
Posts: 149
Threads: 21
Thanks Received: 40
Thanks Given: 3
Joined: Dec 2013
Reputation: 9
Status
Auto-life
It looks like the code at C2/368E is an adjustment from the global spell index (all 256 spell listed in ff3usme) for the command and the command selection.

As example, if the spell is AuraBolt (identifier 94) then the command ($B5) is #$0A (Blitz) and the command selection ($B6) is #$01 (AuraBolt). #$00 is Pummel, #$01 is AuraBolt, #$02 is Suplex, etc. It is the move that you selected in the command menu.

Code:
C2/368E 38          SEC
C2/368F A5 B6       LDA $B6
C2/3691 E9 36       SBC #$36        ;54, the start of the espers spells
C2/3693 60          RTS

It may be possible that, when you summon a esper in the magic command menu, and not by the summon command, it may internally convert it as the summon command with their respective index. If it is true, it must be a conflict between the summon command code being used by the magic command and the summon command alone.

At C2/19C7 there is a table used to define the execution for all the commands in the game. You can analyze them and try to change the summon pointer for a custom code to alter the summon command behavior.

At C2/4D89 begins a code to adjust specific commands manually. At C2/4D92 begins the summon command adjustment. You should check it, just in case. I believe it affects the espers summoned by the magic command.

Code:
C2/4D92: C9 19        CMP #$19    
C2/4D94: D0 11        BNE $4DA7   (Branch if not Summon)
C2/4D96: 48           PHA 
C2/4D97: EB           XBA 
C2/4D98: C9 FF        CMP #$FF    (Check if no Esper equipped)
C2/4D9A: D0 03        BNE $4D9F
C2/4D9C: B9 44 33     LDA $3344,Y
C2/4D9F: EB           XBA 
C2/4DA0: B9 18 30     LDA $3018,Y
C2/4DA3: 0C 2E 3F     TSB $3F2E   
C2/4DA6: 68           PLA
  Find
Quote  
[-] The following 1 user says Thank You to HatZen08 for this post:
  • madsiur (03-03-2017)



Messages In This Thread
Summon Command Acts like Magicite - by PowerPanda - 03-02-2017, 09:29 PM
RE: Summon Command Acts like Magicite - by HatZen08 - 03-03-2017, 02:15 PM
RE: Summon Command Acts like Magicite - by m06 - 03-04-2017, 01:59 AM
RE: Summon Command Acts like Magicite - by B-Run - 03-05-2017, 09:53 PM
RE: Summon Command Acts like Magicite - by B-Run - 03-06-2017, 10:25 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite