Skip to content

Separate Special Sprites list (just like Map Sprites) #57

@TiMMyyMMiT

Description

@TiMMyyMMiT

For the Java tools (the battle editor), I want to be able to load the special sprite associated with the specific special enemy (zeon, taros, kraken). Currently part of this required data is in SF2Enums (enum SpecialSprites) and some of it is in specialsprites.asm. Since specialsprites.asm is also a code file then the Java tools should not interact with that, so, ideally, we could extract the required data (pt_SpecialSprites) from the file.

  1. Can we extract pt_SpecialSprites from specialsprites.asm and move to data/graphics/specialsprites/ as an entries.asm file (or similar list)?
    • Can/should this list also reference the asset that it loads (like mapsprites do), or is this not how the system functions?
    Image

Additional Questions

  1. How does the engine map from 'mapsprite' to 'specialsprite'? Since the mapsprite values/order do not align with specialsprite values/order
    e.g. How do I get from "MAPSPRITE_KRAKEN_HEAD" to /specialsprites/kraken.bin ?
    Image Image
  2. You can see above, that this list includes 4 defs for Kraken and 2 for Zeon, do these have any meaning or just placeholder entries?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions