mirror of
https://github.com/pret/pokestadium.git
synced 2026-08-08 19:05:12 -05:00
The 12-byte per-move animation data table (165 entries):
nameStringId (offset 0) - move name string index
category (offset 1) - animation/category ID (color/animation lookup)
pad02 (offset 2-3)
animData (offset 4) - pointer to animation sequence data
pad08 (offset 8-11)
Touches:
- include/variables.h: struct typedef + extern decl
- src/2E460.{c,h}: function func_8002ED08 return type + body
- src/fragments/{23,24,27,41,61,62,64}/*: 9 call sites
Also removed the duplicate ret_func_8002ED08 typedef from
src/2E460.h (was just 'u8 unk_00[12]' — the same struct under
a different name). Now MoveAnimData is the single source of
truth.
KNOWN_UNKNOWNS:
- The 'category' field (offset 1) is used as an index into
color/animation tables. Specific encoding (whether it
matches Gen-1 Physical/Special or a Stadium-specific
category) is unverified.
- 'animData' is a pointer to animation sequence data.
The format of that data is unrenamed.
Still matching: md5 ed1378bc… (verified by `make`)
|
||
|---|---|---|
| .. | ||
| audio | ||
| libleo | ||
| assert.h | ||
| attributes.h | ||
| color.h | ||
| functions.h | ||
| gfx.h | ||
| global.h | ||
| macro.inc | ||
| macros.h | ||
| math.h | ||
| pokemon.h | ||
| prevent_bss_reordering.h | ||
| sections.h | ||
| sound.h | ||
| stdarg.h | ||
| stdlib.h | ||
| string.h | ||
| trig_tables.inc.c | ||
| variables.h | ||