mirror of
https://github.com/pret/pmd-sky.git
synced 2026-09-30 06:12:17 -05:00
c433875956afda985e0b3003dcf54b9323b4e325
Landed as one batch after verifying every function individually, rather than in groups of ten. Five clusters: - Sound and effect veneers that tail-call a shared helper with fixed ids: PlaySeByIdIfShouldDisplayEntity, PlayEffectAnimationPos, PlayEffectAnimationPixelPos, ChangeMonsterAnimation and ov29_022E67E4. - Four DoMoveDamage__* wrappers plus DoMoveVacuumCut, all `return DealDamage(...) != 0`. - DoMoveExpose, DoMoveSport, DoMoveMirrorMove, DoMoveMiracleEye, DoMoveNightmare, DoMoveSureShot, DoMoveFeint and DoMoveRockPolish, which branch or sequence two calls rather than forwarding once. - Minimap byte accessors over GetMinimapData, and GetTileTerrain. - Wrappers whose argument setup evidences the callee arity: ShouldDisplayEntityWrapper, UseSingleUseItemSelf, CalcSpeedStageWrapper, GenerateCleanItem and three ov29_* forwarders. Eight further candidates were prepared and are deliberately NOT included: DoMoveHealOrder, DoMoveScreech, DoMoveCharm, DoMoveGrowl, DoMoveLowerDefense1, DoMoveFakeTears, DoMoveFeatherDance and DoMoveMetalSound. Each passes a constant on the stack to a six-argument stat helper, and each differs from the target only in instruction *order*: retail loads the stat global before materialising the constant, the candidate after. Same instructions, same count. They stay in asm. Authored by Claude (Opus 5) under human direction. All 42 verified at score 0 individually before landing; confirmed together by a single 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%