From 9f32aa958f86a228290c43544c8b9bbf3f1c2cc0 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 7 Nov 2013 19:47:47 +0100 Subject: Extended script constants to support NPC sprite IDs - Added support for constants whose name begins with a number. - Follow-up to 124ab2a1cdb344f24170a4d91f7000ebabf39b40. - Replaced calls to setnpcdisplay with hardcoded numeric IDs to constants. - Thanks to Yommy. Signed-off-by: Haru --- npc/quests/newgears/2004_headgears.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/quests/newgears') diff --git a/npc/quests/newgears/2004_headgears.txt b/npc/quests/newgears/2004_headgears.txt index 1cfa2bc03..a6638d6a7 100644 --- a/npc/quests/newgears/2004_headgears.txt +++ b/npc/quests/newgears/2004_headgears.txt @@ -2034,7 +2034,7 @@ alde_alche,88,180,0 script Muscle Man#Alarm Mask 4_M_ALCHE_A,{ OnTimer4000: specialeffect EF_FLASHER; - setnpcdisplay "Muscle Man#Alarm Mask", 748; + setnpcdisplay "Muscle Man#Alarm Mask", 4_M_ALCHE_A; disablenpc " #Alarm Mask Man1"; disablenpc " #Alarm Mask Man2"; disablenpc " #Alarm Mask Man3"; -- cgit v1.2.3-70-g09d2