ItemTalks:
- ID: 1000
  Comment: Bonfire, checks for Rold Medallion for Melina purposes, and Mini Ranni for dialogue purposes
  ItemTemplate:
  - Type: loc
    EventFlag: 400001
    Machine: x28
  - Type: loc
    EventFlag: 400001
    Machine: x30
  - Type: loc
    EventFlag: 400001
    Machine: x43
  - Type: loc
    EventFlag: 400001
    Machine: x50
  - Type: item
    EventFlag: 400394
    Machine: x52
  - Type: loc
    EventFlag: 400001
    Machine: x57
  - Type: loc
    EventFlag: 400001
    Machine: x60
  - Type: loc
    EventFlag: 400001
    Machine: x61
  - Type: loc
    EventFlag: 400001
    Machine: x67
  DebugInfo:
  - t000001000_x28 - f15(400001) == 0 - Rold Medallion (400001)
  - t000001000_x30 - f15(11009260) == 1 && f15(400001) == 0 - Rold Medallion (400001)
  - t000001000_x43 - f15(11009260) == 1 && f15(400001) == 0 - Rold Medallion (400001)
  - t000001000_x50 - f15(11009260) == 1 && f15(400001) == 0 - Rold Medallion (400001)
  - t000001000_x52 - SetREG0(f15(400394)) == 1 && f15(12019280) == 0 && (f15(12012710) == 1 || f15(12012711) == 1 || f15(12012712) == 1) - Miniature Ranni (400394)
  - t000001000_x57 - f15(1037519201) == 0 && f15(11009260) == 0 && f15(400001) == 0 && (f15(1037512700) == 1 || f15(1038512700) == 1 || f15(1038502711) == 1 || f15(1039512711) == 1 || f15(1037522700) == 1) - Rold Medallion (400001)
  - t000001000_x60 - f15(11009260) == 0 && f15(400001) == 0 && SetREG7(f15(9104)) == 0 && (f15(11002741) == 1 || f15(11002742) == 1 || f15(11002743) == 1 || f15(11002744) == 1) - Rold Medallion (400001)
  - t000001000_x60 - GetREG7() == 1 && f15(400001) == 0 - Rold Medallion (400001)
  - t000001000_x61 - f15(9104) == 1 && f15(400001) == 0 - Rold Medallion (400001)
  - t000001000_x67 - f15(400001) == 1 && f15(108) == 0 && f15(11002745) == 0 - Rold Medallion (400001)
- ID: 2000
  Comment: Unknown ESD, but checks fixed item anyway
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 60110
    Machine: 1
  DebugInfo:
  - t000002000_1 - ((f15(f206()) || f234() || f213() || (f207() >= 0 && f214() == 0) || f60(9531) || (f15(2002) == 0 && f15(60110) == 0)) == 0) == 1 - Spirit Calling Bell (60110)
  - t000002000_1 - ((f15(f206()) || f234() || f213() || (f207() >= 0 && f214() == 0) || f60(9531) || (f15(2002) == 0 && f15(60110) == 0)) == 0) == 0 - Spirit Calling Bell (60110)
- ID: 2100
  Comment: ESD actually used by summon monument
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 60110
    Machine: 1
  DebugInfo:
  - t000002100_1 - f15(f206()) == 1 || (f15(2002) == 1 || f15(60110) == 1) == 0 - Spirit Calling Bell (60110)
  - t000002100_1 - f15(f206()) == 0 && (f15(2002) == 1 || f15(60110) == 1) == 1 - Spirit Calling Bell (60110)
- ID: 3000
  Comment: Melina ESD, also checks a bunch for Rold Medallion.
  ItemTemplate:
  - Type: loc
    EventFlag: 400001
    Machine: 1
  - Type: loc
    EventFlag: 400001
    Machine: x40
  - Type: loc
    EventFlag: 400001
    Machine: x71
  - Type: loc
    EventFlag: 400001
    Machine: x72
  - Type: loc
    EventFlag: 400001
    Machine: x74
  DebugInfo:
  - t000003000_1 - c5_121(f15(400001) == 0 || f15(108) == 1, 9600) - Rold Medallion (400001)
  - t000003000_1 - c5_121(f15(400001) == 1 && f15(108) == 0, 9601) - Rold Medallion (400001)
  - t000003000_x40 - f15(11009260) == 1 && f15(400001) == 0 - Rold Medallion (400001)
  - t000003000_x71 - f15(400001) == 0 - Rold Medallion (400001)
  - t000003000_x72 - f15(11009260) == 0 && SetREG7(f15(400001)) == 0 && (f15(11002741) == 1 || f15(11002742) == 1 || f15(11002743) == 1 || f15(11002744) == 1) - Rold Medallion (400001)
  - t000003000_x74 - f15(9104) == 1 && f15(400001) == 0 - Rold Medallion (400001)
- ID: 101206000
  Comment: Finger reader
  ItemTemplate:
  - Type: item
    EventFlag: 1046367500 1051397900
    Machine: x37
  DebugInfo:
  - t101206000_x37 - f15(1046367500) == 1 && f15(1051397900) == 1 - Dectus Medallion (Left) (1046367500)
  - t101206000_x37 - f15(1046367500) == 1 && f15(1051397900) == 1 - Dectus Medallion (Right) (1051397900)
- ID: 110003111
  Comment: Lusat
  ItemTemplate:
  - Type: loc
    EventFlag: 400430
    Machine: 1
  DebugInfo:
  - t110003111_1 - f15(400430) == 0 - Stars of Ruin (400430)
  - t110003111_1 - f15(400430) == 1 && f58(0) == 0 - Stars of Ruin (400430)
- ID: 111006000
  Comment: Azur
  ItemTemplate:
  - Type: loc
    EventFlag: 400440
    Machine: 1
  DebugInfo:
  - t111006000_1 - f15(400440) == 0 - Comet Azur (400440)
  - t111006000_1 - f15(400440) == 1 && f58(0) == 0 - Comet Azur (400440)
- ID: 221006000
  Comment: Great-Jar
  ItemTemplate:
  - Type: loc
    EventFlag: 400470
    Machine: x5
  DebugInfo:
  - t221006000_x5 - f15(400470) == 1 - Great-Jar's Arsenal (400470)
  - t221006000_x5 - f15(1047419201) == 1 || f15(400470) == 1 - Great-Jar's Arsenal (400470)
  - t221006000_x5 - f15(400470) == 0 - Great-Jar's Arsenal (400470)
- ID: 228006000
  Comment: Choice to show Medallion to Latenna
  ItemTemplate:
  - Type: item
    EventFlag: 400130
    Machine: x43
  DebugInfo:
  - t228006000_x43 - f15(400130) == 1 - Haligtree Secret Medallion (Right) (400130)
- ID: 301006000
  Comment: Gift from Varre
  ItemTemplate:
  - Type: loc
    EventFlag: 60270
    Machine: x59
  DebugInfo:
  - t301006000_x59 - f15(60270) == 0 - Bloody Finger (60270)
- ID: 313001600
  Comment: Gift of necklace to Rya
  ItemTemplate:
  - Type: item
    EventFlag: 400300
    Machine: x15
  DebugInfo:
  - t313001600_x15 - c5_19(f15(400300) == 1, 1, 23131010, -1) - Rya's Necklace (400300)
- ID: 313006000
  Comment: Gift of necklace to Rya
  ItemTemplate:
  - Type: item
    EventFlag: 400300
    Machine: x15
  DebugInfo:
  - t313006000_x15 - c5_19(f15(400300) == 1, 1, 23131010, -1) - Rya's Necklace (400300)
- ID: 316006000
  Comment: Sellen's quest checks
  ItemTemplate:
  - Type: loc
    EventFlag: 400430 400440
    Machine: x48
  DebugInfo:
  - t316006000_x48 - f15(400440) == 1 && SetREG0(f15(1044369224)) == 0 - Comet Azur (400440)
  - t316006000_x48 - GetREG4() == 1 && f15(400430) == 1 && f15(1044369228) == 0 - Stars of Ruin (400430)
  - t316006000_x48 - f15(1044369227) == 1 && f15(400430) == 0 - Stars of Ruin (400430)
- ID: 316206000
  Comment: Sellen's quest check
  ItemTemplate:
  - Type: loc
    EventFlag: 400430
    Machine: x49
  DebugInfo:
  - t316206000_x49 - GetREG0() == 1 && f15(400430) == 1 && f15(14009263) == 0 - Stars of Ruin (400430)
- ID: 316211400
  Comment: Sellen's quest check
  ItemTemplate:
  - Type: loc
    EventFlag: 400430
    Machine: x48
  DebugInfo:
  - t316211400_x48 - GetREG0() == 1 && f15(400430) == 1 && f15(14009263) == 0 - Stars of Ruin (400430)
- ID: 324001110
  Comment: Guidance from Gideon
  ItemTemplate:
  - Type: item
    EventFlag: 400001 400130 1051587800
    Machine: x43
  - Type: item
    EventFlag: 400130 1051587800
    Machine: x47
  DebugInfo:
  - t324001110_x43 - (SetREG0(f15(400130)) == 1 && SetREG1(f15(1051587800)) == 0) || (GetREG0() == 0 && GetREG1() == 1) - Haligtree Secret Medallion (Right) (400130)
  - t324001110_x43 - (SetREG0(f15(400130)) == 1 && SetREG1(f15(1051587800)) == 0) || (GetREG0() == 0 && GetREG1() == 1) - Haligtree Secret Medallion (Left) (1051587800)
  - t324001110_x43 - SetREG0(f15(11109687)) == 0 && f15(400001) == 1 && GetREG0() == 0 - Rold Medallion (400001)
  - t324001110_x47 - SetREG0(f15(400130)) == 1 && SetREG1(f15(1051587800)) == 0 - Haligtree Secret Medallion (Right) (400130)
  - t324001110_x47 - SetREG0(f15(400130)) == 1 && SetREG1(f15(1051587800)) == 0 - Haligtree Secret Medallion (Left) (1051587800)
- ID: 325001000
  Comment: Rogier giving the Black Knifeprint back to you, not randomized since giving it to him consumes it. This flag is on by default at the start of his quest
  ItemTemplate:
  - Type: default
    EventFlag: 400357
    Machine: x49
  DebugInfo:
  - t325001000_x49 - c1_11(400357, 0) - Black Knifeprint (400357)
- ID: 325001110
  Comment: Rogier's regift, Roundtable version
  ItemTemplate:
  - Type: default
    EventFlag: 400357
    Machine: x49
  DebugInfo:
  - t325001110_x49 - c1_11(400357, 0) - Black Knifeprint (400357)
- ID: 331006000
  Comment: Blackguard. If have not done something in the shop (10364392​10), and have shop flag set OR Rya's Necklace (quantity == 1), count it as having made the purchase and skip initial dialog. If this were an item template type, it would amount to an item check only. Probably preserve location-based behavior here, since all items are through the shop anyway, so it does not hurt to access it earlier. The release flag 1036439209 is set either way upon entering the main menu.
  ItemTemplate:
  - Type: loc
    EventFlag: 400300
    Machine: x40
  DebugInfo:
  - t331006000_x40 - f15(400300) == 0 && f47(3, 8136, 1, 1, 0) == 1 - Rya's Necklace (400300)
- ID: 402002000
  Comment: Turned on when talking to the Hornsent Grandam with the armor, turned off right before her gift of the item. Maybe cut NPC drop management
  ItemTemplate:
  - Type: loc
    EventFlag: 400721
    Machine: x41
  - Type: loc
    EventFlag: 400721
    Machine: x44
  DebugInfo:
  - t402002000_x41 - c1_11(400721, 1) - Watchful Spirit (400721)
  - t402002000_x44 - c1_11(400721, 0) - Watchful Spirit (400721)
- ID: 414002101
  Comment: Managing Hornsent's Furnace Visage drop. Turned on by default (at Highroad Cross only), off after taking the soup
  ItemTemplate:
  - Type: loc
    EventFlag: 400612
    Machine: x48
  DebugInfo:
  - t414002101_x48 - c1_11(400612, 0) - Furnace Visage (400612)
- ID: 414006100
  Comment: Hornsent in overworld
  ItemTemplate:
  - Type: loc
    EventFlag: 400612
    Machine: x48
  DebugInfo:
  - t414006100_x48 - c1_11(400612, 0) - Furnace Visage (400612)
- ID: 607001900
  Comment: Ending choice
  ItemTemplate:
  - Type: item
    EventFlag: 9500 9502 9504
    Machine: x5
  DebugInfo:
  - t607001900_x5 - c5_19(f15(9500) == 1, 2, 26071001, -1) - Mending Rune of Perfect Order (9500)
  - t607001900_x5 - c5_19(f15(9502) == 1, 3, 26071002, -1) - Mending Rune of the Death-Prince (9502)
  - t607001900_x5 - c5_19(f15(9504) == 1, 4, 26071003, -1) - Mending Rune of the Fell Curse (9504)
- ID: 751006000
  Comment: Finger reader
  ItemTemplate:
  - Type: item
    EventFlag: 1046367500 1051397900
    Machine: x37
  DebugInfo:
  - t751006000_x37 - f15(1046367500) == 1 && f15(1051397900) == 1 - Dectus Medallion (Left) (1046367500)
  - t751006000_x37 - f15(1046367500) == 1 && f15(1051397900) == 1 - Dectus Medallion (Right) (1051397900)
ItemEvents:
- ID: 700
  Comment: Only set if 2000 and 2001 off
  ItemTemplate:
  - Type: default
    EventFlag: 60120 60210 60220 60240 60250 60260 60270 60280 60290 60300 60310 65610 65640 65660 65680 65720
  DebugInfo:
  - EventFlags 60120 60210 60220 60240 60250 60260 60270 60280 60290 60300 60310 65610 65640 65660 65680 65720
  - common - SetEventFlag(60210) - Tarnished's Wizened Finger
  - common - SetEventFlag(60220) - Tarnished's Furled Finger
  - common - SetEventFlag(60240) - Duelist's Furled Finger
  - common - SetEventFlag(60250) - Small Red Effigy
  - common - SetEventFlag(60260) - Recusant Finger
  - common - SetEventFlag(60270) - Bloody Finger
  - common - SetEventFlag(60280) - White Cipher Ring
  - common - SetEventFlag(60290) - Blue Cipher Ring
  - common - SetEventFlag(60300) - Taunter's Tongue
  - common - SetEventFlag(60310) - Finger Severer
  - common - SetEventFlag(65610) - Iron Whetblade
  - common - SetEventFlag(65640) - Red-Hot Whetblade
  - common - SetEventFlag(65660) - Sanctified Whetblade
  - common - SetEventFlag(65680) - Glintstone Whetblade
  - common - SetEventFlag(65720) - Black Whetblade
  - common - SetEventFlag(60120) - Crafting Kit
- ID: 720
  Comment: Used for powering up the rune. These are not randomized.
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 191 192 193 194 195 196 197
  DebugInfo:
  - EventFlags 191 192 193 194 195 196 197
  - common - IfCountEventFlags(190, 199) - Godrick's Great Rune (191)
  - common - IfCountEventFlags(190, 199) - Radahn's Great Rune (192)
  - common - IfCountEventFlags(190, 199) - Morgott's Great Rune (193)
  - common - IfCountEventFlags(190, 199) - Rykard's Great Rune (194)
  - common - IfCountEventFlags(190, 199) - Mohg's Great Rune (195)
  - common - IfCountEventFlags(190, 199) - Malenia's Great Rune (196)
  - common - IfCountEventFlags(190, 199) - Remembrance of the Full Moon Queen (197)
- ID: 730
  Comment: Awarding the unpowered rune. Used for various story activation things, so it should be kept with the item itself, unless we fully rewrite this
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 171 172 173 174 175 176 177
  DebugInfo:
  - EventFlags 171 172 173 174 175 176 177
  - common - IfCountEventFlags(170, 179) - Godrick's Great Rune (171)
  - common - IfCountEventFlags(170, 179) - Radahn's Great Rune (172)
  - common - IfCountEventFlags(170, 179) - Morgott's Great Rune (173)
  - common - IfCountEventFlags(170, 179) - Rykard's Great Rune (174)
  - common - IfCountEventFlags(170, 179) - Mohg's Great Rune (175)
  - common - IfCountEventFlags(170, 179) - Malenia's Great Rune (176)
  - common - IfCountEventFlags(170, 179) - Great Rune of the Unborn (177)
- ID: 1100
  Comment: Boss drop
  ItemTemplate:
  - Type: singleton
  - Type: removecheck
    EventFlagArg: X12
  - Type: locarg
    Comment: This can run into issues when the flag was already set, and other drops won't be rewarded. For instance, Radahn Remembrance (510300) getting replaced by Godrick's Great Rune (171), but the GR has already been acquired somehow. Maybe remove the event flag check? This should not affect normal playthroughs.
    EventFlag: 197 60440 60510 60520 510010 510030 510040 510060 510070 510080 510090 510100 510110 510120 510140 510150 510160 510190 510200 510210 510220 510230 510250 510260 510280 510290 510300 510310 510320 510330 510340 510350 510400 510430 510440 510460 510480 510550 510560 510600 510610 510620 510630 510640 510730 510740 510800 510810 510820 510830 510840 510900
    EventFlagArg: X12
  DebugInfo:
  - EventFlags 197 60440 60510 60520 510010 510030 510040 510060 510070 510080 510090 510100 510110 510120 510140 510150 510160 510190 510200 510210 510220 510230 510250 510260 510280 510290 510300 510310 510320 510330 510340 510350 510400 510430 510440 510460 510480 510550 510560 510600 510610 510620 510630 510640 510730 510740 510800 510810 510820 510830 510840 510900
  - common - EndIfEventFlag(X12_4 = 60510) - Talisman Pouch
  - common - EndIfEventFlag(X12_4 = 510010) - Remembrance of the Grafted
  - common - EndIfEventFlag(X12_4 = 510030) - Ornamental Straight Sword, Golden Beast Crest Shield
  - common - EndIfEventFlag(X12_4 = 510040) - Remembrance of the Omen King
  - common - EndIfEventFlag(X12_4 = 60520) - Talisman Pouch
  - common - EndIfEventFlag(X12_4 = 510060) - Scepter of the All-Knowing, All-Knowing Helm, All-Knowing Armor, All-Knowing Gauntlets, All-Knowing Greaves
  - common - EndIfEventFlag(X12_4 = 510070) - Remembrance of Hoarah Loux
  - common - EndIfEventFlag(X12_4 = 510080) - Remembrance of the Naturalborn
  - common - EndIfEventFlag(X12_4 = 510090) - Frozen Lightning Spear
  - common - EndIfEventFlag(X12_4 = 510100) - Gargoyle's Greatsword, Gargoyle's Twinblade
  - common - EndIfEventFlag(X12_4 = 510110) - Remembrance of the Lichdragon
  - common - EndIfEventFlag(X12_4 = 510120) - Remembrance of the Blood Lord
  - "common - EndIfEventFlag(X12_4 = 510140) - Smithing-Stone Miner's Bell Bearing [4], Ash of War: Black Flame Tornado"
  - common - EndIfEventFlag(X12_4 = 510150) - Remembrance of the Dragonlord
  - common - EndIfEventFlag(X12_4 = 510160) - Remembrance of the Black Blade
  - common - EndIfEventFlag(X12_4 = 60440) - Memory Stone
  - common - EndIfEventFlag(X12_4 = 197) - Remembrance of the Full Moon Queen
  - common - EndIfEventFlag(X12_4 = 510190) - Loretta's War Sickle, Loretta's Mastery
  - common - EndIfEventFlag(X12_4 = 510200) - Remembrance of the Rot Goddess
  - common - EndIfEventFlag(X12_4 = 510210) - Godskin Stitcher, Noble Presence
  - common - EndIfEventFlag(X12_4 = 510220) - Remembrance of the Blasphemous
  - common - EndIfEventFlag(X12_4 = 510230) - Elden Remembrance
  - common - EndIfEventFlag(X12_4 = 510250) - Bloodflame Talons
  - common - EndIfEventFlag(X12_4 = 510260) - Magma Wyrm's Scalesword, Dragon Heart
  - common - EndIfEventFlag(X12_4 = 510280) - Golden Seed, Banished Knight Oleg
  - common - EndIfEventFlag(X12_4 = 510290) - Inquisitor's Girandole
  - common - EndIfEventFlag(X12_4 = 510300) - Remembrance of the Starscourge
  - common - EndIfEventFlag(X12_4 = 510310) - Remembrance of the Fire Giant
  - common - EndIfEventFlag(X12_4 = 510320) - Ancestral Follower Ashes
  - common - EndIfEventFlag(X12_4 = 510330) - Remembrance of the Regal Ancestor
  - common - EndIfEventFlag(X12_4 = 510340) - Silver Tear Mask, Larval Tear
  - common - EndIfEventFlag(X12_4 = 510350) - Fia's Mist
  - common - EndIfEventFlag(X12_4 = 510400) - Remembrance of the Dancing Lion
  - common - EndIfEventFlag(X12_4 = 510430) - Remembrance of a God and a Lord
  - 'common - EndIfEventFlag(X12_4 = 510440) - Aspects of the Crucible: Thorns, Scadutree Fragment'
  - common - EndIfEventFlag(X12_4 = 510460) - Remembrance of the Impaler, Messmer's Kindling
  - common - EndIfEventFlag(X12_4 = 510480) - Remembrance of Putrescence
  - common - EndIfEventFlag(X12_4 = 510550) - Remembrance of the Mother of Fingers
  - common - EndIfEventFlag(X12_4 = 510560) - Remembrance of the Lord of Frenzied Flame
  - common - EndIfEventFlag(X12_4 = 510600) - Remembrance of the Saint of the Bud
  - common - EndIfEventFlag(X12_4 = 510610) - Barbed Staff-Spear
  - common - EndIfEventFlag(X12_4 = 510620) - Remembrance of the Shadow Sunflower, Miquella's Great Rune
  - common - EndIfEventFlag(X12_4 = 510630) - Heart of Bayle
  - common - EndIfEventFlag(X12_4 = 510640) - Remembrance of the Wild Boar Rider
  - common - EndIfEventFlag(X12_4 = 510730) - Godskin Apostle Hood, Godskin Apostle Robe, Godskin Apostle Bracelets, Godskin Apostle Trousers
  - common - EndIfEventFlag(X12_4 = 510740) - Omenkiller Rollo
  - common - EndIfEventFlag(X12_4 = 510800) - Grafted Blade Greatsword
  - "common - EndIfEventFlag(X12_4 = 510810) - Loretta's Greatbow, Ash of War: Loretta's Slash"
  - common - EndIfEventFlag(X12_4 = 510820) - Marais Executioner's Sword, Briar Greatshield
  - common - EndIfEventFlag(X12_4 = 510830) - Ruins Greatsword
  - common - EndIfEventFlag(X12_4 = 510840) - Veteran's Prosthesis
  - common - EndIfEventFlag(X12_4 = 510900) - Remembrance of the Twin Moon Knight
