summaryrefslogtreecommitdiff
path: root/world/map/npc/011-1/oscar.txt
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-07-05 18:12:55 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-07-05 18:12:55 -0700
commit135f0fe12564decad0d3e2ff8af8f798b0a7f4cf (patch)
treee4f9e8ac285413342214576545f020ff39fd8baf /world/map/npc/011-1/oscar.txt
parent9f883e9770523d3ff2b2f79129cffb523419c6b6 (diff)
downloadserverdata-135f0fe12564decad0d3e2ff8af8f798b0a7f4cf.tar.gz
serverdata-135f0fe12564decad0d3e2ff8af8f798b0a7f4cf.tar.bz2
serverdata-135f0fe12564decad0d3e2ff8af8f798b0a7f4cf.tar.xz
serverdata-135f0fe12564decad0d3e2ff8af8f798b0a7f4cf.zip
Canonicalize event label capitalization
Diffstat (limited to 'world/map/npc/011-1/oscar.txt')
-rw-r--r--world/map/npc/011-1/oscar.txt24
1 files changed, 12 insertions, 12 deletions
diff --git a/world/map/npc/011-1/oscar.txt b/world/map/npc/011-1/oscar.txt
index 66f817c1..c9ee88da 100644
--- a/world/map/npc/011-1/oscar.txt
+++ b/world/map/npc/011-1/oscar.txt
@@ -299,7 +299,7 @@ L_QuestAlreadyDone:
mes "That was interesting, but really, fruits are more quiet!\"";
goto L_End;
-onInit:
+OnInit:
set $@halloween_num_seeds, 12;
set $@halloween_num_water_bottles, 15;
set $@halloween_num_pumpkins, $@halloween_num_seeds * 4;
@@ -312,8 +312,8 @@ OnTimer3000:
end;
callsub S_CheckPlayer;
set $@HalloweenQuest_PumpkinsTimer, $@HalloweenQuest_PumpkinsTimer + 1;
- if (mobcount("011-1.gat", "Oscar::onPD") < 0 &&
- mobcount("011-1.gat", "Oscar::onPDP") < 0 &&
+ if (mobcount("011-1.gat", "Oscar::OnPD") < 0 &&
+ mobcount("011-1.gat", "Oscar::OnPDP") < 0 &&
$@HalloweenQuest_PumpkinsCount <= 0)
goto L_AllPumpkinsDead;
// A quick "cheer up"
@@ -329,14 +329,14 @@ OnTimer3000:
L_TrySpawnPumpkin:
if ($@HalloweenQuest_PumpkinsCount > 0)
- areamonster "011-1.gat", 97, 40, 101, 44, "", 1063, 1, "Oscar::onPD";
+ areamonster "011-1.gat", 97, 40, 101, 44, "", 1063, 1, "Oscar::OnPD";
setnpctimer 0;
end;
OnTimer2500:
if ($@HalloweenQuest_PumpkinsState != 0)
end;
- areamonster "011-1.gat", 97, 40, 101, 44, "", 1063, 2, "Oscar::onPD";
+ areamonster "011-1.gat", 97, 40, 101, 44, "", 1063, 2, "Oscar::OnPD";
end;
OnTimer6000:
@@ -348,7 +348,7 @@ OnTimer6000:
setnpctimer 0;
end;
-onPD:
+OnPD:
if (strcharinfo(0) != $@HalloweenQuest_PumpkinHunter$)
goto L_KillBadHunter;
set $@HalloweenQuest_PumpkinsCount, $@HalloweenQuest_PumpkinsCount - 1;
@@ -369,18 +369,18 @@ onPD:
getitem "PumpkinHelmet", 1;
// huntsman spider x1
if (@halloween_rand < (15*BaseLevel)/100)
- areamonster "011-1.gat", 97, 40, 101, 44, "", 1083, 1, "Oscar::onPDP";
+ areamonster "011-1.gat", 97, 40, 101, 44, "", 1083, 1, "Oscar::OnPDP";
// Or spider x1
if (@halloween_rand >= (15*BaseLevel)/100 && @halloween_rand < (75*BaseLevel)/100)
- areamonster "011-1.gat", 97, 40, 101, 44, "", 1012, 1, "Oscar::onPDP";
+ areamonster "011-1.gat", 97, 40, 101, 44, "", 1012, 1, "Oscar::OnPDP";
// Or archant x2
if (@halloween_rand >= (75*BaseLevel)/100)
- areamonster "011-1.gat", 97, 40, 101, 44, "", 1060, 2, "Oscar::onPDP";
+ areamonster "011-1.gat", 97, 40, 101, 44, "", 1060, 2, "Oscar::OnPDP";
set @halloween_rand, 0;
end;
-onPDP:
+OnPDP:
end;
L_KillBadHunter:
@@ -435,8 +435,8 @@ L_Success:
goto L_Clean;
L_Clean:
- killmonster "011-1.gat", "Oscar::onPD";
- killmonster "011-1.gat", "Oscar::onPDP";
+ killmonster "011-1.gat", "Oscar::OnPD";
+ killmonster "011-1.gat", "Oscar::OnPDP";
set $@HalloweenQuest_PumpkinHunter$, "";
set $@HalloweenQuest_PumpkinsCount, 0;
set $@HalloweenQuest_PumpkinsState, 0;