Name a lot of text labels according to our conventions
This commit is contained in:
@@ -7,66 +7,63 @@ _BugContestJudging:
|
||||
ld a, [wBugContestThirdPlaceMon]
|
||||
ld [wNamedObjectIndexBuffer], a
|
||||
call GetPokemonName
|
||||
ld hl, BugContest_ThirdPlaceText
|
||||
ld hl, ContestJudging_ThirdPlaceText
|
||||
call PrintText
|
||||
ld a, [wBugContestSecondPlaceWinnerID]
|
||||
call LoadContestantName
|
||||
ld a, [wBugContestSecondPlaceMon]
|
||||
ld [wNamedObjectIndexBuffer], a
|
||||
call GetPokemonName
|
||||
ld hl, BugContest_SecondPlaceText
|
||||
ld hl, ContestJudging_SecondPlaceText
|
||||
call PrintText
|
||||
ld a, [wBugContestFirstPlaceWinnerID]
|
||||
call LoadContestantName
|
||||
ld a, [wBugContestFirstPlaceMon]
|
||||
ld [wNamedObjectIndexBuffer], a
|
||||
call GetPokemonName
|
||||
ld hl, BugContest_FirstPlaceText
|
||||
ld hl, ContestJudging_FirstPlaceText
|
||||
call PrintText
|
||||
jp BugContest_GetPlayersResult
|
||||
|
||||
BugContest_FirstPlaceText:
|
||||
text_far ContestJudging_FirstPlaceText
|
||||
ContestJudging_FirstPlaceText:
|
||||
text_far _ContestJudging_FirstPlaceText
|
||||
text_asm
|
||||
ld de, SFX_1ST_PLACE
|
||||
call PlaySFX
|
||||
call WaitSFX
|
||||
ld hl, BugContest_FirstPlaceScoreText
|
||||
ld hl, ContestJudging_FirstPlaceScoreText
|
||||
ret
|
||||
|
||||
BugContest_FirstPlaceScoreText:
|
||||
; The winning score was @ points!
|
||||
text_far ContestJudging_FirstPlaceScoreText
|
||||
ContestJudging_FirstPlaceScoreText:
|
||||
text_far _ContestJudging_FirstPlaceScoreText
|
||||
text_end
|
||||
|
||||
BugContest_SecondPlaceText:
|
||||
ContestJudging_SecondPlaceText:
|
||||
; Placing second was @ , who caught a @ !@ @
|
||||
text_far ContestJudging_SecondPlaceText
|
||||
text_far _ContestJudging_SecondPlaceText
|
||||
text_asm
|
||||
ld de, SFX_2ND_PLACE
|
||||
call PlaySFX
|
||||
call WaitSFX
|
||||
ld hl, BugContest_SecondPlaceScoreText
|
||||
ld hl, ContestJudging_SecondPlaceScoreText
|
||||
ret
|
||||
|
||||
BugContest_SecondPlaceScoreText:
|
||||
; The score was @ points!
|
||||
text_far ContestJudging_SecondPlaceScoreText
|
||||
ContestJudging_SecondPlaceScoreText:
|
||||
text_far _ContestJudging_SecondPlaceScoreText
|
||||
text_end
|
||||
|
||||
BugContest_ThirdPlaceText:
|
||||
ContestJudging_ThirdPlaceText:
|
||||
; Placing third was @ , who caught a @ !@ @
|
||||
text_far ContestJudging_ThirdPlaceText
|
||||
text_far _ContestJudging_ThirdPlaceText
|
||||
text_asm
|
||||
ld de, SFX_3RD_PLACE
|
||||
call PlaySFX
|
||||
call WaitSFX
|
||||
ld hl, BugContest_ThirdPlaceScoreText
|
||||
ld hl, ContestJudging_ThirdPlaceScoreText
|
||||
ret
|
||||
|
||||
BugContest_ThirdPlaceScoreText:
|
||||
; The score was @ points!
|
||||
text_far ContestJudging_ThirdPlaceScoreText
|
||||
ContestJudging_ThirdPlaceScoreText:
|
||||
text_far _ContestJudging_ThirdPlaceScoreText
|
||||
text_end
|
||||
|
||||
LoadContestantName:
|
||||
|
Reference in New Issue
Block a user