Match LetterWriter create #48

Merged
coah80 merged 2 commits from codex/letterwriter-create-exact-20260921 into main 2026-09-21 23:02:50 +00:00
coah80 commented 2026-09-21 23:02:42 +00:00 (Migrated from github.com)

Summary

  • match LetterWriter::create
  • preserve the adjacent initCalcNormal blocker as-is

Validation

  • exact function: 908/908 bytes, 100.0%
  • context diff: 227/227 instructions, 0 diffs
  • pool diff: identical, 15 strings
  • full 43U build passed after integrating PR #47
  • DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d

Note

Add explicit T_Reply case and refactor balloon vars in LetterWriter.create

Refactors the Mii-face TextBalloon construction in LetterWriter.create to use local float variables for width (120.0) and height (30.0), keeping the same final values. Adds an explicit T_Reply case label before the default block in the letter-type switch so T_Reply is visibly handled rather than falling through implicitly.

Macroscope summarized 269aa86.

## Summary - match LetterWriter::create - preserve the adjacent initCalcNormal blocker as-is ## Validation - exact function: 908/908 bytes, 100.0% - context diff: 227/227 instructions, 0 diffs - pool diff: identical, 15 strings - full 43U build passed after integrating PR #47 - DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d <!-- Macroscope's pull request summary starts here --> <!-- Macroscope will only edit the content between these invisible markers, and the markers themselves will not be visible in the GitHub rendered markdown. --> <!-- If you delete either of the start / end markers from your PR's description, Macroscope will append its summary at the bottom of the description. --> > [!NOTE] > ### Add explicit `T_Reply` case and refactor balloon vars in `LetterWriter.create` > Refactors the Mii-face `TextBalloon` construction in `LetterWriter.create` to use local float variables for width (120.0) and height (30.0), keeping the same final values. Adds an explicit `T_Reply` case label before the `default` block in the letter-type switch so `T_Reply` is visibly handled rather than falling through implicitly. > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized 269aa86.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
Sign in to join this conversation.