Improved Virtual Console patch identifiers (#907)

This commit is contained in:
vulcandth
2022-06-06 16:22:48 -05:00
committed by GitHub
parent c3bf7fd0bd
commit a4d346cc8c
14 changed files with 110 additions and 108 deletions

View File

@@ -290,7 +290,7 @@ Serial_SyncAndExchangeNybble:: ; unreferenced
jp WaitLinkTransfer ; pointless
WaitLinkTransfer::
vc_hook send_send_buf2
vc_hook Wireless_WaitLinkTransfer
ld a, $ff
ld [wOtherPlayerLinkAction], a
.loop
@@ -318,7 +318,7 @@ WaitLinkTransfer::
inc a
jr z, .loop
vc_patch Network10
vc_patch Wireless_net_delay_1
if DEF(_CRYSTAL11_VC)
ld b, 26
else
@@ -331,7 +331,7 @@ endc
dec b
jr nz, .receive
vc_patch Network11
vc_patch Wireless_net_delay_2
if DEF(_CRYSTAL11_VC)
ld b, 26
else
@@ -346,7 +346,7 @@ endc
ld a, [wOtherPlayerLinkAction]
ld [wOtherPlayerLinkMode], a
vc_hook send_send_buf2_ret
vc_hook Wireless_WaitLinkTransfer_ret
ret
LinkTransfer::