summaryrefslogtreecommitdiff
path: root/npc/quests/newgears
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-07 19:47:47 +0100
committerHaru <haru@dotalux.com>2013-11-07 19:50:05 +0100
commit9f32aa958f86a228290c43544c8b9bbf3f1c2cc0 (patch)
treed757638ca65a475dbb05d0aec0b45e150072c494 /npc/quests/newgears
parent75bbfdd137c0347155ad469d1c46f7f0a36a2579 (diff)
downloadhercules-9f32aa958f86a228290c43544c8b9bbf3f1c2cc0.tar.gz
hercules-9f32aa958f86a228290c43544c8b9bbf3f1c2cc0.tar.bz2
hercules-9f32aa958f86a228290c43544c8b9bbf3f1c2cc0.tar.xz
hercules-9f32aa958f86a228290c43544c8b9bbf3f1c2cc0.zip
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 <haru@dotalux.com>
Diffstat (limited to 'npc/quests/newgears')
-rw-r--r--npc/quests/newgears/2004_headgears.txt2
1 files changed, 1 insertions, 1 deletions
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";