mirror of
https://github.com/pret/pmd-sky.git
synced 2026-09-29 05:41:47 -05:00
658a92a8029a20814da676818c7b3fe5057b288b
Sixth cleanup sweep. Four asm files and their includes removed: asm/overlay_29_02328A74.s DoMoveDamagePoison40 asm/overlay_29_02329FE0.s DoMoveMudSlap asm/overlay_29_0232B820.s DoMoveMistBall asm/main_0200F18C.s GetEquivItemIndex The three move effects share DoMoveBubble's shape: deal damage, and on a random outcome apply a secondary effect, returning whether damage landed rather than whether the effect did. The result variable doubles as an argument in two of them -- MistBall passes it as both the stage count and the checkProtected flag, MudSlap passes 0 as the chance. GetEquivItemIndex walks the 50 bag slots with a cursor, testing each item's exists flag as `(flags & 1) != 0` so the boolify emits tst/movne/moveq, and returns the index of the first equivalent item or -1. A fifth was prepared and not landed: GetNextIqSkill (asm/main_02058F24.s) sits at 30, the whole difference being that the target keeps its skill-list cursor in lr where the candidate uses r5. Four spellings tried -- hoisting the value local, moving the cursor declaration, a group temporary, and a while loop -- all 30 or worse. Authored by Claude (Opus 5) under human direction. All four 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%