summaryrefslogtreecommitdiff
path: root/npc/016-1_Woodland
diff options
context:
space:
mode:
Diffstat (limited to 'npc/016-1_Woodland')
-rw-r--r--npc/016-1_Woodland/gwendolyn.txt28
1 files changed, 2 insertions, 26 deletions
diff --git a/npc/016-1_Woodland/gwendolyn.txt b/npc/016-1_Woodland/gwendolyn.txt
index 8c6728da..6fada83a 100644
--- a/npc/016-1_Woodland/gwendolyn.txt
+++ b/npc/016-1_Woodland/gwendolyn.txt
@@ -142,9 +142,8 @@ state3:
next;
state4:
- // TODO
- // check if skills are enabled, if not, goto not_ready
if (baselevel < @BASELEVEL_GAME) goto not_ready;
+ if (!getskilllv(SKILL_POOL)) goto not_ready;
mes "Gwendolyn takes an analyzing look at you. Then she noods.";
next;
@@ -215,9 +214,6 @@ game:
set @wp_sq, (@wdX * @wdX) + (@wdY * @wdY);
-//TODO: remove
-//mes "wdX:"+@wdX+" wdY:"+@wdY+" wp_sq:"+@wp_sq+" wdIndex:"+@wdIndex;
-
if (@wp_sq == 0) goto wp0;
if (@wp_sq < 3) goto wp1;
if (@wp_sq < 9) goto wp2;
@@ -346,9 +342,6 @@ choose_shotpower:
set @pointX, @wdX + @spX;
set @pointY, @wdY + @sp;
-//TODO: remove
-//mes "pointX:"+@pointX+" pointY:"+@pointY+" spX:"+@spX+" sp:"+@sp;
-
if( @pointX==0 && @pointY==0 ) goto target_hit;
//set @targethit to these numbers:
@@ -436,9 +429,7 @@ target_nohit:
state6:
mes "[Gwendolyn Bowmaker]";
mes "\"You really have a reason to be proud.\"";
- //close;
- //TODO: uncomment close!
- mes "here is an uncommented close; for testing purpose, you can try once more :-D";
+ close;
state1:
mes "[Gwendoly Bowmaker]";
@@ -522,21 +513,6 @@ S_getDirection:
//check the origin, because the origin is found by the "straight" lines as well. (should not, but is.. maybe a bug?)
if( @paramX==0 && @paramY==0 ) set @returnIndex, 5;
return;
-
-//TODO: remove:
-testoutput:
- set @paramX ,-4;
-loopouter:
- set @paramY ,-4;
-loopinner:
-callsub S_getDirection;
-mes " "+@paramX+" / "+@paramY+" = "+@returnIndex;
-set @paramY, @paramY+1;
-if(@paramY<5)goto loopinner;
-next;
-set @paramX, @paramX+1;
-if(@paramX<5)goto loopouter;
-return;
}
////////////////////////////////////