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

@@ -1,4 +1,4 @@
Special_GiveParkBalls: ; 135db
GiveParkBalls: ; 135db
xor a
ld [wContestMon], a
ld a, 20

View File

@@ -1,4 +1,4 @@
Special_SelectRandomBugContestContestants: ; 139a8
SelectRandomBugContestContestants: ; 139a8
; Select five random people to participate in the current contest.
; First we have to make sure that any old data is cleared away.
@@ -56,7 +56,7 @@ Special_SelectRandomBugContestContestants: ; 139a8
ret
; 139ed
Special_CheckBugContestContestantFlag: ; 139ed
CheckBugContestContestantFlag: ; 139ed
; Checks the flag of the Bug Catching Contestant whose index is loaded in a.
; Bug: If a >= NUM_BUG_CONTESTANTS when this is called, it will read beyond the table.
@@ -76,7 +76,7 @@ Special_CheckBugContestContestantFlag: ; 139ed
INCLUDE "data/bug_contest_flags.asm"
Special_ContestDropOffMons: ; 13a12
ContestDropOffMons: ; 13a12
ld hl, PartyMon1HP
ld a, [hli]
or [hl]
@@ -101,7 +101,7 @@ Special_ContestDropOffMons: ; 13a12
ret
; 13a31
Special_ContestReturnMons: ; 13a31
ContestReturnMons: ; 13a31
; Restore the species of the second mon.
ld hl, PartySpecies + 1
ld a, [wBugContestSecondPartySpecies]

View File

@@ -244,7 +244,7 @@ ComputeAIContestantScores: ; 138b0
ld e, 0
.loop
push de
call Special_CheckBugContestContestantFlag
call CheckBugContestContestantFlag
pop de
jr nz, .done
ld a, e