Sync coordinate macros with pokecrystal

This commit is contained in:
Rangi 2020-07-07 11:30:10 -04:00
parent 45ed05decf
commit 13129459f1
75 changed files with 675 additions and 661 deletions

View file

@ -57,11 +57,11 @@ AnimateHallOfFame:
call HoFDisplayAndRecordMonInfo
ld c, 80
call DelayFrames
coord hl, 2, 13
hlcoord 2, 13
ld b, 3
ld c, 14
call TextBoxBorder
coord hl, 4, 15
hlcoord 4, 15
ld de, HallOfFameText
call PlaceString
ld c, 180
@ -112,7 +112,7 @@ HoFShowMonOrPlayer:
call HoFLoadPlayerPics
jr .next1
.showMon
coord hl, 12, 5
hlcoord 12, 5
call GetMonHeader
call LoadFrontSpriteByMonIndex
predef LoadMonBackPic
@ -157,22 +157,22 @@ HoFDisplayAndRecordMonInfo:
jp HoFRecordMonInfo
HoFDisplayMonInfo:
coord hl, 0, 2
hlcoord 0, 2
ld b, 9
ld c, 10
call TextBoxBorder
coord hl, 2, 6
hlcoord 2, 6
ld de, HoFMonInfoText
call PlaceString
coord hl, 1, 4
hlcoord 1, 4
ld de, wcd6d
call PlaceString
ld a, [wHoFMonLevel]
coord hl, 8, 7
hlcoord 8, 7
call PrintLevelCommon
ld a, [wHoFMonSpecies]
ld [wd0b5], a
coord hl, 3, 9
hlcoord 3, 9
predef PrintMonType
ld a, [wHoFMonSpecies]
jp PlayCry
@ -203,27 +203,27 @@ HoFLoadPlayerPics:
HoFLoadMonPlayerPicTileIDs:
; c = base tile ID
ld b, 0
coord hl, 12, 5
hlcoord 12, 5
predef_jump CopyTileIDsFromList
HoFDisplayPlayerStats:
SetEvent EVENT_HALL_OF_FAME_DEX_RATING
predef DisplayDexRating
coord hl, 0, 4
hlcoord 0, 4
ld b, 6
ld c, 10
call TextBoxBorder
coord hl, 5, 0
hlcoord 5, 0
ld b, 2
ld c, 9
call TextBoxBorder
coord hl, 7, 2
hlcoord 7, 2
ld de, wPlayerName
call PlaceString
coord hl, 1, 6
hlcoord 1, 6
ld de, HoFPlayTimeText
call PlaceString
coord hl, 5, 7
hlcoord 5, 7
ld de, wPlayTimeHours
lb bc, 1, 3
call PrintNumber
@ -232,10 +232,10 @@ HoFDisplayPlayerStats:
ld de, wPlayTimeMinutes
lb bc, LEADING_ZEROES | 1, 2
call PrintNumber
coord hl, 1, 9
hlcoord 1, 9
ld de, HoFMoneyText
call PlaceString
coord hl, 4, 10
hlcoord 4, 10
ld de, wPlayerMoney
ld c, $a3
call PrintBCDNumber