summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2016-01-24 22:58:28 +0100
committerReid <reidyaro@gmail.com>2016-01-24 22:58:28 +0100
commitec2048505f57bd014fe4e4bb1b4731e331a030f4 (patch)
tree2f08654e5c96cb83718b624e4534bdb812e426a4
parent52b0e7b2714fe4931e65a79683c4db7228ebd80c (diff)
downloadserverdata-ec2048505f57bd014fe4e4bb1b4731e331a030f4.tar.gz
serverdata-ec2048505f57bd014fe4e4bb1b4731e331a030f4.tar.bz2
serverdata-ec2048505f57bd014fe4e4bb1b4731e331a030f4.tar.xz
serverdata-ec2048505f57bd014fe4e4bb1b4731e331a030f4.zip
Switch case of PC_Is_Dead and INN_Register to full caps.
-rw-r--r--npc/001-2-28/plush.txt10
-rw-r--r--npc/001-2-29/savepoint.txt2
-rw-r--r--npc/functions/beds.txt8
-rw-r--r--npc/functions/savepoint.txt2
4 files changed, 11 insertions, 11 deletions
diff --git a/npc/001-2-28/plush.txt b/npc/001-2-28/plush.txt
index 902159fa..9ae9fb9d 100644
--- a/npc/001-2-28/plush.txt
+++ b/npc/001-2-28/plush.txt
@@ -4,7 +4,7 @@
// Description:
// Red, the INN Keeper.
// Variable:
-// INN_Register
+// INN_REGISTER
001-2-28,28,28,0 script Plush#001-2-28 NPC_RED,{
@@ -28,8 +28,8 @@
{
emotion 3;
Zeny = Zeny - .@price;
- INN_Register = REDPLUSH_INN;
- PC_Is_Dead = false;
+ INN_REGISTER = REDPLUSH_INN;
+ PC_IS_DEAD = false;
speech 5,
l("I registered you on the @@ room of the upper level.",
@@ -81,11 +81,11 @@
}
function lodge_check {
- if (INN_Register == NO_INN)
+ if (INN_REGISTER == NO_INN)
{
register_room;
}
- else if (INN_Register == REDPLUSH_INN)
+ else if (INN_REGISTER == REDPLUSH_INN)
{
speech 5,
l("You are already registered here."),
diff --git a/npc/001-2-29/savepoint.txt b/npc/001-2-29/savepoint.txt
index 62e84015..01af2b8b 100644
--- a/npc/001-2-29/savepoint.txt
+++ b/npc/001-2-29/savepoint.txt
@@ -15,7 +15,7 @@ OnTouch:
bedTouch;
OnPCDieEvent:
- PC_Is_Dead = 1;
+ PC_IS_DEAD = 1;
close;
}
diff --git a/npc/functions/beds.txt b/npc/functions/beds.txt
index 1649c73f..87a26e12 100644
--- a/npc/functions/beds.txt
+++ b/npc/functions/beds.txt
@@ -6,12 +6,12 @@
// Beds utility functions
function script bedTouch {
- if (PC_Is_Dead)
+ if (PC_IS_DEAD)
{
- PC_Is_Dead = 0;
- if (INN_Register == REDPLUSH_INN)
+ PC_IS_DEAD = 0;
+ if (INN_REGISTER == REDPLUSH_INN)
{
- INN_Register = NO_INN;
+ INN_REGISTER = NO_INN;
percentheal 100,100;
}
}
diff --git a/npc/functions/savepoint.txt b/npc/functions/savepoint.txt
index b35f3479..ccf1b8b3 100644
--- a/npc/functions/savepoint.txt
+++ b/npc/functions/savepoint.txt
@@ -15,7 +15,7 @@ function script savepointparticle {
if (getarg(3, NO_INN) == NO_INN)
{
- INN_Register = NO_INN;
+ INN_REGISTER = NO_INN;
}
savepoint getarg(0), getarg(1), getarg(2);
misceffect 4, getcharid(3);