BEGIN ~delainy1~

IF WEIGHT #0 ~Global("Kaishas1","GLOBAL",1)
Global("DelainyTalk","GLOBAL",0)~ THEN BEGIN 0
  SAY @22007
  IF ~~ THEN REPLY @22010 DO ~SetGlobal("DelainyTalk","GLOBAL",1)~ GOTO 1
  IF ~~ THEN REPLY @22065 DO ~SetGlobal("DelainyTalk","GLOBAL",1)~ GOTO 3
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)~ THEN REPLY @22072 DO ~SetGlobal("DelainyTalk","GLOBAL",1)~ GOTO 4
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)~ THEN REPLY @22064 DO ~SetGlobal("DelainyTalk","GLOBAL",1)~ GOTO 5
END

IF ~~ THEN BEGIN 1
  SAY @22008
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)~ THEN REPLY @22079 GOTO 4
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)~ THEN REPLY @22080 GOTO 5
  IF ~~ THEN REPLY @22081 GOTO 7
  IF ~~ THEN REPLY @22082 GOTO 3
END

IF WEIGHT #1 ~Global("Kaishas1","GLOBAL",0)~ THEN BEGIN 2
  SAY @22009
  IF ~~ THEN UNSOLVED_JOURNAL @310695 EXIT
END

IF ~~ THEN BEGIN 3
  SAY @22083
  IF ~~ THEN REPLY @22162 GOTO 8
  IF ~~ THEN REPLY @22163 GOTO 9
  IF ~~ THEN REPLY @22164 GOTO 10
END

IF ~~ THEN BEGIN 4
  SAY @22084
  IF ~~ THEN REPLY @22205 GOTO 18
  IF ~~ THEN REPLY @22206 GOTO 3
  IF ~~ THEN REPLY @22207 GOTO 7
END

IF ~~ THEN BEGIN 5
  SAY @22086
  IF ~~ THEN REPLY @22088 GOTO 6
  IF ~~ THEN REPLY @22089 GOTO 3
END

IF ~~ THEN BEGIN 6
  SAY @22092
  IF ~~ THEN DO ~SetGlobal("NotHelp","GLOBAL",1)
EscapeArea()~ SOLVED_JOURNAL @310696 EXIT
END

IF ~~ THEN BEGIN 7
  SAY @22093
  IF ~~ THEN REPLY @22100 GOTO 14
  IF ~~ THEN REPLY @22101 GOTO 15
  IF ~~ THEN REPLY @22102 GOTO 16
  IF ~~ THEN REPLY @22103 GOTO 3
  IF ~~ THEN REPLY @22104 GOTO 17
END

IF ~~ THEN BEGIN 8
  SAY @22165
  IF ~~ THEN REPLY @22166 GOTO 11
  IF ~~ THEN REPLY @22167 GOTO 13
  IF ~~ THEN REPLY @22168 GOTO 13
END

IF ~~ THEN BEGIN 9
  SAY @22169
  IF ~~ THEN REPLY @22170 GOTO 11
  IF ~~ THEN REPLY @22171 GOTO 13
  IF ~~ THEN REPLY @22172 GOTO 13
END

IF ~~ THEN BEGIN 10
  SAY @22175
  IF ~~ THEN REPLY @22176 GOTO 11
  IF ~~ THEN REPLY @22178 GOTO 13
  IF ~~ THEN REPLY @22179 GOTO 13
END

IF ~~ THEN BEGIN 11
  SAY @22182
  IF ~~ THEN DO ~SetGlobal("NotHelp","GLOBAL",1)
EscapeArea()~ SOLVED_JOURNAL @310696 EXIT
END

IF ~~ THEN BEGIN 12
  SAY @22183
  IF ~~ THEN DO ~SetGlobal("Sweety","GLOBAL",1)~ UNSOLVED_JOURNAL @310697 EXIT
END

IF ~~ THEN BEGIN 13
  SAY @22184
  IF ~~ THEN DO ~SetGlobal("BigJerk","GLOBAL",1)~ UNSOLVED_JOURNAL @310698 EXIT
