mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Improved Virtual Console patch identifiers (#357)
This commit is contained in:
parent
1dcaede8b5
commit
d7808d110f
11 changed files with 153 additions and 151 deletions
|
|
@ -124,21 +124,21 @@ CableClub_DoBattleOrTradeAgain:
|
|||
ld hl, wSerialRandomNumberListBlock
|
||||
ld de, wSerialOtherGameboyRandomNumberListBlock
|
||||
ld bc, $11
|
||||
vc_hook Network17
|
||||
vc_hook Wireless_ExchangeBytes_1_unknown_Type5
|
||||
call Serial_ExchangeBytes
|
||||
ld a, SERIAL_NO_DATA_BYTE
|
||||
ld [de], a
|
||||
ld hl, wSerialPlayerDataBlock
|
||||
ld de, wSerialEnemyDataBlock
|
||||
ld bc, $1a8
|
||||
vc_hook Network424
|
||||
vc_hook Wireless_ExchangeBytes_2
|
||||
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_3
|
||||
call Serial_ExchangeBytes
|
||||
ld a, (1 << SERIAL) | (1 << TIMER) | (1 << VBLANK)
|
||||
ldh [rIE], a
|
||||
|
|
@ -862,7 +862,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
|
||||
|
|
|
|||
|
|
@ -31,7 +31,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, \
|
||||
|
|
@ -63,7 +63,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
|
||||
|
|
@ -76,10 +76,10 @@ CableClubNPC::
|
|||
xor a
|
||||
ld [hl], a
|
||||
ldh [hSerialReceivedNewData], a
|
||||
vc_hook linkCable_fake_end
|
||||
vc_hook Wireless_prompt
|
||||
ld [wSerialExchangeNybbleSendData], a
|
||||
call Serial_SyncAndExchangeNybble
|
||||
vc_hook Network_RECHECK
|
||||
vc_hook Wireless_net_recheck
|
||||
ld hl, wUnknownSerialCounter
|
||||
ld a, [hli]
|
||||
inc a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue