summaryrefslogtreecommitdiff
path: root/npc/003-2-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-10-30 13:06:37 -0300
committerJesusaves <cpntb1@ymail.com>2023-10-30 13:06:37 -0300
commit462db5c58dcb6741bdbabc282069cd5f9c0543a6 (patch)
tree889c12f2eff1a8f54037ecd68791e7c423795e92 /npc/003-2-1
parent6259cdc638dd466dda3d423fbd0d8f79724e14bd (diff)
downloadserverdata-462db5c58dcb6741bdbabc282069cd5f9c0543a6.tar.gz
serverdata-462db5c58dcb6741bdbabc282069cd5f9c0543a6.tar.bz2
serverdata-462db5c58dcb6741bdbabc282069cd5f9c0543a6.tar.xz
serverdata-462db5c58dcb6741bdbabc282069cd5f9c0543a6.zip
Fix oversight in complaint form logic
Diffstat (limited to 'npc/003-2-1')
-rw-r--r--npc/003-2-1/demure.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/003-2-1/demure.txt b/npc/003-2-1/demure.txt
index ea5752ffa..5508644f4 100644
--- a/npc/003-2-1/demure.txt
+++ b/npc/003-2-1/demure.txt
@@ -7,11 +7,12 @@
RegEasterEgg(EE_DEMURE, 5);
- if (countitem(ComplaintForm) > 100) {
+ if (countitem(ComplaintForm) > 100 && !(FLAGS & FLAG_COMPLAINTFORM)) {
delitem ComplaintForm, 100;
Zeny+=100*getiteminfo(ComplaintForm, ITEMINFO_SELLPRICE);
dispbottom l("Due to a bug, all your complaint forms became money!");
RegEasterEgg(EE_COMPLAINT, 15);
+ FLAGS = FLAGS | FLAG_COMPLAINTFORM;
}
// Let's try without freeloop