Users browsing this thread: 1 Guest(s)
Summon Command Acts like Magicite
03-03-2017, 02:15 PM
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.
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.
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
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)