Remove Special_ prefix from special routines (close #478)
This commit is contained in:
@@ -2031,7 +2031,7 @@ Unreferenced_Function28f09: ; 28f09
|
||||
|
||||
INCLUDE "engine/trade_animation.asm"
|
||||
|
||||
Special_CheckTimeCapsuleCompatibility: ; 29bfb
|
||||
CheckTimeCapsuleCompatibility: ; 29bfb
|
||||
; Checks to see if your Party is compatible with the generation 1 games. Returns the following in ScriptVar:
|
||||
; 0: Party is okay
|
||||
; 1: At least one Pokemon was introduced in GS
|
||||
@@ -2126,7 +2126,7 @@ Function29c67: ; 29c67
|
||||
ret
|
||||
; 29c7b
|
||||
|
||||
Special_EnterTimeCapsule: ; 29c7b
|
||||
EnterTimeCapsule: ; 29c7b
|
||||
ld c, 10
|
||||
call DelayFrames
|
||||
ld a, $4
|
||||
@@ -2140,7 +2140,7 @@ Special_EnterTimeCapsule: ; 29c7b
|
||||
ret
|
||||
; 29c92
|
||||
|
||||
Special_WaitForOtherPlayerToExit: ; 29c92
|
||||
WaitForOtherPlayerToExit: ; 29c92
|
||||
ld c, 3
|
||||
call DelayFrames
|
||||
ld a, CONNECTION_NOT_ESTABLISHED
|
||||
@@ -2188,21 +2188,21 @@ Special_WaitForOtherPlayerToExit: ; 29c92
|
||||
ret
|
||||
; 29ce8
|
||||
|
||||
Special_SetBitsForLinkTradeRequest: ; 29ce8
|
||||
SetBitsForLinkTradeRequest: ; 29ce8
|
||||
ld a, LINK_TRADECENTER - 1
|
||||
ld [wPlayerLinkAction], a
|
||||
ld [wd265], a
|
||||
ret
|
||||
; 29cf1
|
||||
|
||||
Special_SetBitsForBattleRequest: ; 29cf1
|
||||
SetBitsForBattleRequest: ; 29cf1
|
||||
ld a, LINK_COLOSSEUM - 1
|
||||
ld [wPlayerLinkAction], a
|
||||
ld [wd265], a
|
||||
ret
|
||||
; 29cfa
|
||||
|
||||
Special_SetBitsForTimeCapsuleRequest: ; 29cfa
|
||||
SetBitsForTimeCapsuleRequest: ; 29cfa
|
||||
ld a, $2
|
||||
ld [rSB], a
|
||||
xor a
|
||||
@@ -2217,7 +2217,7 @@ Special_SetBitsForTimeCapsuleRequest: ; 29cfa
|
||||
ret
|
||||
; 29d11
|
||||
|
||||
Special_WaitForLinkedFriend: ; 29d11
|
||||
WaitForLinkedFriend: ; 29d11
|
||||
ld a, [wPlayerLinkAction]
|
||||
and a
|
||||
jr z, .no_link_action
|
||||
@@ -2289,7 +2289,7 @@ Special_WaitForLinkedFriend: ; 29d11
|
||||
ret
|
||||
; 29d92
|
||||
|
||||
Special_CheckLinkTimeout: ; 29d92
|
||||
CheckLinkTimeout: ; 29d92
|
||||
ld a, $1
|
||||
ld [wPlayerLinkAction], a
|
||||
ld hl, wLinkTimeoutFrames
|
||||
@@ -2427,7 +2427,7 @@ Link_CheckCommunicationError: ; 29e0c
|
||||
ret
|
||||
; 29e66
|
||||
|
||||
Special_TryQuickSave: ; 29e66
|
||||
TryQuickSave: ; 29e66
|
||||
ld a, [wd265]
|
||||
push af
|
||||
farcall Link_SaveGame
|
||||
@@ -2443,7 +2443,7 @@ Special_TryQuickSave: ; 29e66
|
||||
ret
|
||||
; 29e82
|
||||
|
||||
Special_CheckBothSelectedSameRoom: ; 29e82
|
||||
CheckBothSelectedSameRoom: ; 29e82
|
||||
ld a, [wd265]
|
||||
call Link_EnsureSync
|
||||
push af
|
||||
@@ -2470,7 +2470,7 @@ Special_CheckBothSelectedSameRoom: ; 29e82
|
||||
ret
|
||||
; 29eaf
|
||||
|
||||
Special_TimeCapsule: ; 29eaf
|
||||
TimeCapsule: ; 29eaf
|
||||
ld a, LINK_TIMECAPSULE
|
||||
ld [wLinkMode], a
|
||||
call DisableSpriteUpdates
|
||||
@@ -2481,7 +2481,7 @@ Special_TimeCapsule: ; 29eaf
|
||||
ret
|
||||
; 29ec4
|
||||
|
||||
Special_TradeCenter: ; 29ec4
|
||||
TradeCenter: ; 29ec4
|
||||
ld a, LINK_TRADECENTER
|
||||
ld [wLinkMode], a
|
||||
call DisableSpriteUpdates
|
||||
@@ -2492,7 +2492,7 @@ Special_TradeCenter: ; 29ec4
|
||||
ret
|
||||
; 29ed9
|
||||
|
||||
Special_Colosseum: ; 29ed9
|
||||
Colosseum: ; 29ed9
|
||||
ld a, LINK_COLOSSEUM
|
||||
ld [wLinkMode], a
|
||||
call DisableSpriteUpdates
|
||||
@@ -2503,7 +2503,7 @@ Special_Colosseum: ; 29ed9
|
||||
ret
|
||||
; 29eee
|
||||
|
||||
Special_CloseLink: ; 29eee
|
||||
CloseLink: ; 29eee
|
||||
xor a
|
||||
ld [wLinkMode], a
|
||||
ld c, 3
|
||||
@@ -2511,7 +2511,7 @@ Special_CloseLink: ; 29eee
|
||||
jp Link_ResetSerialRegistersAfterLinkClosure
|
||||
; 29efa
|
||||
|
||||
Special_FailedLinkToPast: ; 29efa
|
||||
FailedLinkToPast: ; 29efa
|
||||
ld c, 40
|
||||
call DelayFrames
|
||||
ld a, $e
|
||||
@@ -2560,7 +2560,7 @@ Link_EnsureSync: ; 29f17
|
||||
ret
|
||||
; 29f47
|
||||
|
||||
Special_CableClubCheckWhichChris: ; 29f47
|
||||
CableClubCheckWhichChris: ; 29f47
|
||||
ld a, [hSerialConnectionStatus]
|
||||
cp USING_EXTERNAL_CLOCK
|
||||
ld a, TRUE
|
||||
|
Reference in New Issue
Block a user