diff options
Diffstat (limited to 'npc/commands/debug.txt')
-rw-r--r-- | npc/commands/debug.txt | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt index 4d04cb99a..5bca29129 100644 --- a/npc/commands/debug.txt +++ b/npc/commands/debug.txt @@ -5,8 +5,7 @@ function script GlobalDebugMenu { resetskill; resetlvl 1; dispbottom l("Reset done!"); - if (getarg(0,0) == 3) - { + if (getarg(0,0) == 3) { closedialog; doevent "::OnGlobalQuestReset"; // executes in all quest npcs // FIXME: maybe have a `resetquest` buildin? Zeny = 0; @@ -21,13 +20,12 @@ function script GlobalDebugMenu { setnpcdialogtitle l("Debug - Reset"); mes l("What do you want to reset?"); select - menuimage("actions/abort", l("Abort")), - menuimage("actions/reset", l("Reset stats, skills, level")), - menuimage("actions/nuke", l("Reset EVERYTHING")), - menuimage("actions/back", l("Return to Debug menu")); + l("Abort"), + l("Reset stats, skills, level"), + l("Reset EVERYTHING"), + l("Return to Debug menu"); - switch (@menu) - { + switch (@menu) { case 2: case 3: doReset @menu; } @@ -96,15 +94,15 @@ function script GlobalDebugMenu { mes ""; mes l("What do you want to do?"); select - menuimage("actions/manage", l("Change my level")), - menuimage("actions/manage", l("Change my stats")), - menuimage("actions/manage", l("Change my skills")), - menuimage("actions/manage", l("Change my appearance")), - menuimage("actions/add", l("Create items")), - menuimage("actions/add", l("Get money")), - menuimage("actions/edit", l("Change my quests")), - menuimage("actions/reset", l("Reset")), - rif(getarg(0,0), menuimage("actions/home", l("Return to Super Menu"))); + l("Change my level"), + l("Change my stats"), + l("Change my skills"), + l("Change my appearance"), + l("Create items"), + l("Get money"), + l("Change my quests"), + l("Reset"), + rif(getarg(0,0), l("Return to Super Menu")); .@c = getarg(0,0) ? 2 : 1; @@ -115,7 +113,7 @@ function script GlobalDebugMenu { case 3: GlobalSkillDebug .@c; break; case 4: BarberDebug .@c; break; case 5: closedialog; clientcommand "createitems"; end; - case 6: Zeny = 0x7FFFFFFE; break; + case 6: dispbottom l("Use ##B@zeny##b instead!"); break; case 7: GlobalQuestDebug .@c; break; case 8: resetAll; break; case 9: return; @@ -129,8 +127,7 @@ function script GlobalDebugMenu { end; OnCall: - if (!debug && !is_admin()) - { + if (!debug && !is_admin()) { end; } GlobalDebugMenu; |