summaryrefslogtreecommitdiff
path: root/npc/events/gdevent_sch.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-08 03:09:20 +0100
committerHaru <haru@dotalux.com>2013-11-08 03:12:33 +0100
commit0b7b3796ec987cbb1c263722b841cfa5795aa6d3 (patch)
treecc0aa01be6fdb5fa0e7fb0b0a1397bb2d71cbf90 /npc/events/gdevent_sch.txt
parentbc9743ce3455f9d9cbc9c934b2a19343ad369fc5 (diff)
downloadhercules-0b7b3796ec987cbb1c263722b841cfa5795aa6d3.tar.gz
hercules-0b7b3796ec987cbb1c263722b841cfa5795aa6d3.tar.bz2
hercules-0b7b3796ec987cbb1c263722b841cfa5795aa6d3.tar.xz
hercules-0b7b3796ec987cbb1c263722b841cfa5795aa6d3.zip
Added support for monster spritename constants
- Follow-up to 124ab2a1cdb344f24170a4d91f7000ebabf39b40 - Replaced numeric IDs in NPC definitions and setnpcdisplay calls with the appropriate constants - Made possible thanks to Ind Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/events/gdevent_sch.txt')
-rw-r--r--npc/events/gdevent_sch.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/events/gdevent_sch.txt b/npc/events/gdevent_sch.txt
index 19ef7b8c3..343c21ead 100644
--- a/npc/events/gdevent_sch.txt
+++ b/npc/events/gdevent_sch.txt
@@ -479,19 +479,19 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{
specialeffect EF_POISONHIT;
set .@sprchg_gd,rand(1,5);
if (.@sprchg_gd == 1) {
- setnpcdisplay "Pierrot Pier#sch_gd",950;
+ setnpcdisplay "Pierrot Pier#sch_gd", 4_GHOSTRING;
}
else if (.@sprchg_gd == 2) {
- setnpcdisplay "Pierrot Pier#sch_gd",715;
+ setnpcdisplay "Pierrot Pier#sch_gd", 4_M_PIERROT;
}
else if (.@sprchg_gd == 3) {
- setnpcdisplay "Pierrot Pier#sch_gd",714;
+ setnpcdisplay "Pierrot Pier#sch_gd", 4_F_06;
}
else if (.@sprchg_gd == 4) {
- setnpcdisplay "Pierrot Pier#sch_gd",785;
+ setnpcdisplay "Pierrot Pier#sch_gd", 4_M_UMDANCEKID2;
}
else {
- setnpcdisplay "Pierrot Pier#sch_gd",876;
+ setnpcdisplay "Pierrot Pier#sch_gd", 4_CAT;
}
if (checkweight(1201,1) == 0) {
mes "- Wait!! -";
@@ -505,7 +505,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{
if ($@gdeventv_s2 == 0) {
set .@que_2143,checkquest(2143,PLAYTIME);
if (.@que_2143 == -1) {
- setnpcdisplay "Pierrot Pier#sch_gd",715;
+ setnpcdisplay "Pierrot Pier#sch_gd", 4_M_PIERROT;
mes "A lonely clown is juggling.";
next;
mes "When looked at closely, the clown is just a puppet that looks like a human.";
@@ -844,7 +844,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{
}
else {
if ($@gdeventv_s2 == 0) {
- setnpcdisplay "Pierrot Pier#sch_gd",715;
+ setnpcdisplay "Pierrot Pier#sch_gd", 4_M_PIERROT;
mes "A lonely clown is juggling.";
next;
mes "When looked at closely, the clown is just a puppet that looks like a human.";