Improved Virtual Console patch identifiers (#907)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user