@@ -965,7 +965,7 @@ void ToggleBg3Mode(bool8 largeScreenSize)
|
||||
}
|
||||
}
|
||||
|
||||
void TradeMenuBouncePartySprites(struct Sprite *sprite)
|
||||
void Trade_MoveSelectedMonToTarget(struct Sprite *sprite)
|
||||
{
|
||||
sprite->data[1] = sprite->x;
|
||||
sprite->data[3] = sprite->y;
|
||||
|
||||
+4
-4
@@ -1237,11 +1237,11 @@ const u16 gMonMarkingsMenu_Pal[] = INCBIN_U16("graphics/misc/markings2.gbapal");
|
||||
const u16 gMonMarkingsMenu_Gfx[] = INCBIN_U16("graphics/misc/markings2.4bpp");
|
||||
|
||||
const u16 gTradeMenu_Pal[] = INCBIN_U16("graphics/trade/menu.gbapal");
|
||||
const u16 gTradeButtons_Pal[] = INCBIN_U16("graphics/trade/unknown_DDB444.gbapal");
|
||||
const u16 gTradeCursor_Pal[] = INCBIN_U16("graphics/trade/cursor.gbapal");
|
||||
const u16 gTradeMenu_Gfx[] = INCBIN_U16("graphics/trade/menu.4bpp");
|
||||
const u16 gTradeButtons_Gfx[] = INCBIN_U16("graphics/trade/buttons.4bpp");
|
||||
const u16 gUnknown_8E9E9DC[] = INCBIN_U16("graphics/unused/unused_DDCEE4.bin");
|
||||
const u16 gUnknown_8E9E9FC[] = INCBIN_U16("graphics/trade/unknown_DDCF04.bin");
|
||||
const u16 gTradeCursor_Gfx[] = INCBIN_U16("graphics/trade/cursor.4bpp");
|
||||
const u16 gTradeUnused_Tilemap[] = INCBIN_U16("graphics/trade/unused.bin");
|
||||
const u16 gTradeMenu_Tilemap[] = INCBIN_U16("graphics/trade/menu.bin");
|
||||
const u16 gTradeMenuMonBox_Tilemap[] = INCBIN_U16("graphics/trade/menu_mon_box.bin");
|
||||
|
||||
const u16 gFameCheckerBgPals[] = INCBIN_U16("graphics/fame_checker/bg.gbapal");
|
||||
|
||||
+1
-1
@@ -764,7 +764,7 @@ u8 GetLinkPlayerDataExchangeStatusTimed(int minPlayers, int maxPlayers)
|
||||
{
|
||||
if (gLinkPlayers[0].linkType == LINKTYPE_TRADE_SETUP)
|
||||
{
|
||||
switch (Trade_CalcLinkPlayerCompatibilityParam())
|
||||
switch (GetGameProgressForLinkTrade())
|
||||
{
|
||||
case TRADE_BOTH_PLAYERS_READY:
|
||||
sPlayerDataExchangeStatus = EXCHANGE_COMPLETE;
|
||||
|
||||
+1
-1
@@ -667,7 +667,7 @@ void InitHostRfuGameData(struct RfuGameData *data, u8 activity, bool32 startedAc
|
||||
data->compatibility.hasNews = FALSE;
|
||||
data->compatibility.hasCard = FALSE;
|
||||
data->compatibility.unknown = FALSE;
|
||||
data->compatibility.isChampion = FlagGet(FLAG_SYS_CAN_LINK_WITH_RS);
|
||||
data->compatibility.canLinkNationally = FlagGet(FLAG_SYS_CAN_LINK_WITH_RS);
|
||||
data->compatibility.hasNationalDex = IsNationalPokedexEnabled();
|
||||
data->compatibility.gameClear = FlagGet(FLAG_SYS_GAME_CLEAR);
|
||||
}
|
||||
|
||||
+1
-1
@@ -469,7 +469,7 @@ void MultichoiceList_PrintItems(u8 windowId, u8 fontId, u8 left, u8 top, u8 line
|
||||
CopyWindowToVram(windowId, COPYWIN_GFX);
|
||||
}
|
||||
|
||||
void UnionRoomAndTradeMenuPrintOptions(u8 windowId, u8 fontId, u8 lineHeight, u8 itemCount, const struct MenuAction *strs)
|
||||
void PrintMenuTable(u8 windowId, u8 fontId, u8 lineHeight, u8 itemCount, const struct MenuAction *strs)
|
||||
{
|
||||
u8 left = GetMenuCursorDimensionByFont(fontId, 0);
|
||||
|
||||
|
||||
+1
-1
@@ -5780,7 +5780,7 @@ bool32 IsHMMove2(u16 move)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool8 IsPokeSpriteNotFlipped(u16 species)
|
||||
bool8 IsMonSpriteNotFlipped(u16 species)
|
||||
{
|
||||
return gBaseStats[species].noFlip;
|
||||
}
|
||||
|
||||
@@ -4035,7 +4035,7 @@ static void PokeSum_CreateMonPicSprite(void)
|
||||
|
||||
FreeSpriteOamMatrix(&gSprites[spriteId]);
|
||||
|
||||
if (!IsPokeSpriteNotFlipped(species))
|
||||
if (!IsMonSpriteNotFlipped(species))
|
||||
gSprites[spriteId].hFlip = TRUE;
|
||||
else
|
||||
gSprites[spriteId].hFlip = FALSE;
|
||||
@@ -4162,7 +4162,7 @@ static void PokeSum_CreateMonIconSprite(void)
|
||||
sMonSummaryScreen->monIconSpriteId = CreateMonIcon(species, SpriteCallbackDummy, 24, 32, 0, personality, 1);
|
||||
}
|
||||
|
||||
if (!IsPokeSpriteNotFlipped(species))
|
||||
if (!IsMonSpriteNotFlipped(species))
|
||||
gSprites[sMonSummaryScreen->monIconSpriteId].hFlip = TRUE;
|
||||
else
|
||||
gSprites[sMonSummaryScreen->monIconSpriteId].hFlip = FALSE;
|
||||
|
||||
+1191
-1065
File diff suppressed because it is too large
Load Diff
+1108
-1087
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1176,7 +1176,7 @@ static u32 IsTryingToTradeAcrossVersionTooSoon(struct WirelessLink_Group * data,
|
||||
{
|
||||
if (!(gSaveBlock2Ptr->specialSaveWarpFlags & CHAMPION_SAVEWARP))
|
||||
return UR_TRADE_PLAYER_NOT_READY;
|
||||
else if (partner->rfu.data.compatibility.isChampion)
|
||||
else if (partner->rfu.data.compatibility.canLinkNationally)
|
||||
return UR_TRADE_READY;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -1195,7 +1195,7 @@ static void PrintKeyboardSwapTextsOnWin3(void)
|
||||
{
|
||||
FillWindowPixelBuffer(3, PIXEL_FILL(1));
|
||||
DrawTextBorderOuter(3, 1, 13);
|
||||
UnionRoomAndTradeMenuPrintOptions(3, FONT_NORMAL, 14, 5, sKeyboardSwapTexts);
|
||||
PrintMenuTable(3, FONT_NORMAL, 14, 5, sKeyboardSwapTexts);
|
||||
Menu_InitCursor(3, FONT_NORMAL, 0, 0, 14, 5, GetCurrentKeyboardPage());
|
||||
PutWindowTilemap(3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user