diff options
-rw-r--r-- | How-to-add-a-new-Pokémon-species.md | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/How-to-add-a-new-Pokémon-species.md b/How-to-add-a-new-Pokémon-species.md index 28f4a61..f2542d5 100644 --- a/How-to-add-a-new-Pokémon-species.md +++ b/How-to-add-a-new-Pokémon-species.md @@ -665,12 +665,34 @@ Edit [src/data/pokemon/tutor_learnsets.h](../blob/master/src/data/pokemon/tutor_ If you want to create a Pokémon which can breed, you will need to edit [src/data/pokemon/egg_moves.h](../blob/master/src/data/pokemon/egg_moves.h). ## 6. Define its cry -```sh -cp sound/direct_sound_samples/cry_mewtwo.bin sound/direct_sound_samples/cry_mewthree.bin -cp sound/direct_sound_samples/cry_mewtwo.aif sound/direct_sound_samples/cry_mewthree.aif + In [sound/direct_sound_data.inc](../blob/master/sound/direct_sound_data.inc). +```diff + .align 2 + Cry_Chimecho:: + .incbin "sound/direct_sound_samples/cries/chimecho.bin" + ++ .align 2 ++ Cry_Mewthree:: ++ .incbin "sound/direct_sound_samples/cries/mewthree.bin" ``` +And linking it in [sound/cry_tables.inc](../blob/master/sound/cry_tables.inc). cry2 in particular is for reversed cries for moves like Growl +```diff +... + cry Cry_Latios @ 869EEF4 + cry Cry_Jirachi @ 869EF00 + cry Cry_Deoxys @ 869EF0C + cry Cry_Chimecho @ 869EF18 ++ cry Cry_Mewthree @ 869EF18 +... + cry2 Cry_Latios @ 86A0124 + cry2 Cry_Jirachi @ 86A0130 + cry2 Cry_Deoxys @ 86A013C + cry2 Cry_Chimecho @ 86A0148 ++ cry2 Cry_Mewthree @ 86A0148 -Edit [src/data/pokemon/cry_ids.h](../blob/master/src/data/pokemon/cry_ids.h): +``` + +And finally, edit [src/data/pokemon/cry_ids.h](../blob/master/src/data/pokemon/cry_ids.h): ```diff const u16 gSpeciesIdToCryId[] = { @@ -680,6 +702,9 @@ Edit [src/data/pokemon/cry_ids.h](../blob/master/src/data/pokemon/cry_ids.h): + [SPECIES_MEWTHREE - 277] = 388, }; ``` +Mon cries are 10512Hz. Make sure to put the aif file in the directory [sound/direct_sound_samples/cries](../blob/master/sound/direct_sound_samples/cries) + +Higher frequencies may be ruined by compression. To have the cries uncompressed, follow [this](https://github.com/ShinyDragonHunter/pokefirereddx/commit/71ba1c193082817afbed9a8a0ba1d123fffb6f36#diff-e1823f56db7c2344fb9ee843e3c42797f72fa1e108e13a7080018e1db545322eR116) , then clear out the old sound bins ## 7. Define the Evolutions We want Mewthree to evolve from Mewtwo by reaching level 100. |