Name sound effects

This commit is contained in:
dannye 2015-07-19 03:46:12 -05:00
parent 340230e997
commit ea9cc86949
56 changed files with 487 additions and 311 deletions

View file

@ -454,7 +454,7 @@ CeladonGameCornerText12: ; 48edd (12:4edd)
ld hl, CeladonGameCornerText_48f09
call PrintText
call WaitForSoundToFinish
ld a, (SFX_02_57 - SFX_Headers_02) / 3
ld a, SFX_GO_INSIDE
call PlaySound
call WaitForSoundToFinish
ld hl, wd77e
@ -468,7 +468,7 @@ CeladonGameCornerText12: ; 48edd (12:4edd)
CeladonGameCornerText_48f09: ; 48f09 (12:4f09)
TX_FAR _CeladonGameCornerText_48f09
TX_ASM
ld a, (SFX_02_49 - SFX_Headers_02) / 3
ld a, SFX_SWITCH
call PlaySound
call WaitForSoundToFinish
jp TextScriptEnd

View file

@ -106,7 +106,7 @@ CinnabarGymScript2: ; 757f6 (1d:57f6)
and a
jr nz, .asm_7581b
call WaitForSoundToFinish
ld a, (SFX_02_57 - SFX_Headers_02) / 3
ld a, SFX_GO_INSIDE
call PlaySound
call WaitForSoundToFinish
.asm_7581b

View file

@ -156,7 +156,7 @@ DayCareMScript_562e1: ; 562e1 (15:62e1)
ld de, wPlayerMoney + 2
ld c, $3
predef SubBCDPredef
ld a, (SFX_02_5a - SFX_Headers_02) / 3
ld a, SFX_PURCHASE
call PlaySoundWaitForCurrent
ld a, MONEY_BOX
ld [wTextBoxID], a

View file

@ -75,7 +75,7 @@ LanceScript0: ; 5a305 (16:6305)
ret nz
ld hl, wd126
set 5, [hl]
ld a, (SFX_02_57 - SFX_Headers_02) / 3
ld a, SFX_GO_INSIDE
call PlaySound
jp LanceScript_5a2c4

View file

@ -111,7 +111,7 @@ Mansion1Text4: ; 4435a (11:435a)
set 5, [hl]
ld hl, MansionSwitchPressedText
call PrintText
ld a, (SFX_02_57 - SFX_Headers_02) / 3
ld a, SFX_GO_INSIDE
call PlaySound
ld hl, wd796
bit 0, [hl]

View file

@ -117,7 +117,7 @@ Mansion2Text5: ; 52087 (14:6087)
set 5, [hl]
ld hl, Mansion2Text_520c7
call PrintText
ld a, (SFX_02_57 - SFX_Headers_02) / 3
ld a, SFX_GO_INSIDE
call PlaySound
ld hl, wd796
bit 0, [hl]

View file

@ -107,7 +107,7 @@ Museum1FText1: ; 5c135 (17:4135)
ld a, MONEY_BOX
ld [wTextBoxID], a
call DisplayTextBoxID
ld a, (SFX_02_5a - SFX_Headers_02) / 3
ld a, SFX_PURCHASE
call PlaySoundWaitForCurrent
call WaitForSoundToFinish
jr .asm_0b094

View file

@ -21,7 +21,7 @@ RocketHideout1Script_44be0: ; 44be0 (11:4be0)
ld a, $54
jr .asm_44c03
.asm_44bf7
ld a, (SFX_02_57 - SFX_Headers_02) / 3
ld a, SFX_GO_INSIDE
call PlaySound
ld hl, wd815
bit 7, [hl]

View file

@ -25,7 +25,7 @@ RocketHideout2Script0: ; 44e42 (11:4e42)
ld hl, wd736
set 7, [hl]
call StartSimulatingJoypadStates
ld a, (SFX_02_52 - SFX_Headers_02) / 3
ld a, SFX_ARROW_TILES
call PlaySound
ld a, $ff
ld [wJoyIgnore], a

View file

@ -25,7 +25,7 @@ RocketHideout3Script0: ; 45240 (11:5240)
ld hl, wd736
set 7, [hl]
call StartSimulatingJoypadStates
ld a, (SFX_02_52 - SFX_Headers_02) / 3
ld a, SFX_ARROW_TILES
call PlaySound
ld a, $ff
ld [wJoyIgnore], a

View file

@ -22,7 +22,7 @@ RocketHideout4Script_45473: ; 45473 (11:5473)
ld a, $2d
jr .asm_45498
.asm_4548c
ld a, (SFX_02_57 - SFX_Headers_02) / 3
ld a, SFX_GO_INSIDE
call PlaySound
ld hl, wd81b
set 5, [hl]

View file

@ -77,7 +77,7 @@ Route22GateText1: ; 1e6e1 (7:66e1)
Route22GateText_1e704: ; 1e704 (7:6704)
TX_FAR _Route22GateText_1e704
TX_ASM
ld a, (SFX_02_51 - SFX_Headers_02) / 3
ld a, SFX_DENIED
call PlaySoundWaitForCurrent
call WaitForSoundToFinish
ld hl, Route22GateText_1e715

View file

@ -224,7 +224,7 @@ Route23Script_51388: ; 51388 (14:5388)
VictoryRoadGuardText1: ; 5138e (14:538e)
TX_FAR _VictoryRoadGuardText1
TX_ASM
ld a, (SFX_02_51 - SFX_Headers_02) / 3
ld a, SFX_DENIED
call PlaySoundWaitForCurrent
call WaitForSoundToFinish
jp TextScriptEnd

View file

@ -72,7 +72,7 @@ VermilionDock_1db9b: ; 1db9b (7:5b9b)
ld b, [hl]
push bc
push hl
ld a, (SFX_02_54 - SFX_Headers_02) / 3
ld a, SFX_SS_ANNE_HORN
call PlaySoundWaitForCurrent
ld a, $ff
ld [wUpdateSpritesEnabled], a
@ -193,7 +193,7 @@ VermilionDock_1dc94: ; 1dc94 (7:5c94)
ld [hli], a
ld [hli], a
ld [hl], a
ld a, (SFX_02_54 - SFX_Headers_02) / 3
ld a, SFX_SS_ANNE_HORN
call PlaySound
ld c, 120
call DelayFrames

View file

@ -34,7 +34,7 @@ VermilionGymScript_5ca6d: ; 5ca6d (17:4a6d)
ld a, $24
jr .asm_5ca7f
.asm_5ca78
ld a, (SFX_02_57 - SFX_Headers_02) / 3
ld a, SFX_GO_INSIDE
call PlaySound
ld a, $5
.asm_5ca7f

View file

@ -41,7 +41,7 @@ ViridianGymScript0: ; 748eb (1d:48eb)
call StartSimulatingJoypadStates
ld hl, wd736
set 7, [hl]
ld a, (SFX_02_52 - SFX_Headers_02) / 3
ld a, SFX_ARROW_TILES
call PlaySound
ld a, $ff
ld [wJoyIgnore], a