mirror of
https://github.com/pret/pmd-sky.git
synced 2026-09-29 13:47:50 -05:00
e8823a888e2b40c21fd8a9843b26afb745d90af3
Split asm/overlay_29_022F05B4.s at 0x022F2B3C; add src/overlay_29_022F0EDC.c and its header, and both objects to main.lsf. Type corrections the match required: - dungeon.field_0x1d8 / field_0x1dc: paired u16 fields -> struct position - dungeon.field_0x614: u32 -> s32, tested >= 0 - display_data.leader_target_direction_mirror: enum direction_id -> u8; the enum type folds the stored 0xFF to -1 and drops retail's mov r0, #0xff - CanMonsterMoveInDirection's direction parameter: u16 -> s32; a u16 parameter narrows the argument at the new call site, where retail passes it unchanged Authored by Claude (Opus 5) under human direction. Confirmed by a matching build: build/pmdsky.us/pmdsky.us.nds: OK. Not verified: the JP target, which is expected not to match -- the replaced asm carries JAPAN-specific variants beyond the message-id offset. Two volatile stand-ins remain in the new source, and this translation unit declares DUNGEON_PTR as a scalar where other files declare it as an array; the two are not byte-interchangeable here. 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%