Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ff3:ff3us:doc:asm:fmt:attack_animation_data [2016/08/18 18:48] everything created |
ff3:ff3us:doc:asm:fmt:attack_animation_data [2021/09/15 06:56] (current) c-dude Listed attack animation offsets for Tools and Items, since indexing starts with spells and it is not immediately clear with editors where these other data blocks begin. |
||
---|---|---|---|
Line 3: | Line 3: | ||
This data (14 bytes) gets copied to 7E/6273 when loading the graphics for an animation (see C1/9CB3). Graphics and animation scripts can be loaded for up to 4 different layers: Sprite, BG1, BG3, and the extra layer (for espers, et. al.). | This data (14 bytes) gets copied to 7E/6273 when loading the graphics for an animation (see C1/9CB3). Graphics and animation scripts can be loaded for up to 4 different layers: Sprite, BG1, BG3, and the extra layer (for espers, et. al.). | ||
- | The script/ | + | The script/ |
The animation initialization function (C2/E8D0) loads esper graphics and specifies how many threads will be used for an animation (i.e. Fire uses 3 threads, one for each of the flames that appear on the target, whereas Ice only uses 1 and Drain uses 6). It also specifies the shape of the screen mask (Ultima, Bio Blast, etc.) and the color addition/ | The animation initialization function (C2/E8D0) loads esper graphics and specifies how many threads will be used for an animation (i.e. Fire uses 3 threads, one for each of the flames that appear on the target, whereas Ice only uses 1 and Drain uses 6). It also specifies the shape of the screen mask (Ultima, Bio Blast, etc.) and the color addition/ | ||
Line 10: | Line 10: | ||
^ Description | ^ Description | ||
- | | Base Offset (SNES) | + | | Base Offset (SNES) |
- | | Block size | $0E | | + | | Block size |
- | | Number of blocks | + | | Number of blocks |
- | | Total size | $1634 | | + | | Total size |
+ | | Tools Offset (SNES) | ||
+ | | Items Offset (SNES) | ||
===== Data ===== | ===== Data ===== | ||
^ Byte ^ Description | ^ Byte ^ Description | ||
- | | $00-$01 | + | | $00-$01 |
| ::: | $8000 | Load graphics only (no script) | | ::: | $8000 | Load graphics only (no script) | ||
| ::: | $7FFF | Script/ | | ::: | $7FFF | Script/ | ||
- | | $02-$03 | + | | $02-$03 |
| ::: | $8000 | Load graphics only (no script) | | ::: | $8000 | Load graphics only (no script) | ||
| ::: | $7FFF | Script/ | | ::: | $7FFF | Script/ | ||
- | | $04-$05 | + | | $04-$05 |
| ::: | $8000 | Load graphics only (no script) | | ::: | $8000 | Load graphics only (no script) | ||
| ::: | $7FFF | Script/ | | ::: | $7FFF | Script/ | ||
Line 33: | Line 36: | ||
| $0A | $80 | Copy the target' | | $0A | $80 | Copy the target' | ||
| ::: | $7F | Animation initialization function (at C2/ | | ::: | $7F | Animation initialization function (at C2/ | ||
- | | $0B-$0C | + | | $0B-$0C |
| ::: | $8000 | Load graphics only (no script) | | ::: | $8000 | Load graphics only (no script) | ||
| ::: | $7FFF | Script/ | | ::: | $7FFF | Script/ | ||
| $0D | Multi-Target Delay (adjusted for animation speed) | | $0D | Multi-Target Delay (adjusted for animation speed) |