The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.33 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




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

#1
Posts: 617
Threads: 49
Thanks Received: 0
Thanks Given: 5
Joined: Feb 2017
Reputation: 25
Status
None
I've been putting together my project plan for my hack, and have determined that part of it will be finishing off the Summon command ability (different than Summoning an Esper through the Magic Menu). I would like to have this ability jump to the portion of code that summons a random Esper via Magicite, but do it without using MP or an Item. (Note: This is an ability used for one storyline battle, but others may find it useful for other hacks.)

Note: The Summon Aiming fix is already applied

I've isolated the code that the command would need to jump to:
Quote:(Magicite)

C2/3FAD: 20 DC 37     JSR $37DC      (Picks random Esper, not Odin or Raiden)
C2/3FB0: 8D 00 34     STA $3400      (Save the spell number)
C2/3FB3: EE 70 3A     INC $3A70      (Increment the number of attacks remaining)
C2/3FB6: 60           RTS 

Pick a random Esper (not Odin or Raiden)

C2/37DC: A9 19        LDA #$19
C2/37DE: 20 65 4B     JSR $4B65      (random: 0 to #$18)
C2/37E1: C9 0B        CMP #$0B
C2/37E3: 90 02        BCC $37E7      (Branch if A < #$0B)
C2/37E5: 1A           INC            (Add 2 if over #$0B)
C2/37E6: 1A           INC 
C2/37E7: 18           CLC 
C2/37E8: 69 36        ADC #$36
C2/37EA: 60           RTS 

However, I can't find the section of code that controls the Summon command. I replaced what I thought it was (C2/368E to C2/3693), and it ended up replacing the Esper summoned through the battle menu. The MP deducted would be the same as the Esper you had equipped, and it would play your Esper's animation first, but with no effect. Then it would summon a random Esper and apply its effect. The same thing would happen when the Summon command was used. Interestingly enough, if you DIDN'T have an Esper equipped, the Summon command worked mostly how I wanted it to. It makes me think the Summon command jumps to C2/368E, but I can't find a place in the code that does that. Any help?
  Find
Quote  



Messages In This Thread
Summon Command Acts like Magicite - by PowerPanda - 03-02-2017, 09:29 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