- 6
- Posts
- 8
- Years
- Seen Dec 23, 2020
First of all, greetings.
I wish to add a new script command to be used in map scripts, specifically a variation of givemon, which lets the scripter pick the moveset, IVs, gender, ability and pretty much every other attribute the gifted pokemon has. I've been investigating by myself, and given I'm new to this, I haven't figured out all the files I would need to modify. So far, I know these have to be modified:
I wish to add a new script command to be used in map scripts, specifically a variation of givemon, which lets the scripter pick the moveset, IVs, gender, ability and pretty much every other attribute the gifted pokemon has. I've been investigating by myself, and given I'm new to this, I haven't figured out all the files I would need to modify. So far, I know these have to be modified:
- asm\macros\event.inc
- data\scrip_cmd_table.inc
- src\scrcmd.c
- Are there any other files I should be aware of when adding a new script command?
- I thought offsets weren't an issue with a decompilation project. Why are there specific addresses written in the event.inc file?