Clarify naming of SFX_GET_EGG_* pointers

In game, one receives eggs from the Aide and the Day-care Man, not the
Day-care Lady. SFX `0x96` is used for both. Rename it to reflect it is
not unique to the Day-care.

SFX `0x95` is an alias of the same sound and appears to be unused.
Rename the pointer to clarify that.
This commit is contained in:
Ryan Tandy 2019-09-23 10:03:19 -07:00
parent abee217ce0
commit 3fc2ba41f7
5 changed files with 15 additions and 20 deletions

View File

@ -1060,15 +1060,13 @@ Sfx_3RdPlace_Ch7:
togglesfx togglesfx
Sfx_GetEggFromDayCareLady: Sfx_GetEgg:
Sfx_GetEggFromDayCareMan: musicheader 4, 5, Sfx_GetEgg_Ch5
musicheader 4, 5, Sfx_GetEggFromDayCareLady_Ch5 musicheader 1, 6, Sfx_GetEgg_Ch6
musicheader 1, 6, Sfx_GetEggFromDayCareLady_Ch6 musicheader 1, 7, Sfx_GetEgg_Ch7
musicheader 1, 7, Sfx_GetEggFromDayCareLady_Ch7 musicheader 1, 8, Sfx_GetEgg_Ch8
musicheader 1, 8, Sfx_GetEggFromDayCareLady_Ch8
Sfx_GetEggFromDayCareLady_Ch5: Sfx_GetEgg_Ch5:
Sfx_GetEggFromDayCareMan_Ch5:
togglesfx togglesfx
tempo 120 tempo 120
volume $77 volume $77
@ -1100,8 +1098,7 @@ Sfx_GetEggFromDayCareMan_Ch5:
togglesfx togglesfx
Sfx_GetEggFromDayCareLady_Ch6: Sfx_GetEgg_Ch6:
Sfx_GetEggFromDayCareMan_Ch6:
togglesfx togglesfx
vibrato $12, $34 vibrato $12, $34
dutycycle $3 dutycycle $3
@ -1130,8 +1127,7 @@ Sfx_GetEggFromDayCareMan_Ch6:
togglesfx togglesfx
Sfx_GetEggFromDayCareLady_Ch7: Sfx_GetEgg_Ch7:
Sfx_GetEggFromDayCareMan_Ch7:
togglesfx togglesfx
notetype $8, $25 notetype $8, $25
note __, 2 note __, 2
@ -1150,8 +1146,7 @@ Sfx_GetEggFromDayCareMan_Ch7:
togglesfx togglesfx
Sfx_GetEggFromDayCareLady_Ch8: Sfx_GetEgg_Ch8:
Sfx_GetEggFromDayCareMan_Ch8:
togglesfx togglesfx
sfxtogglenoise $4 sfxtogglenoise $4
notetype $8 notetype $8

View File

@ -149,8 +149,8 @@ SFX:
dba Sfx_Fanfare2 dba Sfx_Fanfare2
dba Sfx_RegisterPhoneNumber dba Sfx_RegisterPhoneNumber
dba Sfx_3RdPlace dba Sfx_3RdPlace
dba Sfx_GetEggFromDayCareMan dba Sfx_GetEgg
dba Sfx_GetEggFromDayCareLady dba Sfx_GetEgg
dba Sfx_MoveDeleted dba Sfx_MoveDeleted
dba Sfx_2ndPlace dba Sfx_2ndPlace
dba Sfx_1stPlace dba Sfx_1stPlace

View File

@ -150,8 +150,8 @@
const SFX_FANFARE_2 ; 92 const SFX_FANFARE_2 ; 92
const SFX_REGISTER_PHONE_NUMBER ; 93 const SFX_REGISTER_PHONE_NUMBER ; 93
const SFX_3RD_PLACE ; 94 const SFX_3RD_PLACE ; 94
const SFX_GET_EGG_FROM_DAY_CARE_MAN ; 95 const SFX_GET_EGG_UNUSED ; 95
const SFX_GET_EGG_FROM_DAY_CARE_LADY ; 96 const SFX_GET_EGG ; 96
const SFX_MOVE_DELETED ; 97 const SFX_MOVE_DELETED ; 97
const SFX_2ND_PLACE ; 98 const SFX_2ND_PLACE ; 98
const SFX_1ST_PLACE ; 99 const SFX_1ST_PLACE ; 99

View File

@ -422,7 +422,7 @@ DayCareManOutside:
call DayCare_InitBreeding call DayCare_InitBreeding
ld hl, .GotEggText ld hl, .GotEggText
call PrintText call PrintText
ld de, SFX_GET_EGG_FROM_DAY_CARE_LADY ld de, SFX_GET_EGG
call PlaySFX call PlaySFX
ld c, 120 ld c, 120
call DelayFrames call DelayFrames

View File

@ -1778,7 +1778,7 @@ ReceiveItemScript:
ReceiveTogepiEggScript: ReceiveTogepiEggScript:
waitsfx waitsfx
farwritetext ReceivedItemText farwritetext ReceivedItemText
playsound SFX_GET_EGG_FROM_DAY_CARE_LADY playsound SFX_GET_EGG
waitsfx waitsfx
end end