Skip to content

magic: import and decompile comet, cometeo, faiga, gravide, kaeru, rmissile - #317

Draft
j3lee wants to merge 12 commits into
Xeeynamo:mainfrom
j3lee:spells-comet
Draft

j3lee wants to merge 12 commits into
Xeeynamo:mainfrom
j3lee:spells-comet

Conversation

@j3lee

@j3lee j3lee commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Six spell overlays, imported and fully decompiled (59 functions, no assembly left). One commit per overlay, then the names.

  • comet and cometeo share their structure; cometeo is the larger of the two
  • faiga keeps two goto and an empty do { } while (0), each with a // match: comment: the structured forms tried did not produce the same code
  • rmissile has no header line: no attack in the scene or kernel data uses its effect slot

Scratchpad access uses getScratchAddr.

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 (the sprite frames were decoded from each overlay to check the words); data keeps its D_ names. No shared header is changed.

j3lee added 12 commits October 12, 2026 12:09
Names from the label walker's table (labels-quest/NAMES-bundles.tsv, sure rows only); renames only.
Names from the label walker's table (labels-quest/NAMES-bundles.tsv, sure rows only); renames only.
Names from the label walker's table (labels-quest/NAMES-bundles.tsv, sure rows only); renames only.
Cites functions that exist on origin/main (or in this PR); comments that named draft-only functions are repointed or dropped.
CometBufferFlip picks its page by AnimationFrame and calls BattleFixedPointRampUpdateInit; it is not BarrierDoubleBufferFlip. CometeoBufferFlip is the same as CometBufferFlip and keeps its line.
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