ref: 9bb584798e0b54a5f953665288165af86524a47c
parent: 911c1320a29b7fd746fd7573ec562d8e21ca3001
author: Remy Oukaour <remy.oukaour@gmail.com>
date: Mon Jan 15 05:55:44 EST 2018
_Special_BugContestJudging → _BugContestJudging; HOF_Predef_AnimateFrontpic → Predef_HOF_AnimateFrontpic (close #473)
--- a/engine/events/bug_contest/judging.asm
+++ b/engine/events/bug_contest/judging.asm
@@ -1,4 +1,4 @@
-_Special_BugContestJudging: ; 1369d
+_BugContestJudging: ; 1369d
call ContestScore
farcall StubbedTrainerRankings_BugContestScore
call BugContest_JudgeContestants
--- a/engine/events/halloffame.asm
+++ b/engine/events/halloffame.asm
@@ -130,7 +130,7 @@
call WaitBGMap
decoord 6, 5
ld c, $6
- predef HOF_Predef_AnimateFrontpic
+ predef Predef_HOF_AnimateFrontpic
ld c, 60
call DelayFrames
and a
@@ -403,7 +403,7 @@
call SetPalettes
decoord 6, 5
ld c, $6
- predef HOF_Predef_AnimateFrontpic
+ predef Predef_HOF_AnimateFrontpic
and a
ret
--- a/engine/pic_animation.asm
+++ b/engine/pic_animation.asm
@@ -1114,7 +1114,7 @@
ld a, $1
ld [wBoxAlignment], a
-HOF_Predef_AnimateFrontpic: ; d066e Predef 49
+Predef_HOF_AnimateFrontpic: ; d066e Predef 49
call AnimateMon_CheckIfPokemon
jr c, .fail
ld h, d
--- a/engine/predef.asm
+++ b/engine/predef.asm
@@ -103,6 +103,6 @@
add_predef Predef_LoadMonAnimation
add_predef Predef_AnimateFrontpic
add_predef UnusedPredef48 ; $48
- add_predef HOF_Predef_AnimateFrontpic
+ add_predef Predef_HOF_AnimateFrontpic
dbw $ff, InexplicablyEmptyFunction ; ???
; 864c
--- a/engine/specials.asm
+++ b/engine/specials.asm
@@ -364,7 +364,7 @@
; 0xc34a
Special_BugContestJudging: ; c34a
- farcall _Special_BugContestJudging
+ farcall _BugContestJudging
ld a, b
ld [ScriptVar], a
ret
--- a/mobile/mobile_5f.asm
+++ b/mobile/mobile_5f.asm
@@ -1498,7 +1498,7 @@
add hl, de
ld e, l
ld d, h
- farcall HOF_Predef_AnimateFrontpic
+ farcall Predef_HOF_AnimateFrontpic
pop af
ld [rSVBK], a
call Function17e349