aboutsummaryrefslogtreecommitdiffstats
path: root/engine/link
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/link
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/link')
-rw-r--r--engine/link/cable_club.asm6
-rw-r--r--engine/link/cable_club_npc.asm8
2 files changed, 7 insertions, 7 deletions
diff --git a/engine/link/cable_club.asm b/engine/link/cable_club.asm
index aa2ff15a..6b646647 100644
--- a/engine/link/cable_club.asm
+++ b/engine/link/cable_club.asm
@@ -130,14 +130,14 @@ CableClub_DoBattleOrTradeAgain:
ld hl, wSerialPlayerDataBlock
ld de, wSerialEnemyDataBlock
ld bc, $1a8
- vc_hook Network424
+ vc_hook Wireless_ExchangeBytes_1
call Serial_ExchangeBytes
ld a, SERIAL_NO_DATA_BYTE
ld [de], a
ld hl, wSerialPartyMonsPatchList
ld de, wSerialEnemyMonsPatchList
ld bc, $c8
- vc_hook Network200
+ vc_hook Wireless_ExchangeBytes_2
call Serial_ExchangeBytes
ld a, (1 << SERIAL) | (1 << TIMER) | (1 << VBLANK)
ldh [rIE], a
@@ -868,7 +868,7 @@ TradeCenter_Trade:
ld de, TradeCompleted
call PlaceString
predef SaveSAVtoSRAM2
- vc_hook save_game_end
+ vc_hook Trade_save_game_end
ld c, 50
call DelayFrames
xor a
diff --git a/engine/link/cable_club_npc.asm b/engine/link/cable_club_npc.asm
index 293a208a..1ba3becb 100644
--- a/engine/link/cable_club_npc.asm
+++ b/engine/link/cable_club_npc.asm
@@ -34,7 +34,7 @@ CableClubNPC::
; USING_INTERNAL_CLOCK, which allows the player to proceed past the link
; receptionist's "Please wait." It assumes that hSerialConnectionStatus is at
; its original address.
- vc_hook linkCable_fake_begin
+ vc_hook Link_fake_connection_status
vc_assert hSerialConnectionStatus == $ffaa, \
"hSerialConnectionStatus is no longer located at 00:ffaa"
vc_assert USING_INTERNAL_CLOCK == $02, \
@@ -66,7 +66,7 @@ CableClubNPC::
ld a, [wCurrentMenuItem]
and a
jr nz, .choseNo
- vc_hook linkCable_block_input
+ vc_hook Wireless_TryQuickSave_block_input
callfar SaveSAVtoSRAM
call WaitForSoundToFinish
ld a, SFX_SAVE
@@ -80,9 +80,9 @@ CableClubNPC::
ld [hl], a
ldh [hSerialReceivedNewData], a
ld [wSerialExchangeNybbleSendData], a
- vc_hook linkCable_fake_end
+ vc_hook Wireless_prompt
call Serial_SyncAndExchangeNybble
- vc_hook Network_RECHECK
+ vc_hook Wireless_net_recheck
ld hl, wUnknownSerialCounter
ld a, [hli]
inc a