FF6 Hacking
Imp restrictions - Printable Version

+- FF6 Hacking (https://www.ff6hacking.com/forums)
+-- Forum: Discussion Forums (https://www.ff6hacking.com/forums/forum-5.html)
+--- Forum: Magitek Research Facility (https://www.ff6hacking.com/forums/forum-9.html)
+--- Thread: Imp restrictions (/thread-2846.html)



Imp restrictions - Tenkarider - 04-03-2015

Hi! Hello
I really need to know what i have to do in order to allow monsters to use their special, even when they are in imp status... i've tried to allow the use of all commands(tools, lore, blitz, even the 2 unused commands without a name...) but it's not usable no matter what: i believe Special's imp restriction is hardcoded.

Could you help me figure out where i have to search that piece of code? Wink


RE: Imp restrictions - Catone - 04-03-2015

Code:
C2/02A0: BD E4 3E     LDA $3EE4,X
C2/02A3: 89 20        BIT #$20       (Check for Imp Status)

Code:
C2/29BB: BD E4 3E     LDA $3EE4,X
C2/29BE: 89 20        BIT #$20       (Check for Imp status)
C2/29C0: D0 05        BNE $29C7      (if an Imp, branch)
C2/29C2: A9 06        LDA #$06
C2/29C4: 8D 12 34     STA $3412      (will display a monster Special atop the screen, and
                                      attack will load its properties at C2/32F5)

I'd think it would have several of those "Check for Imp Status" scattered around. Don't know why monsters would be much different. Bypass under special conditions on the one you need, as for which one that is... can't help exactly there.

And no, those lines are not the code your looking for, I don't think. Just a similar concept.


RE: Imp restrictions - Tenkarider - 04-04-2015

Why shouldn't it be the right piece of code? i mean, is that Special attack script? if that's the case then i feel like if i replace the branch on Imp status with EA command, i solve everything.
Dunno, i'm gonna test it later.