diff options
Diffstat (limited to 'home/serial.asm')
-rw-r--r-- | home/serial.asm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/home/serial.asm b/home/serial.asm index c5394355e..20a9aff72 100644 --- a/home/serial.asm +++ b/home/serial.asm @@ -252,11 +252,10 @@ SerialDisconnected:: ld [wLinkTimeoutFrames + 1], a ret -; This is used to exchange the button press and selected menu item on the link menu. -; The data is sent thrice and read twice to increase reliability. -Serial_ExchangeLinkMenuSelection:: - ld hl, wPlayerLinkAction - ld de, wOtherPlayerLinkMode +; This is used to check that both players entered the same Cable Club room. +Serial_ExchangeSyncBytes:: + ld hl, wLinkPlayerSyncBuffer + ld de, wLinkReceivedSyncBuffer ld c, 2 ld a, TRUE ldh [hSerialIgnoringInitialData], a |