- ID: 1200
  Comment: Alt boss drop
  ItemTemplate:
  - Type: singleton
  - Type: removecheck
    EventFlagArg: X12
  - Type: locarg
    EventFlag: 520000 520010 520020 520030 520040 520050 520060 520070 520080 520090 520100 520110 520120 520130 520140 520150 520160 520170 520180 520190 520200 520210 520220 520300 520310 520330 520340 520350 520360 520370 520380 520390 520400 520410 520420 520430 520440 520450 520460 520470 520480 520490 520600 520610 520620 520630 520640 520650 520660 520670 520680 520700 520710 520750 520760 520770 520800 520810
    EventFlagArg: X12
  DebugInfo:
  - EventFlags 520000 520010 520020 520030 520040 520050 520060 520070 520080 520090 520100 520110 520120 520130 520140 520150 520160 520170 520180 520190 520200 520210 520220 520300 520310 520330 520340 520350 520360 520370 520380 520390 520400 520410 520420 520430 520440 520450 520460 520470 520480 520490 520600 520610 520620 520630 520640 520650 520660 520670 520680 520700 520710 520750 520760 520770 520800 520810
  - common - EndIfEventFlag(X12_4 = 520000) - Lhutel the Headless
  - common - EndIfEventFlag(X12_4 = 520010) - Demi-Human Ashes
  - common - EndIfEventFlag(X12_4 = 520020) - Noble Sorcerer Ashes
  - common - EndIfEventFlag(X12_4 = 520030) - Assassin's Crimson Dagger
  - common - EndIfEventFlag(X12_4 = 520040) - Banished Knight Engvall
  - common - EndIfEventFlag(X12_4 = 520050) - Twinsage Sorcerer Ashes
  - common - EndIfEventFlag(X12_4 = 520060) - Glintstone Sorcerer Ashes
  - common - EndIfEventFlag(X12_4 = 520070) - Kaiden Sellsword Ashes
  - common - EndIfEventFlag(X12_4 = 520080) - Ancient Dragon Knight Kristoff
  - common - EndIfEventFlag(X12_4 = 520090) - Bloodhound Knight Floh
  - common - EndIfEventFlag(X12_4 = 520100) - Ordovis's Greatsword, Crucible Axe Helm, Crucible Axe Armor, Crucible Gauntlets, Crucible Greaves
  - common - EndIfEventFlag(X12_4 = 520110) - Perfumer Tricia
  - common - EndIfEventFlag(X12_4 = 520120) - Glovewort Picker's Bell Bearing [1]
  - common - EndIfEventFlag(X12_4 = 520130) - Soldjars of Fortune Ashes
  - common - EndIfEventFlag(X12_4 = 520140) - Mad Pumpkin Head Ashes
  - common - EndIfEventFlag(X12_4 = 520150) - Kindred of Rot Ashes
  - common - EndIfEventFlag(X12_4 = 520160) - Golden Seed, Redmane Knight Ogha
  - common - EndIfEventFlag(X12_4 = 520170) - Zamor Curved Sword, Zamor Mask, Zamor Armor, Zamor Bracelets, Zamor Legwraps
  - common - EndIfEventFlag(X12_4 = 520180) - Glovewort Picker's Bell Bearing [2], Golden Seed
  - common - EndIfEventFlag(X12_4 = 520190) - Rotten Gravekeeper Cloak, Great Grave Glovewort
  - common - EndIfEventFlag(X12_4 = 520200) - Blackflame Monk Amon
  - common - EndIfEventFlag(X12_4 = 520210) - Assassin's Cerulean Dagger, Black Knifeprint
  - common - EndIfEventFlag(X12_4 = 520220) - Lord of Blood's Exultation
  - common - EndIfEventFlag(X12_4 = 520300) - Viridian Amber Medallion
  - common - EndIfEventFlag(X12_4 = 520310) - Spelldrake Talisman
  - common - EndIfEventFlag(X12_4 = 520330) - Flamedrake Talisman
  - common - EndIfEventFlag(X12_4 = 520340) - Sewing Needle
  - common - EndIfEventFlag(X12_4 = 520350) - Blue Dancer Charm
  - common - EndIfEventFlag(X12_4 = 520360) - Winged Sword Insignia
  - common - EndIfEventFlag(X12_4 = 520370) - Cerulean Amber Medallion
  - common - EndIfEventFlag(X12_4 = 520380) - Crystal Release
  - common - EndIfEventFlag(X12_4 = 520390) - Kindred of Rot's Exultation
  - common - EndIfEventFlag(X12_4 = 520400) - Jar Cannon
  - common - EndIfEventFlag(X12_4 = 520410) - Great Omenkiller Cleaver
  - common - EndIfEventFlag(X12_4 = 520420) - Concealing Veil
  - common - EndIfEventFlag(X12_4 = 520430) - Putrid Corpse Ashes
  - common - EndIfEventFlag(X12_4 = 520440) - Flamedrake Talisman +2
  - common - EndIfEventFlag(X12_4 = 520450) - Gold Scarab
  - common - EndIfEventFlag(X12_4 = 520460) - Crystal Torrent
  - common - EndIfEventFlag(X12_4 = 520470) - Golden Order Greatsword
  - common - EndIfEventFlag(X12_4 = 520480) - Godskin Swaddling Cloth, Black Flame Ritual
  - common - EndIfEventFlag(X12_4 = 520490) - Family Heads
  - common - EndIfEventFlag(X12_4 = 520600) - Rusted Anchor
  - common - EndIfEventFlag(X12_4 = 520610) - Roar Medallion
  - common - EndIfEventFlag(X12_4 = 520620) - Smithing-Stone Miner's Bell Bearing [1]
  - common - EndIfEventFlag(X12_4 = 520630) - Great Club
  - common - EndIfEventFlag(X12_4 = 520640) - Onyx Lord's Greatsword
  - common - EndIfEventFlag(X12_4 = 520650) - Somberstone Miner's Bell Bearing [2]
  - common - EndIfEventFlag(X12_4 = 520660) - Moonveil, Dragon Heart
  - common - EndIfEventFlag(X12_4 = 520670) - Gravity Stone Chunk, Somberstone Miner's Bell Bearing [1], Smithing Stone [7], Somber Smithing Stone [6]
  - common - EndIfEventFlag(X12_4 = 520680) - Meteorite of Astel
  - common - EndIfEventFlag(X12_4 = 520700) - Death Knight's Twin Axes, Crimson Amber Medallion +3
  - common - EndIfEventFlag(X12_4 = 520710) - Death Knight's Longhaft Axe
  - common - EndIfEventFlag(X12_4 = 520750) - Demi-Human Swordsman Yosh
  - common - EndIfEventFlag(X12_4 = 520760) - Curseblade Meera
  - common - EndIfEventFlag(X12_4 = 520770) - Lamenter's Mask
  - common - EndIfEventFlag(X12_4 = 520800) - Bloodfiend Hexer's Ashes
  - common - EndIfEventFlag(X12_4 = 520810) - Dragon-Hunter's Great Katana
- ID: 1450
  Comment: Sets auxiliary flags associated with whetblades when it's acquired
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 65610 65640 65660 65680 65720
  DebugInfo:
  - EventFlags 65610 65640 65660 65680 65720
  - common - IfEventFlag(X0_4 = 65610) - Iron Whetblade
  - common - IfEventFlag(X0_4 = 65640) - Red-Hot Whetblade
  - common - IfEventFlag(X0_4 = 65660) - Sanctified Whetblade
  - common - IfEventFlag(X0_4 = 65680) - Glintstone Whetblade
  - common - IfEventFlag(X0_4 = 65720) - Black Whetblade
- ID: 1460
  Comment: Manages permanent cracked pots
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 66000 66010 66020 66030 66060 66070 66080 66090 66100 66110 66120 66130 66140 66150 66160 66170 66180 66190
  DebugInfo:
  - EventFlags 66000 66010 66020 66030 66060 66070 66080 66090 66100 66110 66120 66130 66140 66150 66160 66170 66180 66190
  - common - IfEventFlag(66000) - Cracked Pot
  - common - IfEventFlag(66010) - Cracked Pot
  - common - IfEventFlag(66020) - Cracked Pot
  - common - IfEventFlag(66030) - Cracked Pot
  - common - IfEventFlag(66060) - Cracked Pot
  - common - IfEventFlag(66070) - Cracked Pot
  - common - IfEventFlag(66080) - Cracked Pot
  - common - IfEventFlag(66090) - Cracked Pot
  - common - IfEventFlag(66100) - Cracked Pot
  - common - IfEventFlag(66110) - Cracked Pot
  - common - IfEventFlag(66120) - Cracked Pot
  - common - IfEventFlag(66130) - Cracked Pot
  - common - IfEventFlag(66140) - Cracked Pot
  - common - IfEventFlag(66150) - Cracked Pot
  - common - IfEventFlag(66160) - Cracked Pot
  - common - IfEventFlag(66170) - Cracked Pot
  - common - IfEventFlag(66180) - Cracked Pot
  - common - IfEventFlag(66190) - Cracked Pot
- ID: 1461
  Comment: Manages permanent ritual pots
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 66400 66410 66420 66430 66440 66450 66460 66470 66480 66490
  DebugInfo:
  - EventFlags 66400 66410 66420 66430 66440 66450 66460 66470 66480 66490
  - common - IfEventFlag(66400) - Ritual Pot
  - common - IfEventFlag(66410) - Ritual Pot
  - common - IfEventFlag(66420) - Ritual Pot
  - common - IfEventFlag(66430) - Ritual Pot
  - common - IfEventFlag(66440) - Ritual Pot
  - common - IfEventFlag(66450) - Ritual Pot
  - common - IfEventFlag(66460) - Ritual Pot
  - common - IfEventFlag(66470) - Ritual Pot
  - common - IfEventFlag(66480) - Ritual Pot
  - common - IfEventFlag(66490) - Ritual Pot
- ID: 1462
  Comment: Manages permanent bottles
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 66700 66710 66720 66730 66740 66750 66760 66770 66780 66790
  DebugInfo:
  - EventFlags 66700 66710 66720 66730 66740 66750 66760 66770 66780 66790
  - common - IfEventFlag(66700) - Perfume Bottle
  - common - IfEventFlag(66710) - Perfume Bottle
  - common - IfEventFlag(66720) - Perfume Bottle
  - common - IfEventFlag(66730) - Perfume Bottle
  - common - IfEventFlag(66740) - Perfume Bottle
  - common - IfEventFlag(66750) - Perfume Bottle
  - common - IfEventFlag(66760) - Perfume Bottle
  - common - IfEventFlag(66770) - Perfume Bottle
  - common - IfEventFlag(66780) - Perfume Bottle
  - common - IfEventFlag(66790) - Perfume Bottle
- ID: 1600
  Comment: Unlock map when get item
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 62010 62011 62012 62020 62021 62022 62030 62031 62032 62040 62041 62050 62051 62052 62060 62061 62062 62063 62064 62080 62081 62082 62083 62084
  DebugInfo:
  - EventFlags 62010 62011 62012 62020 62021 62022 62030 62031 62032 62040 62041 62050 62051 62052 62060 62061 62062 62063 62064 62080 62081 62082 62083 62084
  - 'common - GotoIfEventFlag(X0_4 = 62010) - Map: Limgrave, West'
  - 'common - IfEventFlag(X0_4 = 62010) - Map: Limgrave, West'
  - 'common - GotoIfEventFlag(X0_4 = 62011) - Map: Weeping Peninsula'
  - 'common - IfEventFlag(X0_4 = 62011) - Map: Weeping Peninsula'
  - 'common - GotoIfEventFlag(X0_4 = 62012) - Map: Limgrave, East'
  - 'common - IfEventFlag(X0_4 = 62012) - Map: Limgrave, East'
  - 'common - GotoIfEventFlag(X0_4 = 62020) - Map: Liurnia, East'
  - 'common - IfEventFlag(X0_4 = 62020) - Map: Liurnia, East'
  - 'common - GotoIfEventFlag(X0_4 = 62021) - Map: Liurnia, North'
  - 'common - IfEventFlag(X0_4 = 62021) - Map: Liurnia, North'
  - 'common - GotoIfEventFlag(X0_4 = 62022) - Map: Liurnia, West'
  - 'common - IfEventFlag(X0_4 = 62022) - Map: Liurnia, West'
  - 'common - GotoIfEventFlag(X0_4 = 62030) - Map: Altus Plateau'
  - 'common - IfEventFlag(X0_4 = 62030) - Map: Altus Plateau'
  - 'common - GotoIfEventFlag(X0_4 = 62031) - Map: Leyndell, Royal Capital'
  - 'common - IfEventFlag(X0_4 = 62031) - Map: Leyndell, Royal Capital'
  - 'common - GotoIfEventFlag(X0_4 = 62032) - Map: Mt. Gelmir'
  - 'common - IfEventFlag(X0_4 = 62032) - Map: Mt. Gelmir'
  - 'common - GotoIfEventFlag(X0_4 = 62040) - Map: Caelid'
  - 'common - IfEventFlag(X0_4 = 62040) - Map: Caelid'
  - 'common - GotoIfEventFlag(X0_4 = 62041) - Map: Dragonbarrow'
  - 'common - IfEventFlag(X0_4 = 62041) - Map: Dragonbarrow'
  - 'common - GotoIfEventFlag(X0_4 = 62050) - Map: Mountaintops of the Giants, West'
  - 'common - IfEventFlag(X0_4 = 62050) - Map: Mountaintops of the Giants, West'
  - 'common - GotoIfEventFlag(X0_4 = 62051) - Map: Mountaintops of the Giants, East'
  - 'common - IfEventFlag(X0_4 = 62051) - Map: Mountaintops of the Giants, East'
  - 'common - GotoIfEventFlag(X0_4 = 62052) - Map: Consecrated Snowfield'
  - 'common - IfEventFlag(X0_4 = 62052) - Map: Consecrated Snowfield'
  - 'common - GotoIfEventFlag(X0_4 = 62060) - Map: Ainsel River'
  - 'common - IfEventFlag(X0_4 = 62060) - Map: Ainsel River'
  - 'common - GotoIfEventFlag(X0_4 = 62061) - Map: Lake of Rot'
  - 'common - IfEventFlag(X0_4 = 62061) - Map: Lake of Rot'
  - 'common - GotoIfEventFlag(X0_4 = 62063) - Map: Siofra River'
  - 'common - IfEventFlag(X0_4 = 62063) - Map: Siofra River'
  - 'common - GotoIfEventFlag(X0_4 = 62062) - Map: Mohgwyn Palace'
  - 'common - IfEventFlag(X0_4 = 62062) - Map: Mohgwyn Palace'
  - 'common - GotoIfEventFlag(X0_4 = 62064) - Map: Deeproot Depths'
  - 'common - IfEventFlag(X0_4 = 62064) - Map: Deeproot Depths'
  - 'common - GotoIfEventFlag(X0_4 = 62080) - Map: Gravesite Plain'
  - 'common - IfEventFlag(X0_4 = 62080) - Map: Gravesite Plain'
  - 'common - GotoIfEventFlag(X0_4 = 62081) - Map: Scadu Altus'
  - 'common - IfEventFlag(X0_4 = 62081) - Map: Scadu Altus'
  - 'common - GotoIfEventFlag(X0_4 = 62082) - Map: Southern Shore'
  - 'common - IfEventFlag(X0_4 = 62082) - Map: Southern Shore'
  - 'common - GotoIfEventFlag(X0_4 = 62083) - Map: Rauh Ruins'
  - 'common - IfEventFlag(X0_4 = 62083) - Map: Rauh Ruins'
  - 'common - GotoIfEventFlag(X0_4 = 62084) - Map: Abyss'
  - 'common - IfEventFlag(X0_4 = 62084) - Map: Abyss'
- ID: 1630
  Comment: Probably filling in region name based on map item flags (WorldMapPieceParam)
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 62010 62011 62012 62020 62022 62030 62031 62032 62040 62041 62050 62051 62052
  DebugInfo:
  - EventFlags 62010 62011 62012 62020 62022 62030 62031 62032 62040 62041 62050 62051 62052
  - 'common - IfEventFlag(X4_4 = 62010) - Map: Limgrave, West'
  - 'common - IfEventFlag(X8_4 = 62012) - Map: Limgrave, East'
  - 'common - IfEventFlag(X12_4 = 62020) - Map: Liurnia, East'
  - 'common - IfEventFlag(X16_4 = 62030) - Map: Altus Plateau'
  - 'common - IfEventFlag(X20_4 = 62031) - Map: Leyndell, Royal Capital'
  - 'common - IfEventFlag(X24_4 = 62041) - Map: Dragonbarrow'
  - 'common - IfEventFlag(X28_4 = 62050) - Map: Mountaintops of the Giants, West'
  - 'common - IfEventFlag(X8_4 = 62011) - Map: Weeping Peninsula'
  - 'common - IfEventFlag(X12_4 = 62022) - Map: Liurnia, West'
  - 'common - IfEventFlag(X4_4 = 62022) - Map: Liurnia, West'
  - 'common - IfEventFlag(X8_4 = 62032) - Map: Mt. Gelmir'
  - 'common - IfEventFlag(X4_4 = 62011) - Map: Weeping Peninsula'
  - 'common - IfEventFlag(X8_4 = 62040) - Map: Caelid'
  - 'common - IfEventFlag(X12_4 = 62041) - Map: Dragonbarrow'
  - 'common - IfEventFlag(X4_4 = 62050) - Map: Mountaintops of the Giants, West'
  - 'common - IfEventFlag(X8_4 = 62051) - Map: Mountaintops of the Giants, East'
  - 'common - IfEventFlag(X8_4 = 62052) - Map: Consecrated Snowfield'
- ID: 1702
  Comment: Tutorial pop-up
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 60110
  DebugInfo:
  - EventFlags 60110
  - common - IfEventFlag(60110) - Spirit Calling Bell
- ID: 1703
  Comment: Tutorial pop-up
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 60120
  DebugInfo:
  - EventFlags 60120
  - common - IfEventFlag(60120) - Crafting Kit
- ID: 1704
  Comment: Tutorial pop-up
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 60120
  DebugInfo:
  - EventFlags 60120
  - common - IfEventFlag(60120) - Crafting Kit
- ID: 1752
  Comment: Tutorial pop-up
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 60110
  DebugInfo:
  - EventFlags 60110
  - common - IfEventFlag(60110) - Spirit Calling Bell
- ID: 3050
  Comment: Swaps out mini rannis once Baleful Shadow is defeated. This requires 12019280 (12010715 dead or HP 0) and not 12012716 (set right after). Not singleton since it's unreliable
  ItemTemplate:
  - Type: loc
    EventFlag: 400159
  DebugInfo:
  - EventFlags 400159
  - common - EndIfEventFlag(400159) - Discarded Palace Key
- ID: 3051
  Comment: Swaps out the Favors from Hyetta
  ItemTemplate:
  - Type: singleton
  - Type: item
    EventFlag: 400031
  - Type: loc
    Comment: For awarded item lot 100330 (also given in other places)
    EventFlag: 400033
  DebugInfo:
  - EventFlags 400031 400033
  - common - EndIfEventFlag(400033) - Lord of Blood's Favor
  - common - IfEventFlag(400031) - Lord of Blood's Favor
- ID: 3052
  Comment: For awarded lot
  ItemTemplate:
  - Type: singleton
  - Type: loc
    EventFlag: 400410
  DebugInfo:
  - EventFlags 400410
  - common - EndIfEventFlag(400410) - Latenna the Albinauric
- ID: 3056
  Comment: If have either Haligtree half, and not yet entered Farum Azula (flag 110), makes Ensha angry in Roundtable
  ItemTemplate:
  - Type: item
    EventFlag: 400130 1051587800
  DebugInfo:
  - EventFlags 400130 1051587800
  - common - IfEventFlag(1051587800) - Haligtree Secret Medallion (Left)
  - common - IfEventFlag(400130) - Haligtree Secret Medallion (Right)
- ID: 3080
  Comment: Sets 9433 (event 1800, changes character state?) when you've purchased 4 dragon items
  ItemTemplate:
  - Type: default
    Comment: Still make it tied to shop slot, although these won't be quite as useful
    EventFlag: 290500 290510 290520 290530 290540 290550 290560 290570 290650 290660 290670 290750 290760 290770 290780 290790
  DebugInfo:
  - EventFlags 290500 290510 290520 290530 290540 290550 290560 290570 290650 290660 290670 290750 290760 290770 290780 290790
  - common - IfCountEventFlags(290500, 290999) - Dragonfire (290500)
  - common - IfCountEventFlags(290500, 290999) - Dragonice (290510)
  - common - IfCountEventFlags(290500, 290999) - Glintstone Breath (290520)
  - common - IfCountEventFlags(290500, 290999) - Rotten Breath (290530)
  - common - IfCountEventFlags(290500, 290999) - Agheel's Flame (290540)
  - common - IfCountEventFlags(290500, 290999) - Borealis's Mist (290550)
  - common - IfCountEventFlags(290500, 290999) - Smarag's Glintstone Breath (290560)
  - common - IfCountEventFlags(290500, 290999) - Ekzykes's Decay (290570)
  - common - IfCountEventFlags(290500, 290999) - Bayle's Tyranny (290650)
  - common - IfCountEventFlags(290500, 290999) - Bayle's Flame Lightning (290660)
  - common - IfCountEventFlags(290500, 290999) - Ghostflame Breath (290670)
  - common - IfCountEventFlags(290500, 290999) - Dragonclaw (290750)
  - common - IfCountEventFlags(290500, 290999) - Dragonmaw (290760)
  - common - IfCountEventFlags(290500, 290999) - Magma Breath (290770)
  - common - IfCountEventFlags(290500, 290999) - Theodorix's Magma (290780)
  - common - IfCountEventFlags(290500, 290999) - Greyoll's Roar (290790)
- ID: 3081
  Comment: Flag management of Zorayas map marker
  ItemTemplate:
  - Type: loc
    EventFlag: 400091
  DebugInfo:
  - EventFlags 400091
  - common - IfEventFlag(400091) - Daedicar's Woe, Zorayas's Letter
- ID: 3082
  Comment: Flag management of Varre map marker
  ItemTemplate:
  - Type: loc
    EventFlag: 400036 400037
  DebugInfo:
  - EventFlags 400036 400037
  - common - IfEventFlag(400036) - Festering Bloody Finger
  - common - IfEventFlag(400037) - Varré's Bouquet
- ID: 3084
  Comment: Flag management of Latenna map marker
  ItemTemplate:
  - Type: loc
    EventFlag: 400412
  DebugInfo:
  - EventFlags 400412
  - common - IfEventFlag(400412) - Blue Silver Mail Hood, Blue Silver Mail Armor, Blue Silver Bracelets, Blue Silver Mail Skirt
- ID: 3085
  Comment: Flag management of Patches map marker
  ItemTemplate:
  - Type: loc
    EventFlag: 400181 400189
  DebugInfo:
  - EventFlags 400181 400189
  - common - IfEventFlag(400181) - Dancer's Castanets
  - common - IfEventFlag(400189) - Spear +7, Leather Armor, Leather Gloves, Leather Boots, Patches' Bell Bearing
- ID: 3087
  Comment: Flag management of Bernahl map marker
  ItemTemplate:
  - Type: loc
    EventFlag: 400293 400294 400299
  DebugInfo:
  - EventFlags 400293 400294 400299
  - common - IfEventFlag(400293) - Devourer's Scepter
  - common - IfEventFlag(400294) - Beast Champion Helm, Beast Champion Gauntlets, Beast Champion Greaves, Beast Champion Armor (Altered)
  - common - IfEventFlag(400299) - Bernahl's Bell Bearing
- ID: 3088
  Comment: Flag management of Blackguard map marker
  ItemTemplate:
  - Type: loc
    EventFlag: 400300 400308 400309
  DebugInfo:
  - EventFlags 400300 400308 400309
  - common - IfEventFlag(400300) - Rya's Necklace
  - common - IfEventFlag(400309) - Blackguard's Iron Mask, Blackguard's Bell Bearing, Iron Ball
  - common - IfEventFlag(400308) - Seedbed Curse
- ID: 3090
  Comment: Sets unknown flags. If Liurnia and 3409, set 1034449200. If Leyndell and 118, set 11059400.
  ItemTemplate:
  - Type: loc
    EventFlag: 62022 62031
  DebugInfo:
  - EventFlags 62022 62031
  - 'common - IfEventFlag(62022) - Map: Liurnia, West'
  - 'common - IfEventFlag(62031) - Map: Leyndell, Royal Capital'
- ID: 3119
  Comment: Tanith quest flags
  ItemTemplate:
  - Type: volcanoreq
  - Type: item
    EventFlag: 400073
  DebugInfo:
  - EventFlags 400073
  - common - SkipIfEventFlag(400073) - Letter from Volcano Manor
- ID: 3199
  Comment: Varre quest flags
  ItemTemplate:
  - Type: item
    EventFlag: 400033
  DebugInfo:
  - EventFlags 400033
  - common - SkipIfEventFlag(400033) - Lord of Blood's Favor
- ID: 3619
  Comment: Blaidd quest
  ItemTemplate:
  - Type: item
    EventFlag: 114 12027080
  DebugInfo:
  - EventFlags 114 12027080
  - common - IfEventFlag(12027080) - Fingerslayer Blade, Great Ghost Glovewort
  - common - GotoIfEventFlag(114) - Dark Moon Ring
- ID: 3719
  Comment: Roderika's quest (is unset in a different event)
  ItemTemplate:
  - Type: loc
    EventFlag: 10007452
  DebugInfo:
  - EventFlags 10007452
  - common - SetEventFlag(10007452) - Crimson Hood
- ID: 3899
  Comment: Bernahl quest. Equivalent event to 400291
  ItemTemplate:
  - Type: default
    EventFlag: 400295
  DebugInfo:
  - EventFlags 400295
  - common - SetEventFlag(400295) - Gelmir's Fury
- ID: 3919
  Comment: Rogier quest. This is set as soon as the quest is initialized, unset in his ESD
  ItemTemplate:
  - Type: default
    EventFlag: 400357
  DebugInfo:
  - EventFlags 400357
  - common - SetEventFlag(400357) - Black Knifeprint
- ID: 4079
  Comment: D's brother's quest
  ItemTemplate:
  - Type: loc
    EventFlag: 9502
  DebugInfo:
  - EventFlags 9502
  - common - IfEventFlag(9502) - Mending Rune of the Death-Prince
- ID: 4139
  Comment: Fia's quest (her body appearing)
  ItemTemplate:
  - Type: loc
    EventFlag: 9502
  DebugInfo:
  - EventFlags 9502
  - common - IfEventFlag(9502) - Mending Rune of the Death-Prince
- ID: 4607
  Comment: Flag management of Alexander map marker
  ItemTemplate:
  - Type: loc
    Comment: These are his drops so probably marker depends on those
    EventFlag: 400174 400175
  DebugInfo:
  - EventFlags 400174 400175
  - common - IfEventFlag(400174) - Shard of Alexander, Alexander's Innards
  - common - IfEventFlag(400175) - Warrior Jar Shard
- ID: 4613
  Comment: Flag management of Grandam's marker when getting betrayal scorpion stew, sets 20009253
  ItemTemplate:
  - Type: loc
    EventFlag: 400720
  DebugInfo:
  - EventFlags 400720
  - common - IfEventFlag(400720) - Scorpion Stew
- ID: 4614
  Comment: Marker management for Igon, sets a few different flags including 2052409203
  ItemTemplate:
  - Type: loc
    EventFlag: 400710 400711 400712 400714
  DebugInfo:
  - EventFlags 400710 400711 400712 400714
  - common - IfEventFlag(400711) - Igon's Greatbow, Igon's Helm, Igon's Armor, Igon's Gauntlets, Igon's Loincloth, Igon's Bell Bearing, Igon's Greatbow
  - common - IfEventFlag(400712) - Igon's Greatbow, Igon's Helm, Igon's Armor, Igon's Gauntlets, Igon's Loincloth, Igon's Bell Bearing, Igon's Greatbow
  - common - IfEventFlag(400714) - Igon's Greatbow, Igon's Helm, Igon's Armor, Igon's Gauntlets, Igon's Loincloth, Igon's Bell Bearing, Igon's Greatbow
  - common - IfEventFlag(400710) - Igon's Furled Finger
- ID: 4615
  Comment: Marker management for St. Trina
  ItemTemplate:
  - Type: default item loc
    EventFlag: 400740
  DebugInfo:
  - EventFlags 400740
  - common - IfEventFlag(400740) - St. Trina's Blossom
- ID: 4617
  Comment: Marker management for Jolan
  ItemTemplate:
  - Type: loc
    EventFlag: 400670 400671
  DebugInfo:
  - EventFlags 400670 400671
  - common - IfEventFlag(400670) - Swordhand of Night Jolán
  - common - IfEventFlag(400671) - Sword of Night
- ID: 4619
  Comment: Marker management for Queelign
  ItemTemplate:
  - Type: loc
    EventFlag: 400690 400692
  DebugInfo:
  - EventFlags 400690 400692
  - common - IfEventFlag(400690) - Fire Knight Queelign
  - common - IfEventFlag(400692) - Queelign's Greatsword
- ID: 4620
  Comment: Marker management for Hornsent
  ItemTemplate:
  - Type: loc
    EventFlag: 400611 400612
  DebugInfo:
  - EventFlags 400611 400612
  - common - IfEventFlag(400611) - New Cross Map
  - common - IfEventFlag(400612) - Furnace Visage
- ID: 4621
  Comment: Marker management for Moore
  ItemTemplate:
  - Type: loc
    EventFlag: 400644
  DebugInfo:
  - EventFlags 400644
  - common - IfEventFlag(400644) - Moore's Bell Bearing
- ID: 4622
  Comment: Marker management for Ansbach
  ItemTemplate:
  - Type: loc
    EventFlag: 400620 400622 400624 400625
  DebugInfo:
  - EventFlags 400620 400622 400624 400625
  - common - IfEventFlag(400620) - Letter for Freyja
  - common - IfEventFlag(400622) - Obsidian Lamina, Ansbach's Longbow, Wise Man's Mask, Ansbach's Attire, Ansbach's Manchettes, Ansbach's Boots, Furious Blade of Ansbach, Letter for Freyja
  - common - IfEventFlag(400625) - Obsidian Lamina, Ansbach's Longbow, Wise Man's Mask, Ansbach's Attire, Ansbach's Manchettes, Ansbach's Boots, Furious Blade of Ansbach, Letter for Freyja
  - common - IfEventFlag(400624) - Obsidian Lamina, Ansbach's Longbow, Wise Man's Mask, Ansbach's Attire, Ansbach's Manchettes, Ansbach's Boots, Furious Blade of Ansbach, Letter for Freyja
- ID: 4623
  Comment: Marker management for Freyja
  ItemTemplate:
  - Type: loc
    EventFlag: 400602
  DebugInfo:
  - EventFlags 400602
  - common - IfEventFlag(400602) - Freyja's Greatsword, Freyja's Helm, Freyja's Armor, Freyja's Gauntlets, Freyja's Greaves
- ID: 4625
  Comment: Marker management for Thiollier
  ItemTemplate:
  - Type: loc
    EventFlag: 400634
  DebugInfo:
  - EventFlags 400634
  - common - IfEventFlag(400634) - Thiollier's Hidden Needle, Thiollier's Mask, Thiollier's Garb, Thiollier's Gloves, Thiollier's Trousers
- ID: 4627
  Comment: Marker management for Dane
  ItemTemplate:
  - Type: loc
    EventFlag: 400730
  DebugInfo:
  - EventFlags 400730
  - common - IfEventFlag(400730) - Dane's Hat, Dryleaf Arts
- ID: 4857
  Comment: Boss drop for Ymir
  ItemTemplate:
  - Type: singleton
  - Type: removecheck
    EventFlagArg: X12
  - Type: locarg
    EventFlag: 400664
    EventFlagArg: X12
  DebugInfo:
  - EventFlags 400664
  - common - EndIfEventFlag(X12_4 = 400664) - Maternal Staff, High Priest Hat, High Priest Robe, High Priest Gloves, High Priest Undergarments, Ymir's Bell Bearing
- ID: 4858
  Comment: Drop for Florissax, ends if already acquired. Probably fine to have possible false negative
  ItemTemplate:
  - Type: locarg
    EventFlag: 400700
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 400700
  - common - EndIfEventFlag(X0_4 = 400700) - Ancient Dragon Florissax
- ID: 4930
  Comment: Drop for Jolan, ends if already acquired (not on corpse like Queelign's)
  ItemTemplate:
  - Type: locarg
    EventFlag: 400670
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 400670
  - common - EndIfEventFlag(X0_4 = 400670) - Swordhand of Night Jolán
- ID: 4933
  Comment: X0 stock flag, X4 previously bought or has item (69920), X8 item id. This makes it unavailable on NG+ cycles, and also ties the item with the location, so it should go
  ItemTemplate:
  - Type: remove
    EventFlag: 320550
  DebugInfo:
  - EventFlags 320550
  - 'common - GotoIfEventFlag(X0_4 = 320550) - Note: Sealed Spiritsprings'
  - 'common - IfEventFlag(X0_4 = 320550) - Note: Sealed Spiritsprings'
  - 'common - SetEventFlag(X0_4 = 320550) - Note: Sealed Spiritsprings'
- ID: 6800
  Comment: Give Crystal Tear if acquired flag on. These items have fixed flags. Probably harmless.
  ItemTemplate:
  - Type: fixeditem
  DebugInfo:
  - EventFlags 65000 65010 65020 65030 65040 65050 65060 65070 65080 65090 65100 65110 65120 65130 65140 65150 65160 65170 65180 65190 65200 65210 65220 65230 65240 65250 65260 65270 65280 65290 65300 65310
  - common - IfEventFlag(X4_4 = 65000) - Crimsonspill Crystal Tear
  - common - SetEventFlag(X4_4 = 65000) - Crimsonspill Crystal Tear
  - common - IfEventFlag(X4_4 = 65010) - Greenspill Crystal Tear
  - common - SetEventFlag(X4_4 = 65010) - Greenspill Crystal Tear
  - common - IfEventFlag(X4_4 = 65020) - Crimson Crystal Tear
  - common - SetEventFlag(X4_4 = 65020) - Crimson Crystal Tear
  - common - IfEventFlag(X4_4 = 65030) - Crimson Crystal Tear
  - common - SetEventFlag(X4_4 = 65030) - Crimson Crystal Tear
  - common - IfEventFlag(X4_4 = 65040) - Cerulean Crystal Tear
  - common - SetEventFlag(X4_4 = 65040) - Cerulean Crystal Tear
  - common - IfEventFlag(X4_4 = 65050) - Cerulean Crystal Tear
  - common - SetEventFlag(X4_4 = 65050) - Cerulean Crystal Tear
  - common - IfEventFlag(X4_4 = 65060) - Speckled Hardtear
  - common - SetEventFlag(X4_4 = 65060) - Speckled Hardtear
  - common - IfEventFlag(X4_4 = 65070) - Crimson Bubbletear
  - common - SetEventFlag(X4_4 = 65070) - Crimson Bubbletear
  - common - IfEventFlag(X4_4 = 65080) - Opaline Bubbletear
  - common - SetEventFlag(X4_4 = 65080) - Opaline Bubbletear
  - common - IfEventFlag(X4_4 = 65090) - Crimsonburst Crystal Tear
  - common - SetEventFlag(X4_4 = 65090) - Crimsonburst Crystal Tear
  - common - IfEventFlag(X4_4 = 65100) - Greenburst Crystal Tear
  - common - SetEventFlag(X4_4 = 65100) - Greenburst Crystal Tear
  - common - IfEventFlag(X4_4 = 65110) - Opaline Hardtear
  - common - SetEventFlag(X4_4 = 65110) - Opaline Hardtear
  - common - IfEventFlag(X4_4 = 65120) - Winged Crystal Tear
  - common - SetEventFlag(X4_4 = 65120) - Winged Crystal Tear
  - common - IfEventFlag(X4_4 = 65130) - Thorny Cracked Tear
  - common - SetEventFlag(X4_4 = 65130) - Thorny Cracked Tear
  - common - IfEventFlag(X4_4 = 65140) - Spiked Cracked Tear
  - common - SetEventFlag(X4_4 = 65140) - Spiked Cracked Tear
  - common - IfEventFlag(X4_4 = 65150) - Windy Crystal Tear
  - common - SetEventFlag(X4_4 = 65150) - Windy Crystal Tear
  - common - IfEventFlag(X4_4 = 65160) - Ruptured Crystal Tear
  - common - SetEventFlag(X4_4 = 65160) - Ruptured Crystal Tear
  - common - IfEventFlag(X4_4 = 65170) - Ruptured Crystal Tear
  - common - SetEventFlag(X4_4 = 65170) - Ruptured Crystal Tear
  - common - IfEventFlag(X4_4 = 65180) - Leaden Hardtear
  - common - SetEventFlag(X4_4 = 65180) - Leaden Hardtear
  - common - IfEventFlag(X4_4 = 65190) - Twiggy Cracked Tear
  - common - SetEventFlag(X4_4 = 65190) - Twiggy Cracked Tear
  - common - IfEventFlag(X4_4 = 65200) - Crimsonwhorl Bubbletear
  - common - SetEventFlag(X4_4 = 65200) - Crimsonwhorl Bubbletear
  - common - IfEventFlag(X4_4 = 65210) - Strength-knot Crystal Tear
  - common - SetEventFlag(X4_4 = 65210) - Strength-knot Crystal Tear
  - common - IfEventFlag(X4_4 = 65220) - Dexterity-knot Crystal Tear
  - common - SetEventFlag(X4_4 = 65220) - Dexterity-knot Crystal Tear
  - common - IfEventFlag(X4_4 = 65230) - Intelligence-knot Crystal Tear
  - common - SetEventFlag(X4_4 = 65230) - Intelligence-knot Crystal Tear
  - common - IfEventFlag(X4_4 = 65240) - Faith-knot Crystal Tear
  - common - SetEventFlag(X4_4 = 65240) - Faith-knot Crystal Tear
  - common - IfEventFlag(X4_4 = 65250) - Cerulean Hidden Tear
  - common - SetEventFlag(X4_4 = 65250) - Cerulean Hidden Tear
  - common - IfEventFlag(X4_4 = 65260) - Stonebarb Cracked Tear
  - common - SetEventFlag(X4_4 = 65260) - Stonebarb Cracked Tear
  - common - IfEventFlag(X4_4 = 65270) - Purifying Crystal Tear
  - common - SetEventFlag(X4_4 = 65270) - Purifying Crystal Tear
  - common - IfEventFlag(X4_4 = 65280) - Flame-Shrouding Cracked Tear
  - common - SetEventFlag(X4_4 = 65280) - Flame-Shrouding Cracked Tear
  - common - IfEventFlag(X4_4 = 65290) - Magic-Shrouding Cracked Tear
  - common - SetEventFlag(X4_4 = 65290) - Magic-Shrouding Cracked Tear
  - common - IfEventFlag(X4_4 = 65300) - Lightning-Shrouding Cracked Tear
  - common - SetEventFlag(X4_4 = 65300) - Lightning-Shrouding Cracked Tear
  - common - IfEventFlag(X4_4 = 65310) - Holy-Shrouding Cracked Tear
  - common - SetEventFlag(X4_4 = 65310) - Holy-Shrouding Cracked Tear
- ID: 6901
  Comment: Lots of item update things, running only once (per NG?)
  ItemTemplate:
  - Type: remove
    EventFlag: 66000 66080 66100 66130 66150 66160 66170 66180 66400 66410 66420 66470 66480 66710 66730 66750 66760 66780 68000 68020 10007450 10007452 15001270 15001280 1036487400 1038547100 1043527500 1044327410
  DebugInfo:
  - EventFlags 66000 66080 66100 66130 66150 66160 66170 66180 66400 66410 66420 66470 66480 66710 66730 66750 66760 66780 68000 68020 10007450 10007452 15001270 15001280 1036487400 1038547100 1043527500 1044327410
  - common - IfEventFlag(68000) - Ancient Dragon Apostle's Cookbook [1]
  - common - IfEventFlag(68020) - Ancient Dragon Apostle's Cookbook [4]
  - common - SetEventFlag(66000) - Cracked Pot
  - common - SkipIfEventFlag(66080) - Cracked Pot
  - common - SetEventFlag(66130) - Cracked Pot
  - common - SetEventFlag(66080) - Cracked Pot
  - common - IfEventFlag(66150) - Cracked Pot
  - common - SetEventFlag(66150) - Cracked Pot
  - common - SetEventFlag(66170) - Cracked Pot
  - common - SetEventFlag(66180) - Cracked Pot
  - common - SetEventFlag(66100) - Cracked Pot
  - common - SetEventFlag(66160) - Cracked Pot
  - common - SkipIfEventFlag(66420) - Ritual Pot
  - common - SetEventFlag(66400) - Ritual Pot
  - common - SetEventFlag(66410) - Ritual Pot
  - common - SetEventFlag(66420) - Ritual Pot
  - common - SetEventFlag(66470) - Ritual Pot
  - common - SetEventFlag(66480) - Ritual Pot
  - common - SkipIfEventFlag(66710) - Perfume Bottle
  - common - SetEventFlag(66760) - Perfume Bottle
  - common - SetEventFlag(66710) - Perfume Bottle
  - common - SetEventFlag(66730) - Perfume Bottle
  - common - SetEventFlag(66750) - Perfume Bottle
  - common - SetEventFlag(66780) - Perfume Bottle
  - common - SetEventFlag(15001270) - Lord's Rune
  - common - SetEventFlag(15001280) - Rotten Staff
  - 'common - SetEventFlag(1044327410) - Nightrider Flail, Ash of War: Barricade Shield'
  - 'common - SetEventFlag(1036487400) - Nightrider Glaive, Ash of War: Giant Hunt'
  - common - SetEventFlag(1043527500) - Viridian Amber Medallion +1
  - common - SetEventFlag(1038547100) - Antspur Rapier, Marais Mask, Marais Robe
  - common - SetEventFlag(10007452) - Crimson Hood
  - common - SetEventFlag(10007450) - Chrysalids' Memento
- ID: 6902
  Comment: Manages cracked pots
  ItemTemplate:
  - Type: remove
    EventFlag: 66000 66010 66020 66030 66060 66070 66080 66090 66100 66110 66120 66130 66140 66150 66160 66170 66180 66190
  DebugInfo:
  - EventFlags 66000 66010 66020 66030 66060 66070 66080 66090 66100 66110 66120 66130 66140 66150 66160 66170 66180 66190
  - common - SetEventFlag(66000) - Cracked Pot
  - common - SetEventFlag(66010) - Cracked Pot
  - common - SetEventFlag(66020) - Cracked Pot
  - common - SetEventFlag(66030) - Cracked Pot
  - common - SetEventFlag(66060) - Cracked Pot
  - common - SetEventFlag(66070) - Cracked Pot
  - common - SetEventFlag(66080) - Cracked Pot
  - common - SetEventFlag(66090) - Cracked Pot
  - common - SetEventFlag(66100) - Cracked Pot
  - common - SetEventFlag(66110) - Cracked Pot
  - common - SetEventFlag(66120) - Cracked Pot
  - common - SetEventFlag(66130) - Cracked Pot
  - common - SetEventFlag(66140) - Cracked Pot
  - common - SetEventFlag(66150) - Cracked Pot
  - common - SetEventFlag(66160) - Cracked Pot
  - common - SetEventFlag(66170) - Cracked Pot
  - common - SetEventFlag(66180) - Cracked Pot
  - common - SetEventFlag(66190) - Cracked Pot
- ID: 6903
  Comment: Manages ritual pots
  ItemTemplate:
  - Type: remove
    EventFlag: 66400 66410 66420 66430 66440 66450 66460 66470 66480 66490
  DebugInfo:
  - EventFlags 66400 66410 66420 66430 66440 66450 66460 66470 66480 66490
  - common - SetEventFlag(66400) - Ritual Pot
  - common - SetEventFlag(66410) - Ritual Pot
  - common - SetEventFlag(66420) - Ritual Pot
  - common - SetEventFlag(66430) - Ritual Pot
  - common - SetEventFlag(66440) - Ritual Pot
  - common - SetEventFlag(66450) - Ritual Pot
  - common - SetEventFlag(66460) - Ritual Pot
  - common - SetEventFlag(66470) - Ritual Pot
  - common - SetEventFlag(66480) - Ritual Pot
  - common - SetEventFlag(66490) - Ritual Pot
- ID: 6904
  Comment: Manages bottles
  ItemTemplate:
  - Type: remove
    EventFlag: 66700 66710 66720 66730 66740 66750 66760 66770 66780 66790
  DebugInfo:
  - EventFlags 66700 66710 66720 66730 66740 66750 66760 66770 66780 66790
  - common - SetEventFlag(66700) - Perfume Bottle
  - common - SetEventFlag(66710) - Perfume Bottle
  - common - SetEventFlag(66720) - Perfume Bottle
  - common - SetEventFlag(66730) - Perfume Bottle
  - common - SetEventFlag(66740) - Perfume Bottle
  - common - SetEventFlag(66750) - Perfume Bottle
  - common - SetEventFlag(66760) - Perfume Bottle
  - common - SetEventFlag(66770) - Perfume Bottle
  - common - SetEventFlag(66780) - Perfume Bottle
  - common - SetEventFlag(66790) - Perfume Bottle
- ID: 6905
  Comment: One-time event for setting rune get flags (and making them unavailable) based on boss defeat flags. 177 is from flag hack in scraper. Probably fine to delete
  ItemTemplate:
  - Type: remove
    EventFlag: 171 172 173 174 175 176 177 197 510010 510040 510120 510200 510220 510300
  DebugInfo:
  - EventFlags 171 172 173 174 175 176 177 197 510010 510040 510120 510200 510220 510300
  - common - SkipIfEventFlag(510010) - Remembrance of the Grafted
  - common - SetEventFlag(171) - Godrick's Great Rune
  - common - SkipIfEventFlag(510300) - Remembrance of the Starscourge
  - common - SetEventFlag(172) - Radahn's Great Rune
  - common - SkipIfEventFlag(510040) - Remembrance of the Omen King
  - common - SetEventFlag(173) - Morgott's Great Rune
  - common - SkipIfEventFlag(510220) - Remembrance of the Blasphemous
  - common - SetEventFlag(174) - Rykard's Great Rune
  - common - SkipIfEventFlag(510120) - Remembrance of the Blood Lord
  - common - SetEventFlag(175) - Mohg's Great Rune
  - common - SkipIfEventFlag(510200) - Remembrance of the Rot Goddess
  - common - SetEventFlag(176) - Malenia's Great Rune
  - common - SkipIfEventFlag(197) - Remembrance of the Full Moon Queen
  - common - SetEventFlag(177) - Great Rune of the Unborn
- ID: 6906
  Comment: Another default-giving event, also manages object states (spirit springs?) and gives the player an unused item and the knight item
  ItemTemplate:
  - Type: remove
    EventFlag: 520040
  DebugInfo:
  - EventFlags 520040
  - common - SkipIfEventFlag(520040) - Banished Knight Engvall
- ID: 65810
  Comment: Ash of War dupe flags. X8_4 could be used if there's both an AoW and custom weapon but that seems to be not the case
  ItemTemplate:
  - Type: ashdupe
    Comment: Requires a direct event edit to make sure we observe transition from off->on
  - Type: itemarg
    EventFlag: 100750 100760 100770 100780 100790 100800 100810 100820 100830 100840 100850 100860 120000 120010 120020 130340 290150 290290 400061 400163 400235 400309 400358 510100 510140 510810 540100 540104 540108 540112 540116 540118 540120 540140 540170 540172 540200 540202 540204 540206 540208 540210 540224 540238 540272 540300 540302 540304 540306 540308 540310 540314 540316 540318 540332 540334 540372 540402 540404 540406 540408 540410 540412 540414 540418 540510 540516 540524 540630 540646 540660 540686 580360 16007020 30107100 1035467700 1035507090 1036487400 1039437400 1039517200 1042377110 1043357500 1043377400 1043397500 1044327410 1046367700 1047387700 1048517700 1049377100 1051537600 1052417100
    EventFlagArg: X4
  DebugInfo:
  - EventFlags 100750 100760 100770 100780 100790 100800 100810 100820 100830 100840 100850 100860 120000 120010 120020 130340 290150 290290 400061 400163 400235 400309 400358 510100 510140 510810 540100 540104 540108 540112 540116 540118 540120 540140 540170 540172 540200 540202 540204 540206 540208 540210 540224 540238 540272 540300 540302 540304 540306 540308 540310 540314 540316 540318 540332 540334 540372 540402 540404 540406 540408 540410 540412 540414 540418 540510 540516 540524 540630 540646 540660 540686 580360 16007020 30107100 1035467700 1035507090 1036487400 1039437400 1039517200 1042377110 1043357500 1043377400 1043397500 1044327410 1046367700 1047387700 1048517700 1049377100 1051537600 1052417100
  - 'common - IfEventFlag(X4_4 = 100750) - Ash of War: Impaling Thrust'
  - common - IfEventFlag(X4_4 = 400163) - Nagakiba
  - 'common - IfEventFlag(X4_4 = 100760) - Ash of War: Spinning Slash'
  - 'common - IfEventFlag(X4_4 = 1043377400) - Ash of War: Repeating Thrust'
  - 'common - IfEventFlag(X4_4 = 540418) - Ash of War: Double Slash'
  - 'common - IfEventFlag(X4_4 = 540112) - Ash of War: Unsheathe'
  - 'common - IfEventFlag(X4_4 = 540238) - Ash of War: Sword Dance'
  - 'common - IfEventFlag(X4_4 = 100770) - Ash of War: Quickstep'
  - "common - IfEventFlag(X4_4 = 1052417100) - Ash of War: Bloodhound's Step"
  - "common - IfEventFlag(X4_4 = 1047387700) - Ash of War: Lion's Claw"
  - 'common - IfEventFlag(X4_4 = 100780) - Ash of War: Stamp (Upward Cut)'
  - 'common - IfEventFlag(X4_4 = 540120) - Ash of War: Stamp (Sweep)'
  - 'common - IfEventFlag(X4_4 = 540104) - Ash of War: Wild Strikes'
  - 'common - IfEventFlag(X4_4 = 540304) - Ash of War: Earthshaker'
  - 'common - IfEventFlag(X4_4 = 100790) - Ash of War: Kick'
  - 'common - IfEventFlag(X4_4 = 540116) - Ash of War: Ground Slam'
  - "common - IfEventFlag(X4_4 = 290150) - Ash of War: Hoarah Loux's Earthshaker"
  - 'common - IfEventFlag(X4_4 = 540224) - Ash of War: Barbaric Roar'
  - 'common - IfEventFlag(X4_4 = 100800) - Ash of War: War Cry'
  - "common - IfEventFlag(X4_4 = 1051537600) - Ash of War: Troll's Roar"
  - common - IfEventFlag(X4_4 = 400309) - Blackguard's Iron Mask, Blackguard's Bell Bearing, Iron Ball
  - 'common - IfEventFlag(X4_4 = 100810) - Ash of War: Endure'
  - 'common - IfEventFlag(X4_4 = 540202) - Ash of War: Charge Forth'
  - 'common - IfEventFlag(X4_4 = 540630) - Ash of War: Square Off'
  - 'common - IfEventFlag(X4_4 = 1036487400) - Nightrider Glaive, Ash of War: Giant Hunt'
  - common - IfEventFlag(X4_4 = 400061) - Raw Meat Dumpling, Shabriri Grape, Banished Knight's Halberd +8
  - 'common - IfEventFlag(X4_4 = 540170) - Ash of War: Storm Assault'
  - 'common - IfEventFlag(X4_4 = 540172) - Ash of War: Stormcaller'
  - 'common - IfEventFlag(X4_4 = 100830) - Ash of War: Storm Blade'
  - common - IfEventFlag(X4_4 = 510100) - Gargoyle's Greatsword, Gargoyle's Twinblade
  - 'common - IfEventFlag(X4_4 = 1042377110) - Ash of War: Storm Stomp'
  - 'common - IfEventFlag(X4_4 = 540108) - Ash of War: Determination'
  - "common - IfEventFlag(X4_4 = 16007020) - Ash of War: Royal Knight's Resolve"
  - "common - IfEventFlag(X4_4 = 540516) - Ash of War: Prelate's Charge"
  - 'common - IfEventFlag(X4_4 = 100840) - Ash of War: Eruption'
  - 'common - IfEventFlag(X4_4 = 540408) - Ash of War: Flaming Strike'
  - "common - IfEventFlag(X4_4 = 510140) - Smithing-Stone Miner's Bell Bearing [4], Ash of War: Black Flame Tornado"
  - 'common - IfEventFlag(X4_4 = 540410) - Ash of War: Flame of the Redmanes'
  - 'common - IfEventFlag(X4_4 = 540372) - Ash of War: Thunderbolt'
  - 'common - IfEventFlag(X4_4 = 540318) - Ash of War: Lightning Slash'
  - 'common - IfEventFlag(X4_4 = 540310) - Ash of War: Lightning Ram'
  - "common - IfEventFlag(X4_4 = 510810) - Loretta's Greatbow, Ash of War: Loretta's Slash"
  - 'common - IfEventFlag(X4_4 = 120000) - Ash of War: Spinning Weapon'
  - common - IfEventFlag(X4_4 = 400358) - Rogier's Rapier +8
  - 'common - IfEventFlag(X4_4 = 120010) - Ash of War: Glintstone Pebble'
  - 'common - IfEventFlag(X4_4 = 1043357500) - Ash of War: Gravitas'
  - 'common - IfEventFlag(X4_4 = 1035507090) - Ash of War: Carian Grandeur'
  - 'common - IfEventFlag(X4_4 = 120020) - Ash of War: Carian Greatsword'
  - 'common - IfEventFlag(X4_4 = 290290) - Ash of War: Waves of Darkness'
  - 'common - IfEventFlag(X4_4 = 540414) - Ash of War: Cragblade'
  - 'common - IfEventFlag(X4_4 = 540118) - Ash of War: Sacred Blade'
  - 'common - IfEventFlag(X4_4 = 540314) - Ash of War: Prayerful Strike'
  - 'common - IfEventFlag(X4_4 = 540660) - Ash of War: Golden Land'
  - 'common - IfEventFlag(X4_4 = 540404) - Ash of War: Sacred Ring of Light'
  - 'common - IfEventFlag(X4_4 = 540308) - Ash of War: Golden Slam'
  - 'common - IfEventFlag(X4_4 = 1043397500) - Ash of War: Golden Vow'
  - 'common - IfEventFlag(X4_4 = 540300) - Ash of War: Sacred Order'
  - 'common - IfEventFlag(X4_4 = 1039517200) - Ash of War: Shared Order'
  - "common - IfEventFlag(X4_4 = 400235) - Ash of War: Beast's Roar"
  - 'common - IfEventFlag(X4_4 = 1048517700) - Ash of War: Phantom Slash'
  - 'common - IfEventFlag(X4_4 = 540272) - Ash of War: Spectral Lance'
  - 'common - IfEventFlag(X4_4 = 1035467700) - Ash of War: Raptor of the Mists'
  - "common - IfEventFlag(X4_4 = 540524) - Ash of War: White Shadow's Lure"
  - 'common - IfEventFlag(X4_4 = 1049377100) - Ash of War: Poison Moth Flight'
  - 'common - IfEventFlag(X4_4 = 540406) - Ash of War: Poisonous Mist'
  - 'common - IfEventFlag(X4_4 = 540686) - Ash of War: Blood Tax'
  - 'common - IfEventFlag(X4_4 = 1046367700) - Ash of War: Bloody Slash'
  - 'common - IfEventFlag(X4_4 = 540402) - Ash of War: Lifesteal Fist'
  - 'common - IfEventFlag(X4_4 = 540306) - Ash of War: Blood Blade'
  - "common - IfEventFlag(X4_4 = 100850) - Ash of War: Assassin's Gambit"
  - 'common - IfEventFlag(X4_4 = 540510) - Ash of War: Seppuku'
  - 'common - IfEventFlag(X4_4 = 1039437400) - Ash of War: Ice Spear'
  - 'common - IfEventFlag(X4_4 = 540200) - Ash of War: Chilling Mist'
  - 'common - IfEventFlag(X4_4 = 540204) - Ash of War: Hoarfrost Stomp'
  - 'common - IfEventFlag(X4_4 = 100860) - Ash of War: No Skill'
  - 'common - IfEventFlag(X4_4 = 540210) - Ash of War: Shield Bash'
  - 'common - IfEventFlag(X4_4 = 540302) - Ash of War: Shield Crash'
  - 'common - IfEventFlag(X4_4 = 1044327410) - Nightrider Flail, Ash of War: Barricade Shield'
  - 'common - IfEventFlag(X4_4 = 100820) - Ash of War: Parry'
  - 'common - IfEventFlag(X4_4 = 130340) - Ash of War: Carian Retaliation'
  - 'common - IfEventFlag(X4_4 = 540100) - Ash of War: Storm Wall'
  - 'common - IfEventFlag(X4_4 = 540316) - Ash of War: Golden Parry'
  - "common - IfEventFlag(X4_4 = 540206) - Ash of War: Thops's Barrier"
  - 'common - IfEventFlag(X4_4 = 30107100) - Tree Sentinel Helm, Tree Sentinel Armor, Tree Sentinel Gauntlets, Tree Sentinel Greaves, Ash of War: Holy Ground'
  - 'common - IfEventFlag(X4_4 = 540208) - Ash of War: Vow of the Indomitable'
  - 'common - IfEventFlag(X4_4 = 540332) - Ash of War: Barrage'
  - 'common - IfEventFlag(X4_4 = 540140) - Ash of War: Mighty Shot'
  - 'common - IfEventFlag(X4_4 = 540412) - Ash of War: Sky Shot'
  - 'common - IfEventFlag(X4_4 = 540334) - Ash of War: Through and Through'
  - 'common - IfEventFlag(X4_4 = 540646) - Ash of War: Enchanted Shot'
  - 'common - IfEventFlag(X4_4 = 580360) - Ash of War: Rain of Arrows'
- ID: 65910
  Comment: Ash of War dupe flags from DLC, it's the same event
  ItemTemplate:
  - Type: ashdupe
  - Type: itemarg
    EventFlag: 280990 290320 400594 400696 400712 400730 530855 530965 540900 540902 540904 540906 540910 540916 20007410 21017150 21017991 21027020 40007900 2045437700 2045447010 2046477150 2047407980 2047427700 2048447810
    EventFlagArg: X4
  DebugInfo:
  - EventFlags 280990 290320 400594 400696 400712 400730 530855 530965 540900 540902 540904 540906 540910 540916 20007410 21017150 21017991 21027020 40007900 2045437700 2045447010 2046477150 2047407980 2047427700 2048447810
  - 'common - IfEventFlag(X4_4 = 2046477150) - Ash of War: Dryleaf Whirlwind'
  - 'common - IfEventFlag(X4_4 = 530965) - Ash of War: Aspects of the Crucible: Wings'
  - common - IfEventFlag(X4_4 = 290320) - Sword Lance
  - common - IfEventFlag(X4_4 = 400730) - Dane's Hat, Dryleaf Arts
  - 'common - IfEventFlag(X4_4 = 540902) - Ash of War: Piercing Throw'
  - 'common - IfEventFlag(X4_4 = 540910) - Ash of War: Scattershot Throw'
  - 'common - IfEventFlag(X4_4 = 21027020) - Ash of War: Wall of Sparks'
  - 'common - IfEventFlag(X4_4 = 540904) - Ash of War: Rolling Sparks'
  - 'common - IfEventFlag(X4_4 = 540906) - Ash of War: Raging Beast'
  - common - IfEventFlag(X4_4 = 2047407980) - Beast Claw
  - common - IfEventFlag(X4_4 = 2047427700) - Backhand Blade
  - "common - IfEventFlag(X4_4 = 400594) - Leda's Rune, Ash of War: Swift Slash"
  - common - IfEventFlag(X4_4 = 2045447010) - Great Katana
  - 'common - IfEventFlag(X4_4 = 2048447810) - Ash of War: Wing Stance'
  - 'common - IfEventFlag(X4_4 = 40007900) - Ash of War: Blinkbolt'
  - 'common - IfEventFlag(X4_4 = 400696) - Prayer Room Key, Ash of War: Flame Skewer'
  - "common - IfEventFlag(X4_4 = 2045437700) - Ash of War: Savage Lion's Claw"
  - 'common - IfEventFlag(X4_4 = 280990) - Ash of War: Divine Beast Frost Stomp'
  - 'common - IfEventFlag(X4_4 = 21017991) - Winged Serpent Helm, Ash of War: Flame Spear'
  - 'common - IfEventFlag(X4_4 = 540900) - Ash of War: Carian Sovereignty'
  - 'common - IfEventFlag(X4_4 = 20007410) - Ash of War: Shriek of Sorrow'
  - 'common - IfEventFlag(X4_4 = 530855) - Ash of War: Ghostflame Call'
  - 'common - IfEventFlag(X4_4 = 540916) - Ash of War: The Poison Flower Blooms Twice'
  - common - IfEventFlag(X4_4 = 400712) - Igon's Greatbow, Igon's Helm, Igon's Armor, Igon's Gauntlets, Igon's Loincloth, Igon's Bell Bearing, Igon's Greatbow
  - common - IfEventFlag(X4_4 = 21017150) - Dueling Shield
- ID: 10010791
  Comment: Exchanging favor item at Chapel
  ItemTemplate:
  - Type: loc
    Comment: For awarded item lot 100330 (also given in other places)
    EventFlag: 400033
  DebugInfo:
  - EventFlags 400031 400033
  - m10_01_00_00 (Chapel of Anticipation) - EndIfEventFlag(400033) - Lord of Blood's Favor
  - m10_01_00_00 (Chapel of Anticipation) - EndIfEventFlag(400031) - Lord of Blood's Favor
- ID: 10010792
  Comment: Makes world pots inaccessible if picked as a starting item
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 66150 66170 66180
  DebugInfo:
  - EventFlags 66150 66170 66180
  - m10_01_00_00 (Chapel of Anticipation) - SetEventFlag(66150) - Cracked Pot
  - m10_01_00_00 (Chapel of Anticipation) - SetEventFlag(66170) - Cracked Pot
  - m10_01_00_00 (Chapel of Anticipation) - SetEventFlag(66180) - Cracked Pot
- ID: 10012504
  Comment: Unused event
  ItemTemplate:
  - Type: default
    EventFlag: 60210
  DebugInfo:
  - EventFlags 60210
  - m10_01_00_00 (Chapel of Anticipation) - EndIfEventFlag(60210) - Tarnished's Wizened Finger
  - m10_01_00_00 (Chapel of Anticipation) - IfEventFlag(60210) - Tarnished's Wizened Finger
- ID: 11002696
  Comment: Unused event that only gives Sanctified Whetblade if mask not gotten
  ItemTemplate:
  - Type: default
    EventFlag: 11007992
  DebugInfo:
  - EventFlags 11007992
  - m11_00_00_00 (Leyndell, Royal Capital) - EndIfEventFlag(11007992) - Omensmirk Mask
- ID: 11053707
  Comment: If player has collected Mending Rune but not armor, set a flag used for character enable/treasure state
  ItemTemplate:
  - Type: loc
    EventFlag: 9500 400500
  DebugInfo:
  - EventFlags 9500 400500
  - m11_05_00_00 (Leyndell, Ashen Capital) - EndIfEventFlag(400500) - Goldmask's Rags, Gold Bracelets, Gold Waistwrap
  - m11_05_00_00 (Leyndell, Ashen Capital) - EndIfEventFlag(9500) - Mending Rune of Perfect Order
- ID: 11053708
  Comment: Treasure for Corhyn item lot
  ItemTemplate:
  - Type: locarg
    EventFlag: 400370
    EventFlagArg: X12 X16
  DebugInfo:
  - EventFlags 400370
  - m11_05_00_00 (Leyndell, Ashen Capital) - IfBatchEventFlags(X12_4 = 400370, X16_4 = 400370) - Flail, Corhyn's Robe, Corhyn's Bell Bearing
- ID: 11100704
  Comment: Makes memento inaccessible and hood accessible (both in Stormveil). This might mean memento spot could be inaccessible if you give it elsewhere
  ItemTemplate:
  - Type: loc
    EventFlag: 10007450 10007452
  DebugInfo:
  - EventFlags 10007450 10007452
  - m11_10_00_00 (Roundtable Hold) - SetEventFlag(10007450) - Chrysalids' Memento
  - m11_10_00_00 (Roundtable Hold) - SetEventFlag(10007452) - Crimson Hood
- ID: 11100731
  Comment: Enable character/objects based on having drop items
  ItemTemplate:
  - Type: loc
    EventFlag: 400349
  DebugInfo:
  - EventFlags 400349
  - m11_10_00_00 (Roundtable Hold) - GotoIfBatchEventFlags(400349, 400349) - Twinned Helm, Twinned Armor, Twinned Gauntlets, Twinned Greaves, D's Bell Bearing
- ID: 11100750
  Comment: Rogier states at roundable. Makes letter inaccessible if not 11109522 ("so you've met D"), and shows treasure based on having his items or not.
  ItemTemplate:
  - Type: loc
    Comment: This is a range so it should be collapsed. 400356 400357 400358 are not listed as second one takes precedence
    EventFlag: 400359
  DebugInfo:
  - EventFlags 400356 400357 400358 400359
  - m11_10_00_00 (Roundtable Hold) - SetEventFlag(400356) - Rogier's Letter
  - m11_10_00_00 (Roundtable Hold) - GotoIfBatchEventFlags(400356, 400359) - Rogier's Letter (400356)
  - m11_10_00_00 (Roundtable Hold) - GotoIfBatchEventFlags(400356, 400359) - Black Knifeprint (400357)
  - m11_10_00_00 (Roundtable Hold) - GotoIfBatchEventFlags(400356, 400359) - Rogier's Rapier +8 (400358)
  - m11_10_00_00 (Roundtable Hold) - GotoIfBatchEventFlags(400356, 400359) - Spellblade's Pointed Hat, Spellblade's Traveling Attire, Spellblade's Gloves, Spellblade's Trousers, Rogier's Bell Bearing (400359)
- ID: 11100791
  Comment: Sets maiden shop QWC flags after Maliketh
  ItemTemplate:
  - Type: locarg
    EventFlag: 68210 400282 400283 400285
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 68210 400282 400283 400285
  - m11_10_00_00 (Roundtable Hold) - EndIfEventFlag(X0_4 = 400282) - Black Flame's Protection
  - m11_10_00_00 (Roundtable Hold) - IfEventFlag(X0_4 = 400282) - Black Flame's Protection
  - m11_10_00_00 (Roundtable Hold) - SkipIfEventFlag(X0_4 = 400282) - Black Flame's Protection
  - m11_10_00_00 (Roundtable Hold) - EndIfEventFlag(X0_4 = 400283) - Lord's Divine Fortification
  - m11_10_00_00 (Roundtable Hold) - IfEventFlag(X0_4 = 400283) - Lord's Divine Fortification
  - m11_10_00_00 (Roundtable Hold) - SkipIfEventFlag(X0_4 = 400283) - Lord's Divine Fortification
  - m11_10_00_00 (Roundtable Hold) - EndIfEventFlag(X0_4 = 68210) - Fevor's Cookbook [3], Fevor's Cookbook [3]
  - m11_10_00_00 (Roundtable Hold) - IfEventFlag(X0_4 = 68210) - Fevor's Cookbook [3], Fevor's Cookbook [3]
  - m11_10_00_00 (Roundtable Hold) - SkipIfEventFlag(X0_4 = 68210) - Fevor's Cookbook [3], Fevor's Cookbook [3]
  - m11_10_00_00 (Roundtable Hold) - EndIfEventFlag(X0_4 = 400285) - Law of Causality
  - m11_10_00_00 (Roundtable Hold) - IfEventFlag(X0_4 = 400285) - Law of Causality
  - m11_10_00_00 (Roundtable Hold) - SkipIfEventFlag(X0_4 = 400285) - Law of Causality
- ID: 11100796
  Comment: Makes items available after two Great Runes if not already acquired
  ItemTemplate:
  - Type: loc
    EventFlag: 60020 60120 60130
  DebugInfo:
  - EventFlags 60020 60120 60130
  - m11_10_00_00 (Roundtable Hold) - IfEventFlag(60020) - Flask of Wondrous Physick
  - m11_10_00_00 (Roundtable Hold) - IfEventFlag(60120) - Crafting Kit
  - m11_10_00_00 (Roundtable Hold) - IfEventFlag(60130) - Whetstone Knife
- ID: 11100797
  Comment: Makes items available (after Maliketh?) if not already acquired. This is one from Enia.
  ItemTemplate:
  - Type: loc
    EventFlag: 60500
  DebugInfo:
  - EventFlags 60500
  - m11_10_00_00 (Roundtable Hold) - IfEventFlag(60500) - Talisman Pouch
- ID: 12032500
  Comment: Depths to Leyndell entry
  ItemTemplate:
  - Type: leyndell
- ID: 12042400
  Comment: Allows player to pass to Moonlight Altar. This can't use item id since you give it to Ranni.
  ItemTemplate:
  - Type: itemflag
    EventFlag: 114
    ItemCond: 5
  DebugInfo:
  - EventFlags 114
  - m12_04_00_00 (Ainsel River - Boss) - GotoIfEventFlag(114) - Dark Moon Ring
  - m12_04_00_00 (Ainsel River - Boss) - IfEventFlag(114) - Dark Moon Ring
- ID: 13003711
  Comment: Once fighting Alexander, makes Warrior Jar Shard inaccessible. Then if not already gotten, make his innards etc accessible via treasure
  ItemTemplate:
  - Type: loc
    EventFlag: 400174 400175
  DebugInfo:
  - EventFlags 400174 400175
  - m13_00_00_00 (Crumbling Farum Azula) - SetEventFlag(400175) - Warrior Jar Shard
  - m13_00_00_00 (Crumbling Farum Azula) - SkipIfEventFlag(400174) - Shard of Alexander, Alexander's Innards
- ID: 14000712
  Comment: Item lot for Jerren
  ItemTemplate:
  - Type: singleton
  - Type: loc
    EventFlag: 400401
  DebugInfo:
  - EventFlags 400401
  - m14_00_00_00 (Academy of Raya Lucaria) - EndIfEventFlag(400401) - Eccentric's Hood, Eccentric's Armor, Eccentric's Manchettes, Eccentric's Breeches
- ID: 14000731
  Comment: Item lot for Sellen
  ItemTemplate:
  - Type: singleton
  - Type: loc
    EventFlag: 400106
  DebugInfo:
  - EventFlags 400106
  - m14_00_00_00 (Academy of Raya Lucaria) - EndIfEventFlag(400106) - Sellen's Bell Bearing
- ID: 15000713
  Comment: Item lot for Miquella's Needle, if you also have 8196 version of Unalloyed Gold Needle, and action button
  ItemTemplate:
  - Type: loc
    EventFlag: 400324
  DebugInfo:
  - EventFlags 400324
  - m15_00_00_00 (Miquella's Haligtree) - EndIfEventFlag(400324) - Miquella's Needle
  - m15_00_00_00 (Miquella's Haligtree) - IfEventFlag(400324) - Miquella's Needle
- ID: 15000714
  Comment: Awards Milicent's Prosthesis after 7611
  ItemTemplate:
  - Type: singleton
  - Type: loc
    EventFlag: 400323
  DebugInfo:
  - EventFlags 400323
  - m15_00_00_00 (Miquella's Haligtree) - EndIfEventFlag(400323) - Millicent's Prosthesis
- ID: 16002690
  Comment: Unsets Serpent-Hunter get flag when showing the treasure (flag 16002696, also used by checked item award event, checks for weapon). TODO don't randomize
  ItemTemplate:
  - Type: loc
    EventFlag: 16007690
  DebugInfo:
  - EventFlags 16007690
  - m16_00_00_00 (Volcano Manor) - SetEventFlag(16007690) - Serpent-Hunter
- ID: 16002855
  Comment: Enabling treasure if flag not set
  ItemTemplate:
  - Type: loc
    EventFlag: 16007710
  DebugInfo:
  - EventFlags 16007710
  - m16_00_00_00 (Volcano Manor) - SkipIfEventFlag(16007710) - Serpent's Amnion
- ID: 16003702
  Comment: Upon receiving, sets 3118 if in initial state (3105), for Tanith quest. This re-loops the common event (3119)
  ItemTemplate:
  - Type: itemarg
    Comment: Same as 3119
    EventFlag: 400073
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 400073
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(X0_4 = 400073) - Letter from Volcano Manor
- ID: 16003707
  Comment: Unsets 16000700 when both items are acquired, used in separate event for giving lot 100725, which has these items in Tanith's chair
  ItemTemplate:
  - Type: loc
    EventFlag: 400070 400072
  DebugInfo:
  - EventFlags 400070 400072
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(400070) - Tonic of Forgetfulness
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(400072) - Drawing-Room Key
- ID: 16003709
  Comment: Sets 16009267-16009269 if you have the the letter, and done the quest, but not the reward.
  ItemTemplate:
  - Type: item
    Comment: Letters
    EventFlag: 400073 400074 400075
  - Type: loc
    Comment: Rewards
    EventFlag: 400076 400077 400078
  DebugInfo:
  - EventFlags 400073 400074 400075 400076 400077 400078
  - m16_00_00_00 (Volcano Manor) - EndIfEventFlag(400078) - Taker's Cameo
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(400075) - Red Letter
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(400078) - Taker's Cameo
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(400074) - Letter from Volcano Manor
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(400077) - Serpentbone Blade
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(400073) - Letter from Volcano Manor
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(400076) - Magma Shot
- ID: 16003743
  Comment: Enables treasure interaction for Bernahl stand-in 16001712 if flag not set
  ItemTemplate:
  - Type: loc
    EventFlag: 400291
  DebugInfo:
  - EventFlags 400291
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(400291) - Gelmir's Fury
- ID: 18000020
  Comment: Awards flask in Graveyard. Difficult to randomize since the flag is explicitly set after the lot, and used as a condition for not repeating the event
  ItemTemplate:
  - Type: fixeditem
    EventFlag: 60000
  DebugInfo:
  - EventFlags 60000
  - m18_00_00_00 (Stranded Graveyard) - IfEventFlag(60000) - Flask of Crimson Tears, Flask of Cerulean Tears
  - m18_00_00_00 (Stranded Graveyard) - SetEventFlag(60000) - Flask of Crimson Tears, Flask of Cerulean Tears
- ID: 20000732
  Comment: Treasure SFX and award on action button for Grandam
  ItemTemplate:
  - Type: locarg
    EventFlag: 400720 400721
    EventFlagArg: X12 X16
  DebugInfo:
  - EventFlags 400720 400721
  - m20_00_00_00 (Belurat, Tower Settlement) - IfBatchEventFlags(X12_4 = 400720, X16_4 = 400721) - Scorpion Stew (400720)
  - m20_00_00_00 (Belurat, Tower Settlement) - IfBatchEventFlags(X12_4 = 400720, X16_4 = 400721) - Watchful Spirit (400721)
  - m20_00_00_00 (Belurat, Tower Settlement) - SkipIfEventFlag(X32_4 = 400721) - Watchful Spirit
- ID: 21002600
  Comment: Getting painting object, copy of 90005632
  ItemTemplate:
  - Type: locarg
    EventFlag: 580120
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 580120
  - m21_00_00_00 (Shadow Keep) - EndIfEventFlag(X0_4 = 580120) - "Domain of Dragons" Painting
- ID: 30102490
  Comment: Awards chariot crash lot
  ItemTemplate:
  - Type: singleton
  - Type: loc
    EventFlag: 30107100
  DebugInfo:
  - EventFlags 30107100
  - "m30_10_00_00 (Auriza Hero's Grave) - EndIfEventFlag(30107100) - Tree Sentinel Helm, Tree Sentinel Armor, Tree Sentinel Gauntlets, Tree Sentinel Greaves, Ash of War: Holy Ground"
- ID: 31113700
  Comment: Enables treasure on 31110700 if flag not set
  ItemTemplate:
  - Type: loc
    EventFlag: 400431
  DebugInfo:
  - EventFlags 400431
  - m31_11_00_00 (Sellia Hideaway) - EndIfEventFlag(400431) - Lusat's Glintstone Crown, Lusat's Robe, Lusat's Manchettes, Old Sorcerer's Legwraps
- ID: 34142550
  Comment: Path to Forbidden Lands, shows "Sealed by Morgott the Grace-Given" if no medallion. (We can try to patch this out?)
  ItemTemplate:
  - Type: loc
    EventFlag: 400001
  DebugInfo:
  - EventFlags 400001
  - m34_14_00_00 (Divine Tower of East Altus) - IfEventFlag(400001) - Rold Medallion
- ID: 35002504
  Comment: Shows "Sealed by Morgott the Grace-Given" if no medallion
  ItemTemplate:
  - Type: loc
    Comment: The main purpose is to prevent Melina getting angry at you, so wait for the gift itself
    EventFlag: 400001
  DebugInfo:
  - EventFlags 400001
  - m35_00_00_00 (Subterranean Shunning-Grounds) - IfEventFlag(400001) - Rold Medallion
- ID: 35003723
  Comment: Enable Omen Set treasure if not gotten and Mending Rune gotten
  ItemTemplate:
  - Type: loc
    EventFlag: 9504 400382
  DebugInfo:
  - EventFlags 9504 400382
  - m35_00_00_00 (Subterranean Shunning-Grounds) - EndIfEventFlag(400382) - Omen Helm, Omen Armor, Omen Gauntlets, Omen Greaves
  - m35_00_00_00 (Subterranean Shunning-Grounds) - EndIfEventFlag(9504) - Mending Rune of the Fell Curse
- ID: 35003724
  Comment: Gives Mending Rune if not already gotten and if 35009333, set on giving all Seedbed Curses (35002726)
  ItemTemplate:
  - Type: locarg
    EventFlag: 9504
    EventFlagArg: X12 X16
  DebugInfo:
  - EventFlags 9504
  - m35_00_00_00 (Subterranean Shunning-Grounds) - IfBatchEventFlags(X12_4 = 9504, X16_4 = 9504) - Mending Rune of the Fell Curse
- ID: 35003725
  Comment: Dung Eater armor treasure if flag unset
  ItemTemplate:
  - Type: loc
    EventFlag: 400382
  DebugInfo:
  - EventFlags 400382
  - m35_00_00_00 (Subterranean Shunning-Grounds) - EndIfEventFlag(400382) - Omen Helm, Omen Armor, Omen Gauntlets, Omen Greaves
- ID: 39203700
  Comment: Invasion for Great Horned Tragoth if letter in possession
  ItemTemplate:
  - Type: item
    EventFlag: 400180
  DebugInfo:
  - EventFlags 400180
  - m39_20_00_00 (Ruin-Strewn Precipice) - EndIfEventFlag(400180) - Letter to Patches
- ID: 39203701
  Comment: Invasion for Great Horned Tragoth if letter in possession? Maybe unused
  ItemTemplate:
  - Type: item
    EventFlag: 400180
  DebugInfo:
  - EventFlags 400180
  - m39_20_00_00 (Ruin-Strewn Precipice) - EndIfEventFlag(400180) - Letter to Patches
- ID: 40002690
  Comment: Sword quest, not randomizzed
  ItemTemplate:
  - Type: default
    EventFlag: 2045477700 2045477710 2045477720 2045477730 2045477740 2045477750 2045477760 2045477770 2045477780 2045477790 2045477800
  DebugInfo:
  - EventFlags 2045477700 2045477710 2045477720 2045477730 2045477740 2045477750 2045477760 2045477770 2045477780 2045477790 2045477800
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477800) - Sword of Darkness +10
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477790) - Sword of Darkness +9
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477780) - Sword of Darkness +8
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477770) - Sword of Darkness +7
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477760) - Sword of Darkness +6
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477750) - Sword of Darkness +5
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477740) - Sword of Darkness +4
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477730) - Sword of Darkness +3
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477720) - Sword of Darkness +2
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477710) - Sword of Darkness +1
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477700) - Sword of Darkness
- ID: 40002695
  Comment: Sword quest, not randomized
  ItemTemplate:
  - Type: default
    EventFlag: 2045477700 2045477710 2045477720 2045477730 2045477740 2045477750 2045477760 2045477770 2045477780 2045477790 2045477800
  DebugInfo:
  - EventFlags 2045477700 2045477710 2045477720 2045477730 2045477740 2045477750 2045477760 2045477770 2045477780 2045477790 2045477800
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477800) - Sword of Darkness +10
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477790) - Sword of Darkness +9
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477780) - Sword of Darkness +8
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477770) - Sword of Darkness +7
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477760) - Sword of Darkness +6
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477750) - Sword of Darkness +5
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477740) - Sword of Darkness +4
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477730) - Sword of Darkness +3
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477720) - Sword of Darkness +2
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477710) - Sword of Darkness +1
  - m40_00_00_00 (Fog Rift Catacombs) - SetEventFlag(2045477700) - Sword of Darkness
- ID: 41022240
  Comment: Enemy trigger event from pickup
  ItemTemplate:
  - Type: locarg
    EventFlag: 41027320
    EventFlagArg: X40
  DebugInfo:
  - EventFlags 41027320
  - m41_02_00_00 (Lamenter's Gaol) - IfEventFlag(X40_4 = 41027320) - Gaol Lower Level Key
- ID: 42002610
  Comment: Unused
  ItemTemplate:
  - Type: default
    EventFlag: 42007000
  DebugInfo:
  - EventFlags 42007000
  - m42_00_00_00 (Ruined Forge Lava Intake) - EndIfEventFlag(42007000) - Anvil Hammer, Ancient Dragon Smithing Stone
- ID: 42022620
  Comment: Unused
  ItemTemplate:
  - Type: default
    EventFlag: 42027000
  DebugInfo:
  - EventFlags 42027000
  - m42_02_00_00 (Ruined Forge of Starfall Past) - EndIfEventFlag(42027000) - Ancient Meteoric Ore Greatsword, Ancient Dragon Smithing Stone
- ID: 42032600
  Comment: Unused
  ItemTemplate:
  - Type: default
    EventFlag: 42037000
  DebugInfo:
  - EventFlags 42037000
  - m42_03_00_00 (Taylew's Ruined Forge) - EndIfEventFlag(42037000) - Ancient Dragon Smithing Stone, Taylew the Golem Smith
- ID: 90005110
  Comment: Exchanging Great Runes. These aren't randomized at present, but dependence on boss flag should be removed
  ItemTemplate:
  - Type: locarg
    EventFlag: 191 192 193 194 195 196
    EventFlagArg: X0
  - Type: runearg
    EventFlagArg: X0 X4
  DebugInfo:
  - EventFlags 191 192 193 194 195 196
  - m34_10_00_00 (Divine Tower of Limgrave) - EndIfEventFlag(X0_4 = 191) - Godrick's Great Rune
  - m34_10_00_00 (Divine Tower of Limgrave) - SetEventFlag(X0_4 = 191) - Godrick's Great Rune
  - m34_12_00_00 (Divine Tower of West Altus) - EndIfEventFlag(X0_4 = 194) - Rykard's Great Rune
  - m34_12_00_00 (Divine Tower of West Altus) - SetEventFlag(X0_4 = 194) - Rykard's Great Rune
  - m34_13_00_00 (Divine Tower of Caelid) - EndIfEventFlag(X0_4 = 192) - Radahn's Great Rune
  - m34_13_00_00 (Divine Tower of Caelid) - SetEventFlag(X0_4 = 192) - Radahn's Great Rune
  - m34_14_00_00 (Divine Tower of East Altus) - EndIfEventFlag(X0_4 = 193) - Morgott's Great Rune
  - m34_14_00_00 (Divine Tower of East Altus) - SetEventFlag(X0_4 = 193) - Morgott's Great Rune
  - m34_14_00_00 (Divine Tower of East Altus) - EndIfEventFlag(X0_4 = 195) - Mohg's Great Rune
  - m34_14_00_00 (Divine Tower of East Altus) - SetEventFlag(X0_4 = 195) - Mohg's Great Rune
  - m34_15_00_00 (Isolated Divine Tower) - EndIfEventFlag(X0_4 = 196) - Malenia's Great Rune
  - m34_15_00_00 (Isolated Divine Tower) - SetEventFlag(X0_4 = 196) - Malenia's Great Rune
- ID: 90005555
  Comment: Common event for forge awards. We need to set the flag since it's used for warp trap, so don't change the flag here, and actually set it
  ItemTemplate:
  - Type: forge
    EventFlag: 42007000 42027000 42037000
    EventFlagArg: X0_4
  DebugInfo:
  - EventFlags 42007000 42027000 42037000
  - m42_00_00_00 (Ruined Forge Lava Intake) - EndIfEventFlag(X0_4 = 42007000) - Anvil Hammer, Ancient Dragon Smithing Stone
  - m42_02_00_00 (Ruined Forge of Starfall Past) - EndIfEventFlag(X0_4 = 42027000) - Ancient Meteoric Ore Greatsword, Ancient Dragon Smithing Stone
  - m42_03_00_00 (Taylew's Ruined Forge) - EndIfEventFlag(X0_4 = 42037000) - Ancient Dragon Smithing Stone, Taylew the Golem Smith
- ID: 90005556
  Comment: Common event for DLC larval tears (only at night)
  ItemTemplate:
  - Type: locarg
    EventFlag: 2044477900 2045417900 2046447900 2046467800 2047407900 2047457800 2048427900 2049467900 2050467800
    EventFlagArg: X4_4
  DebugInfo:
  - EventFlags 2044477900 2045417900 2046447900 2046467800 2047407900 2047457800 2048427900 2049467900 2050467800
  - m61_44_47_00 (Rauh Base - West Scorpion River; Ancient Ruins of Rauh - West Ruins Northwest Cliffside) - EndIfEventFlag(X4_4 = 2044477900) - Larval Tear
  - m61_44_47_00 (Rauh Base - West Scorpion River; Ancient Ruins of Rauh - West Ruins Northwest Cliffside) - IfEventFlag(X4_4 = 2044477900) - Larval Tear
  - m61_45_41_00 (Gravesite Plain - Cliffroad Terminus, Prospect Town) - EndIfEventFlag(X4_4 = 2045417900) - Larval Tear
  - m61_45_41_00 (Gravesite Plain - Cliffroad Terminus, Prospect Town) - IfEventFlag(X4_4 = 2045417900) - Larval Tear
  - m61_46_44_00 (Gravesite Plain - Greatbridge North, Abandoned Ailing Village, Rivermouth Cave Entrance) - EndIfEventFlag(X4_4 = 2046447900) - Larval Tear
  - m61_46_44_00 (Gravesite Plain - Greatbridge North, Abandoned Ailing Village, Rivermouth Cave Entrance) - IfEventFlag(X4_4 = 2046447900) - Larval Tear
  - m61_46_46_00 (Rauh Base - North Temple Town Ruins; Ancient Ruins of Rauh - South Belfry Area, Hippo Pond, Divine Beast Pantheon) - EndIfEventFlag(X4_4 = 2046467800) - Larval Tear
  - m61_46_46_00 (Rauh Base - North Temple Town Ruins; Ancient Ruins of Rauh - South Belfry Area, Hippo Pond, Divine Beast Pantheon) - IfEventFlag(X4_4 = 2046467800) - Larval Tear
  - m61_47_40_00 (Gravesite Plain - South of Scorched Ruins, Gravesite Plain South Cliffside; Cerulean Coast - Ravine Northeast; Charo's Hidden Grave - North Central Lake) - EndIfEventFlag(X4_4 = 2047407900) - Larval Tear
  - m61_47_40_00 (Gravesite Plain - South of Scorched Ruins, Gravesite Plain South Cliffside; Cerulean Coast - Ravine Northeast; Charo's Hidden Grave - North Central Lake) - IfEventFlag(X4_4 = 2047407900) - Larval Tear
  - m61_47_45_00 (Gravesite Plain - North Fog Rift Fort, Northern Nameless Mausoleum East Cliffside; Scadu Altus - Scadu Altus West) - EndIfEventFlag(X4_4 = 2047457800) - Larval Tear
  - m61_47_45_00 (Gravesite Plain - North Fog Rift Fort, Northern Nameless Mausoleum East Cliffside; Scadu Altus - Scadu Altus West) - IfEventFlag(X4_4 = 2047457800) - Larval Tear
  - m61_48_42_00 (Gravesite Plain - Pillar Path Waypoint, Ruined Forge Lava Intake Entrance; Abyssal Woods - West Edge) - EndIfEventFlag(X4_4 = 2048427900) - Larval Tear
  - m61_48_42_00 (Gravesite Plain - Pillar Path Waypoint, Ruined Forge Lava Intake Entrance; Abyssal Woods - West Edge) - IfEventFlag(X4_4 = 2048427900) - Larval Tear
  - m61_49_46_00 (Scadu Altus - Poison Swamp, North Bear Woods, Castle Watering Hole Southwest) - EndIfEventFlag(X4_4 = 2049467900) - Larval Tear
  - m61_49_46_00 (Scadu Altus - Poison Swamp, North Bear Woods, Castle Watering Hole Southwest) - IfEventFlag(X4_4 = 2049467900) - Larval Tear
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - EndIfEventFlag(X4_4 = 2050467800) - Larval Tear
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - IfEventFlag(X4_4 = 2050467800) - Larval Tear
- ID: 90005570
  Comment: Item pickup to gesture, only for select flag
  ItemTemplate:
  - Type: removegesture
- ID: 90005616
  Comment: Beast eye quivers
  ItemTemplate:
  - Type: item
    EventFlag: 400239
  - Type: locarg
    EventFlag: 530170 530240 530385 30057030 30097000 30117000 30187900 30207910 1051577720
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 400239 530170 530240 530385 30057030 30097000 30117000 30187900 30207910 1051577720
  - common_func - IfEventFlag(400239) - Beast Eye
  - m30_05_00_00 (Black Knife Catacombs) - EndIfEventFlag(X0_4 = 30057030) - Deathroot
  - m30_05_00_00 (Black Knife Catacombs) - IfEventFlag(X0_4 = 30057030) - Deathroot
  - m30_09_00_00 (Gelmir Hero's Grave) - EndIfEventFlag(X0_4 = 30097000) - Deathroot
  - m30_09_00_00 (Gelmir Hero's Grave) - IfEventFlag(X0_4 = 30097000) - Deathroot
  - m30_11_00_00 (Deathtouched Catacombs) - EndIfEventFlag(X0_4 = 30117000) - Deathroot
  - m30_11_00_00 (Deathtouched Catacombs) - IfEventFlag(X0_4 = 30117000) - Deathroot
  - m30_18_00_00 (Giants' Mountaintop Catacombs) - EndIfEventFlag(X0_4 = 30187900) - Deathroot
  - m30_18_00_00 (Giants' Mountaintop Catacombs) - IfEventFlag(X0_4 = 30187900) - Deathroot
  - m30_20_00_00 (Hidden Path to the Haligtree) - EndIfEventFlag(X0_4 = 30207910) - Deathroot
  - m30_20_00_00 (Hidden Path to the Haligtree) - IfEventFlag(X0_4 = 30207910) - Deathroot
  - m60_38_52_00 (Altus Plateau - Wyndham Ruins, Wyndham Catacombs Entrance) - EndIfEventFlag(X0_4 = 530385) - Deathroot, Tibia's Summons
  - m60_38_52_00 (Altus Plateau - Wyndham Ruins, Wyndham Catacombs Entrance) - IfEventFlag(X0_4 = 530385) - Deathroot, Tibia's Summons
  - m60_39_44_00 (Liurnia of the Lakes - Jarburg, Divine Tower of Liurnia Entrance) - EndIfEventFlag(X0_4 = 530240) - Deathroot, Skeletal Bandit Ashes
  - m60_39_44_00 (Liurnia of the Lakes - Jarburg, Divine Tower of Liurnia Entrance) - IfEventFlag(X0_4 = 530240) - Deathroot, Skeletal Bandit Ashes
  - m60_45_39_00 (Limgrave - Summonwater Village) - EndIfEventFlag(X0_4 = 530170) - Deathroot, Skeletal Militiaman Ashes
  - m60_45_39_00 (Limgrave - Summonwater Village) - IfEventFlag(X0_4 = 530170) - Deathroot, Skeletal Militiaman Ashes
  - m60_51_57_00 (Mountaintops of the Giants - South Castle Sol, Snow Valley Ruins Overlook) - EndIfEventFlag(X0_4 = 1051577720) - Helphen's Steeple, Deathroot
  - m60_51_57_00 (Mountaintops of the Giants - South Castle Sol, Snow Valley Ruins Overlook) - IfEventFlag(X0_4 = 1051577720) - Helphen's Steeple, Deathroot
- ID: 90005632
  Comment: Getting painting objects on action button
  ItemTemplate:
  - Type: locarg
    EventFlag: 580000 580010 580020 580030 580040 580050 580060
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 580000 580010 580020 580030 580040 580050 580060
  - m10_00_00_00 (Stormveil Castle) - EndIfEventFlag(X0_4 = 580040) - "Prophecy" Painting
  - m11_00_00_00 (Leyndell, Royal Capital) - EndIfEventFlag(X0_4 = 580050) - "Flightless Bird" Painting
  - m60_38_45_00 (Liurnia of the Lakes - Artist's Shack, Eastern Liurnia Lake Shore) - EndIfEventFlag(X0_4 = 580010) - "Resurrection" Painting
  - m60_39_54_00 (Altus Plateau - Shaded Castle) - EndIfEventFlag(X0_4 = 580020) - "Champion's Song" Painting
  - m60_44_38_00 (Limgrave - Artist's Shack) - EndIfEventFlag(X0_4 = 580000) - "Homing Instinct" Painting
  - m60_50_39_00 (Caelid - East Sellia, Church of the Plague, Sellia Hideaway Entrance) - EndIfEventFlag(X0_4 = 580060) - "Redmane" Painting
  - m60_51_57_00 (Mountaintops of the Giants - South Castle Sol, Snow Valley Ruins Overlook) - EndIfEventFlag(X0_4 = 580030) - "Sorcerer" Painting
- ID: 90005633
  Comment: Makes painter object appear if you have the painting and not the item
  ItemTemplate:
  - Type: itemarg
    EventFlag: 580000 580010 580020 580030 580040 580050 580060
    EventFlagArg: X4
  - Type: locarg
    EventFlag: 580300 580310 580320 580330 580340 580350 580360
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 580000 580010 580020 580030 580040 580050 580060 580300 580310 580320 580330 580340 580350 580360
  - m60_36_50_00 (Liurnia of the Lakes - Behind Caria Manor, Royal Grave Evergaol, Part of Ravine) - EndIfEventFlag(X0_4 = 580310) - Juvenile Scholar Cap, Juvenile Scholar Robe, Larval Tear
  - m60_36_50_00 (Liurnia of the Lakes - Behind Caria Manor, Royal Grave Evergaol, Part of Ravine) - IfEventFlag(X4_4 = 580010) - "Resurrection" Painting
  - m60_41_52_00 (Altus Plateau - Rampartside Path, Altus Tunnel Entrance) - EndIfEventFlag(X0_4 = 580320) - Harp Bow
  - m60_41_52_00 (Altus Plateau - Rampartside Path, Altus Tunnel Entrance) - IfEventFlag(X4_4 = 580020) - "Champion's Song" Painting
  - m60_42_35_00 (Limgrave - South of Stranded Graveyard Exit) - EndIfEventFlag(X0_4 = 580340) - Warhawk Ashes
  - m60_42_35_00 (Limgrave - South of Stranded Graveyard Exit) - IfEventFlag(X4_4 = 580040) - "Prophecy" Painting
  - m60_42_54_00 (Altus Plateau - East Windmill Village, Highway Lookout Tower) - EndIfEventFlag(X0_4 = 580350) - Fire's Deadly Sin
  - m60_42_54_00 (Altus Plateau - East Windmill Village, Highway Lookout Tower) - IfEventFlag(X4_4 = 580050) - "Flightless Bird" Painting
  - m60_43_36_00 (Limgrave - Agheel Lake, Dragon-Burnt Ruins) - EndIfEventFlag(X0_4 = 580300) - Incantation Scarab
  - m60_43_36_00 (Limgrave - Agheel Lake, Dragon-Burnt Ruins) - IfEventFlag(X4_4 = 580000) - "Homing Instinct" Painting
  - m60_50_56_00 (Mountaintops of the Giants - Shack of the Lofty; Consecrated Snowfield - Minor Erdtree, Albinauric Rise, Cave of the Forlorn Entrance) - EndIfEventFlag(X0_4 = 580330) - Greathood
  - m60_50_56_00 (Mountaintops of the Giants - Shack of the Lofty; Consecrated Snowfield - Minor Erdtree, Albinauric Rise, Cave of the Forlorn Entrance) - IfEventFlag(X4_4 = 580030) - "Sorcerer" Painting
  - "m60_51_40_00 (Greyoll's Dragonbarrow - Minor Erdtree, Dragonbarrow Cave Entrance) - EndIfEventFlag(X0_4 = 580360) - Ash of War: Rain of Arrows"
  - m60_51_40_00 (Greyoll's Dragonbarrow - Minor Erdtree, Dragonbarrow Cave Entrance) - IfEventFlag(X4_4 = 580060) - "Redmane" Painting
- ID: 90005646
  Comment: Warp portal after forge. Because flag is always set, this can stay as-is
  ItemTemplate:
  - Type: default
    EventFlag: 42007000 42027000 42037000
  DebugInfo:
  - EventFlags 42007000 42027000 42037000
  - m42_00_00_00 (Ruined Forge Lava Intake) - IfEventFlag(X0_4 = 42007000) - Anvil Hammer, Ancient Dragon Smithing Stone
  - m42_02_00_00 (Ruined Forge of Starfall Past) - IfEventFlag(X0_4 = 42027000) - Ancient Meteoric Ore Greatsword, Ancient Dragon Smithing Stone
  - m42_03_00_00 (Taylew's Ruined Forge) - IfEventFlag(X0_4 = 42037000) - Ancient Dragon Smithing Stone, Taylew the Golem Smith
- ID: 90005750
  Comment: Makes a treasure SFX and awards an item on action button
  ItemTemplate:
  - Type: locarg
    EventFlag: 9500 9502 400036 400037 400061 400070 400071 400072 400073 400074 400075 400076 400077 400078 400089 400091 400107 400148 400149 400163 400174 400191 400240 400241 400291 400308 400309 400312 400321 400339 400348 400349 400356 400357 400358 400359 400360 400361 400362 400381 400382 400390 400393 400394 400410 400411 400460 400490 400500 400598 400602 400614 400620 400622 400623 400624 400625 400634 400644 400645 400666 400671 400692 400704 400712 400714 400723 400730 400732 400740
    EventFlagArg: X12 X16
  - Type: locarg
    Comment: Somehow this is used as a dependency for another drop
    EventFlag: 400359
    EventFlagArg: X20
  DebugInfo:
  - EventFlags 9500 9502 400036 400037 400061 400070 400071 400072 400073 400074 400075 400076 400077 400078 400089 400091 400107 400148 400149 400163 400174 400191 400240 400241 400291 400308 400309 400312 400321 400339 400348 400349 400356 400357 400358 400359 400360 400361 400362 400381 400382 400390 400393 400394 400410 400411 400460 400490 400500 400598 400602 400614 400620 400622 400623 400624 400625 400634 400644 400645 400666 400671 400692 400704 400712 400714 400723 400730 400732 400740
  - m11_05_00_00 (Leyndell, Ashen Capital) - IfBatchEventFlags(X12_4 = 9500, X16_4 = 9500) - Mending Rune of Perfect Order
  - m11_05_00_00 (Leyndell, Ashen Capital) - IfBatchEventFlags(X12_4 = 400500, X16_4 = 400500) - Goldmask's Rags, Gold Bracelets, Gold Waistwrap
  - m11_10_00_00 (Roundtable Hold) - IfBatchEventFlags(X12_4 = 400349, X16_4 = 400349) - Twinned Helm, Twinned Armor, Twinned Gauntlets, Twinned Greaves, D's Bell Bearing
  - m11_10_00_00 (Roundtable Hold) - IfBatchEventFlags(X12_4 = 400359, X16_4 = 400359) - Spellblade's Pointed Hat, Spellblade's Traveling Attire, Spellblade's Gloves, Spellblade's Trousers, Rogier's Bell Bearing
  - m11_10_00_00 (Roundtable Hold) - IfBatchEventFlags(X12_4 = 400356, X16_4 = 400358) - Rogier's Letter (400356)
  - m11_10_00_00 (Roundtable Hold) - IfBatchEventFlags(X12_4 = 400356, X16_4 = 400358) - Black Knifeprint (400357)
  - m11_10_00_00 (Roundtable Hold) - IfBatchEventFlags(X12_4 = 400356, X16_4 = 400358) - Rogier's Rapier +8 (400358)
  - m11_10_00_00 (Roundtable Hold) - IfEventFlag(X20_4 = 400359) - Spellblade's Pointed Hat, Spellblade's Traveling Attire, Spellblade's Gloves, Spellblade's Trousers, Rogier's Bell Bearing
  - m11_10_00_00 (Roundtable Hold) - IfBatchEventFlags(X12_4 = 400490, X16_4 = 400490) - Royal Remains Helm, Royal Remains Armor, Royal Remains Gauntlets, Royal Remains Greaves
  - m12_01_00_00 (Ainsel River) - IfBatchEventFlags(X12_4 = 400394, X16_4 = 400394) - Miniature Ranni
  - m12_03_00_00 (Deeproot Depths) - IfBatchEventFlags(X12_4 = 400348, X16_4 = 400348) - Inseparable Sword, Twinned Helm, Twinned Armor, Twinned Gauntlets, Twinned Greaves
  - m12_03_00_00 (Deeproot Depths) - IfBatchEventFlags(X12_4 = 9502, X16_4 = 9502) - Mending Rune of the Death-Prince
  - m12_03_00_00 (Deeproot Depths) - IfBatchEventFlags(X12_4 = 400339, X16_4 = 400339) - Fia's Hood, Fia's Robe
  - m12_05_00_00 (Mohgwyn Palace) - IfBatchEventFlags(X12_4 = 400036, X16_4 = 400037) - Festering Bloody Finger (400036)
  - m12_05_00_00 (Mohgwyn Palace) - IfBatchEventFlags(X12_4 = 400036, X16_4 = 400037) - Varré's Bouquet (400037)
  - m13_00_00_00 (Crumbling Farum Azula) - IfBatchEventFlags(X12_4 = 400174, X16_4 = 400174) - Shard of Alexander, Alexander's Innards
  - m14_00_00_00 (Academy of Raya Lucaria) - IfBatchEventFlags(X12_4 = 400107, X16_4 = 400107) - Witch's Glintstone Crown
  - m14_00_00_00 (Academy of Raya Lucaria) - IfBatchEventFlags(X12_4 = 400360, X16_4 = 400362) - Thops's Bell Bearing (400360)
  - m14_00_00_00 (Academy of Raya Lucaria) - IfBatchEventFlags(X12_4 = 400360, X16_4 = 400362) - Academy Glintstone Staff (400361)
  - m14_00_00_00 (Academy of Raya Lucaria) - IfBatchEventFlags(X12_4 = 400360, X16_4 = 400362) - Thops's Barrier (400362)
  - m15_00_00_00 (Miquella's Haligtree) - IfBatchEventFlags(X12_4 = 400321, X16_4 = 400321) - Unalloyed Gold Needle
  - m16_00_00_00 (Volcano Manor) - IfBatchEventFlags(X12_4 = 400073, X16_4 = 400073) - Letter from Volcano Manor
  - m16_00_00_00 (Volcano Manor) - IfBatchEventFlags(X12_4 = 400074, X16_4 = 400074) - Letter from Volcano Manor
  - m16_00_00_00 (Volcano Manor) - IfBatchEventFlags(X12_4 = 400075, X16_4 = 400075) - Red Letter
  - m16_00_00_00 (Volcano Manor) - IfBatchEventFlags(X12_4 = 400070, X16_4 = 400072) - Tonic of Forgetfulness (400070)
  - m16_00_00_00 (Volcano Manor) - IfBatchEventFlags(X12_4 = 400070, X16_4 = 400072) - Consort's Mask, Consort's Robe, Consort's Trousers (400071)
  - m16_00_00_00 (Volcano Manor) - IfBatchEventFlags(X12_4 = 400070, X16_4 = 400072) - Drawing-Room Key (400072)
  - m16_00_00_00 (Volcano Manor) - IfBatchEventFlags(X12_4 = 400071, X16_4 = 400071) - Consort's Mask, Consort's Robe, Consort's Trousers
  - m16_00_00_00 (Volcano Manor) - IfBatchEventFlags(X12_4 = 400076, X16_4 = 400076) - Magma Shot
  - m16_00_00_00 (Volcano Manor) - IfBatchEventFlags(X12_4 = 400077, X16_4 = 400077) - Serpentbone Blade
  - m16_00_00_00 (Volcano Manor) - IfBatchEventFlags(X12_4 = 400078, X16_4 = 400078) - Taker's Cameo
  - m16_00_00_00 (Volcano Manor) - IfBatchEventFlags(X12_4 = 400091, X16_4 = 400091) - Daedicar's Woe, Zorayas's Letter
  - m16_00_00_00 (Volcano Manor) - IfBatchEventFlags(X12_4 = 400291, X16_4 = 400291) - Gelmir's Fury
  - m20_00_00_00 (Belurat, Tower Settlement) - IfBatchEventFlags(X12_4 = 400723, X16_4 = 400723) - Gourmet Scorpion Stew
  - m20_01_00_00 (Enir-Ilim) - IfBatchEventFlags(X12_4 = 400598, X16_4 = 400598) - Leda's Armor
  - m20_01_00_00 (Enir-Ilim) - IfBatchEventFlags(X12_4 = 400602, X16_4 = 400602) - Freyja's Greatsword, Freyja's Helm, Freyja's Armor, Freyja's Gauntlets, Freyja's Greaves
  - m20_01_00_00 (Enir-Ilim) - IfBatchEventFlags(X12_4 = 400614, X16_4 = 400614) - Falx, Caterpillar Mask, Braided Cord Robe, Braided Arm Wraps, Soiled Loincloth
  - m20_01_00_00 (Enir-Ilim) - IfBatchEventFlags(X12_4 = 400634, X16_4 = 400634) - Thiollier's Hidden Needle, Thiollier's Mask, Thiollier's Garb, Thiollier's Gloves, Thiollier's Trousers
  - m20_01_00_00 (Enir-Ilim) - IfBatchEventFlags(X12_4 = 400644, X16_4 = 400645) - Moore's Bell Bearing (400644)
  - m20_01_00_00 (Enir-Ilim) - IfBatchEventFlags(X12_4 = 400644, X16_4 = 400645) - Verdigris Greatshield, Verdigris Helm, Verdigris Armor, Verdigris Gauntlets, Verdigris Greaves (400645)
  - m20_01_00_00 (Enir-Ilim) - IfBatchEventFlags(X12_4 = 400732, X16_4 = 400732) - Dane's Footwork
  - m20_01_00_00 (Enir-Ilim) - IfBatchEventFlags(X12_4 = 400624, X16_4 = 400624) - Obsidian Lamina, Ansbach's Longbow, Wise Man's Mask, Ansbach's Attire, Ansbach's Manchettes, Ansbach's Boots, Furious Blade of Ansbach, Letter for Freyja
  - m21_00_00_00 (Shadow Keep) - IfBatchEventFlags(X12_4 = 400692, X16_4 = 400692) - Queelign's Greatsword
  - m21_01_00_00 (Specimen Storehouse) - IfBatchEventFlags(X12_4 = 400620, X16_4 = 400620) - Letter for Freyja
  - m21_01_00_00 (Specimen Storehouse) - IfBatchEventFlags(X12_4 = 400622, X16_4 = 400623) - Obsidian Lamina, Ansbach's Longbow, Wise Man's Mask, Ansbach's Attire, Ansbach's Manchettes, Ansbach's Boots, Furious Blade of Ansbach, Letter for Freyja (400622)
  - m21_01_00_00 (Specimen Storehouse) - IfBatchEventFlags(X12_4 = 400622, X16_4 = 400623) - Obsidian Lamina, Ansbach's Longbow, Wise Man's Mask, Ansbach's Attire, Ansbach's Manchettes, Ansbach's Boots, Furious Blade of Ansbach, Letter for Freyja (400623)
  - m21_01_00_00 (Specimen Storehouse) - IfBatchEventFlags(X12_4 = 400625, X16_4 = 400625) - Obsidian Lamina, Ansbach's Longbow, Wise Man's Mask, Ansbach's Attire, Ansbach's Manchettes, Ansbach's Boots, Furious Blade of Ansbach, Letter for Freyja
  - m21_01_00_00 (Specimen Storehouse) - IfBatchEventFlags(X12_4 = 400602, X16_4 = 400602) - Freyja's Greatsword, Freyja's Helm, Freyja's Armor, Freyja's Gauntlets, Freyja's Greaves
  - m22_00_00_00 (Stone Coffin Fissure) - IfBatchEventFlags(X12_4 = 400740, X16_4 = 400740) - St. Trina's Blossom
  - m35_00_00_00 (Subterranean Shunning-Grounds) - IfBatchEventFlags(X12_4 = 400089, X16_4 = 400089) - Frenzied Flame Seal, Frenzyflame Stone
  - m35_00_00_00 (Subterranean Shunning-Grounds) - IfBatchEventFlags(X12_4 = 400381, X16_4 = 400382) - Sword of Milos (400381)
  - m35_00_00_00 (Subterranean Shunning-Grounds) - IfBatchEventFlags(X12_4 = 400381, X16_4 = 400382) - Omen Helm, Omen Armor, Omen Gauntlets, Omen Greaves (400382)
  - m35_00_00_00 (Subterranean Shunning-Grounds) - IfBatchEventFlags(X12_4 = 400382, X16_4 = 400382) - Omen Helm, Omen Armor, Omen Gauntlets, Omen Greaves
  - m60_34_49_00 (Liurnia of the Lakes - Road to the Manor) - IfBatchEventFlags(X12_4 = 400240, X16_4 = 400241) - Iji's Bell Bearing (400240)
  - m60_34_49_00 (Liurnia of the Lakes - Road to the Manor) - IfBatchEventFlags(X12_4 = 400240, X16_4 = 400241) - Iji's Mirrorhelm (400241)
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - IfBatchEventFlags(X12_4 = 400148, X16_4 = 400148) - Preceptor's Big Hat, Preceptor's Long Gown, Preceptor's Gloves, Preceptor's Trousers, Seluvis's Bell Bearing
  - m60_35_42_00 (Liurnia of the Lakes - West Albinauric Village; Moonlight Altar - Cathedral of Manus Celes) - IfBatchEventFlags(X12_4 = 400393, X16_4 = 400393) - Dark Moon Greatsword
  - m60_35_50_00 (Liurnia of the Lakes - Caria Manor) - IfBatchEventFlags(X12_4 = 400149, X16_4 = 400149) - Pidia's Bell Bearing, Nepheli Loux Puppet, Dolores the Sleeping Arrow Puppet
  - m60_36_41_00 (Liurnia of the Lakes - Slumbering Wolf's Shack, Lakeside Crystal Cave Entrance) - IfBatchEventFlags(X12_4 = 400410, X16_4 = 400410) - Latenna the Albinauric
  - m60_39_44_00 (Liurnia of the Lakes - Jarburg, Divine Tower of Liurnia Entrance) - IfBatchEventFlags(X12_4 = 400460, X16_4 = 400460) - Companion Jar
  - m60_39_52_00 (Altus Plateau - Second Church of Marika) - IfBatchEventFlags(X12_4 = 400163, X16_4 = 400163) - Nagakiba
  - m60_41_38_00 (Stormhill - Stormhill Shack, Stormveil Castle Entrance) - IfBatchEventFlags(X12_4 = 400191, X16_4 = 400191) - Golden Seed
  - m60_42_36_00 (Limgrave - Church of Elleh, Stranded Graveyard Exit) - IfBatchEventFlags(X12_4 = 400390, X16_4 = 400390) - Lone Wolf Ashes
  - m60_43_31_00 (Weeping Peninsula - Castle Morne) - IfBatchEventFlags(X12_4 = 400061, X16_4 = 400061) - Raw Meat Dumpling, Shabriri Grape, Banished Knight's Halberd +8
  - m60_44_52_00 (Capital Outskirts - South of Minor Erdtree) - IfBatchEventFlags(X12_4 = 400308, X16_4 = 400309) - Seedbed Curse (400308)
  - m60_44_52_00 (Capital Outskirts - South of Minor Erdtree) - IfBatchEventFlags(X12_4 = 400308, X16_4 = 400309) - Blackguard's Iron Mask, Blackguard's Bell Bearing, Iron Ball (400309)
  - m60_45_34_00 (Weeping Peninsula - Impaler's Catacombs Entrance) - IfBatchEventFlags(X12_4 = 400061, X16_4 = 400061) - Raw Meat Dumpling, Shabriri Grape, Banished Knight's Halberd +8
  - m60_47_58_00 (Consecrated Snowfield - Apostate Derelict) - IfBatchEventFlags(X12_4 = 400411, X16_4 = 400411) - Somber Ancient Dragon Smithing Stone
  - m60_50_38_00 (Caelid - Gowry's Shack) - IfBatchEventFlags(X12_4 = 400312, X16_4 = 400312) - Flock's Canvas Talisman, Gowry's Bell Bearing
  - m61_45_42_00 (Gravesite Plain - Belurat Main Gate Cross) - IfBatchEventFlags(X12_4 = 400644, X16_4 = 400644) - Moore's Bell Bearing
  - m61_46_42_00 (Gravesite Plain - Three-Path Cross) - IfBatchEventFlags(X12_4 = 400602, X16_4 = 400602) - Freyja's Greatsword, Freyja's Helm, Freyja's Armor, Freyja's Gauntlets, Freyja's Greaves
  - m61_47_46_00 (Scadu Altus - Church of the Crusade; Gravesite Plain - Fog Rift Catacombs Entrance; Rauh Base - Above Fog Rift; Ancient Ruins of Rauh - Bloodfiend Ruins Southeast Cliffside) - IfBatchEventFlags(X12_4 = 400644, X16_4 = 400645) - Moore's Bell Bearing (400644)
  - m61_47_46_00 (Scadu Altus - Church of the Crusade; Gravesite Plain - Fog Rift Catacombs Entrance; Rauh Base - Above Fog Rift; Ancient Ruins of Rauh - Bloodfiend Ruins Southeast Cliffside) - IfBatchEventFlags(X12_4 = 400644, X16_4 = 400645) - Verdigris Greatshield, Verdigris Helm, Verdigris Armor, Verdigris Gauntlets, Verdigris Greaves (400645)
  - m61_49_39_00 (Finger Ruins of Rhia - Climb to Finger-Weaver's Hovel; Charo's Hidden Grave - Far East Cliffside; Foot of the Jagged Peak - Grand Altar of Dragon Communion) - IfBatchEventFlags(X12_4 = 400704, X16_4 = 400704) - Flowerstone Gavel, Priestess Heart
  - m61_49_44_00 (Scadu Altus - Moorth Ruins, Bonny Village West Entrance) - IfBatchEventFlags(X12_4 = 400730, X16_4 = 400730) - Dane's Hat, Dryleaf Arts
  - m61_50_45_00 (Scadu Altus - Bonny Village North Tree and Overlook, Recluses' River Upstream, Manus Metyr Graveyard and West Cliffside) - IfBatchEventFlags(X12_4 = 400666, X16_4 = 400666) - Cherishing Fingers
  - m61_51_45_00 (Scadu Altus - Cathedral of Manus Metyr, Finger Ruins of Miyr, Second Furnace Golem Area, Recluses' River Downstream West Edge) - IfBatchEventFlags(X12_4 = 400671, X16_4 = 400671) - Sword of Night
  - m61_52_40_00 (Foot of the Jagged Peak - Foot of the Jagged Peak, Drake Duo Area; Abyssal Woods - Southwest of Church) - IfBatchEventFlags(X12_4 = 400712, X16_4 = 400712) - Igon's Greatbow, Igon's Helm, Igon's Armor, Igon's Gauntlets, Igon's Loincloth, Igon's Bell Bearing, Igon's Greatbow
  - m61_52_40_00 (Foot of the Jagged Peak - Foot of the Jagged Peak, Drake Duo Area; Abyssal Woods - Southwest of Church) - IfBatchEventFlags(X12_4 = 400714, X16_4 = 400714) - Igon's Greatbow, Igon's Helm, Igon's Armor, Igon's Gauntlets, Igon's Loincloth, Igon's Bell Bearing, Igon's Greatbow
- ID: 90005768
  Comment: Gives whichever of the drops hasn't been acquired yet
  ItemTemplate:
  - Type: locarg
    EventFlag: 400694 400696
    EventFlagArg: X8 X16
  DebugInfo:
  - EventFlags 400694 400696
  - m20_00_00_00 (Belurat, Tower Settlement) - IfEventFlag(X8_4 = 400694) - Crusade Insignia
  - 'm20_00_00_00 (Belurat, Tower Settlement) - IfEventFlag(X16_4 = 400696) - Prayer Room Key, Ash of War: Flame Skewer'
  - m61_47_46_00 (Scadu Altus - Church of the Crusade; Gravesite Plain - Fog Rift Catacombs Entrance; Rauh Base - Above Fog Rift; Ancient Ruins of Rauh - Bloodfiend Ruins Southeast Cliffside) - IfEventFlag(X8_4 = 400694) - Crusade Insignia
  - 'm61_47_46_00 (Scadu Altus - Church of the Crusade; Gravesite Plain - Fog Rift Catacombs Entrance; Rauh Base - Above Fog Rift; Ancient Ruins of Rauh - Bloodfiend Ruins Southeast Cliffside) - IfEventFlag(X16_4 = 400696) - Prayer Room Key, Ash of War: Flame Skewer'
- ID: 90005774
  Comment: Award item based on other separate event flag
  ItemTemplate:
  - Type: singleton
    Comment: This probably works, for a common event?
  - Type: locarg
    EventFlag: 400323 400480 400510 400614 400632 400645 400672 11107900 39207500 1035467700 1039537700 1042377700 1042397500 1050567700
    EventFlagArg: X8
  DebugInfo:
  - EventFlags 400323 400480 400510 400614 400632 400645 400672 11107900 39207500 1035467700 1039537700 1042377700 1042397500 1050567700
  - m11_10_00_00 (Roundtable Hold) - EndIfEventFlag(X8_4 = 11107900) - Clinging Bone
  - m15_00_00_00 (Miquella's Haligtree) - EndIfEventFlag(X8_4 = 400323) - Millicent's Prosthesis
  - m15_00_00_00 (Miquella's Haligtree) - EndIfEventFlag(X8_4 = 400480) - Rotten Winged Sword Insignia
  - m22_00_00_00 (Stone Coffin Fissure) - EndIfEventFlag(X8_4 = 400632) - St. Trina's Smile
  - m39_20_00_00 (Ruin-Strewn Precipice) - EndIfEventFlag(X8_4 = 39207500) - Bull-Goat Helm, Bull-Goat Armor, Bull-Goat Gauntlets, Bull-Goat Greaves
  - 'm60_35_46_00 (Liurnia of the Lakes - Main Academy Gate, Academy of Raya Lucaria Entrance) - EndIfEventFlag(X8_4 = 1035467700) - Ash of War: Raptor of the Mists'
  - m60_39_53_00 (Altus Plateau - Mirage Rise; Mt. Gelmir - Bridge of Iniquity) - EndIfEventFlag(X8_4 = 1039537700) - Black-Key Bolt, Crepus's Vial
  - m60_40_53_00 (Altus Plateau - Bower of Bounty, Writheblood Ruins) - EndIfEventFlag(X8_4 = 400510) - Great Stars, Somber Smithing Stone [6]
  - m60_42_39_00 (Stormhill - North of Warmaster's Shack) - EndIfEventFlag(X8_4 = 1042397500) - Scaled Helm, Scaled Armor, Scaled Gauntlets, Scaled Greaves
  - m60_43_37_00 (Limgrave - Agheel Lake North, Murkwater Cave Entrance) - EndIfEventFlag(X8_4 = 1042377700) - Reduvia
  - m60_50_56_00 (Mountaintops of the Giants - Shack of the Lofty; Consecrated Snowfield - Minor Erdtree, Albinauric Rise, Cave of the Forlorn Entrance) - EndIfEventFlag(X8_4 = 1050567700) - Hoslow's Petal Whip, Hoslow's Helm, Hoslow's Armor, Hoslow's Gauntlets, Hoslow's Greaves
  - m61_44_46_00 (Rauh Base - Scorpion River Catacombs Entrance; Ancient Ruins of Rauh - Spiritspring Courtyard, Rot Ruins, North Church of the Bud) - EndIfEventFlag(X8_4 = 400614) - Falx, Caterpillar Mask, Braided Cord Robe, Braided Arm Wraps, Soiled Loincloth
  - m61_45_41_00 (Gravesite Plain - Cliffroad Terminus, Prospect Town) - EndIfEventFlag(X8_4 = 400645) - Verdigris Greatshield, Verdigris Helm, Verdigris Armor, Verdigris Gauntlets, Verdigris Greaves
  - m61_47_46_00 (Scadu Altus - Church of the Crusade; Gravesite Plain - Fog Rift Catacombs Entrance; Rauh Base - Above Fog Rift; Ancient Ruins of Rauh - Bloodfiend Ruins Southeast Cliffside) - EndIfEventFlag(X8_4 = 400645) - Verdigris Greatshield, Verdigris Helm, Verdigris Armor, Verdigris Gauntlets, Verdigris Greaves
  - m61_48_40_00 (Gravesite Plain - South of Church of Consolation, Ellac River End; Charo's Hidden Grave - Central Lake Northeast Cliffside; Abyssal Woods - Southwest Corner) - EndIfEventFlag(X8_4 = 400645) - Verdigris Greatshield, Verdigris Helm, Verdigris Armor, Verdigris Gauntlets, Verdigris Greaves
  - m61_48_44_00 (Gravesite Plain - East Castle Ensis, Exit to Scadu Altus; Scadu Altus - Ruined Forge of Starfall Past Entrance) - EndIfEventFlag(X8_4 = 400645) - Verdigris Greatshield, Verdigris Helm, Verdigris Armor, Verdigris Gauntlets, Verdigris Greaves
  - m61_49_46_00 (Scadu Altus - Poison Swamp, North Bear Woods, Castle Watering Hole Southwest) - EndIfEventFlag(X8_4 = 400645) - Verdigris Greatshield, Verdigris Helm, Verdigris Armor, Verdigris Gauntlets, Verdigris Greaves
  - m61_50_47_00 (Scadu Altus - Castle Watering Hole Northeast, North Ruins of Unte, Above Shadow Keep East Tunnel) - EndIfEventFlag(X8_4 = 400645) - Verdigris Greatshield, Verdigris Helm, Verdigris Armor, Verdigris Gauntlets, Verdigris Greaves
  - m61_51_45_00 (Scadu Altus - Cathedral of Manus Metyr, Finger Ruins of Miyr, Second Furnace Golem Area, Recluses' River Downstream West Edge) - EndIfEventFlag(X8_4 = 400672) - Claws of Night
- ID: 90005775
  Comment: Something related to having invasion letters
  ItemTemplate:
  - Type: itemarg
    EventFlag: 400073 400074 400075 400180 400290
    EventFlagArg: X4
  DebugInfo:
  - EventFlags 400073 400074 400075 400180 400290
  - m16_00_00_00 (Volcano Manor) - EndIfEventFlag(X4_4 = 400290) - Letter to Bernahl
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(X4_4 = 400290) - Letter to Bernahl
  - m16_00_00_00 (Volcano Manor) - EndIfEventFlag(X4_4 = 400180) - Letter to Patches
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(X4_4 = 400180) - Letter to Patches
  - m16_00_00_00 (Volcano Manor) - EndIfEventFlag(X4_4 = 400073) - Letter from Volcano Manor
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(X4_4 = 400073) - Letter from Volcano Manor
  - m16_00_00_00 (Volcano Manor) - EndIfEventFlag(X4_4 = 400074) - Letter from Volcano Manor
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(X4_4 = 400074) - Letter from Volcano Manor
  - m16_00_00_00 (Volcano Manor) - EndIfEventFlag(X4_4 = 400075) - Red Letter
  - m16_00_00_00 (Volcano Manor) - IfEventFlag(X4_4 = 400075) - Red Letter
- ID: 90005776
  Comment: Award item lot based on other flag, used for invasion rewards
  ItemTemplate:
  - Type: locarg
    EventFlag: 400594 400595 400614 400622
    EventFlagArg: X0_4
  DebugInfo:
  - EventFlags 400594 400595 400614 400622
  - m21_00_00_00 (Shadow Keep) - EndIfEventFlag(X0_4 = 400614) - Falx, Caterpillar Mask, Braided Cord Robe, Braided Arm Wraps, Soiled Loincloth
  - "m21_00_00_00 (Shadow Keep) - EndIfEventFlag(X0_4 = 400594) - Leda's Rune, Ash of War: Swift Slash"
  - m21_01_00_00 (Specimen Storehouse) - EndIfEventFlag(X0_4 = 400622) - Obsidian Lamina, Ansbach's Longbow, Wise Man's Mask, Ansbach's Attire, Ansbach's Manchettes, Ansbach's Boots, Furious Blade of Ansbach, Letter for Freyja
  - m21_01_00_00 (Specimen Storehouse) - EndIfEventFlag(X0_4 = 400595) - Ansbach's Longbow, Leda's Rune
- ID: 90005778
  Comment: Forager brood quest flags, X0 set based on whether you have their gift
  ItemTemplate:
  - Type: locarg
    EventFlag: 400750 400751 400752 400753 400754
    EventFlagArg: X8
  DebugInfo:
  - EventFlags 400750 400751 400752 400753 400754
  - m61_45_41_00 (Gravesite Plain - Cliffroad Terminus, Prospect Town) - EndIfEventFlag(X8_4 = 400753) - Black Pyrefly
  - m61_45_41_00 (Gravesite Plain - Cliffroad Terminus, Prospect Town) - IfEventFlag(X8_4 = 400753) - Black Pyrefly
  - m61_48_40_00 (Gravesite Plain - South of Church of Consolation, Ellac River End; Charo's Hidden Grave - Central Lake Northeast Cliffside; Abyssal Woods - Southwest Corner) - EndIfEventFlag(X8_4 = 400754) - Yellow Fulgurbloom
  - m61_48_40_00 (Gravesite Plain - South of Church of Consolation, Ellac River End; Charo's Hidden Grave - Central Lake Northeast Cliffside; Abyssal Woods - Southwest Corner) - IfEventFlag(X8_4 = 400754) - Yellow Fulgurbloom
  - m61_48_44_00 (Gravesite Plain - East Castle Ensis, Exit to Scadu Altus; Scadu Altus - Ruined Forge of Starfall Past Entrance) - EndIfEventFlag(X8_4 = 400750) - Glintslab Firefly
  - m61_48_44_00 (Gravesite Plain - East Castle Ensis, Exit to Scadu Altus; Scadu Altus - Ruined Forge of Starfall Past Entrance) - IfEventFlag(X8_4 = 400750) - Glintslab Firefly
  - m61_49_46_00 (Scadu Altus - Poison Swamp, North Bear Woods, Castle Watering Hole Southwest) - EndIfEventFlag(X8_4 = 400751) - Pearlescent Scale
  - m61_49_46_00 (Scadu Altus - Poison Swamp, North Bear Woods, Castle Watering Hole Southwest) - IfEventFlag(X8_4 = 400751) - Pearlescent Scale
  - m61_50_47_00 (Scadu Altus - Castle Watering Hole Northeast, North Ruins of Unte, Above Shadow Keep East Tunnel) - EndIfEventFlag(X8_4 = 400752) - Dewgem
  - m61_50_47_00 (Scadu Altus - Castle Watering Hole Northeast, North Ruins of Unte, Above Shadow Keep East Tunnel) - IfEventFlag(X8_4 = 400752) - Dewgem
- ID: 90005860
  Comment: Manual addition here, for item lot award event
  ItemTemplate:
  - Type: singleton
- ID: 900005571
  Comment: Award gesture based on picking up item
  ItemTemplate:
  - Type: locarg
    EventFlag: 2048457510
    EventFlagArg: X8
  DebugInfo:
  - EventFlags 2048457510
  - m61_48_45_00 (Scadu Altus - Highroad Cross, Highway Fork) - IfEventFlag(X8_4 = 2048457510) - Monk's Missive
- ID: 900005580
  Comment: Shows Leda's message at any grace after defeating Messmer
  ItemTemplate:
  - Type: locarg
    EventFlag: 580600
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 580600
  - m20_00_00_00 (Belurat, Tower Settlement) - EndIfEventFlag(X0_4 = 580600) - Message from Leda
  - m20_00_00_00 (Belurat, Tower Settlement) - IfEventFlag(X0_4 = 580600) - Message from Leda
  - m21_01_00_00 (Specimen Storehouse) - EndIfEventFlag(X0_4 = 580600) - Message from Leda
  - m21_01_00_00 (Specimen Storehouse) - IfEventFlag(X0_4 = 580600) - Message from Leda
  - m22_00_00_00 (Stone Coffin Fissure) - EndIfEventFlag(X0_4 = 580600) - Message from Leda
  - m22_00_00_00 (Stone Coffin Fissure) - IfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_45_42_00 (Gravesite Plain - Belurat Main Gate Cross) - EndIfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_45_42_00 (Gravesite Plain - Belurat Main Gate Cross) - IfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_46_42_00 (Gravesite Plain - Three-Path Cross) - EndIfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_46_42_00 (Gravesite Plain - Three-Path Cross) - IfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_46_47_00 (Rauh Base - Fire Spritestone Cave; Ancient Ruins of Rauh - North Belfry Area, East Ruins Grace and Cave Entrance, Scorpion Cave) - EndIfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_46_47_00 (Rauh Base - Fire Spritestone Cave; Ancient Ruins of Rauh - North Belfry Area, East Ruins Grace and Cave Entrance, Scorpion Cave) - IfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_47_44_00 (Gravesite Plain - West Castle Ensis, South Fog Rift Fort; Scadu Altus - Belfry) - EndIfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_47_44_00 (Gravesite Plain - West Castle Ensis, South Fog Rift Fort; Scadu Altus - Belfry) - IfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_48_37_00 (Cerulean Coast - Cerulean Coast Cross, Far Southwest Fingercreeper Beach Coast) - EndIfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_48_37_00 (Cerulean Coast - Cerulean Coast Cross, Far Southwest Fingercreeper Beach Coast) - IfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_48_43_00 (Gravesite Plain - Pillar Path Cross; Abyssal Woods - Divided Falls; Scadu Altus - West of Moorth Highway South) - EndIfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_48_43_00 (Gravesite Plain - Pillar Path Cross; Abyssal Woods - Divided Falls; Scadu Altus - West of Moorth Highway South) - IfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_48_45_00 (Scadu Altus - Highroad Cross, Highway Fork) - EndIfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_48_45_00 (Scadu Altus - Highroad Cross, Highway Fork) - IfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_49_44_00 (Scadu Altus - Moorth Ruins, Bonny Village West Entrance) - EndIfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_49_44_00 (Scadu Altus - Moorth Ruins, Bonny Village West Entrance) - IfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_50_43_00 (Scadu Altus - Scaduview Cross, Bonny Gaol Entrance, Path to Village of Flies; Abyssal Woods - Alcove North of Central Woods) - EndIfEventFlag(X0_4 = 580600) - Message from Leda
  - m61_50_43_00 (Scadu Altus - Scaduview Cross, Bonny Gaol Entrance, Path to Village of Flies; Abyssal Woods - Alcove North of Central Woods) - IfEventFlag(X0_4 = 580600) - Message from Leda
- ID: 1034500718
  Comment: Sets a flag when 2 puppets have been bought
  ItemTemplate:
  - Type: default
    Comment: Range counting is used, so needs manual replacement for more detail
    EventFlag: 130000 130010 130020 130100
  DebugInfo:
  - EventFlags 130000 130010 130020 130100
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - IfCountEventFlags(130000, 130100) - Finger Maiden Therolina Puppet (130000)
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - IfCountEventFlags(130000, 130100) - Dolores the Sleeping Arrow Puppet (130010)
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - IfCountEventFlags(130000, 130100) - Jarwight Puppet (130020)
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - IfCountEventFlags(130000, 130100) - Dung Eater Puppet (130100)
- ID: 1034500719
  Comment: Sets a flag when a scroll sorcery has been purchased from Selivus
  ItemTemplate:
  - Type: loc
    EventFlag: 120790 120800 120810 120820 120830 120840
  DebugInfo:
  - EventFlags 120790 120800 120810 120820 120830 120840
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - SkipIfEventFlag(120790) - Glintstone Cometshard
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - IfEventFlag(120790) - Glintstone Cometshard
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - SkipIfEventFlag(120800) - Star Shower
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - IfEventFlag(120800) - Star Shower
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - SkipIfEventFlag(120810) - Great Glintstone Shard
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - IfEventFlag(120810) - Great Glintstone Shard
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - SkipIfEventFlag(120820) - Swift Glintstone Shard
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - IfEventFlag(120820) - Swift Glintstone Shard
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - SkipIfEventFlag(120830) - Glintblade Phalanx
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - IfEventFlag(120830) - Glintblade Phalanx
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - SkipIfEventFlag(120840) - Carian Slicer
  - m60_34_50_00 (Liurnia of the Lakes - Ranni's Rise, Seluvis's Rise) - IfEventFlag(120840) - Carian Slicer
- ID: 1035452500
  Comment: Picking up the map, it says "You found a simple map. Check in inventory."
  ItemTemplate:
  - Type: remove
    Comment: Could be item but it's only in this map. It's annoying to clear so remove it
    EventFlag: 1035457100
  DebugInfo:
  - EventFlags 1035457100
  - m60_35_45_00 (Liurnia of the Lakes - South Raya Lucaria Gate) - EndIfEventFlag(1035457100) - Meeting Place Map
  - m60_35_45_00 (Liurnia of the Lakes - South Raya Lucaria Gate) - IfEventFlag(1035457100) - Meeting Place Map
- ID: 1035500702
  Comment: If you buy everything from the pitiful Caria manor guy, you get special dialogue
  ItemTemplate:
  - Type: default
    Comment: Meh
    EventFlag: 66450 67470 69900 130290 130300 130340 130350 130360 130370 130380 130390
  DebugInfo:
  - EventFlags 66450 67470 69900 130290 130300 130340 130350 130360 130370 130380 130390
  - m60_35_50_00 (Liurnia of the Lakes - Caria Manor) - IfEventValue(67470) - Glintstone Craftsman's Cookbook [7]
  - m60_35_50_00 (Liurnia of the Lakes - Caria Manor) - IfEventValue(66450) - Ritual Pot
  - m60_35_50_00 (Liurnia of the Lakes - Caria Manor) - IfEventValue(130290) - Old Fang
  - m60_35_50_00 (Liurnia of the Lakes - Caria Manor) - IfEventValue(130300) - Slumbering Egg
  - 'm60_35_50_00 (Liurnia of the Lakes - Caria Manor) - IfEventValue(130340) - Ash of War: Carian Retaliation'
  - m60_35_50_00 (Liurnia of the Lakes - Caria Manor) - IfEventValue(130350) - Celestial Dew
  - m60_35_50_00 (Liurnia of the Lakes - Caria Manor) - IfEventValue(130360) - Larval Tear
  - m60_35_50_00 (Liurnia of the Lakes - Caria Manor) - IfEventValue(130370) - Budding Horn
  - m60_35_50_00 (Liurnia of the Lakes - Caria Manor) - IfEventValue(130380) - Ripple Blade
  - m60_35_50_00 (Liurnia of the Lakes - Caria Manor) - IfEventValue(130390) - Black Leather Shield
  - m60_35_50_00 (Liurnia of the Lakes - Caria Manor) - IfEventValue(69900) - Weathered Map
- ID: 1036413700
  Comment: Latenna quest, disabled her when you get the left piece
  ItemTemplate:
  - Type: item
    EventFlag: 1051587800
  DebugInfo:
  - EventFlags 1051587800
  - m60_36_41_00 (Liurnia of the Lakes - Slumbering Wolf's Shack, Lakeside Crystal Cave Entrance) - SkipIfEventFlag(1051587800) - Haligtree Secret Medallion (Left)
- ID: 1037493700
  Comment: Exchanging favor item in Bellum
  ItemTemplate:
  - Type: loc
    Comment: For awarded item lot 100330 (also given in other places), on action button
    EventFlag: 400033
  DebugInfo:
  - EventFlags 400031 400033
  - m60_37_49_00 (Bellum Highway - Church of Inhibition, Southwest of Grand Lift of Dectus) - EndIfEventFlag(400033) - Lord of Blood's Favor
  - m60_37_49_00 (Bellum Highway - Church of Inhibition, Southwest of Grand Lift of Dectus) - EndIfEventFlag(400031) - Lord of Blood's Favor
- ID: 1037533700
  Comment: Disables Azur if you have his item drop. At some point shows treasure, related to Jerren quest
  ItemTemplate:
  - Type: loc
    EventFlag: 400441
  DebugInfo:
  - EventFlags 400441
  - m60_37_53_00 (Mt. Gelmir - Primeval Sorcerer Azur, Gelmir Hero's Grave Entrance) - EndIfEventFlag(400441) - Azur's Glintstone Crown, Azur's Glintstone Robe, Azur's Manchettes
- ID: 1037542351
  Comment: Sets flag when collecting items. The other flag prevents the item from appearing extra shiny while the player's in 1037542225, presumably for Patches kick
  ItemTemplate:
  - Type: locarg
    EventFlag: 1037547060 1037547070 1037547080 1037547090
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 1037547060 1037547070 1037547080 1037547090
  - m60_37_54_00 (Mt. Gelmir - Minor Erdtree, Seethewater Cave Entrance) - IfEventFlag(X0_4 = 1037547060) - Glass Shard
  - m60_37_54_00 (Mt. Gelmir - Minor Erdtree, Seethewater Cave Entrance) - IfEventFlag(X0_4 = 1037547080) - Rejuvenating Boluses
  - m60_37_54_00 (Mt. Gelmir - Minor Erdtree, Seethewater Cave Entrance) - IfEventFlag(X0_4 = 1037547090) - Hefty Beast Bone
  - m60_37_54_00 (Mt. Gelmir - Minor Erdtree, Seethewater Cave Entrance) - IfEventFlag(X0_4 = 1037547070) - Nascent Butterfly
- ID: 1038502400
  Comment: Some kind of behavior for golems around the lift, dependent on having either item
  ItemTemplate:
  - Type: item
    EventFlag: 1046367500 1051397900
  DebugInfo:
  - EventFlags 1046367500 1051397900
  - m60_38_50_00 (Liurnia of the Lakes - Ravine-Veiled Village; Bellum Highway - Grand Lift of Dectus; Altus Plateau - Altus Plateau; Ruin-Strewn Precipice Entrance) - IfEventFlag(1046367500) - Dectus Medallion (Left)
  - m60_38_50_00 (Liurnia of the Lakes - Ravine-Veiled Village; Bellum Highway - Grand Lift of Dectus; Altus Plateau - Altus Plateau; Ruin-Strewn Precipice Entrance) - IfEventFlag(1051397900) - Dectus Medallion (Right)
- ID: 1039393701
  Comment: When you buy all 3 sorcereries from Thops
  ItemTemplate:
  - Type: default
    EventFlag: 120500 120510 120520
  DebugInfo:
  - EventFlags 120500 120510 120520
  - m60_39_39_00 (Liurnia of the Lakes - Church of Irith) - IfCountEventFlags(120500, 120749) - Glintstone Pebble (120500)
  - m60_39_39_00 (Liurnia of the Lakes - Church of Irith) - IfCountEventFlags(120500, 120749) - Glintstone Arc (120510)
  - m60_39_39_00 (Liurnia of the Lakes - Church of Irith) - IfCountEventFlags(120500, 120749) - Starlight (120520)
- ID: 1039532600
  Comment: Gives the riddle item lot on action button
  ItemTemplate:
  - Type: loc
    EventFlag: 1039537080
  DebugInfo:
  - EventFlags 1039537080
  - m60_39_53_00 (Altus Plateau - Mirage Rise; Mt. Gelmir - Bridge of Iniquity) - SkipIfEventFlag(1039537080) - Mirage Riddle
- ID: 1039532610
  Comment: Notification for "You found a simple map" but also location-specific
  ItemTemplate:
  - Type: remove
    Comment: Also just remove
    EventFlag: 1039537080
  DebugInfo:
  - EventFlags 1039537080
  - m60_39_53_00 (Altus Plateau - Mirage Rise; Mt. Gelmir - Bridge of Iniquity) - EndIfEventFlag(1039537080) - Mirage Riddle
  - m60_39_53_00 (Altus Plateau - Mirage Rise; Mt. Gelmir - Bridge of Iniquity) - IfEventFlag(1039537080) - Mirage Riddle
- ID: 1039533700
  Comment: Enable invasion for Rileigh the Idle
  ItemTemplate:
  - Type: item
    EventFlag: 400074
  DebugInfo:
  - EventFlags 400074
  - m60_39_53_00 (Altus Plateau - Mirage Rise; Mt. Gelmir - Bridge of Iniquity) - EndIfEventFlag(400074) - Letter from Volcano Manor
- ID: 1040522240
  Comment: Give an SFX to the map pillar until you get the map
  ItemTemplate:
  - Type: locarg
    EventFlag: 62030
    EventFlagArg: X8
  DebugInfo:
  - EventFlags 62030
  - "m60_40_52_00 (Altus Plateau - Forest-Spanning Greatbridge, St. Trina's Hideaway, Sainted Hero's Grave Entrance) - GotoIfEventFlag(X8_4 = 62030) - Map: Altus Plateau"
  - "m60_40_52_00 (Altus Plateau - Forest-Spanning Greatbridge, St. Trina's Hideaway, Sainted Hero's Grave Entrance) - IfEventFlag(X8_4 = 62030) - Map: Altus Plateau"
- ID: 1042393710
  Comment: Enable invasion for Old Knight Istvan. TODO check other items
  ItemTemplate:
  - Type: item
    EventFlag: 400073
  DebugInfo:
  - EventFlags 400073
  - m60_42_39_00 (Stormhill - North of Warmaster's Shack) - EndIfEventFlag(400073) - Letter from Volcano Manor
- ID: 1042512240
  Comment: Map pillar SFX
  ItemTemplate:
  - Type: locarg
    EventFlag: 62031
    EventFlagArg: X8
  DebugInfo:
  - EventFlags 62031
  - 'm60_42_51_00 (Capital Outskirts - Outer Wall Phantom Tree) - GotoIfEventFlag(X8_4 = 62031) - Map: Leyndell, Royal Capital'
  - 'm60_42_51_00 (Capital Outskirts - Outer Wall Phantom Tree) - IfEventFlag(X8_4 = 62031) - Map: Leyndell, Royal Capital'
- ID: 1044363713
  Comment: Flags when purchasing 3 and then 6 of Sellen's sorceries
  ItemTemplate:
  - Type: default
    EventFlag: 100500 100510 100520 100530 100540 100550 100560 100570 100580 100590 100600 100610 100620
  DebugInfo:
  - EventFlags 100500 100510 100520 100530 100540 100550 100560 100570 100580 100590 100600 100610 100620
  - m60_44_36_00 (Limgrave - Waypoint Ruins) - IfCountEventFlags(100500, 100749) - Glintstone Pebble (100500)
  - m60_44_36_00 (Limgrave - Waypoint Ruins) - IfCountEventFlags(100500, 100749) - Scholar's Armament (100510)
  - m60_44_36_00 (Limgrave - Waypoint Ruins) - IfCountEventFlags(100500, 100749) - Scholar's Shield (100520)
  - m60_44_36_00 (Limgrave - Waypoint Ruins) - IfCountEventFlags(100500, 100749) - Crystal Barrage (100530)
  - m60_44_36_00 (Limgrave - Waypoint Ruins) - IfCountEventFlags(100500, 100749) - Glintstone Arc (100540)
  - m60_44_36_00 (Limgrave - Waypoint Ruins) - IfCountEventFlags(100500, 100749) - Glintstone Stars (100550)
  - m60_44_36_00 (Limgrave - Waypoint Ruins) - IfCountEventFlags(100500, 100749) - Shard Spiral (100560)
  - m60_44_36_00 (Limgrave - Waypoint Ruins) - IfCountEventFlags(100500, 100749) - Glintstone Cometshard (100570)
  - m60_44_36_00 (Limgrave - Waypoint Ruins) - IfCountEventFlags(100500, 100749) - Star Shower (100580)
  - m60_44_36_00 (Limgrave - Waypoint Ruins) - IfCountEventFlags(100500, 100749) - Great Glintstone Shard (100590)
  - m60_44_36_00 (Limgrave - Waypoint Ruins) - IfCountEventFlags(100500, 100749) - Swift Glintstone Shard (100600)
  - m60_44_36_00 (Limgrave - Waypoint Ruins) - IfCountEventFlags(100500, 100749) - Glintblade Phalanx (100610)
  - m60_44_36_00 (Limgrave - Waypoint Ruins) - IfCountEventFlags(100500, 100749) - Carian Slicer (100620)
- ID: 1045522500
  Comment: Outskirts to Leyndell entry. Occurs in both _00 and _10 maps, but we only edit the initialized one.
  ItemTemplate:
  - Type: leyndell
- ID: 1047410701
  Comment: Calls unknown 2004[80](1) when getting the item. Also called with (0) when being held by Fia? (and then restart)
  ItemTemplate:
  - Type: loc
    EventFlag: 400470
  DebugInfo:
  - EventFlags 400470
  - m60_47_41_00 (Caelid - South Great-Jar Area) - EndIfEventFlag(400470) - Great-Jar's Arsenal
  - m60_47_41_00 (Caelid - South Great-Jar Area) - IfEventFlag(400470) - Great-Jar's Arsenal
- ID: 1050383702
  Comment: Gives lore dialogue after purchasing the Pest Threads item
  ItemTemplate:
  - Type: loc
    EventFlag: 110850
  DebugInfo:
  - EventFlags 110850
  - m60_50_38_00 (Caelid - Gowry's Shack) - WaitForEventFlag(110850) - Pest Threads
- ID: 1050563700
  Comment: Enable invasion for Juno Hoslow
  ItemTemplate:
  - Type: item
    EventFlag: 400075
  DebugInfo:
  - EventFlags 400075
  - m60_50_56_00 (Mountaintops of the Giants - Shack of the Lofty; Consecrated Snowfield - Minor Erdtree, Albinauric Rise, Cave of the Forlorn Entrance) - EndIfEventFlag(400075) - Red Letter
- ID: 2045432550
  Comment: Painting reward
  ItemTemplate:
  - Type: itemarg
    EventFlag: 580100
    EventFlagArg: X4
  - Type: locarg
    EventFlag: 580400
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 580100 580400
  - m61_45_43_00 (Gravesite Plain - South of Dragon Lake) - EndIfEventFlag(X0_4 = 580400) - Serpent Crest Shield
  - m61_45_43_00 (Gravesite Plain - South of Dragon Lake) - IfEventFlag(X4_4 = 580100) - "Incursion" Painting
- ID: 2045472690
  Comment: Sword quest, not randomized
  ItemTemplate:
  - Type: default
    EventFlag: 2045477500 2045477510 2045477520 2045477530 2045477540 2045477550 2045477560 2045477570 2045477580 2045477590 2045477600
  DebugInfo:
  - EventFlags 2045477500 2045477510 2045477520 2045477530 2045477540 2045477550 2045477560 2045477570 2045477580 2045477590 2045477600
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477600) - Sword of Light +10
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477590) - Sword of Light +9
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477580) - Sword of Light +8
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477570) - Sword of Light +7
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477560) - Sword of Light +6
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477550) - Sword of Light +5
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477540) - Sword of Light +4
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477530) - Sword of Light +3
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477520) - Sword of Light +2
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477510) - Sword of Light +1
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477500) - Sword of Light
- ID: 2045472695
  Comment: Sword quest, not randomized
  ItemTemplate:
  - Type: default
    EventFlag: 2045477500 2045477510 2045477520 2045477530 2045477540 2045477550 2045477560 2045477570 2045477580 2045477590 2045477600
  DebugInfo:
  - EventFlags 2045477500 2045477510 2045477520 2045477530 2045477540 2045477550 2045477560 2045477570 2045477580 2045477590 2045477600
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477600) - Sword of Light +10
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477590) - Sword of Light +9
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477580) - Sword of Light +8
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477570) - Sword of Light +7
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477560) - Sword of Light +6
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477550) - Sword of Light +5
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477540) - Sword of Light +4
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477530) - Sword of Light +3
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477520) - Sword of Light +2
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477510) - Sword of Light +1
  - m61_45_47_00 (Rauh Base - Ravine North, East Scorpion River; Ancient Ruins of Rauh - West Ruins Northeast Cliffside, East Ruins Cave Exit) - SetEventFlag(2045477500) - Sword of Light
- ID: 2046402550
  Comment: Getting painting object, copy of 90005632
  ItemTemplate:
  - Type: locarg
    EventFlag: 580100
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 580100
  - m61_46_40_00 (Gravesite Plain - Church of Benediction; Cerulean Coast - Demi-Human Beach, Ravine North; Charo's Hidden Grave - Lamenter's Gaol Entrance) - EndIfEventFlag(X0_4 = 580100) - "Incursion" Painting
- ID: 2046452550
  Comment: Painting reward
  ItemTemplate:
  - Type: itemarg
    EventFlag: 580110
    EventFlagArg: X4
  - Type: locarg
    EventFlag: 580410
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 580110 580410
  - m61_46_45_00 (Rauh Base - Temple Town Ruins; Gravesite Plain - Northern Nameless Mausoleum, Ellac River Start) - EndIfEventFlag(X0_4 = 580410) - Spiraltree Seal
  - m61_46_45_00 (Rauh Base - Temple Town Ruins; Gravesite Plain - Northern Nameless Mausoleum, Ellac River Start) - IfEventFlag(X4_4 = 580110) - "The Sacred Tower" Painting
- ID: 2047422550
  Comment: Getting painting object, copy of 90005632
  ItemTemplate:
  - Type: locarg
    EventFlag: 580110
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 580110
  - m61_47_42_00 (Gravesite Plain - North of Scorched Ruins, Downstream of Ellac River Cave) - EndIfEventFlag(X0_4 = 580110) - "The Sacred Tower" Painting
- ID: 2047460707
  Comment: Forager brood quest state for sick one
  ItemTemplate:
  - Type: locarg
    EventFlag: 400755
    EventFlagArg: X8
  DebugInfo:
  - EventFlags 400755
  - m61_47_46_00 (Scadu Altus - Church of the Crusade; Gravesite Plain - Fog Rift Catacombs Entrance; Rauh Base - Above Fog Rift; Ancient Ruins of Rauh - Bloodfiend Ruins Southeast Cliffside) - EndIfEventFlag(X8_4 = 400755) - Shadow Sunflower
  - m61_47_46_00 (Scadu Altus - Church of the Crusade; Gravesite Plain - Fog Rift Catacombs Entrance; Rauh Base - Above Fog Rift; Ancient Ruins of Rauh - Bloodfiend Ruins Southeast Cliffside) - IfEventFlag(X8_4 = 400755) - Shadow Sunflower
- ID: 2048450704
  Comment: Default state for Hornsent's drop
  ItemTemplate:
  - Type: loc
    EventFlag: 400612
  DebugInfo:
  - EventFlags 400612
  - m61_48_45_00 (Scadu Altus - Highroad Cross, Highway Fork) - SetEventFlag(X4_4 = 400612) - Furnace Visage
- ID: 2048450708
  Comment: Awards invasion reward items if the invasions were completed and items not yet acquired, but apparently she's gone
  ItemTemplate:
  - Type: loc
    EventFlag: 400590 400592
  DebugInfo:
  - EventFlags 400590 400592
  - m61_48_45_00 (Scadu Altus - Highroad Cross, Highway Fork) - IfEventFlag(400590) - Lacerating Crossed-Tree
  - m61_48_45_00 (Scadu Altus - Highroad Cross, Highway Fork) - IfEventFlag(400592) - Retaliatory Crossed-Tree
- ID: 2048450710
  Comment: Hornsent pickup, hopefully this works
  ItemTemplate:
  - Type: locarg
    EventFlag: 400610 400611 400612
    EventFlagArg: X12_4 X16_4 X32_4 X36_4
  DebugInfo:
  - EventFlags 400610 400611 400612
  - m61_48_45_00 (Scadu Altus - Highroad Cross, Highway Fork) - IfBatchEventFlags(X12_4 = 400610, X16_4 = 400612) - Cross Map (400610)
  - m61_48_45_00 (Scadu Altus - Highroad Cross, Highway Fork) - IfBatchEventFlags(X12_4 = 400610, X16_4 = 400612) - New Cross Map (400611)
  - m61_48_45_00 (Scadu Altus - Highroad Cross, Highway Fork) - IfBatchEventFlags(X12_4 = 400610, X16_4 = 400612) - Furnace Visage (400612)
  - m61_48_45_00 (Scadu Altus - Highroad Cross, Highway Fork) - IfEventFlag(X32_4 = 400610) - Cross Map
  - m61_48_45_00 (Scadu Altus - Highroad Cross, Highway Fork) - IfEventFlag(X36_4 = 400611) - New Cross Map
- ID: 2050462690
  Comment: Sword quest, not randomized
  ItemTemplate:
  - Type: default
    EventFlag: 2045477500 2045477510 2045477520 2045477530 2045477540 2045477550 2045477560 2045477570 2045477580 2045477590 2045477600 2045477700 2045477710 2045477720 2045477730 2045477740 2045477750 2045477760 2045477770 2045477780 2045477790 2045477800
  DebugInfo:
  - EventFlags 2045477500 2045477510 2045477520 2045477530 2045477540 2045477550 2045477560 2045477570 2045477580 2045477590 2045477600 2045477700 2045477710 2045477720 2045477730 2045477740 2045477750 2045477760 2045477770 2045477780 2045477790 2045477800
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477600) - Sword of Light +10
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477590) - Sword of Light +9
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477580) - Sword of Light +8
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477570) - Sword of Light +7
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477560) - Sword of Light +6
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477550) - Sword of Light +5
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477540) - Sword of Light +4
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477530) - Sword of Light +3
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477520) - Sword of Light +2
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477510) - Sword of Light +1
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477500) - Sword of Light
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477800) - Sword of Darkness +10
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477790) - Sword of Darkness +9
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477780) - Sword of Darkness +8
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477770) - Sword of Darkness +7
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477760) - Sword of Darkness +6
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477750) - Sword of Darkness +5
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477740) - Sword of Darkness +4
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477730) - Sword of Darkness +3
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477720) - Sword of Darkness +2
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477710) - Sword of Darkness +1
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477700) - Sword of Darkness
- ID: 2050462695
  Comment: Sword quest, not randomized
  ItemTemplate:
  - Type: default
    EventFlag: 2045477500 2045477510 2045477520 2045477530 2045477540 2045477550 2045477560 2045477570 2045477580 2045477590 2045477600 2045477700 2045477710 2045477720 2045477730 2045477740 2045477750 2045477760 2045477770 2045477780 2045477790 2045477800
  DebugInfo:
  - EventFlags 2045477500 2045477510 2045477520 2045477530 2045477540 2045477550 2045477560 2045477570 2045477580 2045477590 2045477600 2045477700 2045477710 2045477720 2045477730 2045477740 2045477750 2045477760 2045477770 2045477780 2045477790 2045477800
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477600) - Sword of Light +10
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477590) - Sword of Light +9
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477580) - Sword of Light +8
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477570) - Sword of Light +7
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477560) - Sword of Light +6
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477550) - Sword of Light +5
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477540) - Sword of Light +4
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477530) - Sword of Light +3
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477520) - Sword of Light +2
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477510) - Sword of Light +1
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477500) - Sword of Light
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477800) - Sword of Darkness +10
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477790) - Sword of Darkness +9
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477780) - Sword of Darkness +8
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477770) - Sword of Darkness +7
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477760) - Sword of Darkness +6
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477750) - Sword of Darkness +5
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477740) - Sword of Darkness +4
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477730) - Sword of Darkness +3
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477720) - Sword of Darkness +2
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477710) - Sword of Darkness +1
  - m61_50_46_00 (Scadu Altus - Castle Watering Hole Southeast, South Ruins of Unte, Church District Highroad West Cliffside) - SetEventFlag(2045477700) - Sword of Darkness
- ID: 2053392300
  Comment: Painting reward
  ItemTemplate:
  - Type: itemarg
    EventFlag: 580120
    EventFlagArg: X4
  - Type: locarg
    EventFlag: 580420
    EventFlagArg: X0
  DebugInfo:
  - EventFlags 580120 580420
  - m61_53_39_00 (Jagged Peak - Between Jagged Peak Mountainside and Summit, Before Senessax Lake) - EndIfEventFlag(X0_4 = 580420) - Rock Heart
  - m61_53_39_00 (Jagged Peak - Between Jagged Peak Mountainside and Summit, Before Senessax Lake) - IfEventFlag(X4_4 = 580120) - "Domain of Dragons" Painting
