Elixir - clementgallet/ff6-tas GitHub Wiki
Attacking with an elixir jumps to C1/AA0A
, in the middle of the instruction, which translates into:
$C1/AA0A 82 60 0D BRL $0D60 [$B76D]
It jumps into the code that deals with the animation based on commands. Then, it jumps at the same place as if we would cast the Command #26, described as Doom cast when Condemned countdown reaches 0; Safe, Shell, or Reflect* cast when character enters Near Fatal (* no items actually do this, but it's supported); or revival due to Life 3.
We execute the routines to load graphic data for a spell animation (C1/9CB3
) with an offset of 0x14D6
.
Function C1/26AA
is using graphical data (in $7E:C5C4
for exemple) to store stuff in $7E:0300
and $7E:0500
(unknown addresses), which however seems to be overflowed because it writes in the entire range $7E:0300 - $7E:0C60
.