øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;u=123;area=showposts;start=405e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexc580-2.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;area=showposts;u=123e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexc580-2.html.zxòg^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ…¬ÅŒOKtext/htmlISO-8859-1gzip0|ÖÅŒÿÿÿÿÿÿÿÿTue, 10 Mar 2020 20:17:46 GMT0ó°° ®0®P®€§²ð®òg^ÿÿÿÿÿÿÿÿ$9ÅŒ 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

406
Rather neat to know regardless, especially for the case you mentioned of not having the second Overworld map being so lava-y. Though the Laval Pulsating glow is also used in Sylph's Cave isn't it? Though that's green. Or is that a different set up?

407
The issue appears in this when there is more than one TrapDoor in the room, this may have possibly worked otherwise, but because of the multiple doors it's not really plausible. Good thinking though.

Right!   :sad:  - I actually thought of that too as I was laying it out - but then pushed it out of my mind when I remembered that it's like 50/50 whether or not I'll loot the cave our just go straight start-to-finish.

This could work for the Behemoth battles on the way to Bahamut though; right?

It would require new code in Bank 00 to look for the map, see the events, and go on from there. As far as the Behemoths are concerned it could work, but it would be a lot of work to set up, it would save some valuable event calls though...

408
Final Fantasy IV Research & Development / Re: Avalanche's Project: FF2
« on: February 08, 2015, 10:33:37 PM »
Grimoire: definitely trying to avoid some of those limits like a fixed number of NPCs, sprites, all that stuff. I originally wanted it to be moddable. I still want that, but getting the original working is my priority for now, and it sure is a lot of work.  But one of the cool things about what you do is that you could technically burn a cartridge and play your game on a real console

Oh yes, I can imagine the scope of this could go beyond much of anything I can imagine as far as my fairly meager skills can realize. I also understand that due to it getting the game to work 1:1 some limits will still have to be imposed, but once the 1:1 is created I imagine it's free roam from thereon. If it is moddable.

409
Would it make any sense (or even be possible) to write a routine specific to sealed cave that would move the event trigger after each encounter. In my head I'm picturing it like:


     You go to Door-1 at F1:(X,Y)=(10,10) - Triggering Event-A (Door Battle)
                                                                  and Set Trigger Point of Event-B to F1:(X,Y)=(10,9)

     Take a step up, and Trigger Event B:   Move Event-A Trigger to F2:(X,Y)=(8,17)
                                                                  Also clear Event-A Flag

     Then going to the Door-2 @ F2:(X,Y)=(8,17) would trigger Event-A again, and so on...


This to me would allow for multiple door events without actually having them as separate event entries. There would need to be a list in the ROM somewhere of what the next location is, but that seems doable (right?). The other thing I like about that is because the events are no longer at the old battle sites - those doors would just remain open as one would expect.

I realize that this is getting into full out patch territory - but you guys know me: thinking in every direction except forward...  :wink:

The issue appears in this when there is more than one TrapDoor in the room, this may have possibly worked otherwise, but because of the multiple doors it's not really plausible. Good thinking though.

410
Final Fantasy IV Research & Development / Re: Avalanche's Project: FF2
« on: February 08, 2015, 09:34:46 PM »
This would be extraordinary... now I fully understand what your end goals are, this has so much application that it's phenomenal! This would eliminate all space concerns in Every direction and really open up FFIV in a way that we can currently only Dream of!

To turn FFIV into a computer program without any limits to banks, sprites, graphics, routines, it could become anything we could virtually dream of, instead of being confined to the cage (albeit large cage) that we are in with the ROM of FFIV.

Since I'm still learning please forgive the noobish question: regarding bank switching - what is problem, speed? Because one thing that caught my eye looking up ASM references were the two block move commands: MVP & MVN

Block Move - From http://wiki.superfamicom.org/snes/show/Jay's+ASM+Tutorial

This is by far the weirdest instruction I?ve seen. It basically moves chunks of blocks from one place to another. The first $<8-bit exp> is the bank of the destination. The second is the bank of the source. X is loaded with the 16-bit address of the source, and Y is loaded with the 16-bit address of the destination. A is loaded with how many bytes to transfer. eg.

Code: [Select]
mvn $<8-bit exp>,$<8-bit exp> mvp $<8-bit exp>,$<8-bit exp>

X: ????  Y: ????  A: ????    rep #$30       ; Make accumulator and index 16-bit
X: ????  Y: ????  A: ????    ldy #$8000     ; load X with $8000
X: ????  Y: 8000  A: ????    ldx #$9000     ; load X with $9000
X: 9000  Y: 8000  A: ????    lda #$0005     ; lead A with 5
X: 9000  Y: 8000  A: 0005    mvp $80, $A0   ; block move increment

will transfer 5 bytes from $80:8000 -> $A0:9000

The only thing I could ever think it would be used for would be to change which bank things are in: I'm way at a loss on that one though.  :tongue:

Bank switching in practical terns is a simple matter, JSL to where ever you like and there's no speed drop to my knowledge. The game uses this all the time and will sometimes jump into ROM far outside of the banks to deal with random minutiae of certain routines.

These MVP dealings mostly appear, from my experience, in opening and deciding menu parameters (mainly in the main menu). I'm unaware of them being used elsewhere.

411
I knew then that I had the means to change what weapons Battle Character's wielded instead of the Deathbringer. Why they wield the Deathbringer is probably because of a scrapped part of the Dark Knight battle where he may normally attack once or twice. Through loading up Rydia and giving her several fight commands in her AI routine I pinpointed where the Battle Character Weapon spot is and how it is used. The bizarre thing about this I found was that this was all in Bank 02. I was unaware of that doing anything outside of battle menus.

I had wondered that about the weapon choice. I know Yang busts out the Deathbringer if you fix his targeting glitch for the Baron Inn fight. Makes sense about couple of attacks and then Dark Wave for the mirror match; that would make it like the fight with Yang is scripted: back and forth between regular attacks and special attacks.

Nice work on the above breakdown. Always makes for interesting reading - and source of ideas  :wink:

Possibly of note, Yang is shown with two swords at his side in the concept art so maybe that's how they planned to explain how he was wielding a blade in that battle originally?

412
Oh that's Neat-O; ver' good to know.

Has anyone ever run into trouble mixing and matching magic?

Yes. See: White on Dark Knight Cecil in Combat Boost.

I had originally planned to have it (obviously) be called Black or (Sword)Tech (replacing Ninja) but.... when the spell levels were reached they weren't learned because they were in the wrong spell book...

This is done purely for Rydia at the start of the game. She is the only character that learns Black and White Magic, when this is nullified learned spells are put in Every spellbook that the character has. This is the problem.

Apparently Phoenix made a spell patch... but that uses the characters of the Black, White, and Summon Magic which the Sword Skills were not, so it couldn't help me at all and I never really looked into it again, I'll eventually do something with it though, it's just not a pertinent concern.

413
Final Fantasy IV Research & Development / Re: Command Stances
« on: February 08, 2015, 09:06:39 PM »
Ah so it is done! I'm looking forward to seeing this implemented into the editor!

414
Final Fantasy IV Research & Development / Re: Avalanche's Project: FF2
« on: February 08, 2015, 09:05:20 PM »
This would be extraordinary... now I fully understand what your end goals are, this has so much application that it's phenomenal! This would eliminate all space concerns in Every direction and really open up FFIV in a way that we can currently only Dream of!

To turn FFIV into a computer program without any limits to banks, sprites, graphics, routines, it could become anything we could virtually dream of, instead of being confined to the cage (albeit large cage) that we are in with the ROM of FFIV.

415
Short break from Visual Effects to finally put the nail in the coffin to Battle Character weapons!

When looking what was special about Throw, I stumbled upon a piece of info. I didn't follow up on about the weapon being stored 7E3580, this would make sense as this is the area with all the other command special bytes like Twin Presence, Cover, Regen, etc.

So with this information in hand I set a Read Breakpoint to see how the graphics are loaded because Chillyfeez long ago was having issues with his Elemental Daggers showing up as fists. This is because they replaced the Shuriken and Ninja Shuriken which slots are special exceptions

Code: [Select]
$02/C118 AD 80 35 LDA $3580  [$7E:3580] A:00C0 X:0020 Y:000A P:envMxdiZC - Load Thrown Item into A.
$02/C11B C9 41 CMP #$41 A:0023 X:0020 Y:000A P:envMxdizC - Is it Ninja Shuriken?
$02/C11D F0 04 BEQ $04    [$C123] A:0023 X:0020 Y:000A P:eNvMxdizc - If so, unique branch.
$02/C11F C9 40 CMP #$40 A:0023 X:0020 Y:000A P:eNvMxdizc - Is it Shuriken?
$02/C121 D0 09 BNE $09    [$C12C] A:0023 X:0020 Y:000A P:eNvMxdizc - If not, branch past.
--------------------------------------------------------------------------------------------------------------------------
$02/C123 A9 40 LDA #$40 A:0011 X:0020 Y:000A P:envMxdizc - Load 40 into A.
$02/C125 85 50 STA $50    [$00:0050] A:0011 X:0020 Y:000A P:envMxdizc - Store A into 50.
$02/C127 64 51 STZ $51    [$00:0051] A:0011 X:0020 Y:000A P:envMxdizc - Store Zero in 51.
$02/C129 4C C8 CF JMP $CFC8  [$02:CFC8] A:0011 X:0020 Y:000A P:envMxdizc - Jump elsewhere
-------------------------------------------------------------------------------------------------------------------------------
$02/C12C A9 11 LDA #$11 A:0023 X:0020 Y:000A P:eNvMxdizc - Load 11 into A.
$02/C12E 20 6D D9 JSR $D96D  [$02:D96D] A:0011 X:0020 Y:000A P:envMxdizc - Jump to Subroutine (Weapon Graphics)

