Remove Special_ prefix from special routines (close #478)

This commit is contained in:
Rangi
2018-01-24 11:17:05 -05:00
parent 132fe46925
commit d719d318e8
163 changed files with 758 additions and 758 deletions

View File

@@ -274,7 +274,7 @@ CopyMobileEZChatToC608: ; 11c156
jr .copy_string
; 11c1ab
Special_Function11c1ab: ; 11c1ab
Function11c1ab: ; 11c1ab
ld a, [hInMenu]
push af
ld a, $1

View File

@@ -318,7 +318,7 @@ Function10016f: ; 10016f
Function10020b: ; 10020b
xor a
ld [wc303], a
farcall Special_FadeOutPalettes
farcall FadeOutPalettes
farcall Function106464
call HideSprites
call DelayFrame
@@ -2803,7 +2803,7 @@ LoadSelectedPartiesForColosseum: ; 1010f2
ret
; 1011f1
Special_Function1011f1: ; 1011f1
Function1011f1: ; 1011f1
ld a, $04
call GetSRAMBank
ld a, [$a60c]
@@ -2827,20 +2827,20 @@ Special_Function1011f1: ; 1011f1
ret
; 101220
Special_Function101220: ; 101220
Function101220: ; 101220
xor a
ld [wLinkMode], a
ret
; 101225
Special_Function101225: ; 101225
Function101225: ; 101225
ld d, 1
ld e, BANK(Jumptable_101297)
ld bc, Jumptable_101297
call Function100000
jr Function10123d
Special_Function101231: ; 101231
Function101231: ; 101231
ld d, 2
ld e, BANK(Jumptable_101297)
ld bc, Jumptable_101297
@@ -2871,7 +2871,7 @@ Function101251: ; 101251
call Function1021e0
call Function1020ea
ret c
call Special_Function102142
call Function102142
ret
; 101265
@@ -5024,7 +5024,7 @@ Function102112: ; 102112
ret
; 102142
Special_Function102142: ; 102142
Function102142: ; 102142
call Function10218d
call Function102180
ld hl, UnknownText_0x1021d1
@@ -7722,9 +7722,9 @@ Unknown_1035d7: ; 1035d7
dw Unknown_103608
dw Unknown_103608
dw Unknown_1035fe
dw Special_AskMobileOrCable
dw Special_AskMobileOrCable
dw Special_AskMobileOrCable
dw AskMobileOrCable
dw AskMobileOrCable
dw AskMobileOrCable
Unknown_1035e7: ; 1035e7
dwcoord 0, 6
@@ -7755,7 +7755,7 @@ Unknown_103608: ; 103608
db 2, 2, 3
; 103612
Special_AskMobileOrCable: ; 103612
AskMobileOrCable: ; 103612
ld hl, MenuHeader_103640
call LoadMenuHeader
ld a, [wMobileOrCable_LastSelection]
@@ -7811,7 +7811,7 @@ Function103654: ; 103654
ret
; 10366e
Special_Mobile_SelectThreeMons: ; 10366e
Mobile_SelectThreeMons: ; 10366e
farcall Mobile_AlwaysReturnNotCarry
bit 7, c
jr z, .asm_10369b
@@ -7979,7 +7979,7 @@ UnknownText_0x10377b: ; 0x10377b
db "@"
; 0x103780
Special_Function103780: ; 103780
Function103780: ; 103780
ld a, [wd265]
push af
call Function10378c
@@ -8021,7 +8021,7 @@ Function10378c: ; 10378c
ret
; 1037c2
Special_Function1037c2: ; 1037c2
Function1037c2: ; 1037c2
call Function103823
jr c, .nope
ld a, [wdc5f]
@@ -8047,7 +8047,7 @@ UnknownText_0x1037e6: ; 0x1037e6
db "@"
; 0x1037eb
Special_Function1037eb: ; 1037eb
Function1037eb: ; 1037eb
call Function103823
jr nc, .asm_103807
ld hl, UnknownText_0x103819
@@ -8102,7 +8102,7 @@ Function103823: ; 103823
ret
; 10383c
Special_Function10383c: ; 10383c
Function10383c: ; 10383c
ld a, $01
ld [wdc60], a
xor a
@@ -8135,7 +8135,7 @@ UnknownText_0x103876: ; 0x103876
db "@"
; 0x10387b
Special_Function10387b: ; 10387b
Function10387b: ; 10387b
farcall Mobile_AlwaysReturnNotCarry
bit 7, c
ret nz

View File

@@ -324,7 +324,7 @@ StubbedTrainerRankings_FruitPicked: ; 10609b
ld hl, sTrainerRankingFruitPicked
jp StubbedTrainerRankings_Increment3Byte
Special_StubbedTrainerRankings_Healings: ; 1060a2
StubbedTrainerRankings_Healings: ; 1060a2
ret
ld hl, sTrainerRankingHealings
jp StubbedTrainerRankings_Increment3Byte
@@ -812,7 +812,7 @@ endr
; functions related to the cable club and various NPC scripts referencing communications
Special_Mobile_DummyReturnFalse: ; 10630f
Mobile_DummyReturnFalse: ; 10630f
xor a
ld [ScriptVar], a
ret
@@ -838,7 +838,7 @@ Mobile_AlwaysReturnNotCarry: ; 10632f
or a
ret
Function106331: ; 106331 - called by Special_Mobile_DummyReturnFalse in Crystal-J
Function106331: ; 106331 - called by Mobile_DummyReturnFalse in Crystal-J
; check ~[4:b000] == [7:a800]
ld a, $4
call GetSRAMBank

View File

@@ -6837,7 +6837,7 @@ Unknown_117356: ; 117356
SECTION "Mobile Stadium", ROMX
Special_GiveOddEgg: ; 117656
GiveOddEgg: ; 117656
farcall _GiveOddEgg
ret

View File

@@ -1672,7 +1672,7 @@ Function118ded: ; 118ded
push af
ld a, $1
ld [rSVBK], a
farcall Special_Function11b93b
farcall Function11b93b
pop af
ld [rSVBK], a
@@ -5722,7 +5722,7 @@ Text_ThisBattleRoomPleaseWait: ; 0x11ac1f
done
; 0x11ac3e
Special_Function11ac3e: ; 11ac3e
Function11ac3e: ; 11ac3e
call SpeechTextBox
call FadeToMenu
callfar ClearSpriteAnims2
@@ -7050,7 +7050,7 @@ Function11b3d9: ; 11b3d9
ret
; 11b444
Special_Function11b444: ; 11b444
Function11b444: ; 11b444
; special
call Mobile46_InitJumptable
call Mobile46_RunJumptable
@@ -7339,7 +7339,7 @@ Function11b5e7: ; 11b5e7
ret
; 11b5e8
Special_Function11b5e8: ; 11b5e8
Function11b5e8: ; 11b5e8
ld a, $0
call GetSRAMBank
ld hl, wRTC
@@ -7575,7 +7575,7 @@ Function11b6b4: ; 11b6b4
ret
; 11b7e5
Special_Function11b7e5: ; 11b7e5
Function11b7e5: ; 11b7e5
ld a, [$c60d] ; species
ld [wOTTrademonSpecies], a
ld [CurPartySpecies], a
@@ -7634,7 +7634,7 @@ Special_Function11b7e5: ; 11b7e5
ret
; 11b879
Special_Function11b879: ; 11b879
Function11b879: ; 11b879
farcall BattleTower_CheckSaveFileExistsAndIsYours
ld a, [ScriptVar]
and a
@@ -7727,7 +7727,7 @@ Special_Function11b879: ; 11b879
ret
; 11b920
Special_Function11b920: ; 11b920
Function11b920: ; 11b920
call Mobile46_InitJumptable
ld a, $5
call GetSRAMBank
@@ -7740,7 +7740,7 @@ Special_Function11b920: ; 11b920
ret
; 11b93b
Special_Function11b93b: ; 11b93b
Function11b93b: ; 11b93b
ld a, $5
call GetSRAMBank
xor a
@@ -7884,7 +7884,7 @@ AddMobileMonToParty: ; 11b98f
ret
; 11ba38
Special_Function11ba38: ; 11ba38
Function11ba38: ; 11ba38
farcall CheckCurPartyMonFainted
ret c
xor a

View File

@@ -435,7 +435,7 @@ Function17d1f1: ; 17d1f1
; if [ScriptVar] == TRUE
; Show BattleTower-Menu with 3 options in english language
; - Challenge - Explanation - Cancel
Special_Menu_ChallengeExplanationCancel: ; 17d224
Menu_ChallengeExplanationCancel: ; 17d224
ld a, [ScriptVar]
and a
jr nz, .English
@@ -511,7 +511,7 @@ MenuData_ChallengeExplanationCancel: ; 17d297
db "Cancel@"
; 17d2b6
Special_Function17d2b6: ; 17d2b6
Function17d2b6: ; 17d2b6
call Function17d2c0
farcall Function1181da
ret
@@ -526,7 +526,7 @@ Function17d2c0: ; 17d2c0
ret
; 17d2ce
Special_Function17d2ce: ; 17d2ce
Function17d2ce: ; 17d2ce
ld a, $5
call GetSRAMBank
ld a, [$aa72]
@@ -4586,7 +4586,7 @@ Function17f524: ; 17f524
jr .asm_17f536
; 17f53d
Special_BattleTowerMobileError: ; 17f53d
BattleTowerMobileError: ; 17f53d
call FadeToMenu
xor a
ld [wc303], a

View File

@@ -845,7 +845,7 @@ Function4a6ab: ; 4a6ab (12:66ab)
call ClearBGPalettes
ld b, SCGB_DIPLOMA
call GetSGBLayout
farcall Special_Function11c1ab
farcall Function11c1ab
pop bc
call LoadFontsExtra
jp Function4a4c4