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

@@ -1,54 +1,54 @@
; Pic animation arrangement.
UnusedPredef_AnimateMon_Slow_Normal: ; d0000
Unused_AnimateMon_Slow_Normal: ; d0000
hlcoord 12, 0
ld a, [wBattleMode]
cp WILD_BATTLE
jr z, .wild
ld e, ANIM_MON_SLOW
ld d, $0
call Predef_AnimateFrontpic
call AnimateFrontpic
ret
.wild
ld e, ANIM_MON_NORMAL
ld d, $0
call Predef_AnimateFrontpic
call AnimateFrontpic
ret
; d001a
AnimateMon_Menu: ; d001a
ld e, ANIM_MON_MENU
ld d, $0
call Predef_AnimateFrontpic
call AnimateFrontpic
ret
; d0022
AnimateMon_Trade: ; d0022
ld e, ANIM_MON_TRADE
ld d, $0
call Predef_AnimateFrontpic
call AnimateFrontpic
ret
; d002a
AnimateMon_Evolve: ; d002a
ld e, ANIM_MON_EVOLVE
ld d, $0
call Predef_AnimateFrontpic
call AnimateFrontpic
ret
; d0032
AnimateMon_Hatch: ; d0032
ld e, ANIM_MON_HATCH
ld d, $0
call Predef_AnimateFrontpic
call AnimateFrontpic
ret
; d003a
AnimateMon_Unused: ; d003a
ld e, ANIM_MON_UNUSED
ld d, $0
call Predef_AnimateFrontpic
call AnimateFrontpic
ret
; d0042
@@ -86,10 +86,10 @@ PokeAnims: ; d0042
.Egg2: pokeanim Idle, Play
Predef_AnimateFrontpic: ; d008e
AnimateFrontpic: ; d008e
call AnimateMon_CheckIfPokemon
ret c
call Predef_LoadMonAnimation
call LoadMonAnimation
.loop
call SetUpPokeAnim
push af
@@ -99,7 +99,7 @@ Predef_AnimateFrontpic: ; d008e
ret
; d00a3
Predef_LoadMonAnimation: ; d00a3
LoadMonAnimation: ; d00a3
push hl
ld c, e
ld b, 0
@@ -1110,11 +1110,11 @@ PokeAnim_GetSpeciesOrUnown: ; d065c
ret
; d0669
UnusedPredef48: ; d0669 Predef 48
Unused_HOF_AnimateAlignedFrontpic: ; d0669
ld a, $1
ld [wBoxAlignment], a
Predef_HOF_AnimateFrontpic: ; d066e Predef 49
HOF_AnimateFrontpic: ; d066e
call AnimateMon_CheckIfPokemon
jr c, .fail
ld h, d
@@ -1122,12 +1122,12 @@ Predef_HOF_AnimateFrontpic: ; d066e Predef 49
push bc
push hl
ld de, vTiles2
predef Predef_GetAnimatedFrontpic
predef GetAnimatedFrontpic
pop hl
pop bc
ld d, 0
ld e, c
call Predef_AnimateFrontpic
call AnimateFrontpic
xor a
ld [wBoxAlignment], a
ret