øAslickproductions.org/forum/index.php?topic=2006.15e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index3aa4.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=2006.15e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index3aa4.html.zx¸0g^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ\@&BE_OKtext/htmlISO-8859-1gzip@øÕE_ÿÿÿÿÿÿÿÿTue, 10 Mar 2020 06:32:47 GMT0ó°° ®0®P®€§²ð®}0g^(E_ Throw's Special Graphic

Author Topic: Throw's Special Graphic  (Read 2210 times)

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: Throw's Special Graphic
« Reply #15 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.

« Last Edit: February 08, 2015, 12:17:25 PM by Grimoire LD »