mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
formatting
This commit is contained in:
parent
734ec8dd51
commit
d708372ea9
@ -296,12 +296,11 @@ u8 GetTaskCount()
|
|||||||
|
|
||||||
void SetWordTaskArg(u8 taskId, u8 dataElem, u32 value)
|
void SetWordTaskArg(u8 taskId, u8 dataElem, u32 value)
|
||||||
{
|
{
|
||||||
if (dataElem <= 0xE)
|
if (dataElem <= 14)
|
||||||
{
|
{
|
||||||
gTasks[taskId].data[dataElem] = value;
|
gTasks[taskId].data[dataElem] = value;
|
||||||
gTasks[taskId].data[dataElem + 1] = value >> 16;
|
gTasks[taskId].data[dataElem + 1] = value >> 16;
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 GetWordTaskArg(u8 taskId, u8 dataElem)
|
u32 GetWordTaskArg(u8 taskId, u8 dataElem)
|
||||||
|
Loading…
Reference in New Issue
Block a user