END

IF ~~ THEN BEGIN 14
  SAY @22269
  IF ~~ THEN REPLY @22270 GOTO 18
  IF ~~ THEN REPLY @22271 GOTO 3
  IF ~~ THEN REPLY @22272 GOTO 11
END

IF ~~ THEN BEGIN 15
  SAY @22273
  IF ~~ THEN REPLY @22274 GOTO 18
  IF ~~ THEN REPLY @22275 GOTO 3
  IF ~~ THEN REPLY @22276 GOTO 11
END

IF ~~ THEN BEGIN 16
  SAY @22277
  IF ~~ THEN REPLY @22278 GOTO 18
  IF ~~ THEN REPLY @22279 GOTO 3
  IF ~~ THEN REPLY @22280 GOTO 11
END

IF ~~ THEN BEGIN 17
  SAY @22284
  IF ~~ THEN REPLY @22285 GOTO 18
  IF ~~ THEN REPLY @22286 GOTO 3
  IF ~~ THEN REPLY @22287 GOTO 11
END

IF ~~ THEN BEGIN 18
  SAY @22288
  IF ~~ THEN REPLY @22291 GOTO 19
  IF ~~ THEN REPLY @22292 GOTO 10
  IF ~~ THEN REPLY @22293 GOTO 6
END

IF ~~ THEN BEGIN 19
  SAY @22294
  IF ~~ THEN REPLY @22296 GOTO 12
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)~ THEN REPLY @22297 GOTO 20
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)~ THEN REPLY @22298 GOTO 21
  IF ~~ THEN REPLY @22299 GOTO 12
  IF ~~ THEN REPLY @22300 GOTO 11
END

IF ~~ THEN BEGIN 20
  SAY @22304
  IF ~~ THEN REPLY @22305 GOTO 12
  IF ~~ THEN REPLY @22306 GOTO 21
END

IF ~~ THEN BEGIN 21
  SAY @22307
  IF ~~ THEN REPLY @22308 GOTO 13
  IF ~~ THEN REPLY @22309 GOTO 11
END

IF WEIGHT #7 ~Global("Sweety","GLOBAL",1)
!Global("NotHelp","GLOBAL",1)~ THEN BEGIN 22
  SAY @22310
  IF ~~ THEN EXIT
END

IF WEIGHT #8 ~Global("BigJerk","GLOBAL",1)
!Global("NotHelp","GLOBAL",1)~ THEN BEGIN 23
  SAY @22312
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~Global("BigJerk","GLOBAL",1)
!Global("NotHelp","GLOBAL",1)
PartyHasItem("CLCK21")~ THEN BEGIN 24
  SAY @22313
  IF ~~ THEN REPLY @22314 GOTO 25
  IF ~~ THEN REPLY @22315 DO ~EraseJournalEntry(@310697)
EraseJournalEntry(@310698)~ GOTO 26
END

IF ~~ THEN BEGIN 25
  SAY @22317
  IF ~~ THEN DO ~TakePartyItem("CLCK21")
SetGlobal("NotHelp","GLOBAL",1)
EraseJournalEntry(@310697)
EraseJournalEntry(@310698)
EscapeArea()~ SOLVED_JOURNAL @310699 EXIT
END

IF ~~ THEN BEGIN 26
  SAY @22318
  IF ~~ THEN REPLY @22319 DO ~TakePartyItem("CLCK21")~ GOTO 25
  IF ~~ THEN REPLY @22320 GOTO 27
END

IF ~~ THEN BEGIN 27
  SAY @22321
  IF ~~ THEN REPLY @22323 DO ~GiveGoldForce(10)~ GOTO 28
  IF ~~ THEN REPLY @22324 GOTO 28
  IF ~~ THEN REPLY @22326 GOTO 29
END

IF ~~ THEN BEGIN 28
  SAY @22325
  IF ~~ THEN DO ~TakePartyItem("CLCK21")
