From 0eb0c40ba7be54862364e6cd3a77cc605a4ada16 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 29 Nov 2015 22:29:45 -0500 Subject: buttonsound --- engine/scripting.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engine/scripting.asm') diff --git a/engine/scripting.asm b/engine/scripting.asm index 698508cf4..b6042a04a 100644 --- a/engine/scripting.asm +++ b/engine/scripting.asm @@ -157,7 +157,7 @@ IF _CRYSTAL ENDC dw Script_jumptext dw Script_waitbutton - dw Script_keeptextopen + dw Script_buttonsound dw Script_pokepic dw Script_closepokepic dw Script_interpretmenu @@ -438,7 +438,7 @@ Script_waitbutton: ; 96ed9 jp WaitButton ; 96edc -Script_keeptextopen: ; 96edc +Script_buttonsound: ; 96edc ; script command 0x55 ld a, [hOAMUpdate] @@ -446,7 +446,7 @@ Script_keeptextopen: ; 96edc ld a, $1 ld [hOAMUpdate], a call WaitBGMap - call KeepTextOpen + call ButtonSound pop af ld [hOAMUpdate], a ret @@ -583,7 +583,7 @@ GiveItemScript: ; 96f77 end .Full - keeptextopen + buttonsound pocketisfull end ; 96f89 -- cgit v1.2.3