øA slickproductions.org /forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;u=123;area=showposts;start=480 e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index5341.html slickproductions.org /forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;area=showposts;u=123 e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index5341.html.z x òg^ ÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ …¬ V OK text/html ISO-8859-1 gzip @øÕ V ÿÿÿÿÿÿÿÿ Tue, 10 Mar 2020 20:17:49 GMT 0ó° °® 0® P® €§² ð® òg^ ÿÿÿÿÿÿÿÿ§. V
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Yeah. That should be doable.
Let's see... Did I post the disasembly for that mod...?
I did, but... Which stat are you talking about specifically?
It looks like, in the commented disassembly, I talked about adjusting magic defense base and magic defense multiplier, but not magic defense percentage (which is what I thought you were talking about).
...Oh. I see the problem now. I feel a bit stupid, like Really stupid for not noticing this. I accidentally tied Magic Evasion base to 24 which is Magic Defense all around! instead of 34, and I tied Magic Defense to Right Hand Quantity, yikes!
$03/B557 AE C1 35 LDX $35C1 [$7E:35C1] A:0007 X:0006 Y:FFFF P:envMxdizc - Load AI Pointer into A.
$03/B55A 7B TDC A:0007 X:0780 Y:FFFF P:envMxdizc - Clear A
$03/B55B A8 TAY A:0000 X:0780 Y:FFFF P:envMxdiZc - Transfer A to Y.
$03/B55C BD 5F 40 LDA $405F,x[$7E:47DF] A:0000 X:0780 Y:0000 P:envMxdiZc - Load AI Command into A.
$03/B55F C9 FF CMP #$FF A:0076 X:0780 Y:0000 P:envMxdizc - Is it End?
$03/B561 D0 07 BNE $07 [$B56A] A:0076 X:0780 Y:0000 P:envMxdizc - If not, branch.
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
$03/B56A 20 F0 FE JSR $FEF0 [$03:FEF0] A:0076 X:0780 Y:0000 P:envMxdizc - Jump to custom subroutine.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
$03/FEF0 BD 5F 40 LDA $405F,x[$7E:47DF] A:0076 X:0780 Y:0000 P:envMxdizc - Load AI Command into A (used as a looping point at times)
$03/FEF3 C9 76 CMP #$76 A:0076 X:0780 Y:0000 P:envMxdizc - Is it Random AI?
$03/FEF5 D0 1C BNE $1C [$FF13] A:0076 X:0780 Y:0000 P:envMxdiZC - If not, branch to end.
----------------------------------------------------------------------------------------------
$03/FEF7 DA PHX A:0076 X:0780 Y:0000 P:envMxdiZC - Push X (to retrieve at end of custom routine)
$03/FEF8 A2 00 00 LDX #$0000 A:0076 X:0780 Y:0000 P:envMxdiZC - Load 0000 into X.
$03/FEFB A9 03 LDA #$03 A:0076 X:0000 Y:0000 P:envMxdiZC - Load 03 into A.
$03/FEFD 20 79 83 JSR $8379 [$03:8379] A:0003 X:0000 Y:0000 P:envMxdizC - Produce a random number between 00-03.
$03/FF00 A6 A6 LDX $A6 [$00:00A6] A:0001 X:0000 Y:0000 P:envMxdizc - Load Unit Identifier into X.
$03/FF02 9D 26 20 STA $2026,x[$7E:2426] A:0001 X:0400 Y:0000 P:envMxdizc - Store Random Number in Left-Hand Quantity (unused by enemies)
$03/FF05 BD 24 20 LDA $2024,x[$7E:2424] A:0001 X:0400 Y:0000 P:envMxdizc - Load Enemy's AI Pattern number (Magical Evasion) from Right-Hand quantity
$03/FF08 0A ASL A A:0001 X:0400 Y:0000 P:envMxdizc - x2 A
$03/FF09 0A ASL A A:0002 X:0400 Y:0000 P:envMxdizc - x2 A (Four bytes comprise the random AI for each monster and this x4 gets you accurately to the Random AI for that number.
$03/FF0A 7D 26 20 ADC $2026,x[$7E:2426] A:0004 X:0400 Y:0000 P:envMxdizc - Add the random value onto A.
$03/FF0D AA TAX A:0005 X:0400 Y:0000 P:envMxdizc - Transfer A to X
$03/FF0E BF BC B8 08 LDA $08B8BC,x[$08:B8C1] A:0005 X:0005 Y:0000 P:envMxdizc - Load A from Random AI Pointers - AI 1 - Option 2.
$03/FF12 FA PLX A:0002 X:0005 Y:0000 P:envMxdizc - Pull X (to bring X to its proper reading from the start of the custom routine)
$03/FF13 60 RTS A:0002 X:0780 Y:0000 P:envMxdizc - Return to normal AI Procedure.




And accomplished! I can easily branch it into the code which looks at the AI routine, look for the specific spell (in this case DullSong) and move off of my custom code from there, this actually might be Much cleaner than I originally anticipated! Expect some updates when I get home later tonight!
The empty spaces around the summon images should be more than enough if you can't find it anywhere else.
^ This is also a mystery to me. Interestingly I found this glitch completely by accident shortly after I bought the game new. I may be old but my memory is sharp, I actually remember where in the game I was when I did it, needless to say it was odd.
Another aspect of this is if you have exactly 256 of that item in the current item list and use -Sort- they all disappear.
Is this something that's only looking at enemies' unused stat bytes?
Because ATB uses at least one (maybe more?) unused stat byte of each player character.
Oh, I see. You're using that byte as well, thankfully you still have that old piece of code hanging there in the jump. So I can still change it without worrying, phew I was worried there for a second.Intetesting analysis! The only reason to really fix this is abuse if someone makes a rom hack where they want a challenge and it a very hard difficulty. I wasn't able to fix this while working on my FF2us HardType. :(
Funny thing about my glitch is you can only do it if the items in the menu are even horizontally. It works with either hand but you cannot leave the R/L-hand menu and go back in during/in-the-middle of the removal. Make sense?
Ah right, a small little thing. In the event editor when you're activating or de-activating Underworld NPC's the program will think you are deactivating the Overworld PC variants. So it will put that in the text (the value is changed to the underworld equivalent unless you go back to that event instruction and access it), it's just something small I noticed.
Not sure I quite understand what you mean... example?