Page 1 of 1

Is there a "Flag" list and more?

Posted: Fri May 04, 2007 10:34 pm
by Malignant Manor
1) Is there a "Flag" list?

2) Can you change the "teleportation" map to reflect major chunk changes?

3) I can't find an egg for Batlin talking through an automaton. I want to delete it from a copied map, but it doesn't seem to be in the area.

4) Is there an easy way to make generic merchant NPC's?

Bug~When having multiple maps npcs in any map can affect whatever map you are on.

I can hear a fellowship member talking. Automatons using "job" schedules will actually use/place items if they are around the same area on the other map. I deleted the objects and they don't affect the other map anymore. I only tested this on SI.


Flags I have written down

BG

004) Moongates disappear. (Sphere Prism taken)
030) Armageddon cast
061) Winches will work. You can leave through Trinsic gates. (Finnigan copyright test completed)
704) Mama met
792) Wisdom test passed
807) Love test Passed
815) Arcadion in gem
816) Arcadion in blackrock sword
833) Courage test passed

SI

550) "Acid" dialog option with Petra

Dominus if there isn't a listing of flags, could you please sticky an official thread where people can post them.

Re: Is there a "Flag" list and more?

Posted: Sat May 05, 2007 12:45 am
by SB-X
One of the mods contains a list of flags in the usecode source.

Re: Is there a "Flag" list and more?

Posted: Sat May 05, 2007 3:37 am
by marzo
1) Is there a "Flag" list?
Only partial lists, AFAIK. The Keyring mod has the most complete one for BG, while SI Fixes has the most complete one for SI. Their source can be obtained with the Exult source.
2) Can you change the "teleportation" map to reflect major chunk changes?
Press Shift+F3. If the snapshot you are using is not too old, Exult will generate a "minimaps.vga" file in your patch dir which it will use as the new teleportation map.
3) I can't find an egg for Batlin talking through an automaton. I want to delete it from a copied map, but it doesn't seem to be in the area.
I assume you mean in SI. It is probably the egg at (1894, 671).
4) Is there an easy way to make generic merchant NPC's?
Nope. Usecode all the way.

Re: Is there a "Flag" list and more?

Posted: Sat May 05, 2007 12:19 pm
by Malignant Manor
Press Shift+F3. If the snapshot you are using is not too old, Exult will generate a "minimaps.vga" file in your patch dir which it will use as the new teleportation map.

Does it allow for a different teleportation map for each map that you have? Example would be I have the normal map when on map 00 and I have a different map when I change to map 01.


3) I can't find an egg for Batlin talking through an automaton. I want to delete it from a copied map, but it doesn't seem to be in the area.

I just discovered that there isn't an egg. It is the automaton itself. The conversation was going to the other map because of the bug I listed in this thread. The egg that was suggested to me triggers the party is no longer in a cold environment.


Only partial lists, AFAIK. The Keyring mod has the most complete one for BG, while SI Fixes has the most complete one for SI. Their source can be obtained with the Exult source.

Is there anyone that has a list of the number that exult menu uses and not what appears to be manually imputed usecode flags.

Re: Is there a "Flag" list and more?

Posted: Sat May 05, 2007 2:15 pm
by marzo
Does it allow for a different teleportation map for each map that you have?
If you had tried it, you would have seen that the answer is yes :-p
It is the automaton itself. The conversation was going to the other map because of the bug I listed in this thread.
I can't reproduce the bug; how old *is* the snapshot you are using? Because I remember Dr Code fixing this bug quite a while ago...
Is there anyone that has a list of the number that exult menu uses and not what appears to be manually imputed usecode flags.
Uh... can you rephrase that? I am not sure I understand... you mean the cheat menu? If so, it uses the same values as the usecode constants. The lists in the mods are lists of values defined in the original usecode, just redefined so that they can be used with a mnemonic name in the new usecode.

Re: Is there a "Flag" list and more?

Posted: Sat May 05, 2007 4:05 pm
by Malignant Manor
Sorry about the bug. I thought I tested it all again after I updated. The NPC's talking was because I missed a usecode egg (I don't know how I kept missing it).


Uh... can you rephrase that? I am not sure I understand... you mean the cheat menu? If so, it uses the same values as the usecode constants. The lists in the mods are lists of values defined in the original usecode, just redefined so that they can be used with a mnemonic name in the new usecode.

Well I found a good hex converter to use. I should be able to add a tiny bit to the list that has been compiled. Too bad there isn't a debug mode in Exult where it would tell you when a flag changes. It would make solving the flags a lot easier.

Re: Is there a "Flag" list and more?

Posted: Sat May 05, 2007 5:22 pm
by Malignant Manor
This might be of some use for Exult since these flags aren't listed.


New global flag descriptions for Black Gate

Not sure what to put for a description

Hex | Decimal
Met Mama = 0x02C0, 704
Wisdom test passed = 0x0318, 792
Love test passed = 0x0327, 807
Courage test passed = 0x0341, 833

New global flag description for Serpent Isle

Hex Decimal
Acid dialog option with Petra = 0x226; 550

Re: Is there a "Flag" list and more?

Posted: Sun May 06, 2007 5:21 pm
by Malignant Manor
Marzo Sette Torres Junior are you sure these flags effects are listed properly?

const int BANES_RELEASED = 0x4;4
const int SERPENT_GWANI_HORN_SPEECH = 0x2DC;732

When I was going through the flags that the Batlin death scene trigger, I found that flag 4 and 792 are set after Batlin dies and the guardian speaks. After the Banes are released flag 732 is set.

Flag 4 lets the monster spawn, death, garbage, and misc. destruction eggs hatch. 732 puts the banes in the White Dragon Castle and could also be the earth serpent "gwani horn" speech like it is listed. I'm not sure about 792. It could be the guardian speech about "this is what happens to those who fail me".

I am currently trying to add more flags to the list of know flag functions. I am just tring to make sure the list is as accurate as possible. Sorry for being a pain in the ass.

Re: Is there a "Flag" list and more?

Posted: Sun May 06, 2007 11:55 pm
by Malignant Manor
More Serpent Isle Global Flags

Copy Protection Test

26-40 are set when Thoxa asks you the corresponding question so they aren't repeated. It happens whether the answer is correct or not. I think there are a few questions that Fedabiblio adds. I can't test him for awhile though.

026 9th Circle
027 Armor Materials
028 Beasts
029 Reagents
030 Mass Death
031 Ginsing
032 Create Automata
033 Reasons for Writing
034 Ophidian Writing
035 Other Landmarks
036 Cities Established
037 Principles of Balance
038 Clans of Monitor
039 Weapon Types
040 Words of Power

Monitor

045 Told Marsten that you serve Lord British
047 Marsten gave permission to take Test of Knighthood
050 Talked with Marsten (First conversation)
051 Talked with Caladin (First conversation)
059 Caladin told you secrets about the test
060 Talked about test with Caladin
169 Asked Flicken about strangers
170 Talked to Iolo in prison
188 Asked Cantra about test
706 Flicken opens gate

Moonshade

222 Talked with Fedabiblio about spell books

Monks

707 Have Hourglass
750 Used Amulet of Balance for the first time

Re: Is there a "Flag" list and more?

Posted: Mon May 07, 2007 11:47 pm
by Malignant Manor
More Serpent Isle Global Flags

Monitor

061 Brendann told you to meet him at his house
083 Courted Lucilla
084 Accepted rendezvous with Lucilla
138 Lucilla or Brebdann gave gwani cloak
173 Talked with Brendann about a traitor

Monks

620 Tides are right for mandrake root
621 Picked up mandrake root from swamps
622 Asked Baraccus about swamps
625 Monks leave pews (They say Xenka calls, bells ring, ect.)
763 Have amulet of balance

Moonshade

219 Have spellbook

Silver Seed

756 Surok says he is busy
768 Have keyring
781 Talked to Isstanar (First conversation)


Lucilla and Brendann will sleep with you no matter what gender you are as long as you have flag 84 and 61 set respectively. You don't even have to be a knight.

Fedabilbo asks the same copy protection question set as Thoxa.

Re: Is there a "Flag" list and more?

Posted: Tue May 08, 2007 10:26 pm
by Malignant Manor
More Serpent Isle Global Flags

019 Boydon has belongings
207 Arcadion in gem (Unsets when you free him)
505 Picked up Serpent Staff
551 Read Body Transference
572 Picked up flux analyzer
573 Picked up Philanderer's Friend
584 Read Parting Verses
589 Have Serpent Sceptre
590 Selina is dead
591 Looked into Moon's Eye
593 Passed test of order
594 Read The Structure of Order
717 Placed lodestone of hate
718 Placed lodestone of happiness
719 Placed lodestone of despair
720 Placed lodestone of love
735 Serpent speech about wizard and key
737 Serpent "free Gwenno" speech (Picked up Gwani horn)
757 Red orb burned out
758 Purple orb burned out
759 Blue orb burned out
760 Yellow orb burned out
764 Picked up Silver Seed
765 Planted Silver Seed (Karnax recognizes it is planted)
766 Cask is pulled out in Serpent's Fang basement
787 Planted Silver Seed (Recognized as Champion of Balance)
792 Set when Batlin dies (No know function yet. My guess is Guardian's speech about Batlin failing him)

Re: Is there a "Flag" list and more?

Posted: Wed May 09, 2007 6:49 pm
by SB-X
I might as well use this thread to post my incomplete flags list for SI+SS. I started work on it a few years ago, and havn't really updated it much since then. Hopefully this will save you some time doing extra work, and sorry for not mentioning it earlier, but I didn't realize you were going to start looking for the rest of the flags. :)
All numbers are in hexadecimal, and many of them are probably duplicates of the ones you and Marzo found since I can't be bothered to check. A ton of them have question marks because I'm not sure exactly what they do, and the vast majority of the flags have not been verified in game.

Re: Is there a "Flag" list and more?

Posted: Wed May 09, 2007 6:56 pm
by SB-X
One of us should upload this to a wiki so anyone can add new flags they find. The numbers of all flags are listed, even where I havn't investigated their meaning. (UCXT was used to find these)
siflags.txt
Enjoy!

(Oh yeah, the funny format is because I originally hoped the file could be included with Exult and Exult Studio, and used by those programs to display the actual names and descriptions of flags.)

Re: Is there a "Flag" list and more?

Posted: Wed May 09, 2007 7:34 pm
by Malignant Manor
You have a lot listed. I hate hex. I will put decimal up with it. I never really learned it so it is hard for me to convert quickly without a converter program. Bad thing is the amount of people that are going to find flags for a game that is about 14 years old is going to be extremely thin. There is a wiki link in wikipedia for a wiki strategy site that really hasn't been worked on much. Can you please list a BG flag list also. Once I have it set up, I can put a link up. Here is my list so far in SI just for a comparison. It has Marzo's list built in. I probably won't work on flags for awhile since I started a project merging the BG items into SI. I was going to start a thread on it when I saw this update.




Serpent Isle Global Flag List

Flags given in all CAPS and having an underline between words were obtained from the Exult team.
All other flags provided by Malignant Manor.

001
002
003 STARTING_SPEECH
004 BANES_RELEASED
005
006 EQUIPMENT_EXCHANGED
007 TEMP_FLAG_1 (Temporary flag, used for a great many things)
008 TEMP_FLAG_2 (Temporary flag, used for a great many things)
009 TEMP_FLAG_3 (Temporary flag, used for a great many things)
010 TEMP_FLAG_4 (Temporary flag, used for a great many things)
011
012
013
014
015
016 GWENNO_HAS_BELONGINGS
017
018
019 Boydon has belongings
020
021
022
023 DUPRE_HAS_BELONGINGS
024 SHAMINO_HAS_BELONGINGS
025 IOLO_HAS_BELONGINGS

26-40 are set when the corresponding copy protection question are asked so they aren't repeated.

026 9th Circle
027 Armor Materials
028 Beasts
029 Reagents
030 Mass Death
031 Ginsing
032 Create Automata
033 Reasons for Writing
034 Ophidian Writing
035 Other Landmarks
036 Cities Established
037 Principles of Balance
038 Clans of Monitor
039 Weapon Types
040 Words of Power
041
042
043
044
045 Told Marsten that you serve Lord British
046
047 Marsten gave permission to take Test of Knighthood
048
049
050 Talked with Marsten (First conversation)
051 Talked with Caladin (First conversation)
052
053
054
055
056
057
058
059 Caladin told you secrets about the test
060 Talked about test with Caladin
061 Brendann told you to meet him at his house
062
063
064
065
066
067
068 GOBLIN_SIMON_DEAD
069
070
071 CURED_CANTRA (Flag when Cantra is cured)
072 AVATAR_IS_KNIGHT
073
074 SLAIN_WOLF
075
076
077
078 KNOWS_KRAYG_WALKS_IN_WOODS
079
080
081
082
083 Courted Lucilla
084 Accepted rendezvous with Lucilla
085
086
087
088
089
090
091
092
093
094
095
096 AVATAR_GOT_SHORT_STICK
097 DUPRE_IS_TOAST
098
099
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120 IOLO_MADE_EQUIPMENT_LIST
121 KNOWS_CANTRA_IS_MISSING
122
123
124 BEGAN_KNIGHTS_TEST
125 MONITOR_TRAINING
126
127
128
129
130
131
132
133
134
135
136
137
138 Lucilla or Brebdann gave gwani cloak
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169 Asked Flicken about strangers
170 Talked to imprisoned Iolo
171
172 HAS_CLUE_MONITOR_SHIELD
173 Talked with Brendann about a traitor
174
175
176
177
178 HAS_DUPRE_SHIELD
179
180
181
182
183 DUPRE_MADE_EQUIPMENT_LIST
184
185
186
187
188 Asked Cantra about test
189
190
191 MONITOR_BANQUET_STARTED
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207 Arcadion in gem (unsets when you free him)
208
209
210
211 WANTONESS_BANE_DEAD
212 ANARCHY_BANE_DEAD
213 INSANITY_BANE_DEAD
214
215
216
217
218
219 Have spellbook
220
221
222 Talked with Fedabiblio about spellbooks
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255 KNOWS_OF_SOUL_GEMS
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272 HAS_CLUE_LAB_APPARATUS
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299 SHAMINO_RESURRECTED_BY_MONKS
300
301 SEEKING_SOUT_TRAP_SECRET
302
303
304
305
306
307
308
309 AFTER_FREEDOM_NEWS
310
311
312
313
314 SHAMINO_TELEPORTED_BY_MONKS
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331 HAVE_CHILL_SPELL
332 HAS_CLUE_RING
333
334 CLEARED_FAWN_TOWER
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467 HEARD_BEATRIX_SONG
468 HEARD_MOUNTAIN_SONG
469 HEARD_GWANI_SONG
470 HEARD_FOREST_MASTER_SONG
471 HEARD_DREAM_SONG
472 HEARD_WHITE_DRAGON_SONG
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505 Picked up Serpent Staff
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550 Acid dialog option with Petra
551 Read Body Transference
552
553
554
555 TALKED_TO_CHAOS_HIEROPHANT
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572 Picked up flux analyzer
573 Picked up Philanderer's Friend
574
575
576
577
578
579
580
581
582
583
584 Read Parting Verses
585
586
587
588
589 Have Serpent Sceptre
590 Selina is dead
591 Looked into Moon's Eye
592
593 Passed test of order
594 Read The Structure of Order
595
596
597
598
599
600
601
602
603 BEATRIX_PROTECTION
604 BEATRIX_FORGAVE_SHAMINO
605
606 FREED_GWENNOS_BODY
607
608
609
610 TALKED_TO_GWANI_ABOUT_GWENNO
611
612 BAYANDA_GAVE_BUCKET
613
614
615
616
617
618 GWENNO_IS_DEAD
619
620 Tides are right for Mandrake root
621 Picked up Mandrake root from swamps
622 Asked Baraccus about swamps
623
624
625 Monks leave pews (They say Xenka calls, bells ring, ect.)
626
627
628
629 IOLO_GWENNO_REUNITED (Iolo and Gwenno are alive, sane and talked to each other)
630
631
632
633 TALKED_TO_GREAT_HIEROPHANT
634 STORM_PINECONE
635 STORM_STOCKINGS
636 STORM_URN
637 STORM_LAB_APPARATUS
638 STORM_PUMICE
639 STORM_WEDDING_RING
640 STORM_FUR_CAP
641 STORM_SLIPPERS
642 STORM_BREAST_PLATE
643 STORM_BLUE_EGG
644 STORM_GOBLIN_BRUSH
645 STORM_ICEWINE
646
647 STORM_FILARI
648 STORM_BEAR_SKULL
649 STORM_SEVERED_HAND
650 STORM_MONITOR_SHIELD
651 STORM_RUDDY_ROCK
652 KNOWS_PINECONE_OWNER
653 KNOWS_MOONSILK_OWNER
654 KNOWS_URN_ORIGIN
655 KNOWS_LAB_APPARATUS_OWNER
656 KNOWS_PUMICE_ORIGIN
657 KNOWS_RING_OWNER
658 KNOWS_FURCAP_OWNER
659 KNOWS_SLIPPERS_OWNER
660 KNOWS_BREAST_PLATE_OWNER
661 KNOWS_BLUE_EGG_OWNER
662 KNOWS_GOBLIN_BRUSH_ORIGIN
663 KNOWS_ICEWINE_ORIGIN
664
665 KNOWS_FILARI_OWNER
666 KNOWS_BEAR_SKULL_ORIGIN
667 KNOWS_SEVERED_HAND_OWNER
668 KNOWS_MONITOR_SHIELD_ORIGIN
669 KNOWS_STONEHEART_ORIGIN
670
671
672 HAS_CLUE_FURCAP
673
674 SHAMINO_MADE_EQUIPMENT_LIST
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706 Flicken opens gate
707 Have Hourglass
708
709
710
711
712
713
714
715
716
717 Placed lodestone of hate
718 Placed lodestone of happiness
719 Placed lodestone of despair
720 Placed lodestone of love
721
722
723
724
725
726
727
728
729
730
731
732 SERPENT_GWANI_HORN_SPEECH
733 SERPENT_GWENNO_BANE_SPEECH (GES talked about banes after Gwenno got resurrected)
734
735 Serpent speech about wizard and key
736
737 Serpent "free Gwenno" speech (picked up Gwani horn)
738
739
740
741
742
743
744
745
746
747
748
749
750 Used Amulet of Balance for the first time
751
752
753
754
755
756 Surok says he is busy
757 Red orb burned out
758 Purple orb burned out
759 Blue orb burned out
760 Yellow orb burned out
761
762
763 Have amulet of balance
764 Picked up Silver Seed
765 Planted Silver Seed (Karnax recognizes it is planted)
766 Cask is pulled out in Serpent's Fang basement
767
768 Have keyring
769
770
771
772
773
774
775
776
777
778
779
780
781 Talked to Isstanar (First conversation)
782
783
784
785
786
787 Planted Silver Seed (Recognized as Champion of Balance)
788
789
790
791
792 Set when Batlin dies (No know function yet. My guess is Guardian's speech about Batlin failing him)
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843 GAVE_FURCAP_BACK (New flag in SI Fixes Mod to fix bug with fur cap)

Re: Is there a "Flag" list and more?

Posted: Wed May 09, 2007 7:41 pm
by Malignant Manor
Forgot to say thanks.

Re: Is there a "Flag" list and more?

Posted: Wed May 09, 2007 8:45 pm
by marzo
(Oh yeah, the funny format is because I originally hoped the file could be included with Exult and Exult Studio, and used by those programs to display the actual names and descriptions of flags.)
There is still hope for that. I might add the list to SI Fixes, and the notebook's auto-notes could surely use them.

Re: Is there a "Flag" list and more?

Posted: Fri May 11, 2007 12:46 am
by Malignant Manor
The list is finally compiled. I didn't change hex in the descriptions and it needs rewording. I have a wiki site in mind, but am unable to cut and paste and keep line breaks so I haven't posted yet.




Serpent Isle Global Flag List

000 ? set in Dog function
001 ? set in FilbercioBarge function
002
003 STARTING_SPEECH
004 BANES_RELEASED
005 ? CanUseShips "Set true in Func0918 (something in Teleport Vale?)"
006 EQUIPMENT_EXCHANGED
007 TEMP_FLAG_1 (Temporary flag, used for a great many things)
008 TEMP_FLAG_2 (Temporary flag, used for a great many things)
009 TEMP_FLAG_3 (Temporary flag, used for a great many things)
010 TEMP_FLAG_4 (Temporary flag, used for a great many things)
011 CantAskAndralAboutFawn "Never set. Can only ask Andral about Fawn if false."
012 AskedAndralAboutInn "Spoke to Andral about the Sleeping Bull."
013
014
015 AskStefanoAboutBelongings "Stefano joined the party, didn't return items."
016 GWENNO_HAS_BELONGINGS
017 AskSelinaAboutBelongings
018
019 Boydon has belongings
020
021 AskPetraAboutBelongings/PetraInParty
022 AskWilfredAboutBelongings
023 DUPRE_HAS_BELONGINGS
024 SHAMINO_HAS_BELONGINGS
025 IOLO_HAS_BELONGINGS

26-40 are set when the corresponding copy protection question are asked so they aren't repeated.

026 9th Circle
027 Armor Materials
028 Beasts
029 Reagents
030 Mass Death
031 Ginsing
032 Create Automata
033 Reasons for Writing
034 Ophidian Writing
035 Other Landmarks
036 Cities Established
037 Principles of Balance
038 Clans of Monitor
039 Weapon Types
040 Words of Power
041
042 ? "Various"
043
044 HaveHelmOfMonitor "NPC's (Monitor) will assume you defeated the king of goblins, and recognize you as the Champion Knight."
045 Told Marsten that you serve Lord British
046
047 Marsten gave permission to take Test of Knighthood
048
049
050 Talked with Marsten (First conversation)
051 Talked with Caladin (First conversation)"Can ask people about the Test of Knighthood"
052
053 AskLydiaAboutPoison "Set by Harnna"
054 CanAccuseMarsten "Let's you accuse Marsten of something. Never set."
055
056 ProvedMarstenIsTraitor "Presented incriminating scroll to Monitorians, and they put Marsten in jail."
057
058
059 Caladin told you secrets about the test
060 Talked about test with Caladin "Know Marsten gives permission to take Knight's Test."
061 Brendann has propositioned you.
062 ? "used in many places"
063 Brendann "complimented" you on your tattoo.
064
065 DefeatedLuther "Luther now considers you a friend."
066 AskLutherAboutBully
067 Luther has challenged you (or you challenged him) to duel at the List Field
068 GOBLIN_SIMON_DEAD Simon admitted he was a goblin in disguise
069 HaveBrownBottleAndClue?
070 ? related to Helm of Monitor/Globins
071 CURED_CANTRA (Flag when Cantra is cured) "Set in a general healing function 0x8FE"
072 AVATAR_IS_KNIGHT
073
074 SLAIN_WOLF Finished the Knight's Test
075
076 ReturnedUrnToCaladin
077
078 KNOWS_KRAYG_WALKS_IN_WOODS
079
080
081
082
083 Courted Lucilla
084 Accepted rendezvous with Lucilla
085 KnowOfLucillaAndSpektor "Interrupted their rendezvous."
086 AskAndralAboutTheft "Set by Renfry when asked about theft, and mentioning a sage. Never checked."
087 KnowAboutCremating "Set by Renfry when asked about the Dead. Never checked."
088 AskedAndralAboutRob "He greets you friendlier after you ask him about the robbery, and Batlin."
089 AndralSpokeOfWilfred "Mentioned Wilfred will take care of Batlin. Never checked."
090 CuredPoison "Harnna has healed poison from Lydia's tattoo."
091 AgreedToFindCantra "Avatar offered to help Harnna find Cantra."
092 IdentifiedAleOfSimon?
093
094
095
096 AvatarGotTheShortStraw "Avatar has been chosen to sacrifice himself."
097 DupreSacrificed "Dupre has sacrificed himself."
098
099
100
101
102
103
104
105 MarstenDead? "Checked by Krayg. Never set."
106
107
108
109
110
111
112
113
114 CaladinDead? "Checked by 0x8EF. Never set."
115
116
117
118 KnowOfVaroLeaves "Harnna has said Varo leaves from Fawn are needed to cure poison."
119
120 IoloAddedToList "Iolo added notes to list of strange objects."
121 CantraKidnapped "Banquet ended. Avatar knows Cantra has been kidnapped."
122 HaveFishnetStockings? "Checked by Selina. Never set."
123 HaveFishnetStockings? "Checked by Bucia, Jendon, and Harnna. Never set."
124 ReturnedFishnetStockings? "Sometimes used with 7b or 19e, by Bucia, Alyssand, Jendon, and Harnna. Never set."
125 GaveWolfToCellia "Set when giving slain wolf to Cellia. This alone won't make her work on the cloak."
126 HaveWolfCloak "Cellia has given you the ceremonial fur cloak."
127 KnowMonitorClans "Someone explained the three Commands of Monitor."
128 AskSchmedAboutTest "Krayg has mentioned the Knight's Test."
129
130 KnowTestRules "Schmed has explained the Knight's Test rules."
131 MONITOR_TRAINING
132 Training "The training flag was set."
133 ExitTournament "We had just finished the tournament and were on our way to the list field door."
134
135
136
137
138 Lucilla or Brebdann gave gwani cloak. An npc_id must also be updated
139 ? "Set by 0x207, cleared by Cantra."
140 VisionOfCantra? "Set by 0x207. Checked by Harnna."
141 AskStandarrAboutBrunt "Brunt is a companion of Batlin that battled with Standarr."
142 KnowBatlinWasInMonitor "Set by Andral. Never checked."
143 AskLucillaAboutAndral "In regards to their relationship. Set by Andral."
144 RefusedToReturnUrn "Caladin thinks you are the thief."
145 GaveWolfToLucilla "Lucilla has the meat to prepare your banquet stew."
146 ProvedSpektorIsTraitor "Must incriminate Spektor & Marsten together to set this."
147 KnowMarstenIsTraitor
148 KnowSpektorIsTraitor "Read the scroll from Spektor to goblins."
149 CanUseCrystalBall? "Harnna has told you to look at the crystal ball."
150 CantraIsAlive "Told Harnna that Cantra is with the monks."
151 AskedTooMuch? "Set by 9AE after requesting some information. Checked by Harnna."
152 Poisoned "You've been infected by Lydia's tattoo."
153 AskBrendannAboutStockings
154 AskCaladinAboutUrn
155 AskKraygAboutPumice
156 AskLucillaAboutLostRing
157 AskCelliaAboutFurCap
158 AskKraygAboutSlippers
159 AskStandarrAboutBreastplate
160 AskTemplarAboutHairbrush
161 AskSimonAboutStrangeWine
162 AskSpektorAboutStrangeCoins
163 AskRenfryAboutHand
164 AskTemplarAboutGoblins
165 RenouncedBritish "Told Marsten you renounce Lord British."
166 AskKraygAboutRuins
167 AskSpektorAboutGwenno
168 AskShazzanaAboutSailor
169 Asked Flicken about strangers KnowIoloIsImprisoned
170 Talked to imprisoned Iolo
171
172 HAS_CLUE_MONITOR_SHIELD AskLutherAboutShield
173 Talked with Brendann about a traitor. LutherIsABraggart
174 LucillaSaysLutherIsRepulsive "When asked about this, Luther sets 0xb0."
175 CalledLutherABraggart "Set once you tell Luther, so you can't insult him again."
176 CalledLutherRepulsive "Set once you tell Luther, so you can't insult him again."
177 CalledLutherABully "Set once you tell Luther, so you can't insult him again."
178 HAS_DUPRE_SHIELD Tell Luther you found his shield, and return it
179 TellSpektorAboutTraitor "This means you didn't do enough investigation."
180 SpektorAdmitsHisCrimes "Spektor admitted he is the thief and was working with Marsten."
181 MarstenWontReleaseIolo "Spektor will try to get a bribe out of you if this is set."
182 KnowOfMonitorThief "People in Monitor have mentioned a thief. You can ask Spektor about it."
183 DUPRE_MADE_EQUIPMENT_LIST
184 TryTheAle "Drank Simon's Fawnish ale, but it wouldn't stay down."
185 PaidFineForIolo "Paid a fine to Spektor to release Iolo from jail."
186 AskStandarrAboutQuests "Can ask Standarr about Quests of Courage."
187 AskCaladinAboutTrainerUnused "Never set"
188 Asked Cantra about test AskCaladinAboutTrainer "Recommended by Cantra"
189 FreeIolo? "Set by Marsten when explaining who Iolo is."
190 PikemanPayment/AskRenfryAboutPayment "You have cremated a Pikeman's body and expect payment."
191 MONITOR_BANQUET_STARTED. FoundTestLocation? "Set by 0x1c3 when arriving at the Knight's Test."
192 KnowGoblinHideout "Goblin meeting place mentioned by Krayg."
193 HaveSpektorKey "Lucilla gave you Spektor's key."
194 Poisoned2? "Set if some flag is 0x1f. Can only request healing if Poisoned is also set."
195
196 BrendannGaveMeJailKey "Brendann gave you the key to Iolo's cell."
197 SchmedAttacks? "if not set, he first confesses; then he attacks the party; when he dies, he confesses if $4a/CompletedTestOfKnighthood is set and $c5 is set"
198 FoundCantrasFather
199 ToldHarnnaFoundScroll "You told Harnna about Cantra's father."
200
201 PikemanDied? (or player died?) "Pikeman with id 0x0E died" # ? in pikeman, if npc num is 0xe, and event is 0x7 and flag is false,# npc flag 1d is cleared # health is reduced ? #flag is set to true
202 LydiaConfesses "Lydia admitted poisoning you when you confronted her
203 AskLydiaAboutPoisonUnused "Set by Harnna. Never checked."
204 PomdirgunIsDead "You killed the goblin king. Never set."
205 MarstenGaveMeJailKey "Marsten gave you the key to Iolo's cell."
206 UsedFluxAnalyser? "Set by 0x1c8. You've upgraded the Demon Sword with this."
207 Arcadion in gem (unsets when you free him) ? set false when intentionally freeing arcadion and 0x992 is called, else 0x99d is called and if returns true, func8af is called
208 ? vanquish
209 ? vanquish
210 ? vanquish
211 WANTONESS_BANE_DEAD
212 ANARCHY_BANE_DEAD
213 INSANITY_BANE_DEAD
214 ? added with other flags in 8ff, never set
215 HaveTalkingScroll "Rotoluncia's automaton gave you a scroll."
216 AskedRoccoAboutRooms "The Blue Boar has simple, clean rooms. No ruffians allowed."
217 PothosReturned "Pothos has returned to Moonshade."
218 MeetFilbercio "Filbercio has agreed to meet with you, and will summon you."
219 Have spellbook "Given by Fedabiblio"
220 KnowErstamSecret "Avatar knows rumors of Erstam being Pothos' father."
221 HelpedPothos "Returned Bloodmoss to Pothos, who tells you about Erstam."
222 Talked with Fedabiblio about spellbooks KnowMandrakeIsOnMonkIsle
223 AskAboutMosh "Mosh says Columna stole her beauty comb."
224 HaveKeyToCatacombs "Julia gave catacombs key to Avatar."
225 HaveMagicHarp "Mosh gave Magic Harp to Avatar."
226
227
228 CanAskFedabiblioAboutExperiment
229 HaveMirrorOfTruth? (check 2d9)
230
231 HaveScrollToDelin "From Freli"
232 AgreeToHelpPothos "Avatar approached Pothos about his father, and agreed to find Blood Moss."
233 ScrollSpeaks "Opened the scroll from Rotoluncia."
234
235 ? HaveTorissiosWand
236 CanUseFilberciosBarge
237 KnowOfCatacombs "Avatar knows about passage to Furnace."
238 AskedColumnaAboutMosh
239
240 ShowEdrinInCrystalBall "The crystal ball!"
241 FreedFedabiblio "Released Fedabiblio from stone statue."
242 KnowAleIsEdrin "Fedabiblio explained scene in the crystal ball."
243 EdrinSpokeOfSiranush "Edrin told Avatar about his dreams of Siranush."
244
245
246 HaveSerpentScroll
247
248
249
250
251
252 HaveCrimeCertificate "Got permission to commit crime from Julia."
253
254 KnowOfFluxAnalyzer
255 KNOWS_OF_SOUL_GEMS
256 HaveHawksKey "Fedabiblio gives Avatar the key from Captain Hawk."
257
258
259
260 ShowedEggToBucia
261
262 KnowSeleniaBoughtFishnetStockings
263
264 CanAskHawkAboutPineCone
265
266 CanAskAboutBlueEgg "Can ask Hawk or Erstam about blue egg."
267 CanAskFedabiblioAboutPineCone?
268 CanAskFedabiblioAboutEgg
269
270 CanAskFedabiblioAboutSkull
271 CanAskTopoAboutUrn
272 HAS_CLUE_LAB_APPARATUS CanAskDucioAboutApparatus KnowApparatusOwnedByMage "Got more information on strange apparatus"
273 CanAskDucioAboutApparatus
274 CanAskFedabiblioAboutPumice
275 CanAskDucioAboutLostRing
276 CanAskMagesAboutSlippers
277 KnowMagesDontOwnSlippers
278 CanAskDucioAboutHairbrush
279 CanAskAboutHand "Can ask Erstam or Mortegro about bloody or severed hand"
280 CanAskErnestoAboutShield
281 ? KnowStoneheartIllegal
282 CanAskPothosAboutStoneheart
283
284 HaveEnergyGlobe1 "Got energy globe for lighting experiment."
285 HaveEnergyGlobe2 "Got energy globe for Ale to Edrin conversion."
286
287 RefuseToHelpPothos "Avatar approached Pothos about his father."
288 RangerDied (or player died?) # ?? in ranger code, if event is 7 and itemref is 1 clear itemref's flag 1d, reduce health?
289 RedLightning "Set true when you see red lightning in Gustacio's experiment."
290 YellowLightning "Set true when you see yellow lightning in Gustacio's experiment."
291 GreenLightning "Set true when you see green lightning in Gustacio's experiment."
292
293 InvitedByFrigidazzi
294
295 SoldStockings "Checked by Torrissio. Never set."
296 CompletedExperiment "Completed Gustacio's experiment, discovering Ale is Edrin. You can get the Mirror of Truth now."
297 ChristopherSeance "Mortegro performed seance to contact Christopher."
298 CanUseMagicCompass "You've read the book describing how the compass works."
299 SHAMINO_RESURRECTED_BY_MONKS ShaminoDied? "Set by 0x901. Everyone says he's been returned to us by the Monks."
300
301 SEEKING_SOUT_TRAP_SECRET CageBanes "Gwenno tells you to find out who gave Batlin the secret of trapping souls."
302 KnowOfFreedom "Pothos explained the Mountains of Freedom prison."
303 FlindoWillArrangeMeeting "Flindo agreed to arrange a meeting with the Filbercio."
304 FlindoArrangedMeeting "Set when you get the meeting with Filbercio. Flindo complains if you ask about it again."
305 GwennoSeance "Mortegro performed seance to contact Gwenno."
306 KnowOfSeance "Mortegro tells you he perfoms seances."
307 ? Checked by Rotoluncia to determine which threat she gives you, after kidnapping Iolo. Set near the end of the function.
308 IoloKidnapped "Set when Iolo is kidnapped by Rotoluncia."
309 AFTER_FREEDOM_NEWS ? CanSpeakToGustacio
310 ReturnedTorrissioWand "Returned Philanderer's Friend to Torrissio, in exchange for information on Worm Gems."
311 FindRockSerpent "Stefano has given you the key to his old house, to find the Rock Serpent."
312
313 PetraIsSad "Petra complained about Rocco being dead, and says her existence is pointless."
314 SHAMINO_TELEPORTED_BY_MONKS ? set in 0x1c7/MoonshadeTrial, checked by Shamino to add answer "How didst thou arrive?"
315 ReturnedStockings? "Torrissio steals the fishnet stockings from you."
316 NoReturnStockings "Refused to return fishnet stockings to Torrissio."
317 ? Set false in 0x2f7/CallGiantTurtle, and true by Pothos.
318 ? AskedBuciaManyQuestions set false when asking Bucia about information
319 AccuseMortregro "Mortegro has been named as a suspect in Iolo's kidnapping."
320 AskJuliaAboutKidnap
321 CanAskFilbercioAboutKidnap
322 SuspectTorrisioOfKidnap (Andrio suspects him)
323 PaidJuliaToInvestigateKidnap
324 ToldJuliaAboutKidnap
325 Iskatradeeth "Told password by Pothos. Only checked by Pothos."
326 ? set and checked in 0x8ff, which is called when saying Bye to people in Moonshade
327 KnowOfTorrisioWand "Can ask people about the Philanderer's Friend"
328
329 StefanoDied "Set false when speaking to him after he is resurrected."
330 HaveBirdCage "Gustacio gave Avatar cage to hold Ale in."
331 HAVE_CHILL_SPELL HaveColdSpellFromFrigidazzi "Adds 'key' option to Julia."
332 HAS_CLUE_RING KnowRingIsProbablyFromAlyssand "Got more information on lost ring"
333 FindFreli? "Told by Delin to find Freli with Fedabiblio. Set and cleared by Delin."
334 CLEARED_FAWN_TOWER
335 WelcomeToFawn? "Spoke to the Lady of Fawn about why you're there."
336 OfferedToDeliverDelphyniaLetter "Gave Delphynia a letter from Ruggs, and agreed to deliver one from her back to him."
337 GotMapFromScots "Got a free map from the geographer Scots."
338 OfferedToDeliverRuggsLetter "Agreed to deliver a letter from Ruggs to Delphynia."
339
340
341
342
343
344
345
346
347 AskedJorvinAboutPikemen "Jorvin asks if you are a pikeman if this is not set."
348 WelcomedByJorvin "Set when first talking to Jorvin, if Iolo played the lute he finds in Fawn."
349 KnowOfFawnAssassin "Can ask Jorvin or Kalen about assassin. Set when killing Kalen, and in 0x8ab."
350 KnowOracleIsFake "If set, Kylista will attack you when you talk to her. It is never set, however."
351 AskedLeonAboutFellowship "Leon explains the Fellowship."
352 AskedLeonAboutInnerVoice "Leon explains the Fellowship."
353 AskedLeonAboutTrust "Leon explains the Fellowship."
354 AskedLeonAboutUnity "Leon explains the Fellowship."
355 AskedLeonAboutWorthiness "Leon explains the Fellowship."
356 CanAskOlonAboutStorms "He's drunk enough to let you ask him about the storms. This depends on the return value of 0x942."
357 ? "If set, Olon won't speak to you until a timer reaches 3. Probably after he gets a drink. 'Go away, I'm not drunk enough yet.'"
358 ? "Set when an earthquake is created by 0x357."
359 WontHelpRuggs "Set after refusing to deliver Ruggs' letter."
360 ? "Something to do with Delphynia and Ruggs. If it is not set, Ruggs will exclaim that Delphynia is the most beautiful of all women."
361 AskedScotsAboutFellowship "Adds Fellowship response to Leon."
362 AskedScotsAboutLeon
363 exclusive to 0x357
364 exclusive to 0x357
365 exclusive to 0x357
366 OracleSaysInnocent "Oracle just says defendant is innocent."
367 OracleSaysTrialIsCorrupt "Oracle says the trial is corrupt."
368
369 FawnTrialRecess "Set when the defendant is named, and cleared when the trial starts."
370 FawnConspiracyExposed?
371 DupreAccused "Dupre will stand trial in Fawn."
372 IoloAccused "Iolo will stand trial in Fawn."
373 ShaminoAccused "Shamino will stand trial in Fawn."
374 ? FawnTrial
375 ? FawnTrial
376 ? FawnTrial
377 ? FawnTrial
378 ? FawnTrial
379 ? FawnTrial
380 ? FawnTrial
381 ? FawnTrial
382 ? FawnTrial
383 ? FawnTrial
384 ? FawnTrial
385 ? FawnTrial
386 ? FawnTrial
387
388
389
390
391 ? set in 0x400, clearned in 0x7dc
392
393 AskedYelindaAboutFawn
394 AskedYelindaAboutOracle
395 OlonAskedIoloToSing
396 ? Olon will ask "Art thou a bard?" Set in 0x6bc upon a music change and the beginning of a storm.
397 AskedDelinAboutFreli "Adds Delin to Freli's list of responses."
398 CanAskZulithAboutSpying "Set when noticing Zulith following the party."
399 AskedZulithAboutSpying "You can now ask Alyssand about Zulith."
400 IoloPlayedInFawn "Wait, sailor! I shall sing thee mine heart's one song..."
401 AskOlonAboutPinecone "Mentioned by Jendon."
402 AskAlyssandAboutMoonsilkStockings "Mentioned by Jendon."
403 AskDelphyniaAboutApparatus "Mentioned by Jendon."
404 AskDelphyniaAboutPumice "Mentioned by Jendon."
405 AskDelinAboutFurCap "Jendon."
406 AskDelinAboutSlippers "Jendon."
407 AskDelphyniaAboutEgg "Jendon."
408 AskJorvinAboutHairbrush "Jendon."
409 Ask43AAboutDeadCat "Adds dead cat response. Never set. Negated by $298."
410 AskDelinAboutCoins "Jendon. Never checked!"
411 AskJorvinAboutSkull "Jendon."
412 AskJorvinAboutShield "Plain Shield mentioned by Jendon."
413 AskDelphyniaAboutRock "Flaming rock mentioned by Jendon."
414 AskAlyssandAboutFishnetStockings "Jendon."
415 AskedJendonAboutMonitor
416 ? checked when buying from someone, # set when talking to Hawk
417 DelinShopDiscount? "Get a one time discount at Delin's shop after delivering a letter from Freli to him. $E7 and $14D are cleared when this is set."
418 UsedShopDiscount "Avatar bought something from Delin with his half-price discount."
419 DeliveredRuggsLetter
420 HaveGauntlets "Returned by Alyssand"
421 HaveVaroLeaves "Got from Delphynia."
422 FoundOracleControls? "Set by util/0x6e0. Forgot which NPC uses it. -_-;"
423 ? checked in 0x43b, adds "letter" answer
424 FoundAccusedInFawn "Told by Alyssand where your companion is being held."
425 AskOlonAboutGwani "Jendon."
426 ?AskedJendonAboutStrangeObjects "checked in 0x7fb"
427 ? Told about Gwani in 0x7fb. Checked in 0x7fc to add "savages" answer.
428 ? 0x7fb mentioned serpent ruins, add answer "ancient runes" to 0x7fc
429 ? 0x7fb mentioned strange objects, add answer to 0x7fc
430 BoughtVaroLeaves "Checked in 0x7fc, adding to Fawn Trial accusations."
431 ?SeenWithAlyssand/AlyssandToTestify "Set by 0x7fc if Alyssand is there. Checked in 0x7fc."
432 ? somebody is called to witness twice at the trial
433 FoundYelindaAfterDestruction "Told by 0x43b where Yelinda is. Checked in 0x36a."
434 ?ReturnedEngangementRing "Told Alyssand about ring."
435 AskedToJoinTheCause? "Asked by Alyssand."
436 AlyssandFlirted "Causes her to demand a kiss when you expose the trial as a fraud."
437 ? Checked by 0x437. Set if NPC 0xFFFD/-3 is nearby and has flag 6 set true.
438 ? Set in 0x8aa, checked by 0x435.
439 StartPheonixQuest "Agreed to bring Erstam a pheonix egg... and sent to the quest immediately!"
440 BroughtPheonixEgg "Brought pheonix egg back to Erstam."
441 MayBoydonJoin "Boydon wants to join party. Avatar must ask Erstam"
442 BoydonMayJoin "Erstam gave permission for Boydon to join party."
443 ? CreatedBoydon
444 ? KnowOfPheonixEgg
445 HaveSerpentJawbone
446 KnowOfTeleportation "Set when asking 0x423 about the topic. Adds answers in 0x423 and 0x424."
447 Iskatradeeth "Gave password to Erstam so he'll talk to you."
448 BoydonSpeaks "Boydon has greeted the party."
449 KnowOfJawbone "Adds jawbone answer to Erstam."
450 FoundJawbone "Told Erstam you've found the jawbone, and recieved a serpent's tooth."
451 HaveAnotherTooth(toErstam) "Erstam gave another serpent's tooth as a token of appreciation."
452 AndAnotherTooth(toAnotherPlace?) "Erstam gave you a third serpent's tooth."
453 ErstamsExperiments "Adds experiments answer to Erstam."
454 ErstamSeeksImmortality "Adds immortality answer to Erstam."
455 RiddleOfLifeAndDeath "Erstam explains how to answer the riddle."
456 DisturbErstam "Adds Disturb? answer to Erstam."
457 HaveStoreroomKey "Erstam gave Avatar the key to his storeroom."
458 KnowOfArgus? "Adds Argus (with $AvatarKnighted) to conversation of 0x44f. Never set."
459 RidingShip "Travelling on a ship. Don't allow use of gangplank."
460 TravelledToMoonshade "Journeyed on the Arabella to Moonshade."
461 KnowOfHawk "Captain Hawk was mentioned by someone as being imprisoned. Checked in 0xE4/Pikemen."
462 CanPayBullTowerRansom "Given opportunity to pay fine for Captain Hawk."
463 ResumeFalseQuest "Set when asking Selina about key or resume quest. Never checked."
464
465 PaidBullTowerRansom
466
467 HEARD_BEATRIX_SONG
468 HEARD_MOUNTAIN_SONG
469 HEARD_GWANI_SONG
470 HEARD_FOREST_MASTER_SONG
471 HEARD_DREAM_SONG
472 HEARD_WHITE_DRAGON_SONG
473 AskArgusAboutDuelAndBribes? "set by 0x42d"
474
475
476
477
478
479
480 ? set true or false in 0x314, checked in 0x314
481 WilfredInParty "Wilfred has joined the party."
482 WilfredRunsAway
483 WilfredKicked "Asked Wilfred to leave the party."
484 AngusClues? "Set by 0x429. Never checked."
485 HaveBankKey "Started quest with Selina, and given key."
486 SelinaLeft "Avatar reached the bank and Selina has disappeared."
487 LookForBankAgain "Set true after apologizing to Selina for going the wrong way. Set false when going the wrong way."
488 ? something to do with fighting Selina
489 ReturnedSlippers
490 AmbushedAtBank "Avatar reached the bank."
491 PassedLogicTest? "Didn't go through the gate with Iolo in the test of Zhelkas."
492 PassedEthicalityTest? "Pushed the right button in the test of Zhelkas."
493 PassedVirtueTest? "Didn't follow Dupre in the test of Zhelkas."
494 FailedEthicalityTest
495 RefusedGargoyleTest? "Checked by Zhelkas. Never set."
496 ? something about logic test
497 ? something about logic test
498 ? something about logic test
499 StartedVirtueTest?
500 StartedAttackingWorms?
501 ? set and checked with $1f4
502 ? set and checked with $1f5
503 ? set with $1f6
504 ? checked with $1f7 and set with $1f7 and $1ed
505 Picked up Serpent Staff
506 ExplainedLogicTest? "Zhelkas explained the test of logic."
507 FinishedGargoyleTest "Teleported back to pillars."
508 UsingFreezeSpell? "Keeps you cool at Furnace."
509 GreetedGargoyles "Introduced yourself as The Avatar in 0x4aa."
510 HelpGargoyles "Gargoyles have asked you to enter their realm and seek the pillars."
511 LeaveFurnace "Removes answer leave Furnace from 0x876 when set."
512 PassedGargoyleTest "Told to get the goblet of replenishing water."
513 ReturnedGoblet "Found and brought the goblet to Zhelkas."
514
515
516
517
518 SleepingEmps "Found a hall of sleeping daemons, reminiscent of the Emps in Britannia."
519 HaveRingFromZhelkas
520
521
522
523
524
525 ? something about dream crystal and edrin
526 FindArtifactOfCourage "Set with $20f and $210 by 0x4b6. Never checked."
527 FindArtifactOfLove "Set with $20e and $210 by 0x4b6. Never checked."
528 FindArtifactOfTruth "Set with $20e and $20f by 0x4b6. Never checked."
529 CompletedQuestOfArtifacts "Checked by Harnna."
530 ReturnedCombOfBeauty "Gave comb of Beauty to Yelinda."
531 410MetSiranush? "Checked by 0x410. Never set."
532 RefusedMortegro "Avatar said no to rescuing Mortegro. He can return later."
533 RescuedMortegro? "Lowered Temple of Tolerance drawbridge to Mortegro"
534 RescuedMortegro? "Lowered Temple of Tolerance drawbridge to Mortegro"
535 StartSecondEthicalityTest "Doing second Test of Ethicality"
536 ? related to test of ethicality
537 ? set when completed test of ethicality
538 StartFirstEthicalityTest "Began the Test of Ethicality"
539 ? CompleteEthicalityTest
540 ? CompleteFirstEthicalityTest "Succeeded in first part of the test"
541 ? CompleteSecondEthicalityTest "Succeeded in second part of the test"
542 StartFinalEthicalityTest "Doing final Test of Ethicality"
543 ? CompleteEthicalityTest
544
545
546
547
548
549
550 Acid dialog option with Petra AskPetraAboutAcid? (and !item_flag(0xffe4, 6)) (declines to help $270 is set)
551 Read Body Transference
552
553
554
555 TALKED_TO_CHAOS_HIEROPHANT "Set when Avatar first meets the Hierophant."
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572 Picked up flux analyzer
573 Picked up Philanderer's Friend
574
575
576
577
578 HealedChaosSerpent
579
580
581
582
583
584 Read Parting Verses
585
586
587
588
589 Have Serpent Sceptre
590 Selina is dead
591 Looked into Moon's Eye
592
593 Passed test of order
594 Read The Structure of Order
595
596
597
598
599
600
601
602
603 BEATRIX_PROTECTION
604 BEATRIX_FORGAVE_SHAMINO
605
606 ReturnedGwaniAmulet "Gave amulet of Baiyanda to Yenani."
607 FREED_GWENNOS_BODY
608
609 NeedGwaniAmulet "Avatar knows that Hazard stole amulet of Baiyanda."
610 TALKED_TO_GWANI_ABOUT_GWENNO
611
612 BAYANDA_GAVE_BUCKET
613
614
615
616 AskDucioAboutWormGem "Ducio will make worm gems if set."
617
618 GWENNO_IS_DEAD
619
620 Tides are right for Mandrake root
621 Picked up Mandrake root from swamps
622 Asked Baraccus about swamps
623 ? something in test of ethicality
624 ? XenkaReturned "XenkaMonk has returned to Monk Isle"
625 Monks leave pews (They say Xenka calls, bells ring, ect.)
626
627
628
629 IOLO_GWENNO_REUNITED (Iolo and Gwenno are alive, sane and talked to each other)
630
631
632 ? NeedSerpentStaff "Order Hierophant says Avatar needs his staff."
633 SummonedOrderHierophant "Spoke to Hierophant of Order"
634 "Pinecone is on list of strange objects"
635 "Stockings are on list of strange objects"
636 "Urn is on list of strange objects (as a vase)"
637 "Strange apparatus is on list of strange objects"
638 "Pumice is on list of strange objects (as a rock)"
639 "A finely crafted ring is on list of strange objects"
640 "Woman's fur cap is on list of strange objects"
641 "Slippers is on list of strange objects"
642 "Enameled breastplate is on list of strange objects"
643 "Blue egg is on list of strange objects"
644 "A crude brush is on list of strange objects"
645 "Ice wine is on list of strange objects"
646
647 "Filari is on list of strange objects (as strange baubles)"
648 "Animal skull is on list of strange objects"
649 "Bloody hand is on list of strange objects"
650 "Monitorian shield is on list of strange objects"
651 "Stoneheart is on list of strange objects"
652 KnowPineconeIsFromNorthernForest "Got all information on pinecone"
653 KnowColumnaOwnsMoonsilkStockings "Showed stockings to Bucia"
654 KnowUrnIsFromMonito "Got all information on urn"
655 KnowErstamOwnsApparatus "Got all information on strange apparatus"
656 KnowPumiceIsFromFieryDungeon "Got all information on pumice" # ? if $29e and $29f is set, $290 is set
657 KnowAlyssandOwnsRing "Got all information on lost ring"
658 KnowFrigidazziOwnsFurCap "Got all information on woman's fur cap" # ? if $2a0 and $2a1 are set, this is set # set to false when giving fur cap to frigidazzi
659 KnowDevraOwnsSlippers "Got all information on slippers"
660 KnowKylistaOwnsBreastplate "Got all information on enameled breastplate"
661 KnowPenguinOwnsEgg "Got all information on blue egg"
662 KnowBrushIsFromGoblins "Got all information on a crude brush"
663 KnowWineIsFromMoonshade "Got all information on ice wine"
664
665 KnowFilariIsFromFawn "Got all information on Filari"
666 KnowSkullIsFromWestCoast "Got all information on animal skull"
667 KnowErstamOwnsBloodyHand "Got all informaiton on bloody hand"
668 KnowShieldIsFromMonitor "Got all information on Monitorian shield"
669 KnowRuddyRockIsStoneheart "Got all information on Stoneheart"
670 KnowPumiceIsFromFieryDungeon? (290)
671 ? if $29e and $29f is set, $290 is set
672 KnowFurCapBoughtByFilbercio "Got more information on fur cap" # ? if this is true when $2a1 is set, $292 is set
673 KnowOfFrigidazzi "Told about Frigidazzi by Bucia."
674 SHAMINO_MADE_EQUIPMENT_LIST "Found Shamino after the storms, and he explained the situation."
675 ? Set in 0x7ae if Shamino's quality is 7, and checked after you pass an illusionary wall and enter a cave near the start of the game, slightly changing what he says
676
677
678 exclusive to 0x71f
679 exclusive to 0x71f
680 exclusive to 0x71f
681 exclusive to 0x71e
682 exclusive to 0x71e
683
684
685
686
687
688
689
690
691
692 exclusive to 0x724
693 exclusive to 0x724
694 exclusive to 0x724
695 exclusive to 0x724
696
697 KnowAboutKingsSavior "Beryl tells you to meet with the Forest Master."
698 OfferedToReturnOrb "Accepted quest from Morghrim to get his orb back."
699 ReturnedOrbToMorghrim "Returned the Heart of Elerian to Morghrim."
700 ? Something related to attacking Draygan
701 SpokeToBerylAboutDraygan "Met with Beryl privately and she told you about Draygan."
702 ? DrayganAttention "Set whenever Draygan warns you or Beryl. Cleared when speaking to Beryl privately. May be related to pathfinding."
703 BroughtSleepArrow "Prepared a sleep arrow for Draygan and brought it to Beryl."
704 BroughtKingsSavior "Got King's Savior plant and recieved further instructions from Beryl."
705
706 Flicken opens gate
707 Have Hourglass
708
709
710
711 ? Something to do with the Test of Virtue?
712
713
714
715
716
717 Placed lodestone of hate
718 Placed lodestone of happiness
719 Placed lodestone of despair
720 Placed lodestone of love
721
722
723
724
725
726
727
728
729 HaveMirrorOfTruth? (check e5)
730
731
732 SERPENT_GWANI_HORN_SPEECH
733 SERPENT_GWENNO_BANE_SPEECH (GES talked about banes after Gwenno got resurrected)
734
735 Serpent speech about wizard and key
736
737 Serpent "free Gwenno" speech (picked up Gwani horn)
738
739
740
741
742
743
744
745
746
747
748
749
750 Used Amulet of Balance for the first time (?? set in 0x3BB)
751
752
753
754
755
756 Surok says he is busy
757 Red orb burned out
758 Purple orb burned out
759 Blue orb burned out
760 Yellow orb burned out
761
762 ? AskYurelAboutCheese "Can ask to offer cheese to Yurel"
763 Have amulet of balance
764 Picked up Silver Seed
765 Planted Silver Seed (Karnax recognizes it is planted)
766 Cask is pulled out in Serpent's Fang basement
767
768 Have keyring
769
770
771
772
773
774
775
776
777
778
779
780
781 Talked to Isstanar (First conversation)
782 SSHaveMazeOrb "Got orb from Yurel"
783
784
785
786
787 Planted Silver Seed (Recognized as Champion of Balance)
788
789
790
791
792 Set when Batlin dies (No know function yet. My guess is Guardian's speech about Batlin failing him)
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843 GAVE_FURCAP_BACK (New flag in SI Fixes Mod to fix bug with fur cap)

2c2 AskedThoxaAboutPower "Thoxa tells you about the three artifacts needed." Conflicts with my info (typo for 2c3?)

Re: Is there a "Flag" list and more?

Posted: Fri May 11, 2007 8:01 am
by SB-X
Cool! That's great, thanks! The hex numbers in descriptions were meant to be replaced anyway, but I didn't finish that. Anything that starts with "0x" is a function number and I either hadn't come up with a name yet, or didn't know what NPC it was referring to, and numbers that start with "$" refer to other flags.
Also flag names that start with "CanAsk..." were supposed to be changed to "Ask..." and I just forgot about it. (trying to keep a somewhat consistent format going) Of course these aren't related to those that start with "Asked..."

Somehow the names/identifiers for 634 to 651 (perhaps others?) got deleted. Here they are again:

Code: Select all

27a  PineconeListed    "Pinecone is on list of strange objects"
27b  StockingsListed   "Stockings are on list of strange objects"
27c  UrnListed         "Urn is on list of strange objects (as a vase)"
27d  ApparatusListed   "Strange apparatus is on list of strange objects"
27e  PumiceListed      "Pumice is on list of strange objects (as a rock)"
27f  RingListed        "A finely crafted ring is on list of strange objects"
280  FurCapListed      "Woman's fur cap is on list of strange objects"
281  SlippersListed    "Slippers is on list of strange objects"
282  BreastplateListed "Enameled breastplate is on list of strange objects"
283  BlueEggListed     "Blue egg is on list of strange objects"
284  BrushListed       "A crude brush is on list of strange objects"
285  WineListed        "Ice wine is on list of strange objects"
287  FilariListed    "Filari is on list of strange objects (as strange baubles)"
288  SkullListed     "Animal skull is on list of strange objects"
289  BloodyHandListed "Bloody hand is on list of strange objects"
28a  ShieldListed     "Monitorian shield is on list of strange objects"
28b  RuddyRockListed  "Stoneheart is on list of strange objects"
Don't know anything about 0x2c2/2c3; would have to look at the usecode again.

I don't think it is machine-readable in its current form still, mostly because I left a lot of question marks and slashes where the names should be.

Re: Is there a "Flag" list and more?

Posted: Tue Jun 14, 2016 6:15 pm
by Knight Captain
Here's the last copy of SB-X's siflags.txt that I could only find via:
http://archive.is/buXBl

This is the most complete list I have seen so far, as it includes the flag to ask Delin about Batlin. Maybe we can merge these into one master list?

What is the logic to why SOME_THINGS are capitalized and others not?

Code: Select all

# Serpent Isle + Silver Seed
# Flags list by SB-X (email removed) / 2007-05-09
0    ? set in Dog function
1    ? set in FilbercioBarge function
3    HadFirstConv  "True when Iolo speaks to Avatar after first teleport storm"
4    BanesReleased
5    ? CanUseShips "Set true in Func0918 (something in Teleport Vale?)"
6    PassedTeleportVale "Avatar/Party has been hit by initial teleport storm."
7    Temp1Flag
8    Temp2Flag
9    Temp3Flag
a    Temp4Flag
b    CantAskAndralAboutFawn "Never set. Can only ask Andral about Fawn if false."
c    AskedAndralAboutInn    "Spoke to Andral about the Sleeping Bull."
d    ?
e    ?
f    AskStefanoAboutBelongings "Stefano joined the party, didn't return items."
10   AskGwennoAboutBelongings  "Gwenno joined the party, didn't return items."
11   AskSelinaAboutBelongings
13   AskBoydonAboutBelongings
15   AskPetraAboutBelongings/PetraInParty
16   AskWilfredAboutBelongings
17   AskDupreAboutBelongings
18   AskShaminoAboutBelongings
19   AskIoloAboutBelongings
1a   CopyProtectQuestion1  "Avatar has been asked copy-protection question #1."
1b   CopyProtectQuestion2
1c   CopyProtectQuestion3
1d   CopyProtectQuestion4
1e   CopyProtectQuestion5
1f   CopyProtectQuestion6
20   CopyProtectQuestion7
21   CopyProtectQuestion8
22   CopyProtectQuestion9
23   CopyProtectQuestion10
24   CopyProtectQuestion11
25   CopyProtectQuestion12
26   CopyProtectQuestion13
27   CopyProtectQuestion14
28   CopyProtectQuestion15
2a   ? "Various"
2c   HaveHelmOfMonitor "NPC's (Monitor) will assume you defeated the king of goblins, and recognize you as the Champion Knight."
2d   IServeLordBritish		"Told Marsten your true loyalties."
2f   KnowTestPassword		"Gotten permission from Marsten to take Knight's Test. `Courage is the Soul of Life'"
32   AstridFuneralComplete	"Spoke to Marsten at Astrid's funeral. Can ask about enchanter Iolo, and Gwenno."
33   KnowOfTest 		"Can ask people about the Test of Knighthood"
35   AskLydiaAboutPoison	"Set by Harnna"
36   CanAccuseMarsten		"Let's you accuse Marsten of something. Never set."
38   ProvedMarstenIsTraitor	"Presented incriminating scroll to Monitorians, and they put Marsten in jail."
3b   AskedCaladinAboutTestSecrets "Gotten clues on Knight's Test from Caladin."
3c   AskMarstenForPermission	"Know Marsten gives permission to take Knight's Test."
3d   AskBrendannToSpar		"Brendann has propositioned you."
3e   ? "used in many places"
3f   BrendannNoticedTattoo	"Brendann "complimented" you on your tattoo."
41   DefeatedLuther		"Luther now considers you a friend."
42   AskLutherAboutBully
43   ChallengedLuther		"Luther has challenged you (or you challenged him) to duel at the List Field."
44   ProvedSimonIsTraitor	"Simon admitted he was a goblin in disguise."
45   HaveBrownBottleAndClue?5f	"Fawnish ale identical to one at Monitor Inn"
46   ? related to Helm of Monitor/Globins
47   HealedCantra "Set in a general healing function 0x8FE"
48   AvatarKnighted "Knight's Banquet ended"
4a   CompletedTestOfKnighthood "Finished the Knight's Test"
4c   ReturnedUrnToCaladin
4e   AskKraygAboutWalks "Krayg is accused of being a spy."
53   AskLucillaAboutRendezvous "LUcilla has propositioned you."
54   AgreedToMeetLucilla "You agree to rendezvous with Lucilla."
55   KnowOfLucillaAndSpektor "Interrupted their rendezvous."
56   AskAndralAboutTheft "Set by Renfry when asked about theft, and mentioning a sage. Never checked."
57   KnowAboutCremating "Set by Renfry when asked about the Dead. Never checked."
58   AskedAndralAboutRob "He greets you friendlier after you ask him about the robbery, and Batlin."
59   AndralSpokeOfWilfred "Mentioned Wilfred will take care of Batlin. Never checked."
5a   CuredPoison "Harnna has healed poison from Lydia's tattoo."
5b   AgreedToFindCantra "Avatar offered to help Harnna find Cantra."
5f   IdentifiedAleOfSimon?45 "Fawnish ale identical to one at Monitor Inn"
60   AvatarGotTheShortStraw "Avatar has been chosen to sacrifice himself."
61   DupreSacrificed "Dupre has sacrificed himself."
69   MarstenDead? "Checked by Krayg. Never set."
72   CaladinDead? "Checked by 0x8EF. Never set."
76   KnowOfVaroLeaves "Harnna has said Varo leaves from Fawn are needed to cure poison."
78   IoloAddedToList "Iolo added notes to list of strange objects."
79   CantraKidnapped "Banquet ended. Avatar knows Cantra has been kidnapped."
7a   HaveFishnetStockings? "Checked by Selina. Never set."
7b   HaveFishnetStockings? "Checked by Bucia, Jendon, and Harnna. Never set."
7c   ReturnedFishnetStockings? "Sometimes used with 7b or 19e, by Bucia, Alyssand, Jendon, and Harnna. Never set."
7d   GaveWolfToCellia "Set when giving slain wolf to Cellia. This alone won't make her work on the cloak."
7e   HaveWolfCloak "Cellia has given you the ceremonial fur cloak."
7f   KnowMonitorClans "Someone explained the three Commands of Monitor."
80   AskSchmedAboutTest "Krayg has mentioned the Knight's Test."
82   KnowTestRules "Schmed has explained the Knight's Test rules."
83   Tournament     "And, of course, the tournament flag was set."
84   Training       "The training flag was set."
85   ExitTournament "We had just finished the tournament and were on our way to the list field door."
8a   DidRendezvous "Got a gift from Lucilla or Brendann. An npc_id must also be updated."
8b   ? "Set by 0x207, cleared by Cantra."
8c   VisionOfCantra? "Set by 0x207. Checked by Harnna."
8d   AskStandarrAboutBrunt "Brunt is a companion of Batlin that battled with Standarr."
8e   KnowBatlinWasInMonitor "Set by Andral. Never checked."
8f   AskLucillaAboutAndral "In regards to their relationship. Set by Andral."
90   RefusedToReturnUrn "Caladin thinks you are the thief."
91   GaveWolfToLucilla "Lucilla has the meat to prepare your banquet stew."
92   ProvedSpektorIsTraitor "Must incriminate Spektor & Marsten together to set this."
93   KnowMarstenIsTraitor
94   KnowSpektorIsTraitor "Read the scroll from Spektor to goblins."
95   CanUseCrystalBall? "Harnna has told you to look at the crystal ball."
96   CantraIsAlive "Told Harnna that Cantra is with the monks."
97   AskedTooMuch? "Set by 9AE after requesting some information. Checked by Harnna."
98   Poisoned "You've been infected by Lydia's tattoo."
99   AskBrendannAboutStockings
9a   AskCaladinAboutUrn
9b   AskKraygAboutPumice
9c   AskLucillaAboutLostRing
9d   AskCelliaAboutFurCap
9e   AskKraygAboutSlippers
9f   AskStandarrAboutBreastplate
a0   AskTemplarAboutHairbrush
a1   AskSimonAboutStrangeWine
a2   AskSpektorAboutStrangeCoins
a3   AskRenfryAboutHand
a4   AskTemplarAboutGoblins
a5   RenouncedBritish "Told Marsten you renounce Lord British."
a6   AskKraygAboutRuins
a7   AskSpektorAboutGwenno
a8   AskShazzanaAboutSailor
a9   KnowIoloIsImprisoned "Monitorians say they've imprisoned an enchanter."
aa   SpokeToImprisonedIolo
ac   AskLutherAboutShield
ad   LutherIsABraggart
ae   LucillaSaysLutherIsRepulsive "When asked about this, Luther sets 0xb0."
af   CalledLutherABraggart "Set once you tell Luther, so you can't insult him again."
b0   CalledLutherRepulsive "Set once you tell Luther, so you can't insult him again."
b1   CalledLutherABully "Set once you tell Luther, so you can't insult him again."
b2   ReturnedShieldToLuther "Tell Luther you found his shield, and return it."
b3   TellSpektorAboutTraitor "This means you didn't do enough investigation."
b4   SpektorAdmitsHisCrimes "Spektor admitted he is the thief and was working with Marsten."
b5   MarstenWontReleaseIolo "Spektor will try to get a bribe out of you if this is set."
b6   KnowOfMonitorThief "People in Monitor have mentioned a thief. You can ask Spektor about it."
b7   FoundDupre "Found Dupre at Monitor, and he has added to the list of strange objects."
b8   TryTheAle "Drank Simon's Fawnish ale, but it wouldn't stay down."
b9   PaidFineForIolo "Paid a fine to Spektor to release Iolo from jail."
ba   AskStandarrAboutQuests "Can ask Standarr about Quests of Courage."
bb   AskCaladinAboutTrainerUnused "Never set"
bc   AskCaladinAboutTrainer "Recommended by Cantra"
bd   FreeIolo? "Set by Marsten when explaining who Iolo is."
be   PikemanPayment/AskRenfryAboutPayment "You have cremated a Pikeman's body and expect payment."
bf   FoundTestLocation? "Set by 0x1c3 when arriving at the Knight's Test."
c0   KnowGoblinHideout "Goblin meeting place mentioned by Krayg."
c1   HaveSpektorKey "Lucilla gave you Spektor's key."
c2   Poisoned2? "Set if some flag is 0x1f. Can only request healing if Poisoned is also set."
c4   BrendannGaveMeJailKey "Brendann gave you the key to Iolo's cell."
c5   SchmedAttacks? "if not set, he first confesses; then he attacks the party; when he dies, he confesses if $4a/CompletedTestOfKnighthood is set and $c5 is set"
c6   FoundCantrasFather
c7   ToldHarnnaFoundScroll "You told Harnna about Cantra's father."
c8
c9   PikemanDied? (or player died?) "Pikeman with id 0x0E died"
#    ? in pikeman, if npc num is 0xe, and event is 0x7 and flag is false:
#      npc flag 1d is cleared
#      health is reduced ?
#      flag is set to true
ca   LydiaConfesses "Lydia admitted poisoning you when you confronted her."
cb   AskLydiaAboutPoisonUnused "Set by Harnna. Never checked."
cc   PomdirgunIsDead "You killed the goblin king. Never set."
cd   MarstenGaveMeJailKey "Marsten gave you the key to Iolo's cell."
ce   UsedFluxAnalyser? "Set by 0x1c8. You've upgraded the Demon Sword with this."
cf   ? set false when intentionally freeing arcadion and 0x992 is called, else 0x99d is called and if returns true, func8af is called
d0   ? vanquish
d1   ? vanquish
d2   ? vanquish
d3   ? vanquish (all)
d4   ? banes
d5   ? bells? vanquish gwenno bane
d6   ? added with other flags in 8ff, never set
d7   HaveTalkingScroll    "Rotoluncia's automaton gave you a scroll."
d8   AskedRoccoAboutRooms "The Blue Boar has simple, clean rooms. No ruffians allowed."
d9   PothosReturned     "Pothos has returned to Moonshade."
da   MeetFilbercio      "Filbercio has agreed to meet with you, and will summon you."
db   HaveSpellbook      "Given by Fedabiblio"
dc   KnowErstamSecret   "Avatar knows rumors of Erstam being Pothos' father."
dd   HelpedPothos       "Returned Bloodmoss to Pothos, who tells you about Erstam."
de   KnowMandrakeIsOnMonkIsle
df   AskAboutMosh       "Mosh says Columna stole her beauty comb."
e0   HaveKeyToCatacombs "Julia gave catacombs key to Avatar."
e1   HaveMagicHarp      "Mosh gave Magic Harp to Avatar."
e2
e3
e4   CanAskFedabiblioAboutExperiment
e5   HaveMirrorOfTruth? (check 2d9)
e6
e7   HaveScrollToDelin "From Freli"
e8   AgreeToHelpPothos "Avatar approached Pothos about his father, and agreed to find Blood Moss."
e9   ScrollSpeaks "Opened the scroll from Rotoluncia."
ea
eb   ? HaveTorissiosWand
ec   CanUseFilberciosBarge
ed   KnowOfCatacombs       "Avatar knows about passage to Furnace."
ee   AskedColumnaAboutMosh
ef
f0   ShowEdrinInCrystalBall "The crystal ball!"
f1   FreedFedabiblio        "Released Fedabiblio from stone statue."
f2   KnowAleIsEdrin         "Fedabiblio explained scene in the crystal ball."
f3   EdrinSpokeOfSiranush   "Edrin told Avatar about his dreams of Siranush."
f4
f5
f6   HaveSerpentScroll
fa
fb
fc   HaveCrimeCertificate "Got permission to commit crime from Julia."
fe   KnowOfFluxAnalyzer
ff
100  HaveHawksKey "Fedabiblio gives Avatar the key from Captain Hawk."
103
104  ShowedEggToBucia
106  KnowSeleniaBoughtFishnetStockings
108  CanAskHawkAboutPineCone
10a  CanAskAboutBlueEgg "Can ask Hawk or Erstam about blue egg."
10b  CanAskFedabiblioAboutPineCone?
10c  CanAskFedabiblioAboutEgg
10e  CanAskFedabiblioAboutSkull
10f  CanAskTopoAboutUrn
110  KnowApparatusOwnedByMage "Got more information on strange apparatus"
111  CanAskDucioAboutApparatus
112  CanAskFedabiblioAboutPumice
113  CanAskDucioAboutLostRing
114  CanAskMagesAboutSlippers
115  KnowMagesDontOwnSlippers
116  CanAskDucioAboutHairbrush
117  CanAskAboutHand "Can ask Erstam or Mortegro about bloody or severed hand"
118  CanAskErnestoAboutShield
119  ? KnowStoneheartIllegal
11a  CanAskPothosAboutStoneheart
11b
11c  HaveEnergyGlobe1 "Got energy globe for lighting experiment."
11d  HaveEnergyGlobe2 "Got energy globe for Ale to Edrin conversion."
11e
11f  RefuseToHelpPothos  "Avatar approached Pothos about his father."
120  RangerDied (or player died?)
#    ?? in ranger code, if event is 7 and itemref is 1 clear itemref's flag 1d, reduce health?
121  RedLightning "Set true when you see red lightning in Gustacio's experiment."
122  YellowLightning "Set true when you see yellow lightning in Gustacio's experiment."
123  GreenLightning "Set true when you see green lightning in Gustacio's experiment."
125  InvitedByFrigidazzi
127  SoldStockings "Checked by Torrissio. Never set."
128  CompletedExperiment "Completed Gustacio's experiment, discovering Ale is Edrin. You can get the Mirror of Truth now."
129  ChristopherSeance "Mortegro performed seance to contact Christopher."
12a  CanUseMagicCompass "You've read the book describing how the compass works."
12b  ShaminoDied? "Set by 0x901. Everyone says he's been returned to us by the Monks."
12d  CageBanes "Gwenno tells you to find out who gave Batlin the secret of trapping souls."
12e  KnowOfFreedom "Pothos explained the Mountains of Freedom prison."
12f  FlindoWillArrangeMeeting "Flindo agreed to arrange a meeting with the Filbercio."
130  FlindoArrangedMeeting "Set when you get the meeting with Filbercio. Flindo complains if you ask about it again."
131  GwennoSeance "Mortegro performed seance to contact Gwenno."
132  KnowOfSeance "Mortegro tells you he perfoms seances."
133  ? Checked by Rotoluncia to determine which threat she gives you, after kidnapping Iolo. Set near the end of the function.
134  IoloKidnapped "Set when Iolo is kidnapped by Rotoluncia."
135  ? CanSpeakToGustacio
136  ReturnedTorrissioWand "Returned Philanderer's Friend to Torrissio, in exchange for information on Worm Gems."
137  FindRockSerpent "Stefano has given you the key to his old house, to find the Rock Serpent."
139  PetraIsSad "Petra complained about Rocco being dead, and says her existence is pointless."
13a  ? set in 0x1c7/MoonshadeTrial, checked by Shamino to add answer "How didst thou arrive?"
13b  ReturnedStockings? "Torrissio steals the fishnet stockings from you."
13c  NoReturnStockings "Refused to return fishnet stockings to Torrissio."
13d  ? Set false in 0x2f7/CallGiantTurtle, and true by Pothos.
13e  ? AskedBuciaManyQuestions set false when asking Bucia about information
13f  AccuseMortregro "Mortegro has been named as a suspect in Iolo's kidnapping."
140  AskJuliaAboutKidnap
141  CanAskFilbercioAboutKidnap
142  SuspectTorrisioOfKidnap (Andrio suspects him)
143  PaidJuliaToInvestigateKidnap
144  ToldJuliaAboutKidnap
145  Iskatradeeth "Told password by Pothos. Only checked by Pothos."
146  ? set and checked in 0x8ff, which is called when saying Bye to people in Moonshade
147  KnowOfTorrisioWand "Can ask people about the Philanderer's Friend"
148  ?
149  StefanoDied "Set false when speaking to him after he is resurrected."
14a  HaveBirdCage "Gustacio gave Avatar cage to hold Ale in."
14b  HaveColdSpellFromFrigidazzi "Adds 'key' option to Julia."
14c  KnowRingIsProbablyFromAlyssand "Got more information on lost ring"
14d  FindFreli? "Told by Delin to find Freli with Fedabiblio. Set and cleared by Delin."
14e
14f  WelcomeToFawn? "Spoke to the Lady of Fawn about why you're there."
150  OfferedToDeliverDelphyniaLetter "Gave Delphynia a letter from Ruggs, and agreed to deliver one from her back to him."
151  GotMapFromScots "Got a free map from the geographer Scots."
152  OfferedToDeliverRuggsLetter "Agreed to deliver a letter from Ruggs to Delphynia."
155  AskedJendonAboutScholars "Learned that Gwenno visited Fawn."
156  CanAskDelinAboutBatlin "Allows you to ask Delin about Batlin. Never set."
157  KnowAboutMoonShade "Asked Jendon about Moonshade. Can then ask Delin about it."
158  AskedAboutDaemonArtifacts "Asked Jendon about daemon artifacts. This will now be brought up during the Fawn trial."
15B  AskedJorvinAboutPikemen "Jorvin asks if you are a pikeman if this is not set."
15C  WelcomedByJorvin "Set when first talking to Jorvin, if Iolo played the lute he finds in Fawn."
15D  KnowOfFawnAssassin "Can ask Jorvin or Kalen about assassin. Set when killing Kalen, and in 0x8ab."
15E  KnowOracleIsFake "If set, Kylista will attack you when you talk to her. It is never set, however."
15F  AskedLeonAboutFellowship "Leon explains the Fellowship."
160  AskedLeonAboutInnerVoice "Leon explains the Fellowship."
161  AskedLeonAboutTrust      "Leon explains the Fellowship."
162  AskedLeonAboutUnity      "Leon explains the Fellowship."
163  AskedLeonAboutWorthiness "Leon explains the Fellowship."
164  CanAskOlonAboutStorms    "He's drunk enough to let you ask him about the storms. This depends on the return value of 0x942."
165  ? "If set, Olon won't speak to you until a timer reaches 3. Probably after he gets a drink. 'Go away, I'm not drunk enough yet.'"
166  ? "Set when an earthquake is created by 0x357."
167  WontHelpRuggs "Set after refusing to deliver Ruggs' letter."
168  ? "Something to do with Delphynia and Ruggs. If it is not set, Ruggs will exclaim that Delphynia is the most beautiful of all women."
169  AskedScotsAboutFellowship	"Adds Fellowship response to Leon."
16a  AskedScotsAboutLeon
16b  exclusive to 0x357
16c  exclusive to 0x357
16d  exclusive to 0x357
16e  OracleSaysInnocent "Oracle just says defendant is innocent."
16f  OracleSaysTrialIsCorrupt "Oracle says the trial is corrupt."
170  ?
171  FawnTrialRecess "Set when the defendant is named, and cleared when the trial starts."
172  FawnConspiracyExposed?
173  DupreAccused	"Dupre will stand trial in Fawn."
174  IoloAccused	"Iolo will stand trial in Fawn."
175  ShaminoAccused	"Shamino will stand trial in Fawn."
176  ? FawnTrial
177  ? FawnTrial
178  ? FawnTrial
179  ? FawnTrial
17a  ? FawnTrial
17b  ? FawnTrial
17c  ? FawnTrial
17d  ? FawnTrial
17e  ? FawnTrial
17f  ? FawnTrial
180  ? FawnTrial
181  ? FawnTrial
182  ? FawnTrial
187  ? set in 0x400, clearned in 0x7dc
189  AskedYelindaAboutFawn
18a  AskedYelindaAboutOracle
18b  OlonAskedIoloToSing
18c  ? Olon will ask "Art thou a bard?" Set in 0x6bc upon a music change and the beginning of a storm.
18d  AskedDelinAboutFreli "Adds Delin to Freli's list of responses."
18e  CanAskZulithAboutSpying "Set when noticing Zulith following the party."
18f  AskedZulithAboutSpying "You can now ask Alyssand about Zulith."
190  IoloPlayedInFawn "Wait, sailor! I shall sing thee mine heart's one song..."
191  AskOlonAboutPinecone "Mentioned by Jendon."
192  AskAlyssandAboutMoonsilkStockings "Mentioned by Jendon."
193  AskDelphyniaAboutApparatus "Mentioned by Jendon."
194  AskDelphyniaAboutPumice "Mentioned by Jendon."
195  AskDelinAboutFurCap "Jendon."
196  AskDelinAboutSlippers "Jendon."
197  AskDelphyniaAboutEgg "Jendon."
198  AskJorvinAboutHairbrush "Jendon."
199  Ask43AAboutDeadCat "Adds dead cat response. Never set. Negated by $298."
19a  AskDelinAboutCoins "Jendon. Never checked!"
19b  AskJorvinAboutSkull  "Jendon."
19c  AskJorvinAboutShield "Plain Shield mentioned by Jendon."
19d  AskDelphyniaAboutRock "Flaming rock mentioned by Jendon."
19e  AskAlyssandAboutFishnetStockings "Jendon."
19f  AskedJendonAboutMonitor
1a0  ? checked when buying from someone,
#      set when talking to Hawk
1a1  DelinShopDiscount? "Get a one time discount at Delin's shop after delivering a letter from Freli to him. $E7 and $14D are cleared when this is set."
1a2  UsedShopDiscount "Avatar bought something from Delin with his half-price discount."
1a3  DeliveredRuggsLetter
1a4  HaveGauntlets "Returned by Alyssand"
1a5  HaveVaroLeaves "Got from Delphynia."
1a6  FoundOracleControls? "Set by util/0x6e0. Forgot which NPC uses it. -_-;"
1a7  ? checked in 0x43b, adds "letter" answer
1a8  FoundAccusedInFawn "Told by Alyssand where your companion is being held."
1a9  AskOlonAboutGwani "Jendon."
1aa  ?AskedJendonAboutStrangeObjects "checked in 0x7fb"
1ab  ? Told about Gwani in 0x7fb. Checked in 0x7fc to add "savages" answer.
1ac  ? 0x7fb mentioned serpent ruins, add answer "ancient runes" to 0x7fc
1ad  ? 0x7fb mentioned strange objects, add answer to 0x7fc
1ae  BoughtVaroLeaves "Checked in 0x7fc, adding to Fawn Trial accusations."
1af  ?SeenWithAlyssand/AlyssandToTestify "Set by 0x7fc if Alyssand is there. Checked in 0x7fc."
1b0  ? somebody is called to witness twice at the trial
1b1  FoundYelindaAfterDestruction "Told by 0x43b where Yelinda is. Checked in 0x36a."
1b2  ?ReturnedEngangementRing "Told Alyssand about ring."
1b3  AskedToJoinTheCause? "Asked by Alyssand."
1b4  AlyssandFlirted "Causes her to demand a kiss when you expose the trial as a fraud."
1b5  ? Checked by 0x437. Set if NPC 0xFFFD/-3 is nearby and has flag 6 set true.
1b6  ? Set in 0x8aa, checked by 0x435.
1b7  StartPheonixQuest "Agreed to bring Erstam a pheonix egg... and sent to the quest immediately!"
1b8  BroughtPheonixEgg "Brought pheonix egg back to Erstam."
1b9  MayBoydonJoin    "Boydon wants to join party. Avatar must ask Erstam"
1ba  BoydonMayJoin    "Erstam gave permission for Boydon to join party."
1bb  ? CreatedBoydon
1bc  ? KnowOfPheonixEgg
1bd  HaveSerpentJawbone
1be  KnowOfTeleportation "Set when asking 0x423 about the topic. Adds answers in 0x423 and 0x424."
1bf  Iskatradeeth "Gave password to Erstam so he'll talk to you."
1c0  BoydonSpeaks "Boydon has greeted the party."
1c1  KnowOfJawbone "Adds jawbone answer to Erstam."
1c2  FoundJawbone "Told Erstam you've found the jawbone, and recieved a serpent's tooth."
1c3  HaveAnotherTooth(toErstam) "Erstam gave another serpent's tooth as a token of appreciation."
1c4  AndAnotherTooth(toAnotherPlace?) "Erstam gave you a third serpent's tooth."
1c5  ErstamsExperiments "Adds experiments answer to Erstam."
1c6  ErstamSeeksImmortality "Adds immortality answer to Erstam."
1c7  RiddleOfLifeAndDeath "Erstam explains how to answer the riddle."
1c8  DisturbErstam "Adds Disturb? answer to Erstam."
1c9  HaveStoreroomKey "Erstam gave Avatar the key to his storeroom."
1ca  KnowOfArgus? "Adds Argus (with $AvatarKnighted) to conversation of 0x44f. Never set."
1cb  RidingShip "Travelling on a ship. Don't allow use of gangplank."
1cc  TravelledToMoonshade "Journeyed on the Arabella to Moonshade."
1cd  KnowOfHawk "Captain Hawk was mentioned by someone as being imprisoned. Checked in 0xE4/Pikemen."
1ce  CanPayBullTowerRansom "Given opportunity to pay fine for Captain Hawk."
1cf  ResumeFalseQuest "Set when asking Selina about key or resume quest. Never checked."
1d1  PaidBullTowerRansom
1d3  BalladOfShamino "Bard songs heard (Func09B0)"
1d4  MountainLore "Bard songs heard (Func09B0)"
1d5  TheGwanni "Bard songs heard (Func09B0)"
1d6  ForestMaster "Bard songs heard (Func09B0)"
1d7  SongOfDreams "Bard songs heard (Func09B0)"
1d8  WhiteDragonKing "Bard songs heard (Func09B0)"
1d9  AskArgusAboutDuelAndBribes? "set by 0x42d"
1e0  ? set true or false in 0x314, checked in 0x314
1e1  WilfredInParty "Wilfred has joined the party."
1e2  WilfredRunsAway
1e3  WilfredKicked "Asked Wilfred to leave the party."
1e4  AngusClues? "Set by 0x429. Never checked."
1e5  HaveBankKey "Started quest with Selina, and given key."
1e6  SelinaLeft "Avatar reached the bank and Selina has disappeared."
1e7  LookForBankAgain "Set true after apologizing to Selina for going the wrong way. Set false when going the wrong way."
1e8  ? something to do with fighting Selina
1e9  ReturnedSlippers
1ea  AmbushedAtBank "Avatar reached the bank."
1eb  PassedLogicTest? "Didn't go through the gate with Iolo in the test of Zhelkas."
1ec  PassedEthicalityTest? "Pushed the right button in the test of Zhelkas."
1ed  PassedVirtueTest? "Didn't follow Dupre in the test of Zhelkas."
1ee  FailedEthicalityTest
1ef  RefusedGargoyleTest? "Checked by Zhelkas. Never set."
1f0  ? something about logic test
1f1  ? something about logic test
1f2  ? something about logic test
1f3  StartedVirtueTest?
1f4  StartedAttackingWorms?
1f5  ? set and checked with $1f4
1f6  ? set and checked with $1f5
1f7  ? set with $1f6
1f8  ? checked with $1f7 and set with $1f7 and $1ed
1f9  HaveSerpentStaff "Picked up the Serpent Staff."
1fa  ExplainedLogicTest? "Zhelkas explained the test of logic."
1fb  FinishedGargoyleTest "Teleported back to pillars."
1fc  UsingFreezeSpell? "Keeps you cool at Furnace."
1fd  GreetedGargoyles "Introduced yourself as The Avatar in 0x4aa."
1fe  HelpGargoyles "Gargoyles have asked you to enter their realm and seek the pillars."
1ff  LeaveFurnace "Removes answer leave Furnace from 0x876 when set."
200  PassedGargoyleTest "Told to get the goblet of replenishing water."
201  ReturnedGoblet "Found and brought the goblet to Zhelkas."
202
203
204
205
206  SleepingEmps "Found a hall of sleeping daemons, reminiscent of the Emps in Britannia."
207  HaveRingFromZhelkas
208
209
20a
20b
20c
20d  ? something about dream crystal and edrin
20e  FindArtifactOfCourage "Set with $20f and $210 by 0x4b6. Never checked."
20f  FindArtifactOfLove "Set with $20e and $210 by 0x4b6. Never checked."
210  FindArtifactOfTruth "Set with $20e and $20f by 0x4b6. Never checked."
211  CompletedQuestOfArtifacts "Checked by Harnna."
212  ReturnedCombOfBeauty "Gave comb of Beauty to Yelinda."
213  410MetSiranush? "Checked by 0x410. Never set."
214  RefusedMortegro "Avatar said no to rescuing Mortegro. He can return later."
215  RescuedMortegro? "Lowered Temple of Tolerance drawbridge to Mortegro"
216  RescuedMortegro? "Lowered Temple of Tolerance drawbridge to Mortegro"
217  StartSecondEthicalityTest      "Doing second Test of Ethicality"
218  ? related to test of ethicality
219  ? set when completed test of ethicality
21a  StartFirstEthicalityTest       "Began the Test of Ethicality"
21b  ? CompleteEthicalityTest
21c  ? CompleteFirstEthicalityTest  "Succeeded in first part of the test"
21d  ? CompleteSecondEthicalityTest "Succeeded in second part of the test"
21e  StartFinalEthicalityTest       "Doing final Test of Ethicality"
21f  ? CompleteEthicalityTest
220
221
222
223
224
225
226  AskPetraAboutAcid? (and !item_flag(0xffe4, 6)) (declines to help $270 is set)
227  KnowOfBodyTransferance
228
229
22a
22b  SpokeToChaosHierophant "Set when Avatar first meets the Hierophant."
22c
22d
22e
22f
230
231
232
233
234
236
237
238
239
23a
23b
23c
23d
23e
23f
240
241
242  HealedChaosSerpent
243
244
245
246
247
248
24a
24b
24c
24d
24e
24f
250
251
252
253
254
255
256
257
258
259
25b
25c
25d
25e  ReturnedGwaniAmulet "Gave amulet of Baiyanda to Yenani."
25f
260
261  NeedGwaniAmulet     "Avatar knows that Hazard stole amulet of Baiyanda."
262
263
264
265
267
268  AskDucioAboutWormGem "Ducio will make worm gems if set."
269
26a
26b
26c
26d
26e
26f  ? something in test of ethicality
270  ? XenkaReturned "XenkaMonk has returned to Monk Isle"
271
272
273
274
275
276
278  ? NeedSerpentStaff      "Order Hierophant says Avatar needs his staff."
279  SummonedOrderHierophant "Spoke to Hierophant of Order"
27a  PineconeListed    "Pinecone is on list of strange objects"
27b  StockingsListed   "Stockings are on list of strange objects"
27c  UrnListed         "Urn is on list of strange objects (as a vase)"
27d  ApparatusListed   "Strange apparatus is on list of strange objects"
27e  PumiceListed      "Pumice is on list of strange objects (as a rock)"
27f  RingListed        "A finely crafted ring is on list of strange objects"
280  FurCapListed      "Woman's fur cap is on list of strange objects"
281  SlippersListed    "Slippers is on list of strange objects"
282  BreastplateListed "Enameled breastplate is on list of strange objects"
283  BlueEggListed     "Blue egg is on list of strange objects"
284  BrushListed       "A crude brush is on list of strange objects"
285  WineListed        "Ice wine is on list of strange objects"
287  FilariListed    "Filari is on list of strange objects (as strange baubles)"
288  SkullListed     "Animal skull is on list of strange objects"
289  BloodyHandListed "Bloody hand is on list of strange objects"
28a  ShieldListed     "Monitorian shield is on list of strange objects"
28b  RuddyRockListed  "Stoneheart is on list of strange objects"
28c  KnowPineconeIsFromNorthernForest "Got all information on pinecone"
28d  KnowColumnaOwnsMoonsilkStockings "Showed stockings to Bucia"
28e  KnowUrnIsFromMonitor             "Got all information on urn"
28f  KnowErstamOwnsApparatus          "Got all information on strange apparatus"
290  KnowPumiceIsFromFieryDungeon     "Got all information on pumice"
#    ? if $29e and $29f is set, $290 is set
291  KnowAlyssandOwnsRing             "Got all information on lost ring"
292  KnowFrigidazziOwnsFurCap         "Got all information on woman's fur cap"
#    ? if $2a0 and $2a1 are set, this is set
#    set to false when giving fur cap to frigidazzi
293  KnowDevraOwnsSlippers      "Got all information on slippers"
294  KnowKylistaOwnsBreastplate "Got all information on enameled breastplate"
295  KnowPenguinOwnsEgg         "Got all information on blue egg"
296  KnowBrushIsFromGoblins     "Got all information on a crude brush"
297  KnowWineIsFromMoonshade    "Got all information on ice wine"
298  ?
299  KnowFilariIsFromFawn       "Got all information on Filari"
29a  KnowSkullIsFromWestCoast   "Got all information on animal skull"
29b  KnowErstamOwnsBloodyHand   "Got all informaiton on bloody hand"
29c  KnowShieldIsFromMonitor    "Got all information on Monitorian shield"
29d  KnowRuddyRockIsStoneheart  "Got all information on Stoneheart"
29e  KnowPumiceIsFromFieryDungeon? (290)
29f  ? if $29e and $29f is set, $290 is set
2a0  KnowFurCapBoughtByFilbercio   "Got more information on fur cap"
#    ? if this is true when $2a1 is set, $292 is set
2a1  KnowOfFrigidazzi              "Told about Frigidazzi by Bucia."
2a2  FoundShamino	"Found Shamino after the storms, and he explained the situation."
2a3  ? Set in 0x7ae if Shamino's quality is 7, and checked after you pass an illusionary wall and enter a cave near the start of the game, slightly changing what he says
2a4
2a5
2a6 exclusive to 0x71f
2a7 exclusive to 0x71f
2a8 exclusive to 0x71f
2a9 exclusive to 0x71e
2aa exclusive to 0x71e
2ab
2ac
2ad
2ae
2af
2b0
2b1
2b2
2b3
2b4 exclusive to 0x724
2b5 exclusive to 0x724
2b6 exclusive to 0x724
2b7 exclusive to 0x724
2b8
2b9 KnowAboutKingsSavior	"Beryl tells you to meet with the Forest Master."
2ba OfferedToReturnOrb		"Accepted quest from Morghrim to get his orb back."
2bb ReturnedOrbToMorghrim	"Returned the Heart of Elerian to Morghrim."
2bc ? Something related to attacking Draygan
2bd SpokeToBerylAboutDraygan	"Met with Beryl privately and she told you about Draygan."
2be ? DrayganAttention	"Set whenever Draygan warns you or Beryl. Cleared when speaking to Beryl privately. May be related to pathfinding."
2bf BroughtPoisonArrow	"Prepared a poison arrow for Draygan and brought it to Beryl."
2c0 BroughtKingsSavior 	"Got King's Savior plant and recieved further instructions from Beryl."
2c2 AskedThoxaAboutPower "Thoxa tells you about the three artifacts needed."
2c3
2c4 ?
2c5 ?
2c6 ?
2c7 ? Something to do with the Test of Virtue?
2c8 ?
2c9
2ca ?
2cb ?
2cc ?
2cd
2ce
2cf
2d0
2d1
2d3
2d4
2d5
2d9  HaveMirrorOfTruth? (check e5)
2da
2db
2dc
2dd
2de
2df
2e1
2e2  ?
2e3
2e4
2e5
2e6
2e7
2e8
2e9
2ea
2eb
2ec
2ed
2ee  ?? set in 0x3BB
2ef
2f0
2f1
2f2
2f3
2f4
2f5
2f6
2f7
2f8
2f9
2fa  ? AskYurelAboutCheese "Can ask to offer cheese to Yurel"
2fb
2fc  SSHaveSilverSeed "You are the Hero of Balance?"
2fd  
2fe
2ff
300
302
303
304
305
306
307
308
309
30a
30b
30c
30d  SSSpokeIsstanar
30e  SSHaveMazeOrb "Got orb from Yurel"
30f
310
311
313  SSPlantedSilverSeed "You are the Hero of Balance!"
314
315
318

Re: Is there a "Flag" list and more?

Posted: Tue Jun 14, 2016 9:42 pm
by Knight Captain
Would it be possible to have a special Global Flag Notifier option that would show the decimal of the flag and either Set or Unset, say in the upper left or right corner when it changes? That might make identifying or fixing them easier.

Re: Is there a "Flag" list and more?

Posted: Tue Jun 14, 2016 9:44 pm
by Dominus
The autonotebook can be used for this somewhat. But I need to look that up again. Right now it will only record the time/date/ccordinates of flags wuth a text to it, I think...

Re: Is there a "Flag" list and more?

Posted: Wed Jun 15, 2016 2:58 am
by Knight Captain
How do I enable that?

Malignant Manor's list had more overall items than the other list, so I've updated the list on the Wiki to add flags 342 to 344.

http://strategywiki.org/wiki/Ultima_VII ... /Flag_List

Re: Is there a "Flag" list and more?

Posted: Wed Jun 15, 2016 9:48 pm
by Dominus
Had to look it up myself :)

in the exult.cfg add the autonotes setting and point it at your autonotes file like this

Code: Select all


    
    jmsfx.flx
    
    
    path_to/autonotes.txt
    

The files we are currently using are
https://github.com/exult/exult/blob/mas ... onotes.txt
and
https://github.com/exult/exult/blob/mas ... onotes.txt
Now you only need to add the missing flags in there with some text.
For example for the the 13th flag in SI:
0x0D: 0x0D UNKNOWN
(you need to add the flag number as well so you know which one it was :))

In Exult's "Misc Options" enable Autonotes. during game, press N to see the notebook. Every Flag has its own page, and you can add notes to it yourself as well. in the upper right corner of each page you will see the coordinates IF you have cheating enabled.

I hope you understand what I mean with all this...
Good luck and I'm happy to see your findings!

Notes: some of the flags have some text as I tried to make the autontes more like actual notes ;)
Decimal instead of hex numbers also work, I think.

Re: Is there a "Flag" list and more?

Posted: Mon Jun 20, 2016 5:52 pm
by Knight Captain
Found one:
259 0x103 Asked_Bucia_Too_Much "If you ask too many questions she will have to go back to work."

There's got to be another flag related to this, since this one alone does not trigger her to mention she'll be at the Blue Boar after 10 (9?) and can talk more then.

This is similar to the one checked by Harnna:
151 0x097 Asked_Harnna_Too_Much "Set by 9AE after requesting some information. Checked by Harnna."

I'm not sure what resets these flags, likely just time.

Re: Is there a "Flag" list and more?

Posted: Mon Jun 20, 2016 6:15 pm
by Knight Captain
286 0x11E Showed_Stockings_to_Melino “Take thyself from my sight and never return!”

Re: Is there a "Flag" list and more?

Posted: Mon Jun 20, 2016 7:04 pm
by Knight Captain
In the beta, I've come across a pause with a notification that says a flag has been set.

Image

Might it make sense from a mod debugging view to include a similar feature that either lists the friendly name (as used in either autonotes or SI_gflags) or the hex number if one is not named? This should also work during scripted scenes and conversations so we can pinpoint specific questions or actions that set the flags.

95 5F Got_Clue_Brown_Bottle "Appears to be set by Harnna and Lucilla, maybe others.”

Re: Is there a "Flag" list and more?

Posted: Mon Jun 20, 2016 7:11 pm
by Dominus
Hmm, that might be a good feature. The code must be there - just *I* don't know how...

Re: Is there a "Flag" list and more?

Posted: Wed Jun 22, 2016 7:50 pm
by Dominus
With the next snapshot, an autonotes.txt in the patch folder or a mod will *override* the default one or if one is set in the exult.cfg (as I described above) it will override that as well.

Re: Is there a

Posted: Wed Jun 22, 2016 9:38 pm
by Dominus
If you can build Exult yourself or someone can provide you with a special built, you could also use this patch.

Code: Select all

diff --git a/usecode/ucinternal.cc b/usecode/ucinternal.cc
index f0346ea..14c21a6 100644
--- a/usecode/ucinternal.cc
+++ b/usecode/ucinternal.cc
@@ -2586,10 +2586,13 @@ int Usecode_internal::run() {
 					gflags[offset] = static_cast(popi());
 					if (gflags[offset]) {
 						Notebook_gump::add_gflag_text(offset);
-#ifdef DEBUG
+//#ifdef DEBUG
 						cout paint_text(7, msg, gwin->get_win()->get_start_x(), gwin->get_win()->get_end_y() - 20);
+//#endif
 					}
 					// ++++KLUDGE for Monk Isle:
 					if (offset == 0x272 && GAME_SI)
For this to fully work, you need to compile without stdout redirection (you need to edit makefile.mingw - hopefully Malignant can weigh in on this).
This will do two things:
When you start Exult from the command prompt it will show you in the prompt while Exult is running whenever a global flag is set (with flag number).
Additionally it will show the same in the lower left of Exult in the red font that global flag XX has been set. That on screen message is rather quickly gone, that's why the command prompt is also helpful. Also it won't show at all during conversations :(

Image

Re: Is there a "Flag" list and more?

Posted: Thu Jun 23, 2016 4:50 am
by Knight Captain
That's cool Dominus.

I did some reading of the SI extracted usecode file, and there's a lot more flags than the list has.

762 2FA Know_Yurel_Loves_Cheese “Yurel will trade you the ball he stole from the pedestal.”
763 2FB Have_Amulet_of_Balance “Karnax gave you the Amulet of Balance, which was uncovered near their Serpent Gate.”
764 2FC Have_Silver_Seed “You have picked up the Silver Seed from beneath Serpent’s Fang.”
765 2FD Karnax_witnessed_Seed_Planting “Karnax witnessed you planting the Silver Seed.”
766 2FE Cask_has_Moved “The cask is pulled out in Serpent's Fang basement, exposing stairs below.”
767 2FF Rope_on_Well “You have attached the rope found in the Abandoned Outpost to the well, allowing you to climb down.”
768 300 Have_Keyring “Isstanar has given you the magic keyring, which allows you to try every key you have at once.”
769 301 (not-in-usecode)
770 302 Wearing_Gauntlets_of_Quickness “Set when putting on the Gauntlets, unset when unequipped.”
771 303 Holding_Erinons_Axe “Set when equipped with the Axe, unset when unequipped.”
772 304 Experience_from_Axe “Set when you first equip the Axe and gain 500 experience points. If set, re-equipping does not gain 500 more.”
773 305 Was_Asked_Liars_Riddle “How many of these mystics were liars?”
774 306 Was_Asked_Earrings_Riddle “How many unseen earrings needed to insure a matched pair?”
775 307 Was_Asked_Longtooth_Riddle “How many creatures has Longtooth stumped with his riddles?
776 308 Was_Asked_Cloth_Riddle “How many pieces of cloth to make five dresses with the same pattern?”
777 309 Solved_Liars_Riddle “You correctly answered Draxinar’s first riddle.”
778 30A Solved_Earrings_Riddle “You correctly answered Draxinar’s second riddle.”
779 30B Solved_Longtooth_Riddle “You correctly answered Draxinar’s third riddle.”
780 30C Solved_Cloth_Riddle “You correctly answered Draxinar’s last riddle.”
781 30D Met_Isstanar “You met Isstanar, the leader of Serpent’s Fang. (Flag is required because he is a shape not an NPC)”
782 30E Have_Purple_Orb “Yurel gave you the purple orb he brought into the maze.”
783 30F Met_Rieya “You met Rieya outside of the Abandoned Outpost.”
784 310 Met_Drusilla “You met Drusilla outside of Issik’s Maze.”
785 311 Met_Solaria “You met Solaria outside of Aram-Dol’s Lair, northeast of Serpent’s Fang.”
786 312 (not-in-usecode)
787 313 Planted_Silver_Seed “You have planted the Silver Seed and the Silver Tree stands tall. You are now fully recognized as the Champion of Balance by the people of Serpent’s Fang.”
788 314 Used_Iron_Maiden “The open iron maiden in the Abandoned Outpost took you to a room with powder kegs.”
789 315 Experience_from_Ring “Set when you first equip the Ring of Reagents and gain 500 experience points. If set, re-equipping does not gain 500 more.”

And if you manually set Flag 5, you can use Captain Hawk's boat.

Re: Is there a "Flag" list and more?

Posted: Thu Jun 23, 2016 5:08 am
by Dominus
Great, i'm going to add them to the autonotes NOW.
(though some of those *ARE* written down in the existing autonotes.txt)

Should I credit your forum name or your real name?

Re: Is there a "Flag" list and more?

Posted: Thu Jun 23, 2016 1:36 pm
by Knight Captain
Forum name is fine for now. I've got more of them and can add them when I bite into GitHub so you can work on other parts.

I did update some known existing ones based on what I could see in the Usecode file.

Re: Is there a "Flag" list and more?

Posted: Thu Jun 23, 2016 1:41 pm
by Dominus
We really need a real master file for this ;)
The autonotes is good for writing down funny stuff if possible but... Meh...

si_gflags.uc should be the proper location for everything but it is so "organized" in stuff, no idea whether to add to it... and if one does it is a big undertaking... (it's in content/sifixes/src/header/si/ in our source).

Re: Is there a "Flag" list and more?

Posted: Thu Jun 23, 2016 10:47 pm
by Knight Captain
The way Origin did the flags in SI is mindnumbing since they follow less of an order than the NPCs do.

I wonder if there could be some way to have both the flags and autonotes in a single file so there is one master for all this? Perhaps both with technical notes (visible in the game by setting) and player notes (visible by default in the notebook)?

Re: Is there a "Flag" list and more?

Posted: Fri Jun 24, 2016 7:03 am
by Dominus
If I could wish for all I want and had coders following my every wish I'd want something like this.
One master global flags list which does list both hex and dec number, the short global flag name, technical notes and a nice autonotes text.
The autonotes shouldn't record the whole global flag text (as ist does now) but only track which flag was set/unset and when you open the notebook show the appropriate autonote text.
With a cfg setting show the full "line": flag number, short name, tech notes and nice text...

Code: Select all

0x303/771:HOLDING_ERINONS_AXE {Set when equipped with the Axe, unset when unequipped.} "You've equipped Erinon's Axe"
(or likely an xml document)

You make this, I'm happy :)

Re: Is there a "Flag" list and more?

Posted: Sat Jun 25, 2016 8:10 pm
by Knight Captain
613 265 KNOW_SKULLCRUSHER_PASSWORD “Yenani gave you a valuable secret, the password to open the gate to Skullcrusher.”

And I checked these out as well and edited them:

706 2C2 Seek_Out_Three_Artifacts “Thoxa has told you to seek out a Ring, a Necklace, and an Earring.”
707 2C3 Seek_Your_Companions “Thoxa has told you of Xenka’s prophecy that without your three most trusted friends you cannot succeed.”

Re: Is there a "Flag" list and more?

Posted: Sun Jun 26, 2016 3:16 am
by Knight Captain
153 99 AskBrendannAboutStockings “Set by Harnna if asked about Fishnet Stockings or Moonsilk Stockings.”

Which means if we want to add the Fishnet Stockings subplot to the game it might require setting Usecode for Harnna, Brendann, and likely others.

Re: Is there a "Flag" list and more?

Posted: Tue Jul 05, 2016 5:39 pm
by Knight Captain
0 0 Shaminos_Keep_Barriers_Gone "Set in the Hound of Doskar’s shape, related to finding Cantra and Batlin." This is the linear check to prevent you from skipping the Forest Master subplot.

62 3E Avatar_has_Tattoo “You are now visibly a Monitorian, and will be treated as one in many conversations.” Set when getting tattooed, which also sets the poison flag 152. This flag changes many of the conversations to reflect you are visibly a Knight of Monitor. Argus, Byrin, Flindo, Kane, Ensorcio, Olon, Zulith, the Goblin King, Brendann, Luther, and many others reflect this.

For those curious, the Goblin King's change is very minor, with him wondering how you know of Simon's betrayal.

Dominus, if you like I can email you my updated list as well.