øA slickproductions.org /forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;u=123;area=showposts;start=465 e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexbf03-3.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/indexbf03-3.html.z x òg^ ÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ ÀK ÛÇ OK text/html ISO-8859-1 gzip 8:Ö ÛÇ ÿÿÿÿÿÿÿÿ Tue, 10 Mar 2020 20:17:49 GMT 0ó° °® 0® P® €§² ð® òg^ ÿÿÿÿÿÿÿÿÉD ÛÇ
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.
Ooh, I hadn't thought about left and right hands. Well, I'll stick with the original plan and see what happens.
I'm thinking that choosing a weapon would just do nothing, but we'll see I guess...
Re: Coat Hammer... It would probably be OK, then, with the exception of the homing wrench. It's not a "usable" item, right? So then it would be grayed out by the method I'm employing.
So I have a week off starting today. I'm going to visit family over the weekend, but I have big plans about actually finishing up the second chapter of A Threat from Within.
So naturally, today I worked on it for about 45 minutes then got distracted by some far more complicated hacking research.
You'll love this one, Grimoire - I am very close to devising a method by which other commands (besides Item, Dart and magics) can open a sub-menu. This is actually a potentially productive diversion, because I use Grimoire's custom Salve command in my hack, and if I can get this to work then I can modify it so that the player actually gets to choose which item is used (instead of it being the first item in the inventory every time).
It's kind of a minor thing in the end, but it'll give the custom command a more polished feel.
And of course, if it can be done with Salve, then it can also be done with Coat Hammer, though I'm not completely positive about how well it'll work, because I believe that one has its own set of valid choices (separate from what is a valid choice for Item), and this little trick I plan to devise involves a trip through the same routine Item uses to select an item. And I don't know how to conditionally gray-out items in the menu.
Anyway I'm turning in for the night, but there's what I hope to get done tomorrow.
And maybe finally finish the bosses at the end of chapter 2.
Maybe.
$03/B781 C9 E8 CMP #$E8 A:0002 X:0280 Y:0083 P:envMxdizC - Is the AI Command E8?
$03/B783 D0 08 BNE $08 [$B78D] A:0002 X:0280 Y:0083 P:envMxdizC - If not, branch to next.
$03/B785 A5 A9 LDA $A9 [$00:00A9] A:0002 X:0280 Y:0083 P:envMxdizC - Load the value from A9 (where the variable is stored)
$03/B787 9D 40 20 STA $2040,x[$7E:22C0] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Race Byte.
$03/B78A 4C 0E B8 JMP $B80E [$03:B80E] A:0002 X:0280 Y:0083 P:envMxdizC - Jump Elsewhere.
$03/B78D C9 E9 CMP #$E9 A:0002 X:0280 Y:0083 P:envMxdizC - Is it Command E9?
$03/B78F D0 18 BNE $18 [$B7A9] A:0002 X:0280 Y:0083 P:envMxdizC - If not, branch past.
$03/B791 A5 A9 LDA $A9 [$00:00A9] A:0002 X:0280 Y:0083 P:envMxdizC - Load AI Variable.
$03/B793 20 93 94 JSR $9493 [$03:9493] A:0002 X:0280 Y:0083 P:envMxdizC - Jump to Subroutine (?)
$03/B796 AD 1C 29 LDA $291C [$7E:291C] A:0002 X:0280 Y:0083 P:envMxdizC - Load Physical Attack Storage into A.
$03/B799 9D 1B 20 STA $201B,x[$7E:229B] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Physical Attack.
$03/B79C AD 1D 29 LDA $291D [$7E:291D] A:0002 X:0280 Y:0083 P:envMxdizC - Load Physical Attack Multipliers Storage into A.
$03/B79F 9D 1C 20 STA $201C,x[$7E:229C] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Physical Attack Multipliers
$03/B7A2 AD 1E 29 LDA $291E [$7E:291E] A:0002 X:0280 Y:0083 P:envMxdizC - Load Accuracy Storage into A.
$03/B7A5 9D 1D 20 STA $201D,x[$7E:229D] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Accuracy
$03/B7A8 60 RTS A:0002 X:0280 Y:0083 P:envMxdizC - Return
$03/B7A9 C9 EA CMP #$EA A:0002 X:0280 Y:0083 P:envMxdizC - Is it Command EA?
$03/B7AB D0 18 BNE $18 [$B7C5] A:0002 X:0280 Y:0083 P:envMxdizC - If not, branch past.
$03/B7AD A5 A9 LDA $A9 [$00:00A9] A:0002 X:0280 Y:0083 P:envMxdizC - Load AI Variable into A.
$03/B7AF 20 93 94 JSR $9493 [$03:9493] A:0002 X:0280 Y:0083 P:envMxdizC - Run it through AI Variable Placing? Subroutine.
$03/B7B2 AD 1C 29 LDA $291C [$7E:291C] A:0002 X:0280 Y:0083 P:envMxdizC - Load A from Physical Defense Storage.
$03/B7B5 9D 28 20 STA $2028,x[$7E:22A8] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Physical Defense.
$03/B7B8 AD 1D 29 LDA $291D [$7E:291D] A:0002 X:0280 Y:0083 P:envMxdizC - Load A from Physical Defense Multiplier Storage.
$03/B7BB 9D 29 20 STA $2029,x[$7E:22A9] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Physical Defense Multiplier
$03/B7BE AD 1E 29 LDA $291E [$7E:291E] A:0002 X:0280 Y:0083 P:envMxdizC - Load A from Evasion Storage.
$03/B7C1 9D 2A 20 STA $202A,x[$7E:22AA] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Evasion.
$03/B7C4 60 RTS A:0002 X:0280 Y:0083 P:envMxdizC - Return
$03/B7C5 C9 EB CMP #$EB A:0002 X:0280 Y:0083 P:envMxdizC - Is it Command EB?
$03/B7C7 D0 18 BNE $18 [$B7E1] A:0002 X:0280 Y:0083 P:envMxdizC - If not, branch past.
$03/B7C9 A5 A9 LDA $A9 [$00:00A9] A:0002 X:0280 Y:0083 P:envMxdizC - Load A from AI Variable.
$03/B7CB 20 93 94 JSR $9493 [$03:9493] A:0002 X:0280 Y:0083 P:envMxdizC - Jump to AI Variable Routine.
$03/B7CE AD 1C 29 LDA $291C [$7E:291C] A:0002 X:0280 Y:0083 P:envMxdizC - Load A from (now will be called AI Variable1/2/3) AI Variable1
$03/B7D1 9D 22 20 STA $2022,x[$7E:22A2] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Magical Defense.
$03/B7D4 AD 1D 29 LDA $291D [$7E:291D] A:0002 X:0280 Y:0083 P:envMxdizC - Load A from AI Variable2.
$03/B7D7 9D 24 20 STA $2024,x[$7E:22A4] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Magical Defense Multiplier.
$03/B7DA AD 1E 29 LDA $291E [$7E:291E] A:0002 X:0280 Y:0083 P:envMxdizC - Load A from AI Variable3.
$03/B7DD 9D 24 20 STA $2024,x[$7E:22A4] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Magical Evasion.
$03/B7E0 60 RTS A:0002 X:0280 Y:0083 P:envMxdizC - Return
$03/B7E1 C9 EC CMP #$EC A:0002 X:0280 Y:0083 P:envMxdizC - Is it Command EC?
$03/B7E3 D0 03 BNE $03 [$B7E8] A:0002 X:0280 Y:0083 P:envMxdizC - If not, branch past.
$03/B7E5 4C 0F B8 JMP $B80F [$03:B80F] A:0002 X:0280 Y:0083 P:envMxdizC - Jump to Speed Index routine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$03/B80F DA PHX A:0002 X:0280 Y:0083 P:envMxdizC - Push X.
$03/B810 A5 A9 LDA $A9 [$00:00A9] A:0002 X:0280 Y:0083 P:envMxdizC - Load A from AI Variable.
$03/B812 8D 3D 39 STA $393D [$7E:393D] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in AI Storage?
$03/B815 9C 3E 39 STZ $393E [$7E:393E] A:0002 X:0280 Y:0083 P:envMxdizC - Store Zero in AI Storage2?
$03/B818 BD 60 20 LDA $2060,x[$7E:22E0] A:0002 X:0280 Y:0083 P:envMxdizC - Load A into Relative Speed 1.
$03/B81B 8D 3F 39 STA $393F [$7E:393F] A:0002 X:0280 Y:0083 P:envMxdizc - Store A in AI Storage3?
$03/B81E BD 61 20 LDA $2061,x[$7E:22E1] A:0002 X:0280 Y:0083 P:envMxdizC - Load A into Relative Speed 2.
...(A lot of stuff from here that I don't understand)
$03/B856 BD 60 20 LDA $2060,x[$7E:22E0] A:0002 X:0280 Y:0083 P:envMxdizC - Load Relative Speed 1 into A.
$03/B859 6D 49 39 ADC $3949 [$7E:3949] A:0002 X:0280 Y:0083 P:envMxdizC - Add... value.
$03/B85C 9D 60 20 STA $2060,x[$7E:22E0] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Relative Speed 1.
$03/B85F BD 61 20 LDA $2061,x[$7E:22E1] A:0002 X:0280 Y:0083 P:envMxdizC - Load Relative Speed 2 into A.
$03/B862 6D 4A 39 ADC $394A [$7E:394A] A:0002 X:0280 Y:0083 P:envMxdizC - Add value2.
$03/B865 9D 61 20 STA $2061,x[$7E:22E1] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Relative Speed 2.
$03/B868 60 RTS A:0002 X:0280 Y:0083 P:envMxdizC - Return
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$03/B7E8 C9 ED CMP #$ED A:0002 X:0280 Y:0083 P:envMxdizC - Is it Command ED?
$03/B7EA D0 0E BNE $0E [$B7FA] A:0002 X:0280 Y:0083 P:envMxdizC - If not, branch past.
$03/B7EC A5 A9 LDA $A9 [$00:00A9] A:0002 X:0280 Y:0083 P:envMxdizC - Load AI Variable.
$03/B7EE 9D 25 20 STA $2025,x[$7E:22A5] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Elemental Defense
$03/B7F1 10 1B BPL $1B [$B80E] A:0002 X:0280 Y:0083 P:envMxdizC - If it is non-Immune branch elsewhere.
------------------------------------------------------------------------------------------------------------------
$03/B80E 60 RTS A:0002 X:0280 Y:0083 P:envMxdizC - Return
--------------------------------------------------------------------------------------------------------------------
$03/B7F3 9D 26 20 STA $2026,x[$7E:22A6] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Immune Byte
$03/B7F6 9E 25 20 STZ $2025,x[$7E:22A5] A:0002 X:0280 Y:0083 P:envMxdizC - Store Zero in Resistance Byte.
$03/B7F9 60 RTS A:0002 X:0280 Y:0083 P:envMxdizC - Return
$03/B7FA C9 EE CMP #$EE A:0002 X:0280 Y:0083 P:envMxdizC - Is it Command EE?
$03/B7FC D0 06 BNE $06 [$B804] A:0002 X:0280 Y:0083 P:envMxdizC - If not so, branch past.
$03/B7FE A5 A9 LDA $A9 [$00:00A9] A:0002 X:0280 Y:0083 P:envMxdizC - Load AI Variable.
$03/B800 9D 17 20 STA $2017,x[$7E:2297] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Modified Wisdom (not noticeably not Will, hmm...)
$03/B803 60 RTS A:0002 X:0280 Y:0083 P:envMxdizC - Return
$03/B804 A5 A9 LDA $A9 [$00:00A9] A:0002 X:0280 Y:0083 P:envMxdizC - Load A from AI Variable.
$03/B806 10 03 BPL $03 [$B80B] A:0002 X:0280 Y:0083 P:envMxdizC - Branch if Positive (not x4 Weak)
------------------------------------------------------------------------------------------------------------------------------
$03/B808 9D 21 20 STA $2021,x[$7E:22A1] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in x4 Weak Byte.
------------------------------------------------------------------------------------------------------------------------------
$03/B80B 9D 20 20 STA $2020,x[$7E:22A0] A:0002 X:0280 Y:0083 P:envMxdizC - Store A in Weak Byte
$03/B80E 60 RTS A:0002 X:0280 Y:0083 P:envMxdizC - Return
Haha funny you should mention increasing speed.
In TfW, there is one monster (a tree type) that I wanted to be slow, but strong (you know, cuz it's a tree). Problem was, I didn't put a lower limit into this code, so whereas the tree started with something like 2 speed, when it was leveled down, its speed actually increased to something astronomically high.
So that is definitely something to watch out for...
I don't remember specifically which parts of his character are left out, but I don't think it's much beyond graphics and level up chart. For a while, I was using his character for Blank in TfW (why? ...can't remember).
The graphics would be a big issue, because they take up so much data. Wouldn't be impossible, though, just... a lot of work.
There's also the problem that FF4kster doesn't like Golbez, so you can't really do much with him unless by hand. That's why I eventually stopped using him for Blank.
You could also have an autobattle of Bard vs. Smaug using Golbez's battle sprites.
If I was doing this, I'd have to resist the overwhelming temptation to throw in a "spoony" joke
No. Sorry, some stats affect all monsters, speed is among them. I can't recall specifically why I chose to do it that way, but I think part of it was to help level the playing field for monsters against major grinding... Which might have been silly.
The good news is that I did keep accurate notes about that patch, so reworking it is entirely possible if it's making things difficult. But as with other monsters, you can also try adjusting down the starting level in FF4kster if he's coming out too slow.
I am with LightPhoenix in these pieces of assembly looks pretty much like binary generated by a compiler with no optimizations working. It may be also produced by snippets or macros used with few care by the programmers.
If the code works and the game doesn't need storage or efficiency, is faster and cheaper having programmers using tools which generate this poor code than having a team of assembly experts.
Uh, this concerns your Party Changing hack...
How do you handle the final scene? Do we just fade from Zeromus back to Cecil and start the Bridge Theme? Because that seems like a rather sharp edit to the story. Cecil doesn't die because of reasons? And the victory fanfare comes out of nowhere?
What did you do?
This is a concern I see a lot when people theorize about a hack like this. I don't see it as much of an issue to figure out. The battle sequence (in which the non present characters appear to heal the heroes) can easily be edited, to, say, only show the deceased characters. It's probably also entirely possible to alter which characters appear, though I haven't seen research on this yet (I'm sure we can figure that out if we put our minds to it).
As for the "map view" portion of the ending events: simple alterations would suffice - make the rest of the party not appear at all is an easy solution. For more complicated fixes, I've had success hacking in variable NPCs, so that can be done, too, using event flags (of which there are over 100 unused) that are set differently based on which characters are in the party.
I can show you what I mean a little...Kinda gives the impression that at one point perhaps they were planning to have more to the underground section of the game... like maybe four crystal-related scenarios rather than only two. For example, we know where the upper world crystals belong: Troia, Damcyan, Fabul, Mysidia... but where do the underground crystals belong? Dwarf Castle, Sealed Cave, ???, ???. The only other places of any significance there currently are the Feymarch and Sylph cave, but they hardly seem ransacked by Golbez & crew.
No, no everything's working fine now. I'm still surprised at myself that I misread My Own Notes!!! And wrote Magical Defense into the AI Setup and the Magical Evasion as Magical Defense, how positively careless of me.
We all do that sometimes - especially me-- or should that be
Either way, I just wanted to say: Holy **** this is quite the hack! I was trying to sit down and finally learn Assembly but this looks like so much fun...-- Assembly is hard...