SetGlobal("NotHelp","GLOBAL",1)
EraseJournalEntry(@310697)
EraseJournalEntry(@310698)
EscapeArea()~ SOLVED_JOURNAL @310699 EXIT
END

IF ~~ THEN BEGIN 29
  SAY @22327
  IF ~~ THEN REPLY @22328 UNSOLVED_JOURNAL @310700 GOTO 30
  IF ~~ THEN REPLY @22329 UNSOLVED_JOURNAL @310700 GOTO 31
  IF ~~ THEN REPLY @22330 UNSOLVED_JOURNAL @310700 GOTO 32
END

IF ~~ THEN BEGIN 30
  SAY @22331
  IF ~~ THEN REPLY @22334 UNSOLVED_JOURNAL @310701 GOTO 31
  IF ~~ THEN REPLY @22338 UNSOLVED_JOURNAL @310702 GOTO 32
  IF ~~ THEN REPLY @22340 GOTO 28
END

IF ~~ THEN BEGIN 31
  SAY @22332
  IF ~~ THEN REPLY @22335 UNSOLVED_JOURNAL @310703 GOTO 30
  IF ~~ THEN REPLY @22339 UNSOLVED_JOURNAL @310702 GOTO 32
  IF ~~ THEN REPLY @22341 GOTO 28
END

IF ~~ THEN BEGIN 32
  SAY @22333
  IF ~~ THEN REPLY @22336 UNSOLVED_JOURNAL @310701 GOTO 31
  IF ~~ THEN REPLY @22337 UNSOLVED_JOURNAL @310703 GOTO 30
  IF ~~ THEN REPLY @22342 GOTO 28
END

IF WEIGHT #3 ~Global("Sweety","GLOBAL",1)
!Global("NotHelp","GLOBAL",1)
PartyHasItem("CLCK21")~ THEN BEGIN 33
  SAY @22343
  IF ~~ THEN REPLY @22344 DO ~TakePartyItem("CLCK21")
EraseJournalEntry(@310697)
EraseJournalEntry(@310698)~ GOTO 36
  IF ~~ THEN REPLY @22345 DO ~TakePartyItem("CLCK21")
EraseJournalEntry(@310697)
EraseJournalEntry(@310698)~ GOTO 34
  IF ~~ THEN REPLY @22346 DO ~EraseJournalEntry(@310697)
EraseJournalEntry(@310698)~ GOTO 26
END

IF ~~ THEN BEGIN 34
  SAY @22347
  IF ~~ THEN REPLY @22348 GOTO 35
  IF ~~ THEN REPLY @22350 GOTO 29
  IF ~~ THEN REPLY @22349 GOTO 35
END

IF ~~ THEN BEGIN 35
  SAY @22351
  IF ~~ THEN REPLY @22352 GOTO 37
  IF ~~ THEN REPLY @22373 GOTO 38
  IF ~ReactionGT(LastTalkedToBy(),HOSTILE_UPPER)~ THEN REPLY @22374 GOTO 40
  IF ~ReactionLT(LastTalkedToBy(),NEUTRAL_UPPER)~ THEN REPLY @22375 GOTO 39
END

IF ~~ THEN BEGIN 36
  SAY @22369
  IF ~~ THEN REPLY @22370 GOTO 34
  IF ~~ THEN REPLY @22371 GOTO 28
  IF ~~ THEN REPLY @22372 GOTO 35
END

IF ~~ THEN BEGIN 37
  SAY @22376
  IF ~~ THEN REPLY @22507 GOTO 39
  IF ~~ THEN REPLY @22508 GOTO 40
  IF ~~ THEN REPLY @22509 GOTO 41
END

IF ~~ THEN BEGIN 38
  SAY @22501
  IF ~~ THEN DO ~SetGlobal("NotHelp","GLOBAL",1)
EscapeArea()~ SOLVED_JOURNAL @310704 EXIT
END

