summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2016-06-03 02:57:45 +0200
committerReid <reidyaro@gmail.com>2016-06-03 02:57:45 +0200
commita1943bcc4173f41c3872d5598205a70be7e14cb5 (patch)
tree4062933a25edebfbe519deda3b3d5ad43abd9b9e
parent65903ff911853a54f741045e410fd6a07ac60aa4 (diff)
downloadserverdata-a1943bcc4173f41c3872d5598205a70be7e14cb5.tar.gz
serverdata-a1943bcc4173f41c3872d5598205a70be7e14cb5.tar.bz2
serverdata-a1943bcc4173f41c3872d5598205a70be7e14cb5.tar.xz
serverdata-a1943bcc4173f41c3872d5598205a70be7e14cb5.zip
Fix some speech FLAGS and add boolean type instead of 0/1 in oscar's script.
-rw-r--r--npc/001-2-12/oscar.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/npc/001-2-12/oscar.txt b/npc/001-2-12/oscar.txt
index 5248a5a2..31695041 100644
--- a/npc/001-2-12/oscar.txt
+++ b/npc/001-2-12/oscar.txt
@@ -25,36 +25,36 @@
if ((@inventorylist_card1[@item_index] > 5021) ||
(@inventorylist_card1[@item_index] < 5000))
{
- return 0;
+ return false;
}
- .@is_bleachable = 1;
+ .@is_bleachable = true;
}
if (@inventorylist_card2[@item_index] != 0)
{
if ((@inventorylist_card2[@item_index] > 5021) ||
(@inventorylist_card2[@item_index] < 5000))
{
- return 0;
+ return false;
}
- .@is_bleachable = 1;
+ .@is_bleachable = true;
}
if (@inventorylist_card3[@item_index] != 0)
{
if ((@inventorylist_card3[@item_index] > 5021) ||
(@inventorylist_card3[@item_index] < 5000))
{
- return 0;
+ return false;
}
- .@is_bleachable = 1;
+ .@is_bleachable = true;
}
if (@inventorylist_card4[@item_index] != 0)
{
if ((@inventorylist_card4[@item_index] > 5021) ||
(@inventorylist_card4[@item_index] < 5000))
{
- return 0;
+ return false;
}
- .@is_bleachable = 1;
+ .@is_bleachable = true;
}
return .@is_bleachable;
@@ -64,7 +64,7 @@
{
.@item_index = -1;
- speech 4,
+ speech 1,
l("What item would you like to bleach?");
narrator 5,