øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;u=123;area=showposts;start=930e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index77ec.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;area=showposts;u=123e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index77ec.html.zx'òg^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈÀK¦ŸOKtext/htmlISO-8859-1gzip@øÕ¦ŸÿÿÿÿÿÿÿÿTue, 10 Mar 2020 20:18:06 GMT0ó°° ®0®P®€§²ð®&òg^ÿÿÿÿÿÿÿÿå;¦Ÿ Show Posts - Grimoire LD

Show Posts

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.


Messages - Grimoire LD

931
The more you can use the numpad buttons the better I say, it creates a compressed and solid dynamic.

932
I thought Deathlike2 said that an enemy's MP is 1/4 of its HP... let me check that out...

Okay...

When a Monster has 10,000 HP it will have... 625 MP... What equation is that even?

Ah!

Monster's MP is 1/16 of their HP. Alright, fair enough I suppose. It explains why Osmose is pretty worthless at the start then.

933
So while at work today (I work retail, alone.) I decided to jot down a couple of hack ideas that I might be able to implement... Since I saw that I could take an outline, as I did with Hunt, and make what I have written into a reality with my knowledge.

As a fan of FFT, I decided to include "Sword Spirit" (or rather it will be shown as (Katana symbol)Soul) as possibly a Replacement to Dart.

There are two plans for this one...

Katana Soul
-Unleash the Power of the Sword in the Right Hand. The Power unleashed is Sword Dependent and the Sword may Shatter on use.

Planned Process

Load Weapon in Right Hand
Is it Weapon 2B? (Short)
If so Load Magic Routine
Branch to RNG Portion
-------------------------
Is it Weapon 2C? (Middle)
If so Load Magic Routine
Branch to RNG Portion
-------------------------
Is it Weapon 2D? (Long)
If so Load Magic Routine
Branch to RNG Portion
------------------------
Is it Weapon 2E? (Ninja)
If so Load Magic Routine
Branch to RNG Portion
------------------------
Is it Weapon 2F? (Murasame)
If so Load Magic Routine
Branch to RNG Routine
------------------------------------------------------
Is it Weapon 30? (Masamune)
Retarget to All Allies
Branch to RNG Routine
Cast Protect, Shell, and Haste in that Order (If Possible!)
--------------------------------------------------
All other Weapons Return
-----------------------
(RNG Section)
Load Weapon Attack Power
Divide it by 2.
Load this value into First character's boss byte (its never used anyhow and these aren't getting anywhere Close to 80 with their power divided in half.)
Load 0001 into X
Load 64 (100) into A
RNG Routine
Compare it to Boss Byte Value
If more than Value branch to Return
If Less than Value Load 00 00 into Caster's Right Hand Weapon Data.

Or I need to learn more about Dart's default targeting,

Another thing FFIV is sorely lacking is Elemental Boosting. My plan to fix this is simple, but then the issue becomes, where can I plug this in at?

Element Amplify Routine

(Off of Spell Routine)
Load Caster's Weapon Element into A.
Compare it to Spell Element.
If both are same load Spell Power into A.
Transfer A to X.
LSR X * 2
Add X to A. (Thereby giving it +25% Power)
Return to Main Routine

In addition to that I think I have what it takes now to load a Spell on Swing which doesn't need to correspond to the Cast Spell nor does it need to be a new command. It can fit right into the Fight routine (part of it anyhow)

This plan takes advantage of the Broken Calcify effect which happens because of the Medusa Blade (which also freezes the game sometimes) Any weapon with Calcify enabled would enter in this area if it is successful in making the effect happen.

In addition there is a byte in the Weapon data I never figured out which might be useful for this purpose...

