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

@@ -1530,7 +1530,7 @@ Function1009f3:
_LinkBattleSendReceiveAction:
call .StageForSend
ld [wLinkBattleSentAction], a
vc_hook send_byt2
vc_hook Wireless_start_exchange
farcall PlaceWaitingText
ld a, [wLinkMode]
cp LINK_MOBILE
@@ -1585,8 +1585,8 @@ _LinkBattleSendReceiveAction:
inc a
jr z, .waiting
vc_hook send_byt2_ret
vc_patch send_byt2_wait
vc_hook Wireless_end_exchange
vc_patch Wireless_net_delay_3
if DEF(_CRYSTAL11_VC)
ld b, 26
else
@@ -1599,8 +1599,8 @@ endc
dec b
jr nz, .receive
vc_hook send_dummy
vc_patch send_dummy_wait
vc_hook Wireless_start_send_zero_bytes
vc_patch Wireless_net_delay_4
if DEF(_CRYSTAL11_VC)
ld b, 26
else
@@ -1613,7 +1613,7 @@ endc
dec b
jr nz, .acknowledge
vc_hook send_dummy_end
vc_hook Wireless_end_send_zero_bytes
ld a, [wOtherPlayerLinkAction]
ld [wBattleAction], a
ret