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

@ -5,7 +5,7 @@ DoClearSaveDialogue:
call LoadTextBoxTilePatterns
ld hl, ClearSaveDataText
call PrintText
coord hl, 14, 7
hlcoord 14, 7
lb bc, 8, 15
ld a, NO_YES_MENU
ld [wTwoOptionMenuID], a

View file

@ -68,7 +68,7 @@ OakSpeech:
ld [wd0b5], a
ld [wcf91], a
call GetMonHeader
coord hl, 6, 4
hlcoord 6, 4
call LoadFlippedFrontSpriteByMonIndex
call MovePicLeft
ld hl, OakSpeechText2
@ -141,7 +141,7 @@ OakSpeech:
ld [MBC1RomBank], a
ld c, 20
call DelayFrames
coord hl, 6, 5
hlcoord 6, 5
ld b, 7
ld c, 7
call ClearScreenArea
@ -224,9 +224,9 @@ IntroDisplayPicCenteredOrUpperRight:
pop bc
ld a, c
and a
coord hl, 15, 1
hlcoord 15, 1
jr nz, .next
coord hl, 6, 4
hlcoord 6, 4
.next
xor a
ldh [hStartTileID], a

View file

@ -66,7 +66,7 @@ HisNameIsText:
OakSpeechSlidePicLeft:
push de
coord hl, 0, 0
hlcoord 0, 0
lb bc, 12, 11
call ClearScreenArea ; clear the name list text box
ld c, 10
@ -76,13 +76,13 @@ OakSpeechSlidePicLeft:
ld bc, NAME_LENGTH
call CopyData
call Delay3
coord hl, 12, 4
hlcoord 12, 4
lb de, 6, 6 * SCREEN_WIDTH + 5
ld a, $ff
jr OakSpeechSlidePicCommon
OakSpeechSlidePicRight:
coord hl, 5, 4
hlcoord 5, 4
lb de, 6, 6 * SCREEN_WIDTH + 5
xor a
@ -161,15 +161,15 @@ OakSpeechSlidePicCommon:
DisplayIntroNameTextBox:
push de
coord hl, 0, 0
hlcoord 0, 0
ld b, $a
ld c, $9
call TextBoxBorder
coord hl, 3, 0
hlcoord 3, 0
ld de, .namestring
call PlaceString
pop de
coord hl, 2, 2
hlcoord 2, 2
call PlaceString
call UpdateSprites
xor a