From 7b50fce0f62961b0228e6919562efcfe33e7fbca Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 18 Jun 2015 03:30:16 +0200 Subject: Minor script cleanup. - Replaced leftover sprite IDs with constants - Corrected some NPC facing directions (in modulo 8) --- npc/warps/dungeons/lhz_dun.txt | 2 +- npc/warps/fields/jawaii.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/warps') diff --git a/npc/warps/dungeons/lhz_dun.txt b/npc/warps/dungeons/lhz_dun.txt index 59277921d..b77b0d2ef 100644 --- a/npc/warps/dungeons/lhz_dun.txt +++ b/npc/warps/dungeons/lhz_dun.txt @@ -207,6 +207,6 @@ function script randomw { switch(rand(3)) { case 1: warp "lhz_cube",66,136; end; case 2: warp "lhz_cube",66,74; end; - default: warp "lhz_cube",67,193; end; + default: warp "lhz_cube",67,193; end; } } diff --git a/npc/warps/fields/jawaii.txt b/npc/warps/fields/jawaii.txt index d59563853..4d3b0879c 100644 --- a/npc/warps/fields/jawaii.txt +++ b/npc/warps/fields/jawaii.txt @@ -20,5 +20,5 @@ 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 WARPNPC,1,1,{ -if (getpartnerid() > 0) warp "jawaii",192,218; else warp "jawaii_in",27,94; + if (getpartnerid() > 0) warp "jawaii",192,218; else warp "jawaii_in",27,94; } -- cgit v1.2.3-60-g2f50