From 135f0fe12564decad0d3e2ff8af8f798b0a7f4cf Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 5 Jul 2013 18:12:55 -0700 Subject: Canonicalize event label capitalization --- world/map/npc/051-3/ambush.txt | 8 ++++---- world/map/npc/051-3/janitor.txt | 2 +- world/map/npc/051-3/reinforcements.txt | 16 ++++++++-------- 3 files changed, 13 insertions(+), 13 deletions(-) (limited to 'world/map/npc/051-3') diff --git a/world/map/npc/051-3/ambush.txt b/world/map/npc/051-3/ambush.txt index 5d31eff5..109d55b2 100644 --- a/world/map/npc/051-3/ambush.txt +++ b/world/map/npc/051-3/ambush.txt @@ -72,17 +72,17 @@ OnTimer9000: end; OnTimer11000: - areatimer "051-3.gat", 22, 12, 102, 97, 500, "#BndtTl::onOuch"; - areatimer "051-3.gat", 22, 12, 102, 97, 3000, "#BndtTl::onA"; + areatimer "051-3.gat", 22, 12, 102, 97, 500, "#BndtTl::OnOuch"; + areatimer "051-3.gat", 22, 12, 102, 97, 3000, "#BndtTl::OnA"; stopnpctimer; setnpctimer 0; end; -onOuch: +OnOuch: message strcharinfo(0), "Ouch my head..."; end; -onA: +OnA: if (strcharinfo(0) == $@ILLIA_HERO$) goto L_CaptureHero; if (strcharinfo(0) == $@ILLIA_HELPER1$) diff --git a/world/map/npc/051-3/janitor.txt b/world/map/npc/051-3/janitor.txt index 32a9f22c..527ca24c 100644 --- a/world/map/npc/051-3/janitor.txt +++ b/world/map/npc/051-3/janitor.txt @@ -5,7 +5,7 @@ end; OnCommandClean: // Kill all remaining bandits spawned during the "reinforcements" event - killmonster "051-1.gat", "Door::onB"; + killmonster "051-1.gat", "Door::OnB"; end; } diff --git a/world/map/npc/051-3/reinforcements.txt b/world/map/npc/051-3/reinforcements.txt index 62e78bf6..90699b8b 100644 --- a/world/map/npc/051-3/reinforcements.txt +++ b/world/map/npc/051-3/reinforcements.txt @@ -46,18 +46,18 @@ L_Warp: OnRnfrcmts: set $@illia_level_2_progress, 3; // Spawn 20 bandits - areamonster "051-3.gat", 29, 25, 48, 39, "", 1064, 18, "Door::onB"; + areamonster "051-3.gat", 29, 25, 48, 39, "", 1064, 18, "Door::OnB"; // Spawn 4 bandit lords - areamonster "051-3.gat", 29, 25, 48, 39, "", 1065, 3, "Door::onB"; + areamonster "051-3.gat", 29, 25, 48, 39, "", 1065, 3, "Door::OnB"; initnpctimer; mapannounce "051-3.gat", "Bandit Lords: Do not let them escape!!" , 0; - areatimer "051-3.gat", 25, 20, 80, 85, 10, "Door::onDRnfrcmts"; + areatimer "051-3.gat", 25, 20, 80, 85, 10, "Door::OnDRnfrcmts"; end; -onB: +OnB: end; -onDRnfrcmts: +OnDRnfrcmts: message strcharinfo(0), "Oh no, reinforcements! We must kill them all!"; end; @@ -65,7 +65,7 @@ OnTimer2000: setnpctimer 0; if ($@illia_level_2_progress != 3 || $@illia_progress != 2) end; - if (mobcount("051-3.gat", "Door::onB") < 0) + if (mobcount("051-3.gat", "Door::OnB") < 0) goto L_OpenDoor; end; @@ -74,12 +74,12 @@ L_OpenDoor: set $@illia_progress, 3; callfunc "UpdateIlliaProgress"; set $@illia_max_time, $@illia_max_time + 900; - areatimer "051-3.gat", 25, 20, 80, 85, 10, "Door::onKeyFound"; + areatimer "051-3.gat", 25, 20, 80, 85, 10, "Door::OnKeyFound"; stopnpctimer; setnpctimer 0; end; -onKeyFound: +OnKeyFound: message strcharinfo(0), "One of the defeated bandit lords had a door key attached to his belt."; end; -- cgit v1.2.3-60-g2f50