mirror of
https://github.com/pret/pokefirered.git
synced 2026-09-30 21:10:27 -05:00
up to 4 dex digits on trainer card, readded missing key item field uses
This commit is contained in:
@@ -12151,7 +12151,7 @@ const struct Item gItemsInfo[] =
|
||||
.importance = 1,
|
||||
.pocket = POCKET_KEY_ITEMS,
|
||||
.type = ITEM_USE_FIELD,
|
||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
||||
.fieldUseFunc = ItemUseOutOfBattle_Bike,
|
||||
.iconPic = gItemIcon_Bicycle,
|
||||
.iconPalette = gItemIconPalette_Bicycle,
|
||||
},
|
||||
@@ -12268,7 +12268,7 @@ const struct Item gItemsInfo[] =
|
||||
.importance = 1,
|
||||
.pocket = POCKET_KEY_ITEMS,
|
||||
.type = ITEM_USE_BAG_MENU,
|
||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
||||
.fieldUseFunc = ItemUseOutOfBattle_TownMap,
|
||||
.iconPic = gItemIcon_TownMap,
|
||||
.iconPalette = gItemIconPalette_TownMap,
|
||||
},
|
||||
@@ -12284,11 +12284,7 @@ const struct Item gItemsInfo[] =
|
||||
.importance = 1,
|
||||
.pocket = POCKET_KEY_ITEMS,
|
||||
.type = ITEM_USE_FIELD,
|
||||
#if I_VS_SEEKER_CHARGING != 0
|
||||
.fieldUseFunc = ItemUseOutOfBattle_VsSeeker,
|
||||
#else
|
||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
||||
#endif
|
||||
.iconPic = gItemIcon_VsSeeker,
|
||||
.iconPalette = gItemIconPalette_VsSeeker,
|
||||
},
|
||||
|
||||
@@ -1179,7 +1179,7 @@ static void PrintPokedexOnCard(void)
|
||||
|
||||
if (FlagGet(FLAG_SYS_POKEDEX_GET))
|
||||
{
|
||||
ConvertIntToDecimalStringN(buffer, sTrainerCardDataPtr->trainerCard.rse.caughtMonsCount, 0, 3);
|
||||
ConvertIntToDecimalStringN(buffer, sTrainerCardDataPtr->trainerCard.rse.caughtMonsCount, 0, 4);
|
||||
if (sTrainerCardDataPtr->cardType != CARD_TYPE_RSE)
|
||||
{
|
||||
x = -120 - 6 * StringLength(buffer);
|
||||
|
||||
Reference in New Issue
Block a user