mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
Fix crash when viewing Contest Moves in Summary Screen by adding Fairy type icon.
This commit is contained in:
parent
2a251e7551
commit
9c34121a50
BIN
graphics/types/fairy.png
Normal file
BIN
graphics/types/fairy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 245 B |
@ -18,7 +18,7 @@ PSSGFXDIR := graphics/pokemon_storage
|
|||||||
OBJEVENTGFXDIR := graphics/object_events
|
OBJEVENTGFXDIR := graphics/object_events
|
||||||
MISCGFXDIR := graphics/misc
|
MISCGFXDIR := graphics/misc
|
||||||
|
|
||||||
types := normal fight flying poison ground rock bug ghost steel mystery fire water grass electric psychic ice dragon dark
|
types := normal fight flying poison ground rock bug ghost steel mystery fire water grass electric psychic ice dragon dark fairy
|
||||||
contest_types := cool beauty cute smart tough
|
contest_types := cool beauty cute smart tough
|
||||||
|
|
||||||
|
|
||||||
|
@ -805,6 +805,10 @@ static const union AnimCmd sSpriteAnim_TypeDark[] = {
|
|||||||
ANIMCMD_FRAME(TYPE_DARK * 8, 0, FALSE, FALSE),
|
ANIMCMD_FRAME(TYPE_DARK * 8, 0, FALSE, FALSE),
|
||||||
ANIMCMD_END
|
ANIMCMD_END
|
||||||
};
|
};
|
||||||
|
static const union AnimCmd sSpriteAnim_TypeFairy[] = {
|
||||||
|
ANIMCMD_FRAME(TYPE_FAIRY * 8, 0, FALSE, FALSE),
|
||||||
|
ANIMCMD_END
|
||||||
|
};
|
||||||
static const union AnimCmd sSpriteAnim_CategoryCool[] = {
|
static const union AnimCmd sSpriteAnim_CategoryCool[] = {
|
||||||
ANIMCMD_FRAME((CONTEST_CATEGORY_COOL + NUMBER_OF_MON_TYPES) * 8, 0, FALSE, FALSE),
|
ANIMCMD_FRAME((CONTEST_CATEGORY_COOL + NUMBER_OF_MON_TYPES) * 8, 0, FALSE, FALSE),
|
||||||
ANIMCMD_END
|
ANIMCMD_END
|
||||||
@ -844,6 +848,7 @@ static const union AnimCmd *const sSpriteAnimTable_MoveTypes[NUMBER_OF_MON_TYPES
|
|||||||
sSpriteAnim_TypeIce,
|
sSpriteAnim_TypeIce,
|
||||||
sSpriteAnim_TypeDragon,
|
sSpriteAnim_TypeDragon,
|
||||||
sSpriteAnim_TypeDark,
|
sSpriteAnim_TypeDark,
|
||||||
|
sSpriteAnim_TypeFairy,
|
||||||
sSpriteAnim_CategoryCool,
|
sSpriteAnim_CategoryCool,
|
||||||
sSpriteAnim_CategoryBeauty,
|
sSpriteAnim_CategoryBeauty,
|
||||||
sSpriteAnim_CategoryCute,
|
sSpriteAnim_CategoryCute,
|
||||||
@ -887,6 +892,7 @@ static const u8 sMoveTypeToOamPaletteNum[NUMBER_OF_MON_TYPES + CONTEST_CATEGORIE
|
|||||||
[TYPE_ICE] = 14,
|
[TYPE_ICE] = 14,
|
||||||
[TYPE_DRAGON] = 15,
|
[TYPE_DRAGON] = 15,
|
||||||
[TYPE_DARK] = 13,
|
[TYPE_DARK] = 13,
|
||||||
|
[TYPE_FAIRY] = 14,
|
||||||
[NUMBER_OF_MON_TYPES + CONTEST_CATEGORY_COOL] = 13,
|
[NUMBER_OF_MON_TYPES + CONTEST_CATEGORY_COOL] = 13,
|
||||||
[NUMBER_OF_MON_TYPES + CONTEST_CATEGORY_BEAUTY] = 14,
|
[NUMBER_OF_MON_TYPES + CONTEST_CATEGORY_BEAUTY] = 14,
|
||||||
[NUMBER_OF_MON_TYPES + CONTEST_CATEGORY_CUTE] = 14,
|
[NUMBER_OF_MON_TYPES + CONTEST_CATEGORY_CUTE] = 14,
|
||||||
|
Loading…
Reference in New Issue
Block a user