jep-hack/docs/pic_animations.md
Zeta_Null 2f8a41f833 First Commit
Upload literally everything from the pokecrystal16 expand-move-ID branch
2023-09-10 12:35:35 -04:00

1.3 KiB

Pic Animations

Defined in macros/scripts/pic_anims.asm.

Pic animations are assembled in 3 parts:

  • Top-level animations:

    • frame N, duration: Frame #0 is the original pic (no change)
    • setrepeat N: Sets the number of times to repeat
    • dorepeat I: Repeats from command #I (with the first command being #0)
    • endanim
  • Bitmasks: Layered over the pic to designate affected tiles

  • Frame definitions: first byte is the bitmask used for this frame
    following bytes are tile ids mapped to each bit in the mask

Animation data is in these files: