Sitelet https://github.com/doldecomp/brawl/pull/140
Skip to content

Match Castle Siege scene effects, sound, and object creation - #140

Open
loserkidsblink wants to merge 4 commits into
doldecomp:mainfrom
loserkidsblink:decomp/castle-siege-controller
Open

loserkidsblink wants to merge 4 commits into
doldecomp:mainfrom
loserkidsblink:decomp/castle-siege-controller

Conversation

@loserkidsblink

@loserkidsblink loserkidsblink commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Match stEmblem::updateScene00, updateScene01, updateSE, and createObj for RSBE01_02.
  • Read packed melee init fields as bytes in the matching build of createObj, with named fields in the alternate build, and separate the two ground loops' local pointers to reproduce the original instructions.
  • Clarify the lamp effect index and scene effect temporaries while preserving the original compiled output.

Verification

  • ninja --quiet all_source build/RSBE01_02/ok build/RSBE01_02/report.json passes.
  • Matched code in st_emblem rises from 3,656 to 7,704 bytes (+4,048); all four functions above reach 100%.
  • The module has 54 of 55 functions matched and 100% matched data.

This is based on current main.

@decomp-dev

decomp-dev Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Report for RSBE01_02 (f168bd9 - 41317d4)

📈 Matched code: 1.22% (+0.03%, +4048 bytes)

✅ 4 new matches
Unit Item Bytes Before After
st_emblem/mo_stage/st_emblem/st_emblem stEmblem::updateScene01(float) +69 96.32% 100.00%
st_emblem/mo_stage/st_emblem/st_emblem stEmblem::createObj() +10 99.24% 100.00%
st_emblem/mo_stage/st_emblem/st_emblem stEmblem::updateScene00(float) +10 98.52% 100.00%
st_emblem/mo_stage/st_emblem/st_emblem stEmblem::updateSE(float) +1 99.59% 100.00%

@loserkidsblink loserkidsblink changed the title Match Castle Siege scene effects and sound updates Match Castle Siege scene effects, sound, and object creation Oct 1, 2026
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