diff options
Diffstat (limited to 'npc/002-1/mine_debug.txt')
-rwxr-xr-x | npc/002-1/mine_debug.txt | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/npc/002-1/mine_debug.txt b/npc/002-1/mine_debug.txt new file mode 100755 index 00000000..b7f6ff23 --- /dev/null +++ b/npc/002-1/mine_debug.txt @@ -0,0 +1,68 @@ + +function script DesertMineDebug { + mes "[Mine Debug]"; + mes "What would you like to do?"; + menu + "Reset", L_Reset, + "Set", L_Set, + "Show", L_Show, + "nothing.", L_close; + +L_Reset: + QL_MINEALL = 0; + FLAGS = FLAGS &~ FLAG_GOT_NAEM_GLOVES; + FLAGS = FLAGS &~ FLAG_OPENED_UNDERGROUND; + goto L_close; + +L_Set: + mes "Values are between 0 and 28"; + mes "8 is Mine Start"; + mes "18 is Angry Scorpions Start"; + mes "20 is Underground Palace Start"; + mes "26 is Giant Cave Maggot Start"; + input QL_MINEALL; + goto L_close; + +L_Show: + mes "Current State: " + QL_MINEALL; + goto L_close; + +L_close: + return; +} +002-1,61,69,0 script Mine Debug#1 NPC122,{ + callfunc "DesertMineDebug"; + close; + +OnInit: + if (!debug) + disablenpc "Mine Debug#1"; + end; +} +002-3,45,49,6 script Mine Debug#2 NPC109,{ + callfunc "DesertMineDebug"; + close; + +OnInit: + if (!debug) + disablenpc "Mine Debug#2"; + end; +} +002-4,88,99,6 script Mine Debug#3 NPC109,{ + callfunc "DesertMineDebug"; + close; + +OnInit: + if (!debug) + disablenpc "Mine Debug#3"; + end; +} +002-5,43,96,6 script Mine Debug#4 NPC340,{ + callfunc "DesertMineDebug"; + close; + +OnInit: + if (!debug) + disablenpc "Mine Debug#4"; + end; +} |