From 124ab2a1cdb344f24170a4d91f7000ebabf39b40 Mon Sep 17 00:00:00 2001 From: Kisuka Date: Mon, 28 Oct 2013 00:42:23 -0700 Subject: Added ability to use constants instead of sprite IDs for NPCs. Converted all npcs to use this. --- npc/warps/fields/abyss_warper.txt | 6 +++--- npc/warps/fields/glastheim.txt | 2 +- npc/warps/fields/jawaii.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'npc/warps/fields') diff --git a/npc/warps/fields/abyss_warper.txt b/npc/warps/fields/abyss_warper.txt index a210eb12b..3a5fa7754 100644 --- a/npc/warps/fields/abyss_warper.txt +++ b/npc/warps/fields/abyss_warper.txt @@ -15,7 +15,7 @@ //= 1.4 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] //============================================================ -hu_fild05,168,304,0 script Column#abyss1 111,{ +hu_fild05,168,304,0 script Column#abyss1 HIDDEN_NPC,{ mes "^3355FFThere are 3 oddly"; mes "shaped grooves on"; @@ -84,7 +84,7 @@ hu_fild05,168,304,0 script Column#abyss1 111,{ close; } -hu_fild05,171,211,0 script Column#abyss2 111,1,1,{ +hu_fild05,171,211,0 script Column#abyss2 HIDDEN_NPC,1,1,{ mes "^3355FFThis column looks"; mes "very similar to the"; @@ -144,7 +144,7 @@ hu_fild05,171,211,0 script Column#abyss2 111,1,1,{ } } -hu_fild05,196,210,1 script AbyssWarp 45,2,2,{ +hu_fild05,196,210,1 script AbyssWarp WARPNPC,2,2,{ OnInit: disablenpc "AbyssWarp"; diff --git a/npc/warps/fields/glastheim.txt b/npc/warps/fields/glastheim.txt index b40cac0b5..1edc677e6 100644 --- a/npc/warps/fields/glastheim.txt +++ b/npc/warps/fields/glastheim.txt @@ -51,7 +51,7 @@ gl_knt02,10,138,0 warp gl14-1 1,1,gl_knt01,7,148 gl_knt02,157,292,0 warp gl16-1 1,1,gl_knt01,150,286 gl_knt02,289,138,0 warp gl17-1 1,1,gl_knt01,292,144 gl_prison,149,183,0 warp gl18-1 1,1,gl_prison1,150,14 -gl_prison,11,70,0 script gl18-2 45,1,1,{ +gl_prison,11,70,0 script gl18-2 WARPNPC,1,1,{ switch(rand(4)) { case 0: warp "gl_cas01",163,193; end; case 1: warp "gl_cas01",238,192; end; diff --git a/npc/warps/fields/jawaii.txt b/npc/warps/fields/jawaii.txt index d1945ffad..d59563853 100644 --- a/npc/warps/fields/jawaii.txt +++ b/npc/warps/fields/jawaii.txt @@ -19,6 +19,6 @@ jawaii_in,113,61,0 warp jawaiiwarp002 1,1,jawaii,138,202 jawaii_in,133,107,0 warp jawaiiwarp003 1,1,jawaii,111,199 jawaii_in,88,117,0 warp jawaiiwarp004 1,1,jawaii,109,186 jawaii,192,215,0 warp jawaiiwarp005 1,1,jawaii_in,28,94 -jawaii_in,27,91,4 script jawaiiwarp006 45,1,1,{ +jawaii_in,27,91,4 script jawaiiwarp006 WARPNPC,1,1,{ if (getpartnerid() > 0) warp "jawaii",192,218; else warp "jawaii_in",27,94; } -- cgit v1.2.3-70-g09d2