mirror of https://github.com/pret/pokecrystal.git
05:OBPals+6*8 == 01:wCurMessageScrollPosition (new)
This commit is contained in:
parent
2ae2ce4fde
commit
2c4777f336
|
@ -383,7 +383,7 @@ MailboxPC_PrintMailAuthor: ; 0x447fb
|
|||
|
||||
MailboxPC: ; 0x44806
|
||||
xor a
|
||||
ld [OBPals palette 6], a
|
||||
ld [wCurMessageScrollPosition], a
|
||||
ld a, 1
|
||||
ld [wCurMessageIndex], a
|
||||
.loop
|
||||
|
@ -397,11 +397,11 @@ MailboxPC: ; 0x44806
|
|||
|
||||
ld a, [wCurMessageIndex]
|
||||
ld [wMenuCursorBuffer], a
|
||||
ld a, [OBPals palette 6]
|
||||
ld a, [wCurMessageScrollPosition]
|
||||
ld [wMenuScrollPosition], a
|
||||
call ScrollingMenu
|
||||
ld a, [wMenuScrollPosition]
|
||||
ld [OBPals palette 6], a
|
||||
ld [wCurMessageScrollPosition], a
|
||||
ld a, [wMenuCursorY]
|
||||
ld [wCurMessageIndex], a
|
||||
|
||||
|
|
Loading…
Reference in New Issue