diff options
Diffstat (limited to 'world/map')
-rw-r--r-- | world/map/npc/annuals/halloween/debug.txt | 16 | ||||
-rw-r--r-- | world/map/npc/annuals/halloween/gak.txt | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/world/map/npc/annuals/halloween/debug.txt b/world/map/npc/annuals/halloween/debug.txt index 8f3d066e..d633ed00 100644 --- a/world/map/npc/annuals/halloween/debug.txt +++ b/world/map/npc/annuals/halloween/debug.txt @@ -13,6 +13,7 @@ L_Live: "Set Old Event Flag.", L_LastReset, "Halloween Time Key Change.", L_HalloweenTimeKey, "Reset NPC's mask memory", L_ResetMask, + "Set HWEEN16 value", L_HalloweenValue, "Nothing.", L_Close; L_Debug: @@ -24,6 +25,7 @@ L_Debug: "Set NPC trick or treat flag", L_SetTrickOrTreats, "Reset my quest state", L_ResetMe, "Reset NPC's mask memory", L_ResetMask, + "Set HWEEN16 value", L_HalloweenValue, "Nothing.", L_Close; L_DebugTime: @@ -41,6 +43,20 @@ L_LastReset: set HALLOWEENYEAR, 2012; goto L_Debug; +L_HalloweenValue: + mes "$hween16 value"; + mes "0 is first phase"; + mes "1 is seconde phase"; + mes "2 is event finish"; + mes "Set value"; + input @hweenvalue; + + if ((@hweenvalue < 0) || (@hweenvalue >2)) + goto L_HalloweenError; + + set HWEEN16, @hweenvalue; + goto L_Debug; + L_HalloweenTimeKey: mes "Halloween Time Key Change."; mes "Start Month?"; diff --git a/world/map/npc/annuals/halloween/gak.txt b/world/map/npc/annuals/halloween/gak.txt index 6d7f96ed..23eb4b14 100644 --- a/world/map/npc/annuals/halloween/gak.txt +++ b/world/map/npc/annuals/halloween/gak.txt @@ -1,5 +1,6 @@ 010-1.gat,29,48,0|script|Gak|188
{
+ set $hween16, HWEEN16;
if ($hween16 == 2) goto L_Event_Over;
|