IF ~~ THEN BEGIN 39
  SAY @22502
  IF ~~ THEN REPLY @22504 GOTO 44
  IF ~~ THEN REPLY @22505 GOTO 42
  IF ~~ THEN REPLY @22506 GOTO 38
END

IF ~~ THEN BEGIN 40
  SAY @22503
  IF ~~ THEN REPLY @22515 GOTO 44
  IF ~~ THEN REPLY @22516 GOTO 39
  IF ~~ THEN REPLY @22517 GOTO 43
END

IF ~~ THEN BEGIN 41
  SAY @22510
  IF ~~ THEN REPLY @22512 GOTO 44
  IF ~~ THEN REPLY @22513 GOTO 38
  IF ~~ THEN REPLY @22514 GOTO 42
END

IF ~~ THEN BEGIN 42
  SAY @22511
  IF ~~ THEN DO ~SetGlobal("NotHelp","GLOBAL",1)
EscapeArea()~ SOLVED_JOURNAL @310704 EXIT
END

IF ~~ THEN BEGIN 43
  SAY @22518
  IF ~~ THEN REPLY @22519 GOTO 44
  IF ~~ THEN REPLY @22520 GOTO 39
  IF ~~ THEN REPLY @22521 GOTO 38
END

IF ~~ THEN BEGIN 44
  SAY @22522
  IF ~~ THEN REPLY @22523 UNSOLVED_JOURNAL @310700 GOTO 45
  IF ~~ THEN REPLY @22524 UNSOLVED_JOURNAL @310700 GOTO 46
  IF ~~ THEN REPLY @22525 UNSOLVED_JOURNAL @310700 GOTO 47
END

IF ~~ THEN BEGIN 45
  SAY @22526
  IF ~~ THEN REPLY @22531 UNSOLVED_JOURNAL @310701 GOTO 46
  IF ~~ THEN REPLY @22533 UNSOLVED_JOURNAL @310702 GOTO 47
  IF ~~ THEN REPLY @22535 GOTO 48
  IF ~~ THEN REPLY @22536 GOTO 38
END

IF ~~ THEN BEGIN 46
  SAY @22527
  IF ~~ THEN REPLY @22529 UNSOLVED_JOURNAL @310703 GOTO 45
  IF ~~ THEN REPLY @22534 UNSOLVED_JOURNAL @310702 GOTO 47
  IF ~~ THEN REPLY @22537 GOTO 48
  IF ~~ THEN REPLY @22539 GOTO 38
END

IF ~~ THEN BEGIN 47
  SAY @22528
  IF ~~ THEN REPLY @22530 UNSOLVED_JOURNAL @310703 GOTO 45
  IF ~~ THEN REPLY @22532 UNSOLVED_JOURNAL @310701 GOTO 46
  IF ~~ THEN REPLY @22538 GOTO 48
  IF ~~ THEN REPLY @22540 GOTO 38
END

IF ~~ THEN BEGIN 48
  SAY @22541
  IF ~~ THEN REPLY @22542 GOTO 51
  IF ~~ THEN REPLY @22543 GOTO 49
  IF ~~ THEN REPLY @22544 GOTO 50
  IF ~~ THEN REPLY @22545 GOTO 51
END

IF ~~ THEN BEGIN 49
  SAY @22547
  IF ~~ THEN DO ~SetGlobal("WillHelpEscape","GLOBAL",1)
EscapeArea()~ SOLVED_JOURNAL @310705 EXIT
END

IF ~~ THEN BEGIN 50
  SAY @22548
  IF ~~ THEN DO ~SetGlobal("NotHelp","GLOBAL",1)
EscapeArea()~ SOLVED_JOURNAL @310706 EXIT
END

IF ~~ THEN BEGIN 51
  SAY @22546
  IF ~~ THEN REPLY @22549 GOTO 52
  IF ~~ THEN REPLY @22550 GOTO 53
END

IF ~~ THEN BEGIN 52
  SAY @22551
  IF ~~ THEN DO ~SetGlobal("GottaGetFlowers","GLOBAL",1)
