1 to true

This commit is contained in:
Kurausukun 2021-03-29 18:32:22 -04:00
parent 0691632ac6
commit 79a8eb481f

View File

@ -132,7 +132,7 @@ void AgbMain()
DoSoftReset(); DoSoftReset();
} }
if (Overworld_SendKeysToLinkIsRunning() == 1) if (Overworld_SendKeysToLinkIsRunning() == TRUE)
{ {
gLinkTransferringData = TRUE; gLinkTransferringData = TRUE;
UpdateLinkAndCallCallbacks(); UpdateLinkAndCallCallbacks();
@ -143,7 +143,7 @@ void AgbMain()
gLinkTransferringData = FALSE; gLinkTransferringData = FALSE;
UpdateLinkAndCallCallbacks(); UpdateLinkAndCallCallbacks();
if (Overworld_RecvKeysFromLinkIsRunning() == 1) if (Overworld_RecvKeysFromLinkIsRunning() == TRUE)
{ {
gMain.newKeys = 0; gMain.newKeys = 0;
ClearSpriteCopyRequests(); ClearSpriteCopyRequests();