aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-06-06 16:22:38 -0500
committerGitHub <noreply@github.com>2022-06-06 17:22:38 -0400
commit85c97397c387a30a90c42d857ed18075c51b980f (patch)
tree733cdbeb9ec71d190d8c7a1d5e55f06c91d08dc7 /engine/battle/core.asm
parentRemove Stadium data patch from tools/make_patch.c (#84) (diff)
downloadpokeyellow-85c97397c387a30a90c42d857ed18075c51b980f.tar.gz
pokeyellow-85c97397c387a30a90c42d857ed18075c51b980f.tar.xz
pokeyellow-85c97397c387a30a90c42d857ed18075c51b980f.zip
Improved Virtual Console patch identifiers (#85)
Diffstat (limited to 'engine/battle/core.asm')
-rw-r--r--engine/battle/core.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index e8624289..a4c06f58 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -3192,7 +3192,7 @@ LinkBattleExchangeData:
ld a, b
.doExchange
ld [wSerialExchangeNybbleSendData], a
- vc_hook send_byt2
+ vc_hook Wireless_start_exchange
callfar PrintWaitingText
.syncLoop1
call Serial_ExchangeNybble
@@ -3200,8 +3200,8 @@ LinkBattleExchangeData:
ld a, [wSerialExchangeNybbleReceiveData]
inc a
jr z, .syncLoop1
- vc_hook send_byt2_ret
- vc_patch FIGHT
+ vc_hook Wireless_end_exchange
+ vc_patch Wireless_net_delay_1
IF DEF(_YELLOW_VC)
ld b, 26
ELSE
@@ -3213,8 +3213,8 @@ ENDC
call Serial_ExchangeNybble
dec b
jr nz, .syncLoop2
- vc_hook send_dummy
- vc_patch FIGHT2
+ vc_hook Wireless_start_send_zero_bytes
+ vc_patch Wireless_net_delay_2
IF DEF(_YELLOW_VC)
ld b, 26
ELSE
@@ -3226,7 +3226,7 @@ ENDC
call Serial_SendZeroByte
dec b
jr nz, .syncLoop3
- vc_hook send_dummy_end
+ vc_hook Wireless_end_send_zero_bytes
ret
ExecutePlayerMove:
@@ -6860,8 +6860,8 @@ BattleRandom:
ld a, [hl]
pop bc
pop hl
- vc_hook fight_ret_c
- vc_patch fight_ret
+ vc_hook Unknown_BattleRandom_ret_c
+ vc_patch BattleRandom_ret
IF DEF(_YELLOW_VC)
ret
ELSE