SetGlobal("WillHelpEscape","GLOBAL",1)~ UNSOLVED_JOURNAL @310707 EXIT
END

IF ~~ THEN BEGIN 53
  SAY @22552
  IF ~~ THEN DO ~SetGlobal("WillHelpEscape","GLOBAL",1)
EscapeArea()~ SOLVED_JOURNAL @310705 EXIT
END

IF WEIGHT #4 ~Global("GottaGetFlowers","GLOBAL",1)
!PartyHasItem("MISC1I")~ THEN BEGIN 54
  SAY @22553
  IF ~~ THEN EXIT
END

IF WEIGHT #5 ~Global("GottaGetFlowers","GLOBAL",1)
PartyHasItem("MISC1I")~ THEN BEGIN 55
  SAY @22554
  IF ~~ THEN REPLY @22629 GOTO 59
  IF ~~ THEN REPLY @22630 GOTO 56
  IF ~~ THEN REPLY @22631 GOTO 58
  IF ~~ THEN REPLY @22641 GOTO 57
  IF ~~ THEN REPLY @22642 GOTO 59
END

IF ~~ THEN BEGIN 56
  SAY @22643
  IF ~~ THEN DO ~SetGlobal("WillHelpEscape","GLOBAL",1)
EscapeArea()~ SOLVED_JOURNAL @310705 EXIT
END

IF ~~ THEN BEGIN 57
  SAY @22644
  IF ~~ THEN DO ~SetGlobal("WillHelpEscape","GLOBAL",1)
EscapeArea()~ SOLVED_JOURNAL @310705 EXIT
END

IF ~~ THEN BEGIN 58
  SAY @22645
  IF ~~ THEN REPLY @22646 GOTO 60
  IF ~~ THEN REPLY @22647 GOTO 61
  IF ~~ THEN REPLY @22648 GOTO 62
  IF ~~ THEN REPLY @22649 GOTO 63
END

IF ~~ THEN BEGIN 59
  SAY @22650
  IF ~~ THEN REPLY @22651 GOTO 60
  IF ~~ THEN REPLY @22652 GOTO 61
  IF ~~ THEN REPLY @22653 GOTO 62
  IF ~~ THEN REPLY @22654 GOTO 63
END

IF ~~ THEN BEGIN 60
  SAY @22655
  IF ~~ THEN REPLY @22656 GOTO 64
  IF ~~ THEN REPLY @22657 GOTO 64
  IF ~~ THEN REPLY @22658 GOTO 61
  IF ~~ THEN REPLY @22659 GOTO 63
  IF ~~ THEN REPLY @22660 GOTO 62
END

IF ~~ THEN BEGIN 61
  SAY @22661
  IF ~~ THEN DO ~SetGlobal("WillHelpEscape","GLOBAL",1)
EraseJournalEntry(@310707)
EscapeArea()~ SOLVED_JOURNAL @310708 EXIT
END

IF ~~ THEN BEGIN 62
  SAY @22662
  IF ~~ THEN DO ~SetGlobal("WillHelpEscape","GLOBAL",0)
SetGlobal("NotHelp","GLOBAL",1)
EraseJournalEntry(@310707)
EscapeArea()~ SOLVED_JOURNAL @310709 EXIT
END

IF ~~ THEN BEGIN 63
  SAY @22663
  IF ~~ THEN DO ~SetGlobal("WillHelpEscape","GLOBAL",1)
EraseJournalEntry(@310707)
EscapeArea()~ SOLVED_JOURNAL @310710 EXIT
END

IF ~~ THEN BEGIN 64
  SAY @22664
  IF ~~ THEN DO ~SetGlobal("WillHelpEscape","GLOBAL",1)
EraseJournalEntry(@310707)
EscapeArea()~ SOLVED_JOURNAL @310708 EXIT
END

IF WEIGHT #6 ~False()~ THEN BEGIN 65
  SAY @22693
  IF ~~ THEN EXIT
END