That subroutine is actually rather special as it looks to see what the weapon graphic is and goes from there.

Knowing this I Finally knew where Weapon Graphics were being allocated to.

I knew then that I had the means to change what weapons Battle Character's wielded instead of the Deathbringer. Why they wield the Deathbringer is probably because of a scrapped part of the Dark Knight battle where he may normally attack once or twice. Through loading up Rydia and giving her several fight commands in her AI routine I pinpointed where the Battle Character Weapon spot is and how it is used. The bizarre thing about this I found was that this was all in Bank 02. I was unaware of that doing anything outside of battle menus.

Code: [Select]
$02/D028 AD 4E ED LDA $ED4E  [$7E:ED4E] A:0080 X:0000 Y:0012 P:eNvMxdizc - Load Monster... something (Yousei's RAM notes say that ED50 is palette data so it may deal something with size or graphic or something)
$02/D02B 29 10 AND #$10 A:001F X:0000 Y:0012 P:envMxdizc - Get rid of all but 10.
$02/D02D F0 1B BEQ $1B    [$D04A] A:0010 X:0000 Y:0012 P:envMxdizc - All normal monsters branch here where Battle Characters continue on.
----------------------------------------------------------------------------------------------------------------
$02/D02F A9 18 LDA #$18 A:0010 X:0000 Y:0012 P:envMxdizc - Load Deathbringer into A.
$02/D031 20 BA D8 JSR $D8BA  [$02:D8BA] A:0018 X:0000 Y:0012 P:envMxdizc - Jump to Subroutine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
02/D8BA C2 20 REP #$20 A:0018 X:0000 Y:0012 P:envMxdizc - Reset Processor Status
$02/D8BC 0A ASL A A:0018 X:0000 Y:0012 P:envmxdizc - x2 A
$02/D8BD 0A ASL A A:0030 X:0000 Y:0012 P:envmxdizc - x2 A
$02/D8BE AA TAX A:0060 X:0000 Y:0012 P:envmxdizc - Transfer A to X
$02/D8BF 7B TDC A:0060 X:0060 Y:0012 P:envmxdizc - Clear A.
$02/D8C0 E2 20 SEP #$20 A:0000 X:0060 Y:0012 P:envmxdiZc - Set Processor to 20.
$02/D8C2 BF 11 9E 0F LDA $0F9E11,x[$0F:9E71] A:0000 X:0060 Y:0012 P:envMxdiZc - Load Weapon Graphic into A.
$02/D8C6 20 6D D9 JSR $D96D  [$02:D96D] A:0006 X:0060 Y:0012 P:envMxdizc - Jump to Subroutine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~``
$02/D96D DA PHX A:0006 X:0060 Y:0012 P:envMxdizc - Push X
$02/D96E AA TAX A:0006 X:0060 Y:0012 P:envMxdizc - Transfer A to X.
$02/D96F BF 6D FB 16 LDA $16FB6D,x[$16:FB73] A:0006 X:0006 Y:0012 P:envMxdizc - ???
$02/D973 85 26 STA $26    [$00:0026] A:0018 X:0006 Y:0012 P:envMxdizc - Store A in 26.
$02/D975 A9 18 LDA #$18 A:0018 X:0006 Y:0012 P:envMxdizc - Load 18 into A.
$02/D977 85 28 STA $28    [$00:0028] A:0018 X:0006 Y:0012 P:envMxdizc - Store A in 28.

If we can conjure up some free space we can have a team of Battle Character's all use different weaponry if we compare it to graphic call or palette it could be a much more convincing system. The only issue with it is that the Swing seems to be preset to basic attacking, so no harps, arrows, or fists basically.

 (Having gone through the weapon graphics it's kind of ridiculous how much space was wasted on Edge's throwing and thrown weapons, I honestly think we could replace some of them to have more weapon graphics to use.

I can think of several from other FF's which are noticeably missing in FFIV...

Okay two. Bells and Books. Surprisingly FF doesn't really get any real sort of weapon type upgrades until FFXII (I don't count Volleyballs as logical weapons from FFX, Dolls were a neat idea though) I can think we could use a few more sword graphic due to the amount there are in the game, I mean FFII on PSP gets a unique graphic for every weapon and FFIV PSP gets nothing new? A bit of a rip off in some respects.

I'll post the graphics that are not in FF4kster correctly already...

Sprite 008 - Thrown Axe Graphic.
Sprite 012 - Ninja Shuriken Graphic (yes there are two graphics wasted on Shurikens and yet they made Dark Swords look the same as Katanas.
Sprite 014 - Thrown Boomerang
Sprite 016 - Thrown Chakram
Sprite 017 - Returning Chakram
Sprite 018 - Thrown Weapon Spinning
Sprite 019 - Coiled Whip
Sprite 020 - Whip Lash
Sprite 023 - Bow
Sprite 024 - Bow Drawn
Sprite 025 - Arrow

Sprite 027 - Light Burst, possibly from an attack animation hit. Look good regardless.
Sprite 028 - Two halves of some sprite, but the way it is connected makes it look rather legitimate. Could possibly substitute for a graphic for elemental whips.

Sprite 031 - Another Drawn Bow

Sprite 035 - Another Bow

Sprite 037 - Another attack animation hit, looks good though for a magical weapon.
Sprite 038 - Spinning Weapon from Throw Again

Sprite 040 - Another Drawn Bow
Sprite 041 - Another animation hit, slightly different, looks good.

I think I'll stop there though.




416
Final Fantasy IV Research & Development / Re: Damage + Sap = Can't absorb??
« on: February 08, 2015, 12:12:38 PM »
Such an extensive rewrite of the code would be so much easier with a full assembly language.  Has anybody done coding for hacks using a bona fide assembler?

I've mapped out all of the spell routines, command routines, and damage routines to my knowledge, but I've done everything by hand because advanced math really throws me off.

417
Final Fantasy IV Research & Development / Re: Throw's Special Graphic
« on: February 08, 2015, 12:11:41 PM »
I've search and tried to change Throw's special graphic, but I couldn't find it in the end. Does anyone know how to change the Throw command's special graphic to another, I would like to change it to the left handed physical attack graphic instead.

Chillyfeez has pointed out a general way to look at it, but there's also another layer.

The graphic thrown matches the weapon graphic. If Edge throws a Spear it will be a Spear on contact. If Edge throws a Staff it will be a Staff on contact, Harp, etc. This may be important later to see how weapon animations are parsed and to possibly change NPC held weapons (Deathbringer is not a suitable sword for every NPC to wield)

The weapon's palette is also the same palette as the "circling weapon" graphic used in the Throw command.

So... it looks like 3580 is a unique byte purely used for Throw. It's parameters are bizarrely set in Bank 02 rather than 03.

Code: [Select]
$02/C118 AD 80 35 LDA $3580  [$7E:3580] A:00C0 X:0020 Y:000A P:envMxdiZC - Load Thrown Item into A.
$02/C11B C9 41 CMP #$41 A:0023 X:0020 Y:000A P:envMxdizC - Is it Ninja Shuriken?
$02/C11D F0 04 BEQ $04    [$C123] A:0023 X:0020 Y:000A P:eNvMxdizc - If so, unique branch.
$02/C11F C9 40 CMP #$40 A:0023 X:0020 Y:000A P:eNvMxdizc - Is it Shuriken?
$02/C121 D0 09 BNE $09    [$C12C] A:0023 X:0020 Y:000A P:eNvMxdizc - If not, branch past.
--------------------------------------------------------------------------------------------------------------------------
$02/C123 A9 40 LDA #$40 A:0011 X:0020 Y:000A P:envMxdizc - Load 40 into A.
$02/C125 85 50 STA $50    [$00:0050] A:0011 X:0020 Y:000A P:envMxdizc - Store A into 50.
$02/C127 64 51 STZ $51    [$00:0051] A:0011 X:0020 Y:000A P:envMxdizc - Store Zero in 51.
$02/C129 4C C8 CF JMP $CFC8  [$02:CFC8] A:0011 X:0020 Y:000A P:envMxdizc - Jump elsewhere
-------------------------------------------------------------------------------------------------------------------------------
$02/C12C A9 11 LDA #$11 A:0023 X:0020 Y:000A P:eNvMxdizc - Load 11 into A.
$02/C12E 20 6D D9 JSR $D96D  [$02:D96D] A:0011 X:0020 Y:000A P:envMxdizc - Jump to Subroutine (Weapon Graphics)


This may also explain why your elemental throwing knives showed up strangely Chillyfeez.
 
Oh now this is interesting! This goes beyond the scope of this topic, so I'll post this elsewhere.


418
Final Fantasy IV Research & Development / Re: Damage + Sap = Can't absorb??
« on: February 08, 2015, 11:04:03 AM »
Worked like a charm!

I think what I might do is expand my "protect/shell patch" to instead be a "spell routine patch" that fixes various spell routines and/or makes them more customizable for hackers.

I rather like the sound of this. Now if only we could fix whatever is wrong with the Gradual Petrify routine... it's strange, but Spells that Gradually Petrify actually work when the player uses them on an enemy, it's only when Gradual Petrify is inflicted from a normal attack that problems start to appear.

Maybe I should write out some improvements I feel should be made for the routines and start tackling them one by one... let's see here...

Status Ailment Routines
If possibly I would love to somehow add the tags of "Guard!" when an enemy resists an ailment, rather than "Miss" I always hated that about older FF games, how am I to actually know what an enemy is vulnerable to if you tell me Miss most of the time? A simple solution would be a JSR to roughly 10 bytes somewhere which would put a "Guarded against Ailment!" message. Another, cleaner way to go about it may be to somehow change the color of "Miss!" to Green, to signify a Guarded Ailment.

Magic Damage Routines
There may also be a way to throw in Elemental Boosting as well. In vanilla FFIV unfortunately the main three elements mainly become rather useless when you have access to things like Leviathan, Flare, and Bahamut.  This would give them continued use (not too powerful I'd imagine though)

Damage, Sap
Ugh... what a poorly programmed waste of space. Was one of the first routines to get the axe in Combat Boost, however there are some intriguing things that could be done with it, and I've already recorded the ways to increase Sap's timer so there is always that I suppose.

HP Healing

I've done everything I wanted with this by getting rid of the useless Cure 4 Check and throwing in an Item Lore like functionality.

As Avalanche has pointed out it would be nice to have all of the Status Routines in a single routine... but I'm not sure logically how to do that. We also need to figure out why Poison resistance doesn't actually work for monsters.

Reflect Needs to be accounted for in Counters. We need to find someway to make that happen. My thought is because it doesn't directly target a foe that their counters don't go off because of it.

Life... oy... well I think I've already given PinkPuff the tools to make that a decent idea for a routine. Vitality x5 was such a silly idea in the first place.

I have been mulling over in my head a way to make Protect and Shell into two new statuses that give +25% Defense and Magic Defense when applied (I like the idea of incremental increase as well, which is what I emphasized for Combat Boost, but that's only because they're free songs) The only issue is of course the changing of gear which resets that, but I don't think that's too big of a deal if people know that will reset their defenses.

Sylph...  what to do with this? We'd need to basically rewrite it. Maybe make it more universal and not just "Adult Rydia" and have it cost MP.

Count - Another terribly convoluted status. I'd really like it for players to be have it in the same vein as Gradual Petrify but there's some sort of timer problem we can't explain yet.

Attack Based on Physical Power - Ideally I would change the default Magic Routine to do a special look for Physical skills that take Strength, Agility, and Vitality into account so there can be a greater use of skills that involve more than powering up Wisdom and Will.

Those are all the ideas I can think of for the moment.



419
Final Fantasy IV Research & Development / Re: Graphics info
« on: February 08, 2015, 10:37:34 AM »
In ordinary circumstances there is One and that's a Red Giant fought in the Lunarian Lobby on the "HP Restore" spot. It proceeds to petrify itself as memory serves me right because of incorrect indexes.

I got around this for several enemies in Combat Boost by giving them an "If in this Formation Index, use this AI" so they can fight differently, but effectively in the Overworld and Moon Areas.

420
That's cool. Sorry, I misunderstood. I thought you were looking for a way to actually keep those trap door battles.
I hate them too, but mostly because one character dying is practically unavoidable. I think I'd be OK with them if their battle script was different.


Don't worry when I tackle them, I'll do a lot more than "Target" "Dimension 9" . (Partially because Target is gone, haha!) I'll probably make more use of the "monsters emerging from the door!" setup which I always thought was kind of neat from vanilla FFIV. We'll see when I get there though, but don't worry I don't like battles that have that "do or die" mentality. While I like preferred methods, I try not to make them necessary.