mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-10 23:40:59 +13:00
Fix typo in name
This commit is contained in:
parent
3fdb8a0d89
commit
507fcbd269
|
|
@ -523,7 +523,7 @@ TradeCenter_SelectMon:
|
|||
ld [wCurrentMenuItem], a
|
||||
ld [wTradingWhichPlayerMon], a
|
||||
ld [wSerialExchangeNybbleSendData], a
|
||||
call Serial_PrintWaitingTextAndSyncAndExchangeByte
|
||||
call Serial_PrintWaitingTextAndSyncAndExchangeNybble
|
||||
ld a, [wSerialSyncAndExchangeNybbleReceiveData]
|
||||
cp $f
|
||||
jp z, CallCurrentTradeCenterFunction ; go back to the beginning of the trade selection menu if the other person cancelled
|
||||
|
|
@ -570,7 +570,7 @@ TradeCenter_SelectMon:
|
|||
Coorda 1, 16
|
||||
ld a, $f
|
||||
ld [wSerialExchangeNybbleSendData], a
|
||||
call Serial_PrintWaitingTextAndSyncAndExchangeByte
|
||||
call Serial_PrintWaitingTextAndSyncAndExchangeNybble
|
||||
ld a, [wSerialSyncAndExchangeNybbleReceiveData]
|
||||
cp $f ; did the other person choose Cancel too?
|
||||
jr nz, .cancelMenuItem_Loop
|
||||
|
|
@ -733,12 +733,12 @@ TradeCenter_Trade:
|
|||
hlCoord 1, 14
|
||||
ld de, TradeCanceled
|
||||
call PlaceString
|
||||
call Serial_PrintWaitingTextAndSyncAndExchangeByte
|
||||
call Serial_PrintWaitingTextAndSyncAndExchangeNybble
|
||||
jp .tradeCancelled
|
||||
.tradeConfirmed
|
||||
ld a, $2
|
||||
ld [wSerialExchangeNybbleSendData], a
|
||||
call Serial_PrintWaitingTextAndSyncAndExchangeByte
|
||||
call Serial_PrintWaitingTextAndSyncAndExchangeNybble
|
||||
ld a, [wSerialSyncAndExchangeNybbleReceiveData]
|
||||
dec a ; did the other person cancel?
|
||||
jr nz, .doTrade
|
||||
|
|
@ -848,7 +848,7 @@ TradeCenter_Trade:
|
|||
callab TryEvolvingMon
|
||||
call ClearScreen
|
||||
call LoadTrainerInfoTextBoxTiles
|
||||
call Serial_PrintWaitingTextAndSyncAndExchangeByte
|
||||
call Serial_PrintWaitingTextAndSyncAndExchangeNybble
|
||||
ld c, 40
|
||||
call DelayFrames
|
||||
hlCoord 0, 12
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ Serial_ExchangeLinkMenuSelection:: ; 2247 (0:2247)
|
|||
jr nz, .loop
|
||||
ret
|
||||
|
||||
Serial_PrintWaitingTextAndSyncAndExchangeByte:: ; 226e (0:226e)
|
||||
Serial_PrintWaitingTextAndSyncAndExchangeNybble:: ; 226e (0:226e)
|
||||
call SaveScreenTilesToBuffer1
|
||||
callab PrintWaitingText
|
||||
call Serial_SyncAndExchangeNybble
|
||||
|
|
@ -269,7 +269,6 @@ Serial_SyncAndExchangeNybble:: ; 227f (0:227f)
|
|||
ld [wSerialSyncAndExchangeNybbleReceiveData], a
|
||||
ret
|
||||
|
||||
; exchange one byte with value of $f or less
|
||||
Serial_ExchangeNybble:: ; 22c3 (0:22c3)
|
||||
call .doExchange
|
||||
ld a, [wSerialExchangeNybbleSendData]
|
||||
|
|
|
|||
Loading…
Reference in a new issue