This commit is contained in:
dannye 2023-04-19 21:08:01 -05:00
commit 8021cbdf04
530 changed files with 153841 additions and 14088 deletions

View file

@ -225,8 +225,11 @@ BillsPCDeposit:
call DisplayDepositWithdrawMenu
jp nc, BillsPCMenu
ld a, [wcf91]
call GetCryData
call PlaySoundWaitForCurrent
call PlayCry
; call GetCryData
; call PlaySoundWaitForCurrent
ld a, PARTY_TO_BOX
ld [wMoveMonType], a
call MoveMon
@ -277,8 +280,11 @@ BillsPCWithdraw:
ld hl, wBoxMonNicks
call GetPartyMonName
ld a, [wcf91]
call GetCryData
call PlaySoundWaitForCurrent
call PlayCry
; call GetCryData
; call PlaySoundWaitForCurrent
xor a ; BOX_TO_PARTY
ld [wMoveMonType], a
call MoveMon

View file

@ -205,38 +205,12 @@ TryingToLearnText:
text_far _TryingToLearnText
text_end
OneTwoAndText: ; uses the fixed move swap sound - PvK
OneTwoAndText:
text_far _OneTwoAndText
text_pause
text_asm
text_far _OneTwoAndText
text_pause
text_asm
push af
push bc
push de
push hl
ld a, $1
ld [wMuteAudioAndPauseMusic], a
call DelayFrame
ld a, [wAudioROMBank]
push af
ld a, BANK(SFX_Swap_1)
ld [wAudioROMBank], a
ld [wAudioSavedROMBank], a
call WaitForSoundToFinish
ld a, SFX_SWAP
call PlaySound
call WaitForSoundToFinish
pop af
ld [wAudioROMBank], a
ld [wAudioSavedROMBank], a
xor a
ld [wMuteAudioAndPauseMusic], a
pop hl
pop de
pop bc
pop af
call PlaySoundWaitForCurrent
ld hl, PoofText
ret