diff options
Diffstat (limited to 'npc/042-10')
-rw-r--r-- | npc/042-10/ctrl.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/npc/042-10/ctrl.txt b/npc/042-10/ctrl.txt index e50df4c47..1e8bca386 100644 --- a/npc/042-10/ctrl.txt +++ b/npc/042-10/ctrl.txt @@ -40,7 +40,7 @@ L_NoAccess: } // Boss Room Warning -042-10,150,25,0 script Warning#Kamelot NPC_HIDDEN,{ +042-10,150,25,0 script Warning#Kamelot NPC_NO_SPRITE,{ mesc ".:: "+l("DANGER!")+" ::.", 1; mes ""; mesc l("I've sealed a massive amount of dark magic here."), 1; @@ -227,7 +227,7 @@ function script KatazuliCore { //////////////////////// // Katazuli's Engravings -042-10,36,110,0 script Engraving#Katazuli1 NPC_HIDDEN,{ +042-10,36,110,0 script Engraving#Katazuli1 NPC_NO_SPRITE,{ mes "Read tutorial?"; select l("No"), l("Yes"); if (@menu == 2) @@ -237,7 +237,7 @@ OnInit: .distance=4; end; } -042-10,124,85,0 duplicate(Engraving#Katazuli1) Engraving#Katazuli2 NPC_HIDDEN +042-10,124,85,0 duplicate(Engraving#Katazuli1) Engraving#Katazuli2 NPC_NO_SPRITE //////////////////////// @@ -297,7 +297,7 @@ OnTimer60000: // Recover energy .@id=.kataId; .@m$=instance_mapname("042-10"); - .@power=min(0, getd("$@GTEMP_"+.@id+"_"+.@m$)-.@pow); + .@power=max(0, getd("$@GTEMP_"+.@id+"_"+.@m$)-.@pow); setd("$@GTEMP_"+.@id+"_"+.@m$, .@power); initnpctimer; end; @@ -361,7 +361,7 @@ OnTimer60000: // Recover energy .@id=.kataId; .@m$=instance_mapname("042-10"); - .@power=min(0, getd("$@GTEMP_"+.@id+"_"+.@m$)-.@pow); + .@power=max(0, getd("$@GTEMP_"+.@id+"_"+.@m$)-.@pow); setd("$@GTEMP_"+.@id+"_"+.@m$, .@power); initnpctimer; end; @@ -500,10 +500,10 @@ OnInit: } // Other switches -042-10,80,115,0 duplicate(#K4210Switch_1) #K4210Switch_2 NPC_HIDDEN,0,0 // S -042-10,63,76,0 duplicate(#K4210Switch_1) #K4210Switch_4 NPC_HIDDEN,0,0 // W -042-10,100,79,0 duplicate(#K4210Switch_1) #K4210Switch_8 NPC_HIDDEN,0,0 // E -042-10,82,64,0 duplicate(#K4210Switch_1) #K4210Switch_16 NPC_HIDDEN,0,0 // C +042-10,80,115,0 duplicate(#K4210Switch_1) #K4210Switch_2 NPC_SWITCH_OFFLINE,0,0 // S +042-10,63,76,0 duplicate(#K4210Switch_1) #K4210Switch_4 NPC_SWITCH_OFFLINE,0,0 // W +042-10,100,79,0 duplicate(#K4210Switch_1) #K4210Switch_8 NPC_SWITCH_OFFLINE,0,0 // E +042-10,82,64,0 duplicate(#K4210Switch_1) #K4210Switch_16 NPC_SWITCH_OFFLINE,0,0 // C |