Skip to content

A kind-of framework to create move effects in PMD: Explorers of Sky

License

Notifications You must be signed in to change notification settings

SkyTemple/eos-move-effects

Repository files navigation

EoS Move/Item Effects

This is a kind-of framework to code your own move and item effects for the game Pokémon Mystery Dungeon: Explorers of Sky.

Currently, only the US and EU versions are supported.

This only provides support for creating ASM code for custom effects, not for injecting it into the rom.

A graphical ASM editor for move and item effects can be found here: https://asmeditor.skytemple.org

Move/Item effects code injection is available using SkyTemple (check https://github.com/SkyTemple).

Disclaimer

This provides absolutely NO WARRANTY in terms of results. This may not work, or even worse may break your ROM, so as a advice always make some backups of your ROM frequently.

Getting Started

Move/Item effects ASM code can be assembled using armips (see https://github.com/Kingcom/armips).

Run Example Effects

To run an example, you must copy it in the same directory as "template_move.asm" or "template_item.asm".

The run "armips [path_to_example_script]" (assuming you installed armips).

This should produce a binary file ("*.bin") that you can inject in the ROM.

The examples are assembled for the US version, but you can change it for the EU version by commenting lines for the US versions and uncommenting those for the EU version. You also have to change the offset defined in the ".create" line.

Create your own effect

This requires some ARM9 asm knowledge.

It is recommended to use the file "template_move.asm" as a base for move effects, or "template_item.asm" for item effects, as it prepares all the things needed to implement a valid move/item effect code.

Copy this file, open the copy, and uncomment the lines for the version you want. Then, you can start coding your effect.

You can use the functions provided by the documentation in the "doc" folder.

All the functions may overwrite registers r0 to r3, so be careful to save the content of those if you need them after executing a function.

Also, it is recommended to use them as much as possible as they provide compatibility between the supported versions of the game, and possibly with the future supported versions.

Credits

This is based on all the research that has been done on the game.

Specific credits to UsernameFodder for their Dungeon RAM research notes.

Credits to Frostbyte for the move effects table location.

Credits to PsyCommando for the FileStreams manipulation functions.

Credits to Parakoopa for SkyTemple and tech-ticks for the GUI asm editor.

And to all the people that have worked on hacking this game or will be in the future.

If you think you must be credited for some research work or improve your credits, or if you want to contribute by adding some functions and/or information in the docs, feel free to open an issue about it.

About

A kind-of framework to create move effects in PMD: Explorers of Sky

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published