You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use overworld textbox in text printing functions, differentiating between 1bpp and 2bpp text (#10)
This commit is contained in:
@@ -15,7 +15,7 @@ BugContest_SetCaughtContestMon:
|
||||
ld [wNamedObjectIndex], a
|
||||
call GetPokemonName
|
||||
ld hl, .ContestCaughtMonText
|
||||
call PrintText
|
||||
call PrintText1bpp
|
||||
ret
|
||||
|
||||
.generatestats
|
||||
|
@@ -12,12 +12,12 @@ DisplayCaughtContestMonStats:
|
||||
hlcoord 0, 0
|
||||
ld b, 4
|
||||
ld c, 13
|
||||
call Textbox
|
||||
call Textbox1bpp
|
||||
|
||||
hlcoord 0, 6
|
||||
ld b, 4
|
||||
ld c, 13
|
||||
call Textbox
|
||||
call Textbox1bpp
|
||||
|
||||
hlcoord 2, 0
|
||||
ld de, .Stock
|
||||
@@ -68,7 +68,7 @@ DisplayCaughtContestMonStats:
|
||||
call PrintNum
|
||||
|
||||
ld hl, ContestAskSwitchText
|
||||
call PrintText
|
||||
call PrintText1bpp
|
||||
|
||||
pop af
|
||||
ld [wOptions], a
|
||||
@@ -93,7 +93,7 @@ ContestAskSwitchText:
|
||||
DisplayAlreadyCaughtText:
|
||||
call GetPokemonName
|
||||
ld hl, .ContestAlreadyCaughtText
|
||||
jp PrintText
|
||||
jp PrintText1bpp
|
||||
|
||||
.ContestAlreadyCaughtText:
|
||||
text_far _ContestAlreadyCaughtText
|
||||
|
@@ -7,21 +7,21 @@ _BugContestJudging:
|
||||
ld [wNamedObjectIndex], a
|
||||
call GetPokemonName
|
||||
ld hl, ContestJudging_ThirdPlaceText
|
||||
call PrintText
|
||||
call PrintText2bpp
|
||||
ld a, [wBugContestSecondPlaceWinnerID]
|
||||
call LoadContestantName
|
||||
ld a, [wBugContestSecondPlaceMon]
|
||||
ld [wNamedObjectIndex], a
|
||||
call GetPokemonName
|
||||
ld hl, ContestJudging_SecondPlaceText
|
||||
call PrintText
|
||||
call PrintText2bpp
|
||||
ld a, [wBugContestFirstPlaceWinnerID]
|
||||
call LoadContestantName
|
||||
ld a, [wBugContestFirstPlaceMon]
|
||||
ld [wNamedObjectIndex], a
|
||||
call GetPokemonName
|
||||
ld hl, ContestJudging_FirstPlaceText
|
||||
call PrintText
|
||||
call PrintText2bpp
|
||||
jp BugContest_GetPlayersResult
|
||||
|
||||
ContestJudging_FirstPlaceText:
|
||||
|
Reference in New Issue
Block a user