From a1943bcc4173f41c3872d5598205a70be7e14cb5 Mon Sep 17 00:00:00 2001 From: Reid Date: Fri, 3 Jun 2016 02:57:45 +0200 Subject: Fix some speech FLAGS and add boolean type instead of 0/1 in oscar's script. --- npc/001-2-12/oscar.txt | 18 +++++++++--------- 1 file 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, -- cgit v1.2.3-60-g2f50