through PlayerSetAnimId; some quest log doc
This commit is contained in:
@@ -764,3 +764,18 @@ u8 PlayerGetCopyableMovement(void)
|
||||
{
|
||||
return gObjectEvents[gPlayerAvatar.objectEventId].playerCopyableMovement;
|
||||
}
|
||||
|
||||
void PlayerForceSetHeldMovement(u8 a)
|
||||
{
|
||||
ObjectEventForceSetHeldMovement(&gObjectEvents[gPlayerAvatar.objectEventId], a);
|
||||
}
|
||||
|
||||
void PlayerSetAnimId(u8 movementActionId, u8 copyableMovement)
|
||||
{
|
||||
if (!PlayerIsAnimActive())
|
||||
{
|
||||
PlayerSetCopyableMovement(copyableMovement);
|
||||
if (!ObjectEventSetHeldMovement(&gObjectEvents[gPlayerAvatar.objectEventId], movementActionId))
|
||||
sub_8112628(movementActionId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -496,7 +496,7 @@ void ClearDialogWindowAndFrame(u8 windowId, bool8 copyToVram)
|
||||
if (copyToVram == TRUE)
|
||||
CopyWindowToVram(windowId, 3);
|
||||
if (gQuestLogState == 2)
|
||||
sub_8111134();
|
||||
CommitQuestLogWindow1();
|
||||
}
|
||||
|
||||
void ClearStdWindowAndFrame(u8 windowId, bool8 copyToVram)
|
||||
|
||||
+253
-253
File diff suppressed because it is too large
Load Diff
@@ -45,7 +45,7 @@ void SetQuestLogObjectEventsData(struct QuestLog * questLog)
|
||||
}
|
||||
}
|
||||
|
||||
void sub_815A1F8(const struct QuestLog * questLog, const struct ObjectEventTemplate * templates)
|
||||
void SetSav1ObjectEventsFromQuestLog(const struct QuestLog * questLog, const struct ObjectEventTemplate * templates)
|
||||
{
|
||||
u32 i, j;
|
||||
const struct QuestLogObjectEvent * questLogObjectEvents = questLog->unk_008;
|
||||
@@ -131,7 +131,7 @@ void sub_815A1F8(const struct QuestLog * questLog, const struct ObjectEventTempl
|
||||
|
||||
void sub_815A540(void)
|
||||
{
|
||||
if (gQuestLogState == 2)
|
||||
if (gQuestLogState == QL_STATE_2)
|
||||
{
|
||||
s16 x, y;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user