diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-16 14:30:10 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-16 14:39:28 -0500 |
commit | 80480821142d7a7b16dd2b1a98a213e7b389af0f (patch) | |
tree | 1e44bf0ba8f410e4debe309295dd389e3f418d8e /engine/mon_stats.asm | |
parent | 2b823389208c7c3691109ad751ccc39aa2408387 (diff) |
Remove Predef_ prefix from routines listed in PredefPointers
Diffstat (limited to 'engine/mon_stats.asm')
-rw-r--r-- | engine/mon_stats.asm | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/engine/mon_stats.asm b/engine/mon_stats.asm index a297b7760..7a493c591 100644 --- a/engine/mon_stats.asm +++ b/engine/mon_stats.asm @@ -1,8 +1,8 @@ -Predef_DrawPlayerHP: ; 50b0a +DrawPlayerHP: ; 50b0a ld a, $1 jr DrawHP -Predef_DrawEnemyHP: ; 50b0e +DrawEnemyHP: ; 50b0e ld a, $2 DrawHP: ; 50b10 @@ -43,7 +43,7 @@ DrawHP: ; 50b10 ld c, e .not_boxmon - predef Predef_ComputeHPBarPixels + predef ComputeHPBarPixels ld a, 6 ld d, a ld c, a @@ -82,7 +82,7 @@ DrawHP: ; 50b10 pop de ret -Predef_PrintTempMonStats: ; 50b7b +PrintTempMonStats: ; 50b7b ; Print TempMon's stats at hl, with spacing bc. push bc push hl @@ -121,7 +121,7 @@ Predef_PrintTempMonStats: ; 50b7b next "SPEED" next "@" -Predef_GetGender: ; 50bdd +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 @@ Predef_GetGender: ; 50bdd scf ret -Predef_ListMovePP: ; 50c50 +ListMovePP: ; 50c50 ld a, [wNumMoves] inc a ld c, a @@ -335,7 +335,7 @@ Unreferenced_Function50cd0: ; 50cd0 jr nz, .loop ret -UnusedPredef22: +Unused_PlaceEnemyHPLevel: push hl push hl ld hl, PartyMonNicknames @@ -343,7 +343,7 @@ UnusedPredef22: call GetNick pop hl call PlaceString - call Predef_CopyPkmnToTempMon + call CopyPkmnToTempMon pop hl ld a, [CurPartySpecies] cp EGG @@ -352,7 +352,7 @@ UnusedPredef22: ld bc, -12 add hl, bc ld b, $0 - call Predef_DrawEnemyHP + call DrawEnemyHP pop hl ld bc, 5 add hl, bc @@ -363,7 +363,7 @@ UnusedPredef22: .egg ret -Predef_PlaceStatusString: ; 50d0a +PlaceStatusString: ; 50d0a push de inc de inc de @@ -373,7 +373,7 @@ Predef_PlaceStatusString: ; 50d0a ld a, [de] or b pop de - jr nz, Predef_PlaceNonFaintStatus + jr nz, PlaceNonFaintStatus push de ld de, FntString call CopyStatusString @@ -396,7 +396,7 @@ CopyStatusString: ; 50d25 ld [hl], a ret -Predef_PlaceNonFaintStatus: ; 50d2e +PlaceNonFaintStatus: ; 50d2e push de ld a, [de] ld de, PsnString @@ -430,7 +430,7 @@ BrnString: db "BRN@" FrzString: db "FRZ@" ParString: db "PAR@" -Predef_ListMoves: ; 50d6f +ListMoves: ; 50d6f ; List moves at hl, spaced every [Buffer1] tiles. ld de, wListMoves_MoveIndicesBuffer ld b, $0 |