You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
rename 'StartSFX' to 'PlaySFX'
This commit is contained in:
@@ -588,7 +588,7 @@ Script_specialsound: ; 0x96fe4
|
|||||||
jr z, .play
|
jr z, .play
|
||||||
ld de, SFX_ITEM
|
ld de, SFX_ITEM
|
||||||
.play
|
.play
|
||||||
call StartSFX
|
call PlaySFX
|
||||||
call WaitSFX
|
call WaitSFX
|
||||||
ret
|
ret
|
||||||
; 0x96ffe
|
; 0x96ffe
|
||||||
@@ -954,7 +954,7 @@ Script_playsound: ; 0x971b7
|
|||||||
ld e, a
|
ld e, a
|
||||||
call GetScriptByte
|
call GetScriptByte
|
||||||
ld d, a
|
ld d, a
|
||||||
call StartSFX
|
call PlaySFX
|
||||||
ret
|
ret
|
||||||
; 0x971c3
|
; 0x971c3
|
||||||
|
|
||||||
@@ -971,7 +971,7 @@ Script_warpsound: ; 0x971c7
|
|||||||
ld a, $5
|
ld a, $5
|
||||||
ld hl, $4a07
|
ld hl, $4a07
|
||||||
rst $8
|
rst $8
|
||||||
call StartSFX
|
call PlaySFX
|
||||||
ret
|
ret
|
||||||
; 0x971d1
|
; 0x971d1
|
||||||
|
|
||||||
|
@@ -225,7 +225,7 @@ _TitleScreen: ; 10ed67
|
|||||||
; Play starting sound effect
|
; Play starting sound effect
|
||||||
call SFXChannelsOff
|
call SFXChannelsOff
|
||||||
ld de, SFX_TITLE_SCREEN_ENTRANCE
|
ld de, SFX_TITLE_SCREEN_ENTRANCE
|
||||||
call StartSFX
|
call PlaySFX
|
||||||
|
|
||||||
ret
|
ret
|
||||||
; 10eea7
|
; 10eea7
|
||||||
|
@@ -394,7 +394,7 @@ Functionaaf: ; aaf
|
|||||||
call Functionac6
|
call Functionac6
|
||||||
push de
|
push de
|
||||||
ld de, SFX_READ_TEXT_2
|
ld de, SFX_READ_TEXT_2
|
||||||
call StartSFX
|
call PlaySFX
|
||||||
pop de
|
pop de
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
@@ -532,7 +532,7 @@ Function1ff8: ; 1ff8
|
|||||||
PlayClickSFX: ; 2009
|
PlayClickSFX: ; 2009
|
||||||
push de
|
push de
|
||||||
ld de, SFX_READ_TEXT_2
|
ld de, SFX_READ_TEXT_2
|
||||||
call StartSFX
|
call PlaySFX
|
||||||
pop de
|
pop de
|
||||||
ret
|
ret
|
||||||
; 0x2012
|
; 0x2012
|
||||||
|
@@ -1091,7 +1091,7 @@ Text_PlaySound:: ; 1500
|
|||||||
ld e, [hl]
|
ld e, [hl]
|
||||||
inc hl
|
inc hl
|
||||||
ld d, [hl]
|
ld d, [hl]
|
||||||
call StartSFX
|
call PlaySFX
|
||||||
call WaitSFX
|
call WaitSFX
|
||||||
pop de
|
pop de
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user