summaryrefslogtreecommitdiff
path: root/npc/commands/debug.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/debug.txt')
-rw-r--r--npc/commands/debug.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt
index 61088caf..5af689b2 100644
--- a/npc/commands/debug.txt
+++ b/npc/commands/debug.txt
@@ -11,11 +11,7 @@ function script GlobalDebugMenu {
doevent "::OnGlobalQuestReset"; // executes in all quest npcs // FIXME: maybe have a `resetquest` buildin?
Zeny = 0;
#MerchantBank = 0;
- getinventorylist;
- for (.@o = 0; .@o < @inventorylist_count; ++.@o)
- {
- delitem @inventorylist_id[.@o], @inventorylist_amount[.@o];
- }
+ clearitem;
warp "000-0", 0, 0; // starting point
end; // script must end for doevent to execute
}
@@ -121,7 +117,7 @@ function script GlobalDebugMenu {
case 3: GlobalSkillDebug .@c; break;
case 4: BarberDebug .@c; break;
//case 5: changeQuests; break;
- //case 6: DebugPresets; break;
+ case 6: DebugPresets "m"; break;
case 7: resetAll; break;
case 8: return;
case 9: closedialog; end;