Lord 0001 int X
Load 0064 into A (100)
RNG
Compare Value to Caster's Wisdom, if more than Return
-------------------------------------------------
Load Caster's Slot
(Here is the only problem. The data for each character's weapon and armor are at 7E2780 and each piece is 11 (decimal) bytes each, but I can't think of a way to find a specific starting place for characters that aren't in the first slot.)
Load Unused Byte into A.
Load it into Character's Next Action
Return

Piercing Sight is basically ready, I just need to add a random factor to Chillyfeez's Aura instead of Wisdom and that should be good to go.

And the most ambitious idea current would be to emulate (and add a few) Break Skills from FFT.

Break Skills/ - use Swordskills to lower the attributes of your enemy.

Boss Byte Check
----------------------
Load Stored Elemental Byte
---------------------
01 - Fire - Power Break
Load Target's Attack
Lower it by Caster's Vitality/8
Branch to Return
-------------------
02 - Ice - Speed Break
Load Target's Speed
Lower it by Target's Level/8
Branch to Return
------------------
04 - Lit - Mind Break
Load Target's Spell Power
Lower it by Caster's Vitality/8
------------------
08 - Dark - Armor Break
Load Target's Defense
Lower it by Caster's Vitality/16
-------------------
10 - Holy - Seal Break
Load Target's Magic Defense
Lower it by Caster's Vitality/8
------------------
20 - Air - Claw Break
Load Target's Status to Inflict on Hit 1
Store Zero
Load Target's Status to Inflict on Hit 2
Store Zero
-------------------------
40 - Ele Break
Load Target's Resistance
Store Zero
------------------------
80 - Fate Break
Load  1 into X
Load 40 into A
Go through RNG
Store result in Status to Inflict 1 Byte
Jump to Status Routine
--------------------------

Which of these (if any) would you like to see completed first?

934
Wow! You implemented these really quickly! I do have a bug report though... when you go to fill in a space of tiles that is currently filled in with Enter, the program crashes (I guess because there's no exception made for it?)

And soon with visual confirmation of NPCs and the like true event editing can take place without the need of constant memorization.

935
Well for hackers the goal is to be clever. We're normally using limited space in many situations. Back then though programmers did have to be clever as well, yeah. There was only so much space and so much they could shove into that space.

And thanks to Chillyfeez for his inspiration! (Some inspiration was taken from the Aura hack, granted he could probably make it even thinner) We now have a fully realized Poach system! (sort of....)

Hunting Rewards System

Code: [Select]
$03/FEE3 AD 02 27 LDA $2702  [$7E:2702] A:0001 X:0016 Y:0000 P:envMxdiZC - Load Target's Level into A.
$03/FEE6 A2 01 00 LDX #$0001 A:0003 X:0016 Y:0000 P:envMxdizC - Load 0001 into X.
$03/FEE9 69 14 ADC #$14 A:0003 X:0001 Y:0000 P:envMxdizC - Add 14 (20) to A.
$03/FEEB 20 79 83 JSR $8379  [$03:8379] A:0018 X:0001 Y:0000 P:envMxdizc - Jump to RNG (1 to Enemy Level +20)
$03/FEEE A2 3F 00 LDX #$003F A:000E X:0000 Y:0000 P:envMxdizc - Load 003F (End of Item Index) into X.
$03/FEF1 C9 3C CMP #$3C A:000E X:003F Y:0000 P:envMxdizc - Is the amount in A (Enemy Level + 20 (RNG)) 3C (60) or above?
$03/FEF3 B0 0B BCS $0B    [$FF00] A:000E X:003F Y:0000 P:eNvMxdizc - If so branch to end.
------------------------------
$03/FEF5 CA DEX A:000E X:003F Y:0000 P:eNvMxdizc - -1 to X (3F is now unavailable.)
$03/FEF6 C9 28 CMP #$28 A:000E X:003E Y:0000 P:envMxdizc - Is the amount in A 28 (40) or above?
$03/FEF8 B0 06 BCS $06    [$FF00] A:000E X:003E Y:0000 P:eNvMxdizc - If so branch to end.
---------------------------------------
$03/FEFA CA DEX A:000E X:003E Y:0000 P:eNvMxdizc - -1 to X (3E is now unavailable.)
$03/FEFB C9 14 CMP #$14 A:000E X:003D Y:0000 P:envMxdizc - Is the amount in A 14 (20) or above?
$03/FEFD B0 01 BCS $01    [$FF00] A:000E X:003D Y:0000 P:eNvMxdizc - If so branch to end.
----------------------------------------
$03/FEFF CA DEX A:000E X:003D Y:0000 P:eNvMxdizc -1 to X (3D is now unavailable.)
$03/FF00 8A TXA A:000E X:003C Y:0000 P:envMxdizc - Transfer X to A. (For the purposes of correct RNG figuring)
$03/FF01 A2 3A 00 LDX #$003A A:003C X:003C Y:0000 P:envMxdizc - Load 3A (Lowest Item Index possible) into A.
$03/FF04 20 79 83 JSR $8379  [$03:8379] A:003C X:003A Y:0000 P:envMxdizc - Jump to RNG (3A-3F at Max, but since all checks failed the range the possible item bytes are now only 3A to 3C)
$03/FF07 8D 73 27 STA $2773  [$7E:2773] A:003C X:0000 Y:0000 P:envMxdizc - Store 3A-3F in Target's Item Byte. (Despite having a fairly low RNG to go on , 3C was still achieved!)
$03/FF0A 20 49 E2 JSR $E249  [$03:E249] A:003C X:0000 Y:0000 P:envMxdizc - Jump to Steal Success Routine.

And there you have it! With this method you can get 1 of 6 items for poaching and the higher level Reptile you fight, the more likely you will get something good! Granted, if a hack were to use this it would be suggested to make 3A-3F specific to Hunted Enemies though. I do wish I could change the Actual drop, but that would require writing a dummy Steal routine for just this alone. I think 1/6 items is good enough. At lower levels you only have access to 3 (if you're lucky, 4) of them and at higher levels there's a chance to get some really good items.




936
I honestly cannot say whether this will be easy or difficult. It will likely revolve around a lot of beq/bcc to reach the proper level. In the end we might need some outside help as this is entirely new to me in an almost frightening manner. If those values are placed in Rom, it's more a point of grabbing those values (LDAx 0XXXXX) for instance, using X as the character identifier to reach the right section of data. Because of this it would be best if the data stayed uniform in some respects.

Hmm, Fatal cast on Edward causing him to use Hide...

 $03/AB4D   29 01   AND #$01   A:0000   X:0000   Y:0012   P:envMxdiZc - Is it Critical?
$03/AB4F   F0 50   BEQ $50    [$ABA1]   A:0000   X:0000   Y:0012   P:envMxdiZc - If not branch to 03ABA1.
------------------------------------------------------------------------------------------------------------------------------------
$03/AB51   BD 00 20   LDA $2000,x[$7E:2080]   A:0001   X:0080   Y:0012   P:envMxdizc - Load Character ID into A.
$03/AB54   29 1F   AND #$1F   A:0085   X:0080   Y:0012   P:eNvMxdizc - -Get rid of negative bits.
$03/AB56   C9 05   CMP #$05   A:0005   X:0080   Y:0012   P:envMxdizc - Is it Edward?
$03/AB58   D0 47   BNE $47    [$ABA1]   A:0005   X:0080   Y:0012   P:envMxdiZC - If not branch to 03ABA1.

Are you sure that he wasn't put in Critical by this in some fashion?  According to the code that's the only thing which activates Auto-Hide.

937
That system looks workable and it seems that we would save Tons of space by using it. Though I am confused why T (when a level is gained) doubles.  Or are those referring to the changes that will be made to the algorithm when it reaches that new level base?

938
That sounds like it would be a great idea! The only issue being that I have only two free bytes left to work with... I guess I could move it to another command, hmm... you did mention free space at the end of the section, didn't you? Maybe I could use a few bytes to set that up? Change the Steal Routine to this unused portion write a couple of bytes for the RNG and the steal routine and go from there. With that I could create a item drop section entirely for Poaching. Great thinking Chillyfeez!

939
Final Fantasy IV Research & Development / Re: FFII SNES Beta Curiosities
« on: January 05, 2014, 05:30:47 PM »
The reason you probably never gave Rydia a Staff is because there's one Staff she can use in her time with the party as a Child... and its the Staff. Yeah... "Cures Poison!" for all the Zero Enemies that can inflict it on you near the start of the game.

I hated that they used All This code to kill the characters, except leave Cecil with one HP... You know what else would do that, game? The Event Instructions You Made For This Purpose!! Then you could have used a little bit of custom code to revive Cecil with one HP.

940
Now for my most ambitious hack yet. Turning the Pray command into the Hunt command.

Now I absolutely love Final Fantasy Tactics and one of things I always thought was really neat in it was Poaching and the Fur Shop where you could use your ill-gotten gains to get powerful equipment.

So I thought "Why not add a similar thing to FFIV?"

Originally I scoffed at myself, but after completing the Barrage commands, I got to thinking that it Might be possible... so I wrote up a check list of what it would need.

Hunt Command - Can be used to automatically kill a Critical Beast and Obtain an Item

-Load Weapon Swing Animation
-Load Boss Byte (2770)
-If a Boss, branch to Fight Routine
-----------------------------
-Load Creature Type (2740)
-If Not Reptile branch to Fight Routine
-----------------------------------------
-Load Enemy's Status Byte 4. (2706)
-If Not Critical, branch to Fight Routine
------------------------------------------
- Jump to Steal Command Success (03E249)
- Place 80 in Status Byte 1 (Dead)
- Place 80 in Creature Type (Zombie, to prevent Revival)
- Jump to Return
-----------------------
- Jump to Fight Routine (03C499)
- Return

Not a very difficult thing to make work on paper. But is there enough room in Pray for this? Well only one way to find out...

Hunt Command

Code: [Select]
$03/E852 A9 C0 LDA #$C0 A:0003 X:0016 Y:0000 P:envMxdizc - Load Weapon Swing into A.
$03/E854 8D C4 33 STA $33C4  [$7E:33C4] A:00C0 X:0016 Y:0000 P:eNvMxdizc - Store A in Audiovisual Code
$03/E857 AD 40 27 LDA $2740  [$7E:2740] A:00C0 X:0016 Y:0000 P:eNvMxdizc - Load Creature Type into A.
$03/E85A C9 04 CMP #$04 A:0004 X:0016 Y:0000 P:envMxdizc - Is it Reptile?
$03/E85C D0 13 BNE $13    [$E871] A:0004 X:0016 Y:0000 P:envMxdiZC - If not branch to 03E871
---------------------------------------------
$03/E85E AD 06 27 LDA $2706  [$7E:2706] A:0004 X:0016 Y:0000 P:envMxdiZC - Load Creature Status Byte 4.
$03/E861 C9 01 CMP #$01 A:0001 X:0016 Y:0000 P:envMxdizC - Is it in Critical?
$03/E863 D0 0C BNE $0C    [$E871] A:0001 X:0016 Y:0000 P:envMxdiZC - If not branch to 03E871.
---------------------------------------
$03/E865 20 49 E2 JSR $E3FF  [$03:E3FF] A:0001 X:0016 Y:0000 P:envMxdiZC - Jump to Hunt Rewards Routine.
$03/E868 A9 7B LDA #$7B A:001D X:0008 Y:0002 P:envMxdizc - Load Vanish into A.
$03/E86A 8D D2 26 STA $26D2  [$7E:26D2] A:007B X:0008 Y:0002 P:envMxdizc - Store Vanish in Next Action to Take.
$03/E86D 4C 3E CD JMP $CD3E  [$03:CD3E] A:007B X:0008 Y:0002 P:envMxdizc - Jump and Stay with Magic Call Routine
--------------------------------------------
$03/E871 4C 99 C4 JMP $C499  [$03:C499] A:0000 X:0016 Y:0000 P:eNvMxdizc - Jump and Stay with Fight Routine


And that's all it took! Granted I had to make a few concessions because of space and weirdness (apparently in "commands" you're unable to inflict status but you can in Spell Subroutines or Fight... go figure. I also had to get rid of the boss check, which means... well be careful with placing your boss Reptiles. Just be sure to give them another creature type in addition and that will send it down to the normal fight routine.

I would also ideally want the stealing procedure to be different so you would steal one item, while poaching another. Unfortunately that is currently not possible. You can steal what you poach and vice-versa. Now the game doesn't tell you what you've stolen, likely because those are programmed only to appear at the end of the Steal Routine, but you can see you have a new Item in the Item menu.

Note: In the pictures I use Imps changed to the Reptile Creature Type. So no worries there.







And that will do it! This is probably my favorite command I've created yet. I just need to differentiate it from Steal and it will be golden!

 :edit:Updated with JSR to Hunt Rewards System.

941
Final Fantasy IV Research & Development / Re: FFII SNES Beta Curiosities
« on: January 05, 2014, 03:09:47 PM »
The phrasing kind of makes it clear what they're referring to. My phrasing did not, eh heh.

"Inside this dungeon, you are carried down a waterfall. Below, there are Treasure Chests. Open all the Chests. They contain powerful weapons and armor."


942
Wow... Barrage (FFIII DS, FFT:War of the Lions) was a Stupidly easy thing to program in the end... at least in a basic form...

Because of space limitations I decided to call it (Arrow Symbol)Strm (Arrow Storm) after a tactic common to the Romance of the Three Kingdoms series.

Code: [Select]
$03/E836 20 99 C4 JSR $C499  [$03:C499] A:0003 X:0018 Y:0000 P:envMxdizc - Fight Routine x4
$03/E839 20 99 C4 JSR $C499  [$03:C499] A:0000 X:750E Y:0018 P:envMxdiZC
$03/E83C 20 99 C4 JSR $C499  [$03:C499] A:0000 X:750E Y:0018 P:envMxdiZC
$03/E83F 20 99 C4 JSR $C499  [$03:C499] A:0000 X:750E Y:0018 P:envMxdiZC
$03/E842 60 RTS A:0000 X:750E Y:0018 P:envMxdiZC - Return
Yes, four normal attacks. I honestly thought this was going to cause an overflow problem with the arrows, but to my amazement the game Properly decrements them without overflowing. (And if used with less than 3 Arrows you will no longer have any arrows) And as you'd expect it deals x4 Damage (though without my Infinite Arrow-Glitch fix it still has that problem as you'd expect.)


Now, these all add up properly, but there's still two pieces I'm missing. This first is how to divide the damage by 2. I may need to look back at the original Aim Command for guidance... Specifically at...

$03/E836   AD 9C 26   LDA $269C  [$7E:269C]   A:0003   X:0018   Y:0000   P:envMxdizc - Load Caster's Physical Attack Percent.
$03/E839   48    PHA   A:0034   X:0018   Y:0000   P:envMxdizc - Push A.

That seems like a fine start to a recipe actually.

Well... I learned something through this experience... Never Ever Forget to Retrieve Your Pushed Values!!

For roughly an hour I was looking at my preliminary code, wondering what I was doing wrong, when it finally dawned on me that because I was testing the pure functionality I never retrieved the Pushed value back and this causes a system crash.

So I now have Arrowstorm working like Barrage from FFT:War of the Lions! 4 half-damage attack that takes 4 Ammo for roughly 2x damage (but it attacks four times so even more chance of a status infliction if applicable)

Arrowstorm

Code: [Select]
$03/E836 AD 9D 26 LDA $269D  [$7E:269D] A:0003 X:0018 Y:0000 P:envMxdizc - Load Caster's Physical Attack Base.
$03/E839 48 PHA A:0053 X:0018 Y:0000 P:envMxdizc - Push A onto Stack.
$03/E83A 4A LSR A A:0053 X:0018 Y:0000 P:envMxdizc - Divide Physical Attack Base by 2.
$03/E83B 8D 9D 26 STA $269D  [$7E:269D] A:0029 X:0018 Y:0000 P:envMxdizC - Store A in Physical Attack Base.
$03/E83E 20 99 C4 JSR $C499  [$03:C499] A:0029 X:0018 Y:0000 P:envMxdizC - Fight Routine x 4
$03/E841 20 99 C4 JSR $C499  [$03:C499] A:0000 X:750E Y:0018 P:envMxdiZC
$03/E844 20 99 C4 JSR $C499  [$03:C499] A:0000 X:750E Y:0018 P:envMxdiZC
$03/E847 20 99 C4 JSR $C499  [$03:C499] A:0000 X:750E Y:0018 P:envMxdiZC
$03/E84A 68 PLA A:0000 X:750E Y:0018 P:envMxdiZC - Pull A
$03/E84B 8D 9D 26 STA $269D  [$7E:269D] A:0053 X:750E Y:0018 P:envMxdizC - Store A in Physical Attack Base (original value)
$03/E84E 60 RTS A:0053 X:750E Y:0018 P:envMxdizC - Return


Now, FFIII's Barrage is a little trickier to get down...

The way that works is each shot deals full damage +another 10-40% depending on the Job Level. To mimic this, (as well as I can...) I would instead make it look at Strength. At
0-39 Str. There would be no bonus. 40-60 1/8 Bonus in Damage, 60-99 1/4 Bonus in damage. It might encourage people to use Rosa in a Strength set-up rather than always going for the Will set-up possibly. But this seems like it will take a bit more space than Aim actually supports. So I'll have to hold off on that for now.

Though I suppose I could make a variant... (looks back at how he programmed Aura originally...) Yes. Instead make it so that Two Attacks will occur automatically. And if you have over 45 Strength a third one happens and at over 60 strength a fourth one occurs.

Barrage (Arrowstorm) FFIII "Style" (Sort of)

Code: [Select]
$03/E836 20 99 C4 JSR $C499  [$03:C499] A:0003 X:0018 Y:0000 P:envMxdizc - Fight Routine
$03/E839 20 99 C4 JSR $C499  [$03:C499] A:0000 X:750E Y:0018 P:envMxdiZC - Fight Routine
$03/E83C AD 94 26 LDA $2694  [$7E:2694] A:0000 X:750E Y:0018 P:envMxdiZC - Load Modified Strength
$03/E83F C9 2D CMP #$2D A:005D X:750E Y:0018 P:envMxdizC - Is it 45 or Higher?
$03/E841 90 0E BCC $0E    [$E851] A:005D X:750E Y:0018 P:envMxdizC - If lower branch to 03E851
$03/E843 20 99 C4 JSR $C499  [$03:C499] A:005D X:750E Y:0018 P:envMxdizC - Fight Routine
$03/E846 AD 94 26 LDA $2694  [$7E:2694] A:0000 X:750E Y:0018 P:envMxdiZC - Load Modified Strength
$03/E849 C9 3C CMP #$3C A:005D X:750E Y:0018 P:envMxdizC - Is it 60 or Higher?
$03/E84B 90 04 BCC $04    [$E851] A:005D X:750E Y:0018 P:envMxdizC - If lower branch to 03E851
$03/E84D 20 99 C4 JSR $C499  [$03:C499] A:005D X:750E Y:0018 P:envMxdizC - Fight Routine
$03/E850 60 RTS A:0000 X:750E Y:0018 P:envMxdiZC - Return

Geez, I must really love the Aim Command, I've now made three variants for it!

943
Final Fantasy IV Research & Development / Re: FFII SNES Beta Curiosities
« on: January 05, 2014, 11:21:44 AM »
Yep, Rydia as a child can use every Staff/Rod/Whip and Knife. When she grows up she loses the ability to use Staves, she can even use the White Robe as a Child that she can't use as an Adult, oddly enough.

I'd say that its likely a mix. Some things may be genuine errors, Hovercraft, mention of Weapons in the area below thewaterfall, Meteo/Nuke MP, but manuals can sometimes display things about a pre-release version of the game. Zelda 64 is well known for this in many respects, though that not so much in text, but in pictures of the manual. (though some guides from way, way early on mentions a slightly different progression of events)

The Manual actually has up until you enter the Underground as a guide. Curiously enough it says to talk to everyone in Agart to "get the story" but then proceeds to tell you the gist of what they said a sentence later and the solution to the Magma Key puzzle. (It was Supposed to be a puzzle, it just is poorly laid out in the US Version)

944
Looks like everything is working perfectly! Added a few new tiles to Baron Town and noticed no peculiarities through doing so. It seems you implemented this quite quickly! And I tested that item locations and triggers could be changed as long as the other data in doing so is changed and it worked! Its like having the other half of a puzzle, I wouldn't have to go into FF4tools to make those fit any longer!

945
I don't like how its used here because it cuts down on what you can logically do with the instruction. As a tool to set things to FFFF it saves one or two bytes and those bytes may be quite precious in the long run.

However... http://slickproductions.org/forum/index.php?topic=1883.msg19351#msg19351

I eventually got around it and took control of Aim to make it work for me the way I desired. (at least somewhat. I would still rather have Barrage, but this is nice as well)

What annoys me now most about their Aim command, is that its extremely haphazard. There is a specific byte that controls whether an attack Can miss or not, all they technically had to do was trigger that byte. But hey, more space to play around with I suppose.

Code: [Select]
$03/E836 AD 9C 26 LDA $269C  [$7E:269C] A:0003 X:0018 Y:0000 P:envMxdizc - Load Caster's Physical Attack Percent.
$03/E839 48 PHA A:0034 X:0018 Y:0000 P:envMxdizc - Push A.
$03/E83A AD 29 27 LDA $2729  [$7E:2729] A:0034 X:0018 Y:0000 P:envMxdizc - Load Enemies (Non-existent) Evasion.
$03/E83D 48 PHA A:0000 X:0018 Y:0000 P:envMxdiZc - Push A.
$03/E83E 7B TDC A:0000 X:0018 Y:0000 P:envMxdiZc - Transfer Direct Page (thereby making it 00)
$03/E83F 8D 29 27 STA $2729  [$7E:2729] A:0000 X:0018 Y:0000 P:envMxdiZc - Store 00 in Target's Evasion.
$03/E842 3A DEC A A:0000 X:0018 Y:0000 P:envMxdiZc -1 to A.
$03/E843 8D 9C 26 STA $269C  [$7E:269C] A:00FF X:0018 Y:0000 P:eNvMxdizc - Store A  (FF - 255%) into Physical Attack Percent.

They didn't use it correctly, they wasted bytes, and they screwed up their intention. Aim might be the worst programmed Command in the game due to inefficiency on their part.

When a routine is left Completely, the game will ordinarily enter a "cleaning" routine. A very long, very boring process of code, indeed. In this there are no bytes being triggered. Assiging FF as a constant would have been A9 FF, rather than just 3A. In this case it saved one byte... and wasted so many others...