Remove Predef_ prefix from routines listed in PredefPointers

This commit is contained in:
Remy Oukaour
2018-01-16 14:30:10 -05:00
parent 2b82338920
commit 8048082114
81 changed files with 530 additions and 527 deletions

View File

@@ -90,7 +90,7 @@ Unreferenced_CorrectErrorsInPlayerParty:
ld hl, MON_STAT_EXP - 1
add hl, bc
ld b, $1
predef Predef_CalcPkmnStats
predef CalcPkmnStats
pop hl
ld bc, PARTYMON_STRUCT_LENGTH
add hl, bc

View File

@@ -1,4 +1,4 @@
Predef_SmallFarFlagAction: ; 4d7c1
SmallFarFlagAction: ; 4d7c1
; Perform action b on bit c in flag array hl.
; If checking a flag, check flag array d:hl unless d is 0.

View File

@@ -1,4 +1,4 @@
Predef_NewPokedexEntry: ; fb877
NewPokedexEntry: ; fb877
ld a, [hMapAnims]
push af
xor a

View File

@@ -1,7 +1,6 @@
Predef_PlaceGraphic: ; 2ef6e
PlaceGraphic: ; 2ef6e
; Fill wBoxAlignment-aligned box width b height c
; with iterating tile starting from hGraphicStartTile at hl.
; Predef $13
ld de, SCREEN_WIDTH

View File

@@ -11,7 +11,7 @@ PlaceWaitingText:: ; 4000
jr .proceed
.notinbattle
predef Predef_LinkTextbox
predef LinkTextboxAtHL
.proceed
hlcoord 4, 11

View File

@@ -11,7 +11,7 @@ PrintItemDescription: ; 0x1c8955
pop hl
ld a, [wd265]
ld [CurSpecies], a
predef Predef_PrintMoveDesc
predef PrintMoveDesc
ret
.not_a_tm

View File

@@ -4,13 +4,13 @@ GetTrademonFrontpic: ; 4d7fd
ld de, vTiles2
push de
push af
predef Predef_GetUnownLetter
predef GetUnownLetter
pop af
ld [CurPartySpecies], a
ld [CurSpecies], a
call GetBaseData
pop de
predef Predef_GetAnimatedFrontpic
predef GetAnimatedFrontpic
ret
AnimateTrademonFrontpic: ; 4d81e
@@ -34,5 +34,5 @@ AnimateTrademonFrontpic: ; 4d81e
hlcoord 7, 2
ld d, $0
ld e, ANIM_MON_TRADE
predef Predef_AnimateFrontpic
predef AnimateFrontpic
ret