Added the data of Zygarde's forms (#477)

* Defined species for Zygarde's 10% and Complete forms

* Defined the sprites for Zygarde's 10% and Complete forms

* Added coordinates and entries for the forms of Zygarde in the sprite data tables

* Set the InGame names of Zygarde's forms

* Added the base stats of Zygarde's forms

* Set the level up learnsets for the forms of Zygarde

* Defined the paths for the sprites of Zygarde's forms

* Linked the icons to the species of Zygarde's forms

* Added the icons of Zygarde's forms

* Fixed fuckups and inserted the icons of Zygarde's forms

* Added the cries of Zygarde's forms

* Tweaked the Y coordinate of Zygarde's 10% form's backsprite
This commit is contained in:
LOuroboros 2020-07-22 18:37:47 -03:00 committed by GitHub
parent ff5fc97859
commit 383872ca92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 221 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 631 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 698 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
0 176 232
32 24 16
80 64 72
16 16 16
56 48 40
200 216 152
72 120 24
56 80 32
248 248 248
168 200 72
120 152 24
192 48 48
232 72 72
0 0 0
0 0 0
0 0 0

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
208 248 184
32 24 16
80 64 72
56 48 40
16 16 16
168 200 72
184 184 136
248 248 248
120 152 24
72 120 24
192 48 48
232 72 72
232 136 32
80 136 216
56 80 168
120 128 96

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
0 176 232
88 88 88
232 232 232
16 16 16
176 176 176
144 232 208
40 112 96
8 64 48
248 248 248
72 216 176
56 160 136
192 48 48
232 72 72
0 0 0
0 0 0
0 0 0

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
208 248 184
88 88 88
232 232 232
176 176 176
16 16 16
72 216 176
144 176 168
248 248 248
56 160 136
40 112 96
192 48 48
232 72 72
232 136 32
80 136 216
56 80 168
72 96 80

View file

@ -911,8 +911,10 @@
#define SPECIES_MIMIKYU_BUSTED 901
#define SPECIES_LYCANROC_MIDNIGHT 902
#define SPECIES_LYCANROC_DUSK 903
#define SPECIES_ZYGARDE_10 904
#define SPECIES_ZYGARDE_COMPLETE 905
#define SPECIES_EGG 904
#define SPECIES_EGG 906
#define NUM_SPECIES SPECIES_EGG
// Unown forms, not actual species

View file

@ -3717,6 +3717,14 @@ extern const u32 gMonFrontPic_LycanrocDusk[];
extern const u32 gMonBackPic_LycanrocDusk[];
extern const u32 gMonPalette_LycanrocDusk[];
extern const u32 gMonShinyPalette_LycanrocDusk[];
extern const u32 gMonFrontPic_Zygarde10[];
extern const u32 gMonBackPic_Zygarde10[];
extern const u32 gMonPalette_Zygarde10[];
extern const u32 gMonShinyPalette_Zygarde10[];
extern const u32 gMonFrontPic_ZygardeComplete[];
extern const u32 gMonBackPic_ZygardeComplete[];
extern const u32 gMonPalette_ZygardeComplete[];
extern const u32 gMonShinyPalette_ZygardeComplete[];
extern const u8 gMonIcon_QuestionMark[];
extern const u8 gMonIcon_Bulbasaur[];
@ -4652,6 +4660,8 @@ extern const u8 gMonIcon_KyuremWhite[];
extern const u8 gMonIcon_MimikyuBusted[];
extern const u8 gMonIcon_LycanrocMidnight[];
extern const u8 gMonIcon_LycanrocDusk[];
extern const u8 gMonIcon_Zygarde10[];
extern const u8 gMonIcon_ZygardeComplete[];
extern const u8 gMonFootprint_QuestionMark[];
extern const u8 gMonFootprint_Bulbasaur[];

View file

@ -908,6 +908,8 @@ gCryTable:: @ 869DCF4
cry_not Cry_Mimikyu_Busted
cry_not Cry_Lycanroc_Midnight
cry_not Cry_Lycanroc_Dusk
cry_not Cry_Zygarde_10
cry_not Cry_Zygarde_Complete
.align 2
gCryTable2:: @ 869EF24
@ -1818,3 +1820,5 @@ gCryTable2:: @ 869EF24
cry2_not Cry_Mimikyu_Busted
cry2_not Cry_Lycanroc_Midnight
cry2_not Cry_Lycanroc_Dusk
cry2_not Cry_Zygarde_10
cry2_not Cry_Zygarde_Complete

View file

@ -4006,6 +4006,14 @@ Cry_Lycanroc_Midnight::
Cry_Lycanroc_Dusk::
.incbin "sound/direct_sound_samples/cries/cry_not_lycanroc_dusk.bin"
.align 2
Cry_Zygarde_10::
.incbin "sound/direct_sound_samples/cries/cry_not_zygarde_10.bin"
.align 2
Cry_Zygarde_Complete::
.incbin "sound/direct_sound_samples/cries/cry_not_zygarde_complete.bin"
.align 2
DirectSoundWaveData_register_noise::
.incbin "sound/direct_sound_samples/register_noise.bin"

View file

@ -3680,6 +3680,14 @@ const u32 gMonFrontPic_LycanrocDusk[] = INCBIN_U32("graphics/pokemon/lycanroc/fr
const u32 gMonBackPic_LycanrocDusk[] = INCBIN_U32("graphics/pokemon/lycanroc/back_dusk.4bpp.lz");
const u32 gMonPalette_LycanrocDusk[] = INCBIN_U32("graphics/pokemon/lycanroc/normal_dusk.gbapal.lz");
const u32 gMonShinyPalette_LycanrocDusk[] = INCBIN_U32("graphics/pokemon/lycanroc/shiny_dusk.gbapal.lz");
const u32 gMonFrontPic_Zygarde10[] = INCBIN_U32("graphics/pokemon/zygarde/front_10pc.4bpp.lz");
const u32 gMonBackPic_Zygarde10[] = INCBIN_U32("graphics/pokemon/zygarde/back_10pc.4bpp.lz");
const u32 gMonPalette_Zygarde10[] = INCBIN_U32("graphics/pokemon/zygarde/normal_10pc.gbapal.lz");
const u32 gMonShinyPalette_Zygarde10[] = INCBIN_U32("graphics/pokemon/zygarde/shiny_10pc.gbapal.lz");
const u32 gMonFrontPic_ZygardeComplete[] = INCBIN_U32("graphics/pokemon/zygarde/front_complete.4bpp.lz");
const u32 gMonBackPic_ZygardeComplete[] = INCBIN_U32("graphics/pokemon/zygarde/back_complete.4bpp.lz");
const u32 gMonPalette_ZygardeComplete[] = INCBIN_U32("graphics/pokemon/zygarde/normal_complete.gbapal.lz");
const u32 gMonShinyPalette_ZygardeComplete[] = INCBIN_U32("graphics/pokemon/zygarde/shiny_complete.gbapal.lz");
const u8 gMonIcon_QuestionMark[] = INCBIN_U8("graphics/pokemon/question_mark/icon.4bpp");
const u8 gMonIcon_Bulbasaur[] = INCBIN_U8("graphics/pokemon/bulbasaur/icon.4bpp");
@ -4615,6 +4623,8 @@ const u8 gMonIcon_KyuremWhite[] = INCBIN_U8("graphics/pokemon/kyurem/icon_white.
const u8 gMonIcon_MimikyuBusted[] = INCBIN_U8("graphics/pokemon/mimikyu/icon_busted.4bpp");
const u8 gMonIcon_LycanrocMidnight[] = INCBIN_U8("graphics/pokemon/lycanroc/icon_midnight.4bpp");
const u8 gMonIcon_LycanrocDusk[] = INCBIN_U8("graphics/pokemon/lycanroc/icon_dusk.4bpp");
const u8 gMonIcon_Zygarde10[] = INCBIN_U8("graphics/pokemon/zygarde/icon_10pc.4bpp");
const u8 gMonIcon_ZygardeComplete[] = INCBIN_U8("graphics/pokemon/zygarde/icon_complete.4bpp");
const u8 gMonFootprint_QuestionMark[] = INCBIN_U8("graphics/pokemon/question_mark/footprint.1bpp");
const u8 gMonFootprint_Bulbasaur[] = INCBIN_U8("graphics/pokemon/bulbasaur/footprint.1bpp");

View file

@ -23525,4 +23525,54 @@ const struct BaseStats gBaseStats[] =
.bodyColor = BODY_COLOR_BROWN,
.noFlip = FALSE,
},
[SPECIES_ZYGARDE_10] =
{
.baseHP = 54,
.baseAttack = 100,
.baseDefense = 71,
.baseSpeed = 115,
.baseSpAttack = 61,
.baseSpDefense = 85,
.type1 = TYPE_DRAGON,
.type2 = TYPE_GROUND,
.catchRate = 3,
.expYield = 270,
.evYield_HP = 3,
.evYield_SpAttack = 0,
.genderRatio = MON_GENDERLESS,
.eggCycles = 120,
.friendship = 0,
.growthRate = GROWTH_SLOW,
.eggGroup1 = EGG_GROUP_UNDISCOVERED,
.eggGroup2 = EGG_GROUP_UNDISCOVERED,
.abilities = {ABILITY_AURA_BREAK, ABILITY_POWER_CONSTRUCT},
.bodyColor = BODY_COLOR_GREEN,
.noFlip = FALSE,
},
[SPECIES_ZYGARDE_COMPLETE] =
{
.baseHP = 216,
.baseAttack = 100,
.baseDefense = 121,
.baseSpeed = 85,
.baseSpAttack = 91,
.baseSpDefense = 95,
.type1 = TYPE_DRAGON,
.type2 = TYPE_GROUND,
.catchRate = 3,
.expYield = 270,
.evYield_HP = 3,
.evYield_SpAttack = 0,
.genderRatio = MON_GENDERLESS,
.eggCycles = 120,
.friendship = 0,
.growthRate = GROWTH_SLOW,
.eggGroup1 = EGG_GROUP_UNDISCOVERED,
.eggGroup2 = EGG_GROUP_UNDISCOVERED,
.abilities = {ABILITY_POWER_CONSTRUCT, ABILITY_NONE},
.bodyColor = BODY_COLOR_GREEN,
.noFlip = FALSE,
},
};

View file

@ -907,4 +907,6 @@ const struct LevelUpMove *const gLevelUpLearnsets[NUM_SPECIES] =
[SPECIES_MIMIKYU_BUSTED] = sMimikyuLevelUpLearnset,
[SPECIES_LYCANROC_MIDNIGHT] = sLycanrocMidnightLevelUpLearnset,
[SPECIES_LYCANROC_DUSK] = sLycanrocDuskLevelUpLearnset,
[SPECIES_ZYGARDE_10] = sZygardeLevelUpLearnset,
[SPECIES_ZYGARDE_COMPLETE] = sZygardeLevelUpLearnset,
};

View file

@ -4614,4 +4614,14 @@ const struct MonCoords gMonBackPicCoords[] =
.size = 0x77,
.y_offset = 0x7
},
[SPECIES_ZYGARDE_10] =
{
.size = 0x77,
.y_offset = 0x9
},
[SPECIES_ZYGARDE_COMPLETE] =
{
.size = 0x88,
.y_offset = 0x4
},
};

View file

@ -908,6 +908,8 @@ const struct CompressedSpriteSheet gMonBackPicTable[] =
SPECIES_SPRITE(MIMIKYU_BUSTED, gMonBackPic_MimikyuBusted),
SPECIES_SPRITE(LYCANROC_MIDNIGHT, gMonBackPic_LycanrocMidnight),
SPECIES_SPRITE(LYCANROC_DUSK, gMonBackPic_LycanrocDusk),
SPECIES_SPRITE(ZYGARDE_10, gMonBackPic_Zygarde10),
SPECIES_SPRITE(ZYGARDE_COMPLETE, gMonBackPic_ZygardeComplete),
SPECIES_SPRITE(UNOWN_A, gMonBackPic_UnownA),
SPECIES_SPRITE(UNOWN_B, gMonBackPic_UnownB),

View file

@ -8404,6 +8404,18 @@ static const union AnimCmd sAnim_LYCANROC_DUSK_1[] =
ANIMCMD_END,
};
static const union AnimCmd sAnim_ZYGARDE_10_1[] =
{
ANIMCMD_FRAME(0, 1),
ANIMCMD_END,
};
static const union AnimCmd sAnim_ZYGARDE_COMPLETE_1[] =
{
ANIMCMD_FRAME(0, 1),
ANIMCMD_END,
};
static const union AnimCmd *const sAnims_NONE[] ={
sAnim_GeneralFrame0,
sAnim_NONE_1,
@ -13104,6 +13116,16 @@ static const union AnimCmd *const sAnims_LYCANROC_DUSK[] ={
sAnim_LYCANROC_DUSK_1,
};
static const union AnimCmd *const sAnims_ZYGARDE_10[] ={
sAnim_GeneralFrame0,
sAnim_ZYGARDE_10_1,
};
static const union AnimCmd *const sAnims_ZYGARDE_COMPLETE[] ={
sAnim_GeneralFrame0,
sAnim_ZYGARDE_COMPLETE_1,
};
#define ANIM_CMD(name) [SPECIES_##name] = sAnims_##name
#define ANIM_CMD_FULL(name, anims) [SPECIES_##name] = anims
@ -14014,6 +14036,8 @@ const union AnimCmd *const *const gMonFrontAnimsPtrTable[] =
ANIM_CMD(MIMIKYU_BUSTED),
ANIM_CMD(LYCANROC_MIDNIGHT),
ANIM_CMD(LYCANROC_DUSK),
ANIM_CMD(ZYGARDE_10),
ANIM_CMD(ZYGARDE_COMPLETE),
};
#undef ANIM_CMD

View file

@ -4614,4 +4614,14 @@ const struct MonCoords gMonFrontPicCoords[] =
.size = 0x45,
.y_offset = 0x00,
},
[SPECIES_ZYGARDE_10] =
{
.size = 0x45,
.y_offset = 0x00,
},
[SPECIES_ZYGARDE_COMPLETE] =
{
.size = 0x55,
.y_offset = 0x0,
},
};

View file

@ -908,6 +908,8 @@ const struct CompressedSpriteSheet gMonFrontPicTable[] =
SPECIES_SPRITE(MIMIKYU_BUSTED, gMonFrontPic_MimikyuBusted),
SPECIES_SPRITE(LYCANROC_MIDNIGHT, gMonFrontPic_LycanrocMidnight),
SPECIES_SPRITE(LYCANROC_DUSK, gMonFrontPic_LycanrocDusk),
SPECIES_SPRITE(ZYGARDE_10, gMonFrontPic_Zygarde10),
SPECIES_SPRITE(ZYGARDE_COMPLETE, gMonFrontPic_ZygardeComplete),
SPECIES_SPRITE(UNOWN_A, gMonFrontPic_UnownA),
SPECIES_SPRITE(UNOWN_B, gMonFrontPic_UnownB),

View file

@ -908,6 +908,8 @@ const struct CompressedSpritePalette gMonPaletteTable[] =
SPECIES_PAL(MIMIKYU_BUSTED, gMonPalette_MimikyuBusted),
SPECIES_PAL(LYCANROC_MIDNIGHT, gMonPalette_LycanrocMidnight),
SPECIES_PAL(LYCANROC_DUSK, gMonPalette_LycanrocDusk),
SPECIES_PAL(ZYGARDE_10, gMonPalette_Zygarde10),
SPECIES_PAL(ZYGARDE_COMPLETE, gMonPalette_ZygardeComplete),
SPECIES_PAL(UNOWN_A, gMonPalette_Unown),
SPECIES_PAL(UNOWN_B, gMonPalette_Unown),

View file

@ -908,6 +908,8 @@ const struct CompressedSpritePalette gMonShinyPaletteTable[] =
SPECIES_SHINY_PAL(MIMIKYU_BUSTED, gMonShinyPalette_MimikyuBusted),
SPECIES_SHINY_PAL(LYCANROC_MIDNIGHT, gMonShinyPalette_LycanrocMidnight),
SPECIES_SHINY_PAL(LYCANROC_DUSK, gMonShinyPalette_LycanrocDusk),
SPECIES_SHINY_PAL(ZYGARDE_10, gMonShinyPalette_Zygarde10),
SPECIES_SHINY_PAL(ZYGARDE_COMPLETE, gMonShinyPalette_ZygardeComplete),
SPECIES_SHINY_PAL(UNOWN_A, gMonShinyPalette_Unown),
SPECIES_SHINY_PAL(UNOWN_B, gMonShinyPalette_Unown),

View file

@ -906,4 +906,6 @@ const u8 gSpeciesNames[][POKEMON_NAME_LENGTH + 1] = {
[SPECIES_MIMIKYU_BUSTED] = _("Mimikyu"),
[SPECIES_LYCANROC_MIDNIGHT] = _("Lycanroc"),
[SPECIES_LYCANROC_DUSK] = _("Lycanroc"),
[SPECIES_ZYGARDE_10] = _("Zygarde"),
[SPECIES_ZYGARDE_COMPLETE] = _("Zygarde"),
};

View file

@ -930,6 +930,8 @@ const u8 *const gMonIconTable[] =
[SPECIES_MIMIKYU_BUSTED] = gMonIcon_MimikyuBusted,
[SPECIES_LYCANROC_MIDNIGHT] = gMonIcon_LycanrocMidnight,
[SPECIES_LYCANROC_DUSK] = gMonIcon_LycanrocDusk,
[SPECIES_ZYGARDE_10] = gMonIcon_Zygarde10,
[SPECIES_ZYGARDE_COMPLETE] = gMonIcon_ZygardeComplete,
[SPECIES_UNOWN_A] = gMonIcon_UnownA,
[SPECIES_UNOWN_B] = gMonIcon_UnownB,
[SPECIES_UNOWN_C] = gMonIcon_UnownC,
@ -1866,6 +1868,8 @@ const u8 gMonIconPaletteIndices[] =
[SPECIES_MIMIKYU_BUSTED] = 1,
[SPECIES_LYCANROC_MIDNIGHT] = 0,
[SPECIES_LYCANROC_DUSK] = 0,
[SPECIES_ZYGARDE_10] = 1,
[SPECIES_ZYGARDE_COMPLETE] = 1,
[SPECIES_UNOWN_A ... SPECIES_UNOWN_QMARK] = 0,
[SPECIES_EGG] = 1,
};