Consistent predef function names

This commit is contained in:
xCrystal
2018-01-02 18:49:25 +01:00
parent b4a49351c1
commit d7970f749a
102 changed files with 549 additions and 548 deletions

View File

@@ -1,8 +1,8 @@
DrawPlayerHP: ; 50b0a
Predef_DrawPlayerHP: ; 50b0a
ld a, $1
jr DrawHP
DrawEnemyHP: ; 50b0e
Predef_DrawEnemyHP: ; 50b0e
ld a, $2
DrawHP: ; 50b10
@@ -43,7 +43,7 @@ DrawHP: ; 50b10
ld c, e
.not_boxmon
predef ComputeHPBarPixels
predef Predef_ComputeHPBarPixels
ld a, 6
ld d, a
ld c, a
@@ -82,7 +82,7 @@ DrawHP: ; 50b10
pop de
ret
PrintTempMonStats: ; 50b7b
Predef_PrintTempMonStats: ; 50b7b
; Print TempMon's stats at hl, with spacing bc.
push bc
push hl
@@ -121,7 +121,7 @@ PrintTempMonStats: ; 50b7b
next "SPEED"
next "@"
GetGender: ; 50bdd
Predef_GetGender: ; 50bdd
; Return the gender of a given monster (CurPartyMon/CurOTMon/CurWildMon).
; When calling this function, a should be set to an appropriate MonType value.
@@ -235,7 +235,7 @@ GetGender: ; 50bdd
scf
ret
ListMovePP: ; 50c50
Predef_ListMovePP: ; 50c50
ld a, [wNumMoves]
inc a
ld c, a
@@ -343,7 +343,7 @@ UnusedPredef22:
call GetNick
pop hl
call PlaceString
call CopyPkmnToTempMon
call Predef_CopyPkmnToTempMon
pop hl
ld a, [CurPartySpecies]
cp EGG
@@ -352,7 +352,7 @@ UnusedPredef22:
ld bc, -12
add hl, bc
ld b, $0
call DrawEnemyHP
call Predef_DrawEnemyHP
pop hl
ld bc, 5
add hl, bc
@@ -363,7 +363,7 @@ UnusedPredef22:
.egg
ret
PlaceStatusString: ; 50d0a
Predef_PlaceStatusString: ; 50d0a
push de
inc de
inc de
@@ -373,7 +373,7 @@ PlaceStatusString: ; 50d0a
ld a, [de]
or b
pop de
jr nz, PlaceNonFaintStatus
jr nz, Predef_PlaceNonFaintStatus
push de
ld de, FntString
call CopyStatusString
@@ -396,7 +396,7 @@ CopyStatusString: ; 50d25
ld [hl], a
ret
PlaceNonFaintStatus: ; 50d2e
Predef_PlaceNonFaintStatus: ; 50d2e
push de
ld a, [de]
ld de, PsnString
@@ -430,7 +430,7 @@ BrnString: db "BRN@"
FrzString: db "FRZ@"
ParString: db "PAR@"
ListMoves: ; 50d6f
Predef_ListMoves: ; 50d6f
; List moves at hl, spaced every [Buffer1] tiles.
ld de, wListMoves_MoveIndicesBuffer
ld b, $0