Skip to content

magic: import and decompile q_ketsu, q_shu - #323

Draft
j3lee wants to merge 4 commits into
Xeeynamo:mainfrom
j3lee:spells-drain
Draft

j3lee wants to merge 4 commits into
Xeeynamo:mainfrom
j3lee:spells-drain

Conversation

@j3lee

@j3lee j3lee commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

The HP drain and MP drain effects, imported and fully decompiled (20 functions, no assembly left). One commit per overlay, then the header lines.

  • the two files are the same code; they differ in an include and the hit sound id (7 and 0x1F)
  • each overlay starts with a 0x10-byte render descriptor ahead of the code; the model tick copies it from there
  • the start function doubles as the overlay entry, so it carries the MAGIC_ name

Each file opens with the attack it belongs to, in the form the other magic files use; an effect several attacks share lists them. Functions are named <Overlay><Thing><Verb> after what they draw or do; data keeps its D_ names. No shared header is changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant