Break up engine/sprites.asm; address yenatch's comments

This commit is contained in:
PikalaxALT
2015-12-01 21:54:11 -05:00
parent ffbf2c0f5d
commit 92a8c491c3
114 changed files with 2610 additions and 2634 deletions

View File

@@ -312,13 +312,13 @@ VolumeOff:: ; 3ca3
ret
; 3ca8
Unused_RotatePalettesRightMusic:: ; 3ca8
Unused_FadeOutMusic:: ; 3ca8
ld a, 4
ld [MusicFade], a
ret
; 3cae
RotatePalettesLeftMusic:: ; 3cae
FadeInMusic:: ; 3cae
ld a, 4 | 1 << 7
ld [MusicFade], a
ret

View File

@@ -2014,7 +2014,7 @@ FadeToMenu:: ; 2b29
; 2b3c
ReturnToCallingMenu:: ; 2b3c
CloseSubmenu:: ; 2b3c
call ClearBGPalettes
call Function2bae
call UpdateSprites

View File

@@ -292,7 +292,7 @@ Function87d:: ; 87d
ld a, $ff
ld [wOtherPlayerLinkAction], a
.loop
call LinkCommunicationsSendReceive
call LinkTransfer
call DelayFrame
call Function82b
jr z, .check
@@ -318,14 +318,14 @@ Function87d:: ; 87d
ld b, 10
.receive
call DelayFrame
call LinkCommunicationsSendReceive
call LinkTransfer
dec b
jr nz, .receive
ld b, 10
.acknowledge
call DelayFrame
call LinkCommunicationsSignalDataReceived
call LinkDataReceived
dec b
jr nz, .acknowledge
@@ -334,7 +334,7 @@ Function87d:: ; 87d
ret
; 8c1
LinkCommunicationsSendReceive:: ; 8c1
LinkTransfer:: ; 8c1
push bc
ld b, SERIAL_TIMECAPSULE
ld a, [wLinkMode]
@@ -380,7 +380,7 @@ LinkCommunicationsSendReceive:: ; 8c1
ret
; 908
LinkCommunicationsSignalDataReceived:: ; 908
LinkDataReceived:: ; 908
; Let the other system know that the data has been received.
xor a
ld [hSerialSend], a