mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-21 11:43:37 +01:00
Add Ability Descriptions: credits to BluRose :3
This commit is contained in:
parent
0800a44f7a
commit
c3a5001945
@ -814,7 +814,7 @@ static void PrintOnBattlerWindow(u8 windowId, u8 battlerId)
|
|||||||
StringCopy(&text[4], gBattleMons[battlerId].nickname);
|
StringCopy(&text[4], gBattleMons[battlerId].nickname);
|
||||||
|
|
||||||
FillWindowPixelBuffer(windowId, 0x11);
|
FillWindowPixelBuffer(windowId, 0x11);
|
||||||
PrintTextOnWindow(windowId, 1, text, 0, 0, 0, NULL);
|
AddTextPrinterParameterized(windowId, 1, text, 0, 0, 0, NULL);
|
||||||
CopyWindowToVram(windowId, 3);
|
CopyWindowToVram(windowId, 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1025,7 +1025,7 @@ static void PrintDigitChars(struct BattleDebugMenu *data)
|
|||||||
|
|
||||||
text[i] = EOS;
|
text[i] = EOS;
|
||||||
|
|
||||||
PrintTextOnWindow(data->modifyWindowId, 1, text, 3, 0, 0, NULL);
|
AddTextPrinterParameterized(data->modifyWindowId, 1, text, 3, 0, 0, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const u32 GetBitfieldToAndValue(u32 currBit, u32 bitsCount)
|
static const u32 GetBitfieldToAndValue(u32 currBit, u32 bitsCount)
|
||||||
|
@ -4615,7 +4615,7 @@ static void sub_803CDF8(void)
|
|||||||
void SwapTurnOrder(u8 id1, u8 id2)
|
void SwapTurnOrder(u8 id1, u8 id2)
|
||||||
{
|
{
|
||||||
u32 temp;
|
u32 temp;
|
||||||
|
|
||||||
SWAP(gActionsByTurnOrder[id1], gActionsByTurnOrder[id2], temp);
|
SWAP(gActionsByTurnOrder[id1], gActionsByTurnOrder[id2], temp);
|
||||||
SWAP(gBattlerByTurnOrder[id1], gBattlerByTurnOrder[id2], temp);
|
SWAP(gBattlerByTurnOrder[id1], gBattlerByTurnOrder[id2], temp);
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user