new caught pokemon forms (PE) now show the proper gender based sprite, credits @AsparagusEduardo
This commit is contained in:
parent
675957c24a
commit
a8da254fcf
1 changed files with 4 additions and 0 deletions
|
@ -4501,7 +4501,11 @@ static void Task_DisplayCaughtMonDexPage(u8 taskId)
|
|||
gTasks[taskId].tState++;
|
||||
break;
|
||||
case 4:
|
||||
#ifndef POKEMON_EXPANSION
|
||||
spriteId = CreateMonSpriteFromNationalDexNumber(dexNum, MON_PAGE_X, MON_PAGE_Y, 0);
|
||||
#else
|
||||
spriteId = CreateMonPicSprite(species, 0, ((u16)gTasks[taskId].tPersonalityHi << 16) | (u16)gTasks[taskId].tPersonalityLo, TRUE, MON_PAGE_X, MON_PAGE_Y, 0, TAG_NONE);
|
||||
#endif
|
||||
gSprites[spriteId].oam.priority = 0;
|
||||
BeginNormalPaletteFade(PALETTES_ALL, 0, 0x10, 0, RGB_BLACK);
|
||||
SetVBlankCallback(gPokedexVBlankCB);
|
||||
|
|
Loading…
Reference in a new issue