Insert Crystal audio engine and music

most credit goes to Sanqui
This commit is contained in:
dannye 2017-05-07 15:30:08 -05:00
parent 832c28eaea
commit 87eed68710
586 changed files with 193763 additions and 6447 deletions

View file

@ -224,9 +224,11 @@ BillsPCDeposit:
jp c, BillsPCMenu
call DisplayDepositWithdrawMenu
jp nc, BillsPCMenu
call WaitForSoundToFinish
ld a, [wcf91]
call GetCryData
call PlaySoundWaitForCurrent
call PlayCry
;call GetCryData
;call PlaySoundWaitForCurrent
ld a, PARTY_TO_BOX
ld [wMoveMonType], a
call MoveMon
@ -276,9 +278,11 @@ BillsPCWithdraw:
ld a, [wWhichPokemon]
ld hl, wBoxMonNicks
call GetPartyMonName
call WaitForSoundToFinish
ld a, [wcf91]
call GetCryData
call PlaySoundWaitForCurrent
call PlayCry
;call GetCryData
;call PlaySoundWaitForCurrent
xor a ; BOX_TO_PARTY
ld [wMoveMonType], a
call MoveMon
@ -551,4 +555,3 @@ JustAMomentText::
OpenBillsPCText::
db $FD ; FuncTX_BillsPC

View file

@ -143,8 +143,10 @@ HandlePokedexSideMenu:
; play pokemon cry
.choseCry
ld a,[wd11e]
call GetCryData
call PlaySound
push af
call PlayCry
pop af
ld [wd11e], a
jr .handleMenuInput
.choseArea