mirror of
https://github.com/pret/pmd-sky.git
synced 2026-09-28 21:31:17 -05:00
80d0e710e0f3bc5f754bdf736f98b2f986dbbc55
Second cleanup sweep. Each was the only function left in its own asm file, so each removes an asm file and its include: asm/overlay_29_0234B0CC.s SetMessageLogPreprocessorArgsStringToName asm/overlay_29_023268CC.s DoMoveSmokescreen asm/overlay_29_02325F74.s DoMoveMorningSun asm/overlay_29_02326E20.s DoMoveGust asm/overlay_29_022EA980.s GenerateDungeonRngSeed Two needed a second reading: - DoMoveGust doubles the damage multiplier when the defender's bide_class_status.bide is 7 or 8. The target tests it as a byte with `add #0xF9`, so the source adds 0xF9 rather than subtracting 7; `- 7` compiles to `sub #7` and does not match. - GenerateDungeonRngSeed runs the LCG twice, stores the second result back to prng_state::preseed, and returns the two halves recombined. The operand order in the final or-expression decides whether the mask or the shift is scheduled first; taking the shifted half first matches. Authored by Claude (Opus 5) under human direction. All five verified at score 0. Confirmed by a matching build: build/pmdsky.us/pmdsky.us.nds: OK. None carries a region conditional, so US alone is sufficient. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…
…
…
…
…
Pokémon Mystery Dungeon: Explorers of Sky
This is a WIP disassembly of Pokémon Mystery Dungeon: Explorers of Sky. For instructions on how to set up the repository, please read INSTALL.md. For information on how to contribute changes, see CONTRIBUTING.md.
This repository builds the following ROMs:
- pmdsky.us.nds
sha1: 5fa96ca8d8dd6405d6cd2bad73ed68bc73a9d152 - pmdsky.eu.nds
sha1: c838a5adf1ed32d2da8454976e5b1a1aa189c139 - pmdsky.jp.nds
sha1: 7785138dd343b6f2d0f2c9cadc26b4aa927161d7
For contacts and other pret projects, see pret.github.io.
Description
Languages
Assembly
66.3%
C
18%
C++
7.1%
Boogie
4.3%
sed
1.5%
Other
2.8%