NewEvents:
- ID: 9005890
  Name: scale
  Commands:
  - c4_7(0, X0_4, 1, 1065353216)
  - c2004_8(X0_4, X4_4)
  - c4_7(0, X0_4, 0, 1065353216)
  - WaitFixedTimeSeconds(1)
  - c1000_4(1)
- ID: 9005891
  Name: scale2
  Commands:
  - c2004_8(X0_4, X4_4)
  - WaitFixedTimeSeconds(1)
  - c1000_4(1)
- ID: 9005892
  Name: teamtype
  Commands:
  - c2004_2(X0_4, X4_1)
- ID: 9005893
  Name: musicflag
  Commands:
  - c4_2(0, X0_4, 5, 1058642330, 0, 1065353216)
  - c2003_66(0, X4_4, 1)
- ID: 9005894
  Name: enemydrop
  Commands:
  - c1003_14(256)
  - IfEventFlag(1, 1, 0, X8_4)
  - c1000_2(65792)
  - IfCharacterDeadalive(0, X0_4, 1, 0, 1)
  - c2003_36(X4_4)
- ID: 9005895
  Name: sentry
  Commands:
  - c2000_2(0)
  - IfCharacterHasSpEffect(1, 20000, 416, 1, 0, 1)
  - IfEntityInoutsideRadiusOfEntity(1, 1, X0_4, 10000, 25, 1)
  - IfConditionGroup(0, 1, 1)
  - c2004_8(20000, 14508)
  - WaitFixedTimeSeconds(1)
  - c1000_4(1)
- ID: 9005899
  Name: test
  Commands:
  - ForceCharacterDeath(X0_4, 0)
DefaultSegments:
- Type: dead
  Commands:
  - ChangeCharacterEnableState(9999999, 0)
  - SetCharacterAnimationState(9999999, 0)
  - ForceCharacterDeath(9999999, 0)
- Type: altsetup
  Commands:
  - ChangeCharacterEnableState(9999999, 1)
  - SetCharacterAnimationState(9999999, 1)
  - SetCharacterAIState(9999999, 0)
- Type: start
  Commands:
  - SetCharacterAIState(9999999, 1)
  - c2004_34(9999999, 1)
  - DisplayBossHealthBar(1, 9999999, 0, 55555)
- Type: end
  Commands:
  - c4_2(0, 9999999, 5, 0, 0, 1065353216)
  - WaitFixedTimeSeconds(2)
  - PlaySE(9999999, 5, 888880000)
  - IfCharacterDeadalive(0, 9999999, 1, 0, 1)
  - HandleBossDefeatAndDisplayBanner(9999999, 18)
EnemyEvents:
- ID: 10002800
  Map: m10_00_00_00
  Template:
  - Type: segment
    Entity: 10000800
    Segments:
    - Type: remove
      Commands:
      - IfCharacterHasSpEffect(2, 10000, 9646, 0, 0, 1)
      - IfEventFlag(-2, 1, 0, 10000800)
    - Type: end
      Commands:
      - c4_2(0, 10000800, 5, 0, 0, 1065353216)
      - ForceCharacterDeath(10005810, 0)
      - ForceCharacterDeath(10005820, 0)
      - WaitFixedTimeSeconds(4)
      - PlaySE(10000800, 5, 888880000)
      - c3_26(2)
      - IfCharacterDeadalive(2, 10000800, 1, 0, 1)
      - IfConditionGroup(-2, 1, 2)
      - IfConditionGroup(0, 1, -2)
      - HandleBossDefeatAndDisplayBanner(10000800, 16)
- ID: 10002810
  Map: m10_00_00_00
  Template:
  - Type: segment
    Entity: 10000800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 10000800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(10000800, 0)
      - SetCharacterAnimationState(10000800, 0)
      - ForceCharacterDeath(10000800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 10000801)
      Commands:
      - SetCharacterAIState(10000800, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 10000801)
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - c2003_18(10000800, 30000, 1, 1065353216)
      - ChangeCharacterEnableState(10000800, 1)
      - SetCharacterAnimationState(10000800, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label1()
      Commands:
      - c2003_18(10000800, 20000, 0, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(10000800, 1)
      - SetCharacterAnimationState(10000800, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(10000800, 1)
      - c2004_34(10005800, 1)
      - DisplayBossHealthBar(1, 10000800, 0, 904750000)
- ID: 10002811
  Map: m10_00_00_00
  Template:
  - Type: chr
    Entity: 10000800
    DefeatFlag: 10000800
    MusicFlag: 10002802
    Removes:
    - IfInoutsideArea(14, 0, 10000, 10002156, 1)
    - IfInoutsideArea(15, 1, 10000, 10002156, 1)
    - c2002_11(10000030, 0, 10002811, 10000000, 10000, 0, 0)
    - c2002_3(10000030, 0, 10000)
    - c2004_41(10000800, 0, 10001895, 100)
    - c2005_3(10001890, 0)
    - c2005_3(10001891, 1)
    - c2002_3(10000030, 0, 10000)
    - c2002_3(10000030, 0, 10000)
    - c2005_3(10001890, 0)
    - c2005_3(10001891, 1)
    - c2003_18(10000800, 20011, 256, 1065353216)
- ID: 10002820
  Map: m10_00_00_00
  Template:
  - Type: chr
    Entity: 10000800
    DefeatFlag: 10000800
- ID: 10002824
  Map: m10_00_00_00
  Template:
  - Type: chr
    Entity: 10000800
    DefeatFlag: 10000800
- ID: 10002850
  Map: m10_00_00_00
  Template:
  - Type: segment
    Entity: 10000850
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 10000850, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(2)
      - PlaySE(10000850, 5, 77777777)
      - IfCharacterDeadalive(0, 10000850, 1, 0, 1)
      - ForceCharacterDeath(10000850, 0)
      - HandleBossDefeatAndDisplayBanner(10000850, 17)
- ID: 10002860
  Map: m10_00_00_00
  Template:
  - Type: segment
    Entity: 10000850
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 10000850)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(10000850, 0)
      - SetCharacterAnimationState(10000850, 0)
      - ForceCharacterDeath(10000850, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 10000851)
      Commands:
      - SetCharacterAIState(10000850, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: IfConditionGroup(0, 1, 10)
      End: Label1()
      Commands:
      - ChangeCharacterEnableState(10000850, 1)
    - Type: firststart
      PreSegment: presetup
      Start: IfConditionGroup(0, 1, 10)
      End: Label1()
      Commands:
      - c2003_18(10000850, 20000, 0, 1065353216)
      - SetCharacterAnimationState(10000850, 1)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(10000850, 1)
      - SetCharacterAnimationState(10000850, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(10000850, 1)
      - c2004_34(10000850, 1)
      - DisplayBossHealthBar(1, 10000850, 0, 902130000)
- ID: 10002861
  Map: m10_00_00_00
  Template:
  - Type: chr
    Entity: 10000850
    DefeatFlag: 10000850
    MusicFlag: 10002852
- ID: 10002870
  Map: m10_00_00_00
  Template:
  - Type: loc
    Entity: 10000850
    Add:
    - Cmd: IfEventFlag(0, 1, 0, 10000850)
      After: IfConditionGroup(0, 1, 2)
- ID: 10003740
  Map: m10_00_00_00
  Template:
  - Type: chr
    Entity: 10000800
    ArgEntities: X0
- ID: 10003741
  Map: m10_00_00_00
  Template:
  - Type: chr
    Entity: 10000800
    ArgEntities: X0
- ID: 10003742
  Map: m10_00_00_00
  Template:
  - Type: chr
    Entity: 10000800
    ArgEntities: X0
- ID: 10003743
  Map: m10_00_00_00
  Template:
  - Type: chr
    Entity: 10000800
    ArgEntities: X0
- ID: 10012800
  Map: m10_01_00_00
  Template:
  - Type: segment
    Entity: 10010800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 10010800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(10018000, 5, 888880000)
      - IfCharacterDeadalive(0, 10010800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(10010800, 18)
- ID: 10012810
  Map: m10_01_00_00
  Template:
  - Type: segment
    Entity: 10010800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 10010800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(10010800, 0)
      - SetCharacterAnimationState(10010800, 0)
      - ForceCharacterDeath(10010800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 10010801)
      Commands:
      - SetCharacterAIState(10010800, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 10010801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - c2003_18(10010800, 30003, 0, 1065353216)
      - ChangeCharacterEnableState(10010800, 1)
      - SetCharacterAnimationState(10010800, 1)
      - c2004_30(10010800, 0)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - c2004_34(10010800, 1)
      - c2003_18(10010800, 20003, 0, 1065353216)
    - Type: secondsetup
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAnimationState(10010800, 0)
      - ChangeCharacterEnableState(10010800, 1)
    - Type: secondstart
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands:
      - SetCharacterAnimationState(10010800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - c2004_34(10010800, 1)
      - SetCharacterAIState(10010800, 1)
      - DisplayBossHealthBar(1, 10010800, 0, 904690000)
- ID: 10012811
  Map: m10_01_00_00
  Template:
  - Type: chr
    Entity: 10010800
    DefeatFlag: 10010800
    MusicFlag: 10012802
- ID: 11002800
  Map: m11_00_00_00
  Template:
  - Type: segment
    Entity: 11000800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 11000800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(11008000, 5, 888880000)
      - IfCharacterDeadalive(0, 11000800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(11000800, 16)
- ID: 11002810
  Map: m11_00_00_00
  Template:
  - Type: segment
    Entity: 11000800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 11000800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(11005800, 0)
      - SetCharacterAnimationState(11005800, 0)
      - ForceCharacterDeath(11005800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 11000801)
      Commands:
      - SetCharacterAIState(11005800, 0)
    - Type: remove
      Commands:
      - c2004_42(11000800, 1, 11002810, -1, 11000800)
      - c2004_41(11000800, 1, 11002811, -1)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 11000801)
      End: IfConditionGroup(0, 1, 1)
      Commands:
      - c2003_18(11000800, 30000, 0, 1065353216)
      - ChangeCharacterEnableState(11005800, 1)
      - SetCharacterAnimationState(11005800, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, 1)
      End: Label1()
      Commands:
      - c2003_18(11000800, 20000, 0, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(11005800, 1)
      - SetCharacterAnimationState(11005800, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(11005800, 1)
      - c2004_34(11005800, 1)
      - DisplayBossHealthBar(1, 11000800, 0, 902130002)
- ID: 11002811
  Map: m11_00_00_00
  Template:
  - Type: chr
    Entity: 11000800
    DefeatFlag: 11000800
    MusicFlag: 11002802
    Name: 11000800
    Removes:
    - c2005_3(11001820, 1)
    - c2011_1(11004820, 1)
    - c2011_1(11004821, 0)
- ID: 11002850
  Map: m11_00_00_00
  Template:
  - Type: segment
    Entity: 11000850
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 11000850, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(11008050, 5, 888880000)
      - IfCharacterDeadalive(0, 11000850, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(11000850, 17)
- ID: 11002860
  Map: m11_00_00_00
  Template:
  - Type: segment
    Entity: 11000850
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 11000850)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(11005850, 0)
      - SetCharacterAnimationState(11005850, 0)
      - ForceCharacterDeath(11005850, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 11000851)
      Commands:
      - SetCharacterAIState(11005850, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 11000851)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - c2003_18(11000850, 30000, 1, 1065353216)
      - ChangeCharacterEnableState(11000850, 0)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - c2003_18(11000850, 20000, 0, 1065353216)
      - ChangeCharacterEnableState(11000850, 1)
      - SetCharacterAnimationState(11005850, 1)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(11005850, 1)
      - SetCharacterAnimationState(11005850, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(11000850, 1)
      - c2004_34(11005850, 1)
      - DisplayBossHealthBar(1, 11000850, 0, 904720002)
- ID: 11052800
  Map: m11_05_00_00
  Template:
  - Type: segment
    Entity: 11050800
    Segments:
    - Type: remove
      Commands:
      - IfEventFlag(-2, 1, 0, 11050800)
    - Type: end
      Commands:
      - c4_14(0, 11050800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(11058000, 5, 888880000)
      - c3_26(2)
      - IfCharacterDeadalive(2, 11050800, 1, 0, 1)
      - IfCharacterHasSpEffect(2, 10000, 9646, 0, 0, 1)
      - IfConditionGroup(-2, 1, 2)
      - IfConditionGroup(0, 1, -2)
      - HandleBossDefeatAndDisplayBanner(11050800, 15)
- ID: 11052810
  Map: m11_05_00_00
  Template:
  - Type: loc
    Add:
    - Cmds:
      - ChangeCharacterEnableState(11055800, 1)
      - SetCharacterAnimationState(11055800, 1)
      After: Label0()
    Removes:
    - c2004_33(11050801, 11050800)
    - ForceCharacterDeath(11055800, 0)
    Replaces:
    - From: DisplayBossHealthBar(1, 11050800, 0, 904720000)
      To: DisplayBossHealthBar(1, 11050801, 0, 904720000)
  - Type: segment
    Entity: 11050800
    Segments:
    - Type: dead
      IgnoreMatch: true
      Start: GotoIfEventFlag(0, 0, 0, 11050800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(11050800, 0)
      - SetCharacterAnimationState(11050800, 0)
      - ForceCharacterDeath(11050800, 0)
    - Type: remove
      Commands:
      - c2004_10(11050800, 0)
      - SetCharacterAnimationState(11050800, 0)
      - c2004_33(11050801, 11050800)
  - Type: segment
    Entity: 11050801
    Segments:
    - Type: dead
      IgnoreMatch: true
      Start: GotoIfEventFlag(0, 0, 0, 11050800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(11050801, 0)
      - SetCharacterAnimationState(11050801, 0)
      - ForceCharacterDeath(11050801, 0)
    - Type: presetup
      IgnoreMatch: true
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 11050801)
      Commands:
      - SetCharacterAIState(11050801, 0)
    - Type: remove
      Commands:
      - SetCharacterImmortality(11050801, 1)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 11050801)
      End: IfConditionGroup(0, 1, 1)
      Commands:
      - SetCharacterAnimationState(11050801, 0)
      - c2003_18(11050801, 30010, 0, 1065353216)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, 1)
      End: Label1()
      Commands:
      - ChangeCharacterEnableState(11050801, 1)
      - SetCharacterAnimationState(11050801, 1)
      - c2003_18(11050801, 20020, 0, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(11050801, 1)
      - SetCharacterAnimationState(11050801, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: remove
      Start: Label2()
      Commands:
      - c2004_33(11050801, 11050800)
      - DisplayBossHealthBar(1, 11050800, 0, 904720000)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(11050801, 1)
      - c2004_34(11050801, 1)
      - c2004_30(11050801, 0)
      - DisplayBossHealthBar(1, 11050801, 0, 904720000)
- ID: 11052811
  Map: m11_05_00_00
  Template:
  - Type: segment
    Entity: 11050800
    Segments:
    - Type: remove
      Commands:
      - c2004_10(11050800, 1)
    - Type: setup
      Commands:
      - ChangeCharacterEnableState(11050800, 1)
      - SetCharacterAnimationState(11050800, 1)
      - SetCharacterAIState(11050800, 0)
    - Type: start
      Commands:
      - c2003_18(11050800, 20020, 0, 1065353216)
      - SetCharacterAIState(11050800, 1)
      - DisplayBossHealthBar(1, 11050800, 0, 904720001)
  - Type: segment
    Entity: 11050801
    Segments:
    - Type: remove
      Commands:
      - SetCharacterAnimationState(11050801, 0)
      - ChangeCharacterEnableState(11050801, 0)
    - Type: endphase
      Commands:
      - c4_14(1, 11050801, 5, 1, 0, 1065353216)
      - c4_14(1, 11050801, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(4)
      - IfCharacterDeadalive(0, 11050801, 1, 0, 1)
- ID: 11052830
  Map: m11_05_00_00
  Template:
  - Type: chrboss
    Entity: 11050800
    DefeatFlag: 11050800
    StartFlag: 11052805
    Removes:
    - IfEventFlag(2, 1, 0, 11052806)
    - IfConditionGroup(-3, 1, 2)
- ID: 11052850
  Map: m11_05_00_00
  Template:
  - Type: segment
    Entity: 11050850
    Segments:
    - Type: remove
      Commands:
      - IfEventFlag(-2, 1, 0, 11050850)
    - Type: end
      Commands:
      - c4_14(0, 11050850, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(11058050, 5, 888880000)
      - c2004_8(20000, 1899)
      - c3_26(2)
      - IfCharacterDeadalive(2, 11050850, 1, 0, 1)
      - IfCharacterHasSpEffect(2, 10000, 9646, 0, 0, 1)
      - IfConditionGroup(-2, 1, 2)
      - IfConditionGroup(0, 1, -2)
      - HandleBossDefeatAndDisplayBanner(11050850, 17)
- ID: 11052860
  Map: m11_05_00_00
  Template:
  - Type: segment
    Entity: 11050850
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 11050850)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(11055850, 0)
      - SetCharacterAnimationState(11055850, 0)
      - ForceCharacterDeath(11055850, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 11050851)
      Commands:
      - ChangeCharacterEnableState(11055851, 0)
      - SetCharacterAnimationState(11055851, 0)
      - SetCharacterAIState(11055850, 0)
      - c2004_35(11050850, 1)
      - IfEventFlag(8, 1, 0, 9120)
      - IfEventFlag(8, 1, 0, 9122)
      - IfEventFlag(8, 1, 0, 9112)
      - c1000_101(524552)
      - IfEventFlag(7, 0, 0, 9120)
      - IfEventFlag(7, 1, 0, 9122)
      - IfEventFlag(7, 1, 0, 9112)
      - c1000_101(459015)
      - IfEventFlag(6, 1, 0, 9120)
      - IfEventFlag(6, 0, 0, 9122)
      - IfEventFlag(6, 1, 0, 9112)
      - c1000_101(393478)
      - IfEventFlag(5, 1, 0, 9120)
      - IfEventFlag(5, 1, 0, 9122)
      - IfEventFlag(5, 0, 0, 9112)
      - c1000_101(327941)
      - IfEventFlag(4, 0, 0, 9120)
      - IfEventFlag(4, 0, 0, 9122)
      - IfEventFlag(4, 1, 0, 9112)
      - c1000_101(262404)
      - IfEventFlag(3, 1, 0, 9120)
      - IfEventFlag(3, 0, 0, 9122)
      - IfEventFlag(3, 0, 0, 9112)
      - c1000_101(196867)
      - IfEventFlag(2, 0, 0, 9120)
      - IfEventFlag(2, 1, 0, 9122)
      - IfEventFlag(2, 0, 0, 9112)
      - c1000_101(131330)
      - GotoUnconditionally(1)
      - Label2()
      - c2004_67(11050851, 11050850)
      - GotoUnconditionally(1)
      - Label3()
      - c2004_67(11050852, 11050850)
      - GotoUnconditionally(1)
      - Label4()
      - c2004_67(11050853, 11050850)
      - GotoUnconditionally(1)
      - Label5()
      - c2004_67(11050854, 11050850)
      - GotoUnconditionally(1)
      - Label6()
      - c2004_67(11050855, 11050850)
      - GotoUnconditionally(1)
      - Label7()
      - c2004_67(11050856, 11050850)
      - GotoUnconditionally(1)
      - Label8()
      - c2004_67(11050857, 11050850)
      - GotoUnconditionally(1)
      - Label1()
      - IfElapsedSeconds(0, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 11050851)
      End: IfConditionGroup(0, 1, -11)
      Commands:
      - c2003_18(11050850, 90102, 1, 1065353216)
      - ChangeCharacterEnableState(11050850, 1)
      - SetCharacterAnimationState(11050850, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -11)
      End: Label1()
      Commands:
      - c2004_8(11050850, 9644)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, -12)
      Commands:
      - ChangeCharacterEnableState(11050850, 1)
      - SetCharacterAnimationState(11050850, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, -12)
      End: Label10()
      Commands: []
    - Type: start
      Start: Label10()
      Commands:
      - c2004_2(11050850, 6)
      - SetCharacterAIState(11050850, 1)
      - c2004_34(11055850, 1)
      - DisplayBossHealthBar(1, 11050850, 0, 132400)
  - Type: loc
    Add:
    - Cmd: Label15()
      After: GotoUnconditionally(10)
    Replaces:
    - From: GotoIfEventFlag(1, 1, 0, 11050851)
      To: GotoIfEventFlag(15, 1, 0, 11050851)
- ID: 11052861
  Map: m11_05_00_00
  Template:
  - Type: multichr
    Entity: 11050850
    DefeatFlag: 11050850
    MusicFlag: 11052852
- ID: 11053710
  Map: m11_05_00_00
  Template:
  - Type: loc
    Entity: 11050850
    ArgEntities: X0
    Removes:
    - c2004_2(X0_4, 6)
- ID: 12012800
  Map: m12_01_00_00
  Template:
  - Type: segment
    Entity: 12010800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 12010800, 5, 0, 0, 1065353216)
      - ForceCharacterDeath(12010801, 0)
      - ForceCharacterDeath(12010802, 0)
      - WaitFixedTimeSeconds(4)
      - PlaySE(12010800, 5, 888880000)
      - IfCharacterDeadalive(0, 12010800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(12010800, 17)
  - Type: multichrbasic
    Entity: 12010800
    NewEvent:
    - c4_14(0, 12010800, 5, 0, 0, 1065353216)
    - ForceCharacterDeath(12010801, 0)
    - ForceCharacterDeath(12010802, 0)
- ID: 12012810
  Map: m12_01_00_00
  Template:
  - Type: segment
    Entity: 12010800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 12010800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(12010800, 0)
      - SetCharacterAnimationState(12010800, 0)
      - ForceCharacterDeath(12010800, 0)
      - ChangeCharacterEnableState(12010801, 0)
      - SetCharacterAnimationState(12010801, 0)
      - ForceCharacterDeath(12010801, 0)
      - ChangeCharacterEnableState(12010802, 0)
      - SetCharacterAnimationState(12010802, 0)
      - ForceCharacterDeath(12010802, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 12010801)
      Commands:
      - SetCharacterAIState(12010801, 0)
      - SetCharacterAIState(12010802, 0)
      - c2004_30(12010801, 0)
      - c2004_30(12010802, 0)
      - c2004_33(12010801, 12010800)
      - c2004_33(12010802, 12010800)
      - SetCharacterImmortality(12010801, 1)
      - SetCharacterImmortality(12010802, 1)
      - c2004_10(12010800, 0)
      - SetCharacterAnimationState(12010800, 0)
      - ChangeCharacterEnableState(12010802, 0)
      - c2003_18(12010801, 30002, 1, 1065353216)
    - Type: remove
      Commands:
      - c4_7(1, 12010801, 1, 1065353216)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 12010801)
      End: IfConditionGroup(0, 1, -2)
      Commands:
      - ChangeCharacterEnableState(12010800, 0)
      - ChangeCharacterEnableState(12010801, 0)
      - SetCharacterAnimationState(12010801, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -2)
      End: Label1()
      Regions:
      - event chrpoint-500 12012801
      Commands:
      - ChangeCharacterEnableState(12010801, 1)
      - c2004_41(12010800, 1, 12012801, -1)
      - ChangeCharacterEnableState(12010800, 1)
      - c2003_18(12010801, 20002, 0, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 10)
      Commands:
      - ChangeCharacterEnableState(12010801, 1)
      - SetCharacterAnimationState(12010801, 1)
    - Type: secondstart
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 10)
      End: Label2()
      Regions:
      - event chrpoint-500 12012801
      Commands:
      - c2003_18(12010801, 20002, 0, 1065353216)
      - c2004_41(12010800, 1, 12012801, -1)
      - ChangeCharacterEnableState(12010800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(12010801, 1)
      - c2004_34(12010801, 1)
      - DisplayBossHealthBar(1, 12010800, 0, 904650000)
  - Type: multichrbasic
    Entity: 12010800
    Regions:
    - event chrpoint-500 12012801
    NewEvent:
    - c2004_35(12010800, 1)
    - c2004_33(12010801, 12010800)
    - c2004_33(12010802, 12010800)
    - SetCharacterImmortality(12010801, 1)
    - SetCharacterImmortality(12010802, 1)
    - c2004_10(12010800, 0)
    - SetCharacterAnimationState(12010800, 0)
    - ChangeCharacterEnableState(12010802, 0)
    - c2004_41(12010800, 1, 12012801, -1)
- ID: 12012811
  Map: m12_01_00_00
  Template:
  - Type: multichr
    Entity: 12010800
    DefeatFlag: 12010800
    MusicFlag: 12012802
    Removes:
    - c2003_66(0, 12012811, 1)
- ID: 12012812
  Map: m12_01_00_00
  Template:
  - Type: multichr
    Entity: 12010800
    DefeatFlag: 12010800
    Regions:
    - event dist50 12012812
- ID: 12012820
  Map: m12_01_00_00
  Template:
  - Type: multichrboss
    Entity: 12010800
    DefeatFlag: 12010800
- ID: 12012830
  Map: m12_01_00_00
  Template:
  - Type: multichrboss
    Entity: 12010800
    DefeatFlag: 12010800
- ID: 12022800
  Map: m12_02_00_00
  Template:
  - Type: segment
    Entity: 12020800
    Segments:
    - Type: end
      Commands:
      - c4_14(1, 12020800, 5, 0, 0, 1065353216)
      - c4_14(1, 12020801, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(4)
      - PlaySE(12020800, 5, 888880000)
      - IfCharacterDeadalive(2, 12020800, 1, 0, 1)
      - IfCharacterDeadalive(2, 12020801, 1, 0, 1)
      - IfConditionGroup(0, 1, 2)
      - HandleBossDefeatAndDisplayBanner(12020800, 17)
      - DisplayBossHealthBar(0, 12020801, 1, 904770001)
- ID: 12022810
  Map: m12_02_00_00
  Template:
  - Type: segment
    Entity: 12020800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 12020800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(12020800, 0)
      - SetCharacterAnimationState(12020800, 0)
      - ForceCharacterDeath(12020800, 0)
      - ChangeCharacterEnableState(12020801, 0)
      - SetCharacterAnimationState(12020801, 0)
      - ForceCharacterDeath(12020801, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 12020801)
      EncounterOnly:
      - c2003_18(12020800, 30002, 0, 1065353216)
      Commands:
      - SetCharacterAIState(12020800, 0)
      - SetCharacterAIState(12020801, 0)
      - c2004_34(12020800, 1)
      - c2003_18(12020800, 30002, 0, 1065353216)
    - Type: firstsetup
      IgnoreMatch: true
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 12020801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(12020800, 1)
      - SetCharacterAnimationState(12020800, 1)
      - ChangeCharacterEnableState(12020801, 1)
      - SetCharacterAnimationState(12020801, 1)
    - Type: firststart
      IgnoreMatch: true
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      EncounterOnly:
      - c2003_18(12020800, 20002, 0, 1065353216)
      Commands:
      - c2003_18(12020800, 20002, 0, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(12020800, 1)
      - SetCharacterAnimationState(12020800, 1)
      - ChangeCharacterEnableState(12020801, 1)
      - SetCharacterAnimationState(12020801, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      EncounterOnly:
      - c2003_18(12020800, 20002, 0, 1065353216)
      Commands:
      - c2003_18(12020800, 20002, 0, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(12020800, 1)
      - DisplayBossHealthBar(1, 12020800, 0, 904770000)
    - Type: althealthbar
      Commands:
      - DisplayBossHealthBar(1, 12020800, 0, 904770000)
      - c1004_0(1, 12020801, 6950, 0, 1)
      - DisplayBossHealthBar(1, 12020801, 1, 904770001)
    - Type: altunhealthbar
      Commands:
      - DisplayBossHealthBar(0, 12020800, 0, 904770000)
      - DisplayBossHealthBar(0, 12020801, 1, 904770001)
- ID: 12022820
  Map: m12_02_00_00
  Template:
  - Type: multichr
    Entity: 12020800
    DefeatFlag: 12020800
    EffectFlag: 0 12020801 12022820
    Name: 12020801
- ID: 12022821
  Map: m12_02_00_00
  Template:
  - Type: multichr
    Entity: 12020800
    DefeatFlag: 12020800
    EffectFlag: 0 12020801 12022820
- ID: 12022850
  Map: m12_02_00_00
  Template:
  - Type: segment
    Entity: 12020850
    Segments:
    - Type: end
      Commands:
      - c4_14(255, 12020850, 5, 0, 0, 1065353216)
      - c4_14(255, 12020860, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, -1)
      - WaitFixedTimeSeconds(4)
      - PlaySE(12020850, 5, 888880000)
      - IfCharacterDeadalive(-5, 12020850, 1, 0, 1)
      - IfCharacterDeadalive(-5, 12020860, 1, 0, 1)
      - IfConditionGroup(0, 1, -5)
      - ForceCharacterDeath(12020850, 1)
      - WaitFixedTimeFrames(1)
      - HandleBossDefeatAndDisplayBanner(12020850, 17)
- ID: 12022860
  Map: m12_02_00_00
  Template:
  - Type: segment
    Entity: 12020850
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 12020850)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(12020850, 0)
      - SetCharacterAnimationState(12020850, 0)
      - ForceCharacterDeath(12020850, 0)
      - ChangeCharacterEnableState(12020860, 0)
      - SetCharacterAnimationState(12020860, 0)
      - ForceCharacterDeath(12020860, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 12020851)
      Commands:
      - SetCharacterAIState(12020850, 0)
      - SetCharacterAIState(12020860, 0)
    - Type: firstsetup
      IgnoreMatch: true
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 12020851)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(12020860, 1)
      - SetCharacterAnimationState(12020860, 1)
    - Type: firststart
      IgnoreMatch: true
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands: []
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(12020860, 1)
      - SetCharacterAnimationState(12020860, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Regions:
      - event chrpoint 12022852
      NonEncounterOnly:
      - IfConditionGroup(0, 1, -3)
      Commands:
      - WaitFixedTimeFrames(1)
      - SetCharacterAIState(12020860, 1)
      - IfElapsedSeconds(0, 0)
      - IfCharacterAIState(-3, 12020860, 1, 0, 1)
      - IfCharacterAIState(-3, 12020860, 2, 0, 1)
      - IfCharacterAIState(-3, 12020860, 3, 0, 1)
      - IfConditionGroup(0, 1, -3)
      - IfElapsedSeconds(0, 0)
      - c2004_19(12020850, 90603100)
      - c2003_18(12020860, 20010, 0, 1065353216)
      - c1003_12(257)
      - WaitFixedTimeSeconds(8)
      - c2004_67(10000, 12020850)
      - c2004_34(12020850, 1)
      - c2004_13(12020850, 12022852)
      - ChangeCharacterEnableState(12020860, 0)
      - SetCharacterAIState(12020860, 0)
      - SetCharacterAIState(12020850, 1)
      - IfCharacterDeadalive(8, 12020850, 1, 0, 1)
      - c1000_1(524545)
      - DisplayBossHealthBar(1, 12020850, 0, 903320000)
  - Type: multichronlybasic
    Entity: 12020850
    NewEvent:
    - SetCharacterAIState(12020850, 0)
    - IfCharacterAIState(-3, 12020860, 1, 0, 1)
    - IfCharacterAIState(-3, 12020860, 2, 0, 1)
    - IfCharacterAIState(-3, 12020860, 3, 0, 1)
    - IfConditionGroup(0, 1, -3)
    - c2004_19(12020850, 90603100)
    - c2003_18(12020860, 20010, 0, 1065353216)
    - WaitFixedTimeSeconds(8)
    - c2004_67(10000, 12020850)
    - ChangeCharacterEnableState(12020860, 0)
    - SetCharacterAIState(12020860, 0)
    - SetCharacterAIState(12020850, 1)
- ID: 12022865
  Map: m12_02_00_00
  Template:
  - Type: multichronly
    Entity: 12020850
    ArgEntities: X0 X4
    Add:
    - Cmd: GotoUnconditionally(0)
      Before: start
    Removes:
    - c2004_13(X4_4, X8_4)
- ID: 12032800
  Map: m12_03_00_00
  Template:
  - Type: segment
    Entity: 12030814
    Segments:
    - Type: remove
      Commands:
      - HandleBossDefeatAndDisplayBanner(12030800, 17)
    - Type: end
      Commands:
      - c4_14(1, 12030800, 5, 0, 0, 1065353216)
      - c4_14(1, 12030810, 5, 0, 0, 1065353216)
      - c4_14(1, 12030811, 5, 0, 0, 1065353216)
      - c4_14(1, 12030812, 5, 0, 0, 1065353216)
      - c4_14(1, 12030813, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(1)
      - PlaySE(12030800, 5, 888880000)
      - ChangeCharacterEnableState(12030814, 0)
      - IfCharacterDeadalive(2, 12030800, 1, 0, 1)
      - IfCharacterDeadalive(2, 12030810, 1, 0, 1)
      - IfCharacterDeadalive(2, 12030811, 1, 0, 1)
      - IfCharacterDeadalive(2, 12030812, 1, 0, 1)
      - IfCharacterDeadalive(2, 12030813, 1, 0, 1)
      - IfConditionGroup(0, 1, 2)
      - HandleBossDefeatAndDisplayBanner(12030814, 17)
      - DisplayBossHealthBar(0, 12030813, 1, 137000)
      - DisplayBossHealthBar(0, 12030812, 2, 137100)
- ID: 12032810
  Map: m12_03_00_00
  Template:
  - Type: segment
    Entity: 12030814
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 12030800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(12030800, 0)
      - SetCharacterAnimationState(12030800, 0)
      - ForceCharacterDeath(12030800, 0)
      - ChangeCharacterEnableState(12030810, 0)
      - SetCharacterAnimationState(12030810, 0)
      - ForceCharacterDeath(12030810, 0)
      - ChangeCharacterEnableState(12030811, 0)
      - SetCharacterAnimationState(12030811, 0)
      - ForceCharacterDeath(12030811, 0)
      - ChangeCharacterEnableState(12030812, 0)
      - SetCharacterAnimationState(12030812, 0)
      - ForceCharacterDeath(12030812, 0)
      - ChangeCharacterEnableState(12030813, 0)
      - SetCharacterAnimationState(12030813, 0)
      - ForceCharacterDeath(12030813, 0)
      - ChangeCharacterEnableState(12030814, 0)
      - SetCharacterAnimationState(12030814, 0)
      - ForceCharacterDeath(12030814, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(12030800, 0)
      - SetCharacterAnimationState(12030800, 1)
      - SetCharacterAnimationState(12030810, 1)
      - SetCharacterAnimationState(12030811, 1)
      - SetCharacterAnimationState(12030812, 1)
      - SetCharacterAnimationState(12030813, 1)
      - SetCharacterAIState(12030810, 0)
      - SetCharacterAIState(12030811, 0)
      - SetCharacterAIState(12030812, 0)
      - SetCharacterAIState(12030813, 0)
      - SetCharacterAIState(12030814, 0)
      - ChangeCharacterEnableState(12030800, 0)
      - ChangeCharacterEnableState(12030810, 0)
      - ChangeCharacterEnableState(12030811, 0)
      - ChangeCharacterEnableState(12030812, 0)
      - ChangeCharacterEnableState(12030813, 0)
      - ChangeCharacterEnableState(12030814, 0)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      Commands:
      - c2006_3(2, 12030800, 900, 600940)
      - WaitFixedTimeSeconds(0.5)
      - SkipIfEventFlag(2, 0, 0, 50)
      - c2004_78(0, 23611, 12030800)
      - GotoUnconditionally(8)
      - SkipIfEventFlag(2, 0, 0, 51)
      - c2004_78(0, 23612, 12030800)
      - GotoUnconditionally(8)
      - SkipIfEventFlag(2, 0, 0, 52)
      - c2004_78(0, 23613, 12030800)
      - GotoUnconditionally(8)
      - SkipIfEventFlag(2, 0, 0, 52)
      - c2004_78(0, 23614, 12030800)
      - GotoUnconditionally(8)
      - SkipIfEventFlag(2, 0, 0, 54)
      - c2004_78(0, 23615, 12030800)
      - GotoUnconditionally(8)
      - SkipIfEventFlag(2, 0, 0, 55)
      - c2004_78(0, 23616, 12030800)
      - GotoUnconditionally(8)
      - SkipIfEventFlag(2, 0, 0, 56)
      - c2004_78(0, 23617, 12030800)
      - GotoUnconditionally(8)
      - c2004_78(0, 23618, 12030800)
      - Label8()
      - WaitFixedTimeFrames(1)
      - ChangeCharacterEnableState(12030800, 1)
      - ChangeCharacterEnableState(12030814, 1)
      - c2004_50(12030814, 220, 0)
      - c2004_30(12030814, 0)
      - c2004_8(12030814, 297810)
      - c2004_34(12030814, 1)
      - WaitFixedTimeFrames(1)
      - c2003_18(12030800, 63010, 0, 1065353216)
      - SetCharacterAIState(12030800, 1)
      - c2004_34(12030800, 1)
      - WaitFixedTimeSeconds(3)
      - DisplayBossHealthBar(1, 12030800, 0, 136100)
      - WaitFixedTimeFrames(1)
    - Type: althealthbar
      Commands:
      - IfElapsedSeconds(0, 0)
      - IfCharacterDeadalive(-8, 12030810, 1, 0, 1)
      - c1000_101(16253196)
      - IfCharacterDeadalive(-9, 12030800, 1, 0, 1)
      - c1000_101(16187659)
      - DisplayBossHealthBar(1, 12030800, 0, 136100)
      - GotoUnconditionally(13)
      - Label11()
      - DisplayBossHealthBar(1, 12030810, 0, 132500)
      - GotoUnconditionally(13)
      - Label12()
      - DisplayBossHealthBar(1, 12030811, 0, 132900)
      - DisplayBossHealthBar(1, 12030813, 1, 137000)
      - DisplayBossHealthBar(1, 12030812, 2, 137100)
      - Label13()
      - IfElapsedSeconds(0, 0)
    - Type: altunhealthbar
      Commands:
      - DisplayBossHealthBar(0, 12030811, 0, 132900)
      - DisplayBossHealthBar(0, 12030813, 1, 137000)
      - DisplayBossHealthBar(0, 12030812, 2, 137100)
  - Type: multichrbasic
    Entity: 12030814
    NewEvent:
    - SetCharacterAIState(12030810, 0)
    - SetCharacterAIState(12030811, 0)
    - SetCharacterAIState(12030812, 0)
    - SetCharacterAIState(12030813, 0)
    - SetCharacterAIState(12030814, 0)
    - ChangeCharacterEnableState(12030810, 0)
    - ChangeCharacterEnableState(12030811, 0)
    - ChangeCharacterEnableState(12030812, 0)
    - ChangeCharacterEnableState(12030813, 0)
- ID: 12032811
  Map: m12_03_00_00
  Template:
  - Type: multichr
    Entity: 12030814
    DefeatFlag: 12030800
    StartFlag: 12032810
    EffectFlag: 0 12030814 12032811
    Name: 12030810
- ID: 12032812
  Map: m12_03_00_00
  Template:
  - Type: multichr
    Entity: 12030814
    DefeatFlag: 12030800
    EffectFlag: 0 12030814 12032811
    Name: 12030811 12030812 12030813
- ID: 12032850
  Map: m12_03_00_00
  Template:
  - Type: segment
    Entity: 12030850
    Add:
    - Cmd: IfConditionGroup(0, 1, 8)
      After: IfEventFlag(8, 1, 0, 12032859)
    Segments:
    - Type: end
      Commands:
      - c4_14(8, 12030850, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 8)
      - c2008_3(780)
      - WaitFixedTimeSeconds(4)
      - PlaySE(12030850, 5, 888880000)
      - IfCharacterDeadalive(0, 12030850, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(12030850, 15)
- ID: 12032859
  Map: m12_03_00_00
  Template:
  - Type: loc
    Entity: 12030850
    Removes:
    - ChangeCharacterEnableState(12030850, 0)
    - ChangeCharacterEnableState(12030850, 1)
- ID: 12032860
  Map: m12_03_00_00
  Template:
  - Type: segment
    Entity: 12030850
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 12030850)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(12030850, 0)
      - SetCharacterAnimationState(12030850, 0)
      - ForceCharacterDeath(12030850, 0)
    - Type: remove
      Start: Label0()
      End: IfEventFlag(0, 1, 0, 12032858)
      Commands:
      - SetCharacterAIState(12030850, 0)
    - Type: setup
      IgnoreMatch: true
      Start: IfEventFlag(0, 1, 0, 12032858)
      End: c2003_69(0, 12030852, 1)
      Commands:
      - SetCharacterAIState(12030850, 0)
      - ChangeCharacterEnableState(12030850, 1)
      - SetCharacterAnimationState(12030850, 1)
    - Type: start
      PreSegment: setup
      Start: IfEventFlag(0, 1, 0, 12032858)
      Commands:
      - SetCharacterAIState(12030850, 1)
      - c2004_34(12030850, 1)
      - DisplayBossHealthBar(1, 12030850, 0, 904510000)
      - c2008_3(66316)
      - c1003_14(256)
      - c2004_28(12035850, 8192)
      - c2009_6(0)
      - WaitFixedTimeSeconds(0.1)
- ID: 12032861
  Map: m12_03_00_00
  Template:
  - Type: chr
    Entity: 12030850
- ID: 12032862
  Map: m12_03_00_00
  Template:
  - Type: chr
    Entity: 12030850
    MusicFlag: 12032852
- ID: 12042800
  Map: m12_04_00_00
  Template:
  - Type: segment
    Entity: 12040800
    Segments:
    - Type: end
      Commands:
      - c4_2(0, 12040800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(5)
      - PlaySE(12040800, 5, 77777777)
      - IfCharacterDeadalive(0, 12040800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(12040800, 15)
- ID: 12042810
  Map: m12_04_00_00
  Template:
  - Type: segment
    Entity: 12040800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 12040800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(12040800, 0)
      - SetCharacterAnimationState(12040800, 0)
      - ForceCharacterDeath(12040800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(12040800, 0)
      - ChangeCharacterEnableState(12040800, 1)
      - SetCharacterAnimationState(12040800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(12040800, 1)
      - c2004_34(12040800, 1)
      - DisplayBossHealthBar(1, 12040800, 0, 904620001)
      - c2004_11(12040800, 12040810)
- ID: 12052800
  Map: m12_05_00_00
  Template:
  - Type: segment
    Entity: 12050800
    Segments:
    - Type: remove
      Commands:
      - IfEventFlag(-2, 1, 0, 12050800)
    - Type: end
      Commands:
      - c4_14(0, 12050800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(12050800, 5, 888880000)
      - c3_26(2)
      - IfCharacterDeadalive(2, 12050800, 1, 0, 1)
      - IfCharacterHasSpEffect(2, 10000, 9646, 0, 0, 1)
      - IfConditionGroup(-2, 1, 2)
      - IfConditionGroup(0, 1, -2)
      - HandleBossDefeatAndDisplayBanner(12050800, 16)
- ID: 12052810
  Map: m12_05_00_00
  Template:
  - Type: segment
    Entity: 12050800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 12050800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(12050800, 0)
      - SetCharacterAnimationState(12050800, 0)
      - ForceCharacterDeath(12050800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 12050801)
      Commands:
      - SetCharacterAIState(12050800, 0)
    - Type: remove
      Start: GotoIfEventFlag(1, 1, 0, 12050801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(12050800, 0)
      - SetCharacterAnimationState(12050800, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - ChangeCharacterEnableState(12050800, 1)
      - SetCharacterAnimationState(12050800, 1)
    - Type: firststart
      PreSegment: presetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - c2003_18(12050800, 20020, 0, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(12050800, 1)
      - SetCharacterAnimationState(12050800, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(12050800, 1)
      - c2004_34(12050800, 1)
      - DisplayBossHealthBar(1, 12050800, 0, 904800000)
- ID: 12052811
  Map: m12_05_00_00
  Template:
  - Type: chr
    Entity: 12050800
    DefeatFlag: 12050800
    MusicFlag: 12052802
- ID: 12052820
  Map: m12_05_00_00
  Template:
  - Type: chr
    Entity: 12050800
    DefeatFlag: 12050800
- ID: 12052821
  Map: m12_05_00_00
  Template:
  - Type: chr
    Entity: 12050800
    DefeatFlag: 12050800
- ID: 12052822
  Map: m12_05_00_00
  Template:
  - Type: chr
    Entity: 12050800
    DefeatFlag: 12050800
- ID: 12052823
  Map: m12_05_00_00
  Template:
  - Type: chr
    Entity: 12050800
    DefeatFlag: 12050800
- ID: 12052824
  Map: m12_05_00_00
  Template:
  - Type: chr
    Entity: 12050800
    DefeatFlag: 12050800
- ID: 12052825
  Map: m12_05_00_00
  Template:
  - Type: chr
    Entity: 12050800
    DefeatFlag: 12050800
- ID: 12052826
  Map: m12_05_00_00
  Template:
  - Type: chr
    Entity: 12050800
    DefeatFlag: 12050800
- ID: 12053700
  Map: m12_05_00_00
  Template:
  - Type: loc
    Entity: 12050800
    ArgEntities: X0
- ID: 12053701
  Map: m12_05_00_00
  Template:
  - Type: loc
    Entity: 12050800
    ArgEntities: X0
    Add:
    - Cmd: IfEventFlag(0, 1, 0, 12050800)
      After: IfConditionGroup(0, 1, -1)
- ID: 12082800
  Map: m12_08_00_00
  Template:
  - Type: segment
    Entity: 12080800
    Segments:
    - Type: end
      Commands:
      - c4_2(0, 12080800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(2)
      - PlaySE(12080800, 5, 77777777)
      - IfCharacterDeadalive(0, 12080800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(12080800, 17)
- ID: 12082810
  Map: m12_08_00_00
  Template:
  - Type: segment
    Entity: 12080800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 12080800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(12080800, 0)
      - SetCharacterAnimationState(12080800, 0)
      - ForceCharacterDeath(12080800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(12080800, 0)
      - ChangeCharacterEnableState(12080800, 1)
      - SetCharacterAnimationState(12080800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(12080800, 1)
      - c2004_34(12080800, 1)
      - DisplayBossHealthBar(1, 12080800, 0, 904670000)
- ID: 12092200
  Map: m12_09_00_00
  Template:
  - Type: multichr
    Entity: 12090800
    ArgEntities: X0
- ID: 12092230
  Map: m12_09_00_00
  Template:
  - Type: multichr
    Entity: 12090800
    ArgEntities: X4
- ID: 12092260
  Map: m12_09_00_00
  Template:
  - Type: multichr
    Entity: 12090800
    ArgEntities: X4 X8
- ID: 12092290
  Map: m12_09_00_00
  Template:
  - Type: multichr
    Entity: 12090800
    Regions:
    - event chrpoint 12092308
- ID: 12092295
  Map: m12_09_00_00
  Template:
  - Type: multichr
    Entity: 12090800
    ArgEntities: X0
- ID: 12092800
  Map: m12_09_00_00
  Template:
  - Type: segment
    Entity: 12090800
    Segments:
    - Type: end
      Commands:
      - c4_2(0, 12090800, 5, 0, 0, 1065353216)
      - c2003_66(0, 12092907, 0)
      - c2003_66(0, 12092908, 0)
      - c2003_66(0, 12092909, 0)
      - ForceCharacterDeath(12095200, 0)
      - WaitFixedTimeSeconds(2)
      - PlaySE(12090800, 5, 77777777)
      - IfCharacterDeadalive(0, 12090800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(12090800, 15)
- ID: 12092810
  Map: m12_09_00_00
  Template:
  - Type: segment
    Entity: 12090800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 12090800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(12090800, 0)
      - SetCharacterAnimationState(12090800, 0)
      - ForceCharacterDeath(12090800, 0)
      - ChangeCharacterEnableState(12095200, 0)
      - SetCharacterAnimationState(12095200, 0)
      - ForceCharacterDeath(12095200, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(12090800, 0)
      - ChangeCharacterEnableState(12090800, 1)
      - SetCharacterAnimationState(12090800, 1)
      - ChangeCharacterEnableState(12095200, 1)
      - SetCharacterAnimationState(12095200, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(12090800, 1)
      - c2004_34(12090800, 1)
      - DisplayBossHealthBar(1, 12090800, 0, 904670001)
- ID: 12092854
  Map: m12_09_00_00
  Template:
  - Type: multichr
    Entity: 12090800
    ArgEntities: X16 X20
- ID: 12092859
  Map: m12_09_00_00
  Template:
  - Type: multichronly
    Entity: 12090800
    ArgEntities: X100 X104 X108 X112 X116 X120 X124 X128 X132 X136 X140 X144 X148 X152 X156 X160 X28 X32 X36 X40 X44 X48 X52 X56 X60 X64 X68 X72 X76 X80 X84 X88 X92 X96
    Regions:
    - arg chrgen 12093200 12093201 12093202 12093203 12093204 12093205 12093206 12093220 12093221 12093222 12093223 12093224 12093225 12093226 12093240 12093241 12093242 12093243 12093244 12093245 12093246 12093260 12093261 12093262 12093263 12093264 12093265 12093266
- ID: 12092860
  Map: m12_09_00_00
  Template:
  - Type: multichr
    Entity: 12090800
    ArgEntities: X12 X16 X20 X24 X4 X8
- ID: 12092861
  Map: m12_09_00_00
  Template:
  - Type: multichr
    Entity: 12090800
    ArgEntities: X0
- ID: 12092862
  Map: m12_09_00_00
  Template:
  - Type: multichr
    Entity: 12090800
    ArgEntities: X0 X4
    MusicFlag: 12092802
- ID: 12092863
  Map: m12_09_00_00
  Template:
  - Type: multichr
    Entity: 12090800
    ArgEntities: X0 X4
- ID: 12092864
  Map: m12_09_00_00
  Template:
  - Type: multichr
    Entity: 12090800
    ArgEntities: X0 X4
- ID: 12092865
  Map: m12_09_00_00
  Template:
  - Type: multichr
    Entity: 12090800
    ArgEntities: X0
    Regions:
    - event chrpoint 12092300 12092301 12092302 12092303 12092304 12092305 12092306 12092307 12092308 12092309 12092310 12092311 12092312 12092313 12092314 12092315 12092316 12092317 12092318 12092319 12092320 12092321 12092322 12092323 12092324 12092325 12092326 12092327 12092328 12092329 12092330 12092331 12092332 12092333 12092334 12092335 12092336 12092337 12092338 12092339 12092340 12092341 12092342 12092343 12092344 12092345 12092346 12092347 12092348 12092349 12092350
- ID: 12092910
  Map: m12_09_00_00
  Template:
  - Type: multichr
    Entity: 12090800
    ArgEntities: X0
- ID: 12092920
  Map: m12_09_00_00
  Template:
  - Type: multichr
    Entity: 12090800
    ArgEntities: X4
    Regions:
    - event chrpoint 12092300 12092301 12092302 12092303 12092304 12092305 12092306 12092307 12092308 12092309 12092310 12092311 12092312 12092313 12092314 12092315 12092316 12092317 12092318 12092319 12092320 12092321 12092322 12092323 12092324 12092325 12092326 12092327 12092328 12092329 12092330 12092331 12092332 12092333 12092334 12092335 12092336 12092337 12092338 12092339 12092340 12092341 12092342 12092343 12092344 12092345 12092346 12092347 12092348 12092349 12092350
- ID: 13002800
  Map: m13_00_00_00
  Template:
  - Type: segment
    Entity: 13000800
    Segments:
    - Type: remove
      Commands:
      - ForceCharacterDeath(13000801, 0)
      - IfEventFlag(-2, 1, 0, 13000800)
      - c2004_35(13000800, 1)
    - Type: end
      Commands:
      - c4_14(0, 13000800, 5, 0, 0, 1065353216)
      - ForceCharacterDeath(13000800, 0)
      - WaitFixedTimeSeconds(4)
      - PlaySE(13008000, 5, 888880000)
      - c3_26(2)
      - IfCharacterDeadalive(2, 13000800, 1, 0, 1)
      - IfCharacterHasSpEffect(2, 10000, 9646, 0, 0, 1)
      - IfConditionGroup(-2, 1, 2)
      - IfConditionGroup(0, 1, -2)
      - HandleBossDefeatAndDisplayBanner(13000800, 15)
- ID: 13002810
  Map: m13_00_00_00
  Template:
  - Type: loc
    Removes:
    - c2004_33(13000801, 13000800)
  - Type: segment
    Entity: 13000800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 13000800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(13000800, 0)
      - SetCharacterAnimationState(13000800, 0)
      - ForceCharacterDeath(13000800, 0)
    - Type: remove
      Start: Label0()
      Commands:
      - SetCharacterAIState(13000800, 0)
      - c2004_30(13000800, 0)
      - ChangeCharacterEnableState(13000800, 0)
      - c2004_10(13000800, 0)
      - SetCharacterAnimationState(13000800, 0)
      - ChangeCharacterEnableState(13000800, 1)
      - c2004_34(13000800, 1)
      - c2004_33(13000801, 13000800)
  - Type: segment
    Entity: 13000801
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 13000800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(13000801, 0)
      - SetCharacterAnimationState(13000801, 0)
      - ForceCharacterDeath(13000801, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 13000801)
      Commands:
      - SetCharacterAIState(13000801, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 13000801)
      End: IfConditionGroup(0, 1, 1)
      Commands:
      - c2003_18(13000801, 30018, 1, 1065353216)
      - ChangeCharacterEnableState(13000801, 1)
      - SetCharacterAnimationState(13000801, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, 1)
      End: Label1()
      Commands:
      - c2003_18(13000801, 20038, 1, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(13000801, 1)
      - SetCharacterAnimationState(13000801, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: remove
      Commands:
      - c2004_33(13000801, 13000800)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(13000801, 1)
      - c2004_34(13000801, 1)
      - DisplayBossHealthBar(1, 13000801, 0, 902110000)
- ID: 13002811
  Map: m13_00_00_00
  Template:
  - Type: segment
    Entity: 13000800
    Segments:
    - Type: setup
      IgnoreMatch: true
      Start: c1001_6(1)
      Commands:
      - ChangeCharacterEnableState(13000800, 1)
      - SetCharacterAIState(13000800, 0)
    - Type: remove
      Commands:
      - c2004_42(13000800, 1, 13002825, -1, 13000800)
      - c2004_10(13000800, 1)
    - Type: start
      PreSegment: setup
      EncounterOnly:
      - c2003_18(13000800, 20015, 0, 1065353216)
      Commands:
      - c2003_18(13000800, 20015, 0, 1065353216)
      - SetCharacterAnimationState(13000800, 1)
      - SetCharacterAIState(13000800, 1)
      - c2004_34(13000800, 1)
      - DisplayBossHealthBar(1, 13000800, 0, 902110001)
  - Type: segment
    Entity: 13000801
    Segments:
    - Type: endphase
      IgnoreMatch: true
      Start: EndIfEventFlag(0, 1, 0, 13000800)
      Commands:
      - c4_2(1, 13000801, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - IfCharacterDeadalive(0, 13000801, 1, 0, 1)
    - Type: remove
      Commands:
      - c4_2(1, 13000801, 5, 1057803469, 0, 1065353216)
      - ChangeCharacterEnableState(13000801, 0)
      - SetCharacterAIState(13000801, 0)
      - c2004_34(13000801, 65280)
- ID: 13002819
  Map: m13_00_00_00
  Template:
  - Type: chr
    Entity: 13000800
    Regions:
    - event chrpoint 13002825
- ID: 13002820
  Map: m13_00_00_00
  Template:
  - Type: remove
    Entity: 13000800
- ID: 13002827
  Map: m13_00_00_00
  Template:
  - Type: remove
    Entity: 13000800
- ID: 13002828
  Map: m13_00_00_00
  Template:
  - Type: remove
    Entity: 13000800
- ID: 13002830
  Map: m13_00_00_00
  Template:
  - Type: segment
    Entity: 13000830
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 13000830, 5, 0, 0, 1065353216)
      - ForceCharacterDeath(13000830, 0)
      - WaitFixedTimeSeconds(4)
      - PlaySE(13008000, 5, 888880000)
      - IfCharacterDeadalive(0, 13000830, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(13000830, 15)
- ID: 13002835
  Map: m13_00_00_00
  Template:
  - Type: segment
    Entity: 13000830
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(3, 0, 0, 13000830)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(13005830, 0)
      - SetCharacterAnimationState(13005830, 0)
      - ForceCharacterDeath(13005830, 0)
    - Type: setup
      Start: Label3()
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - SetCharacterAIState(13000830, 0)
      - ChangeCharacterEnableState(13005830, 1)
      - SetCharacterAnimationState(13005830, 1)
      - c2004_22(13000830, 65536, 9999, 1065353216, 1065353216, 0)
      - c2004_22(13000830, 131073, 9999, 1065353216, 1065353216, 0)
      - c2004_24(13000830, 0, 173, 173, 139, 139, 0)
      - c2004_24(13000830, 1, 173, 173, 139, 139, 0)
      - c2004_50(13000830, 222, 0)
      - c2004_50(13000830, 223, 0)
      - c2004_50(13000830, 224, 0)
      - c2004_50(13000830, 225, 0)
      - c2004_11(13000830, 13000840)
      - c2004_35(13000830, 1)
      - c2003_18(13000830, 30000, 1, 1065353216)
    - Type: start
      Start: IfConditionGroup(0, 1, -1)
      Commands:
      - c2003_18(13000830, 20000, 0, 1065353216)
      - SetCharacterAIState(13000830, 1)
      - c2004_34(13000830, 1)
      - DisplayBossHealthBar(1, 13000830, 0, 904520000)
- ID: 13002840
  Map: m13_00_00_00
  Template:
  - Type: multichr
    Entity: 13000830
    DefeatFlag: 13000830
    MusicFlag: 13002832
- ID: 13002841
  Map: m13_00_00_00
  Template:
  - Type: multichrboss
    Entity: 13000830
    DefeatFlag: 13000830
- ID: 13002850
  Map: m13_00_00_00
  Template:
  - Type: segment
    Entity: 13000850
    Segments:
    - Type: remove
      Commands:
      - c2003_66(0, 13002854, 1)
    - Type: end
      Commands:
      - c4_14(0, 13000850, 5, 0, 0, 1065353216)
      - ForceCharacterDeath(13000851, 0)
      - ForceCharacterDeath(13000852, 0)
      - c2004_8(13000850, 6950)
      - WaitFixedTimeSeconds(4)
      - PlaySE(13000850, 5, 888880000)
      - IfCharacterDeadalive(0, 13000850, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(13000850, 17)
      - ForceCharacterDeath(13000851, 0)
      - ForceCharacterDeath(13000852, 0)
  - Type: multichrbasic
    Entity: 13000850
    NewEvent:
    - c4_14(0, 13000850, 5, 0, 0, 1065353216)
    - ForceCharacterDeath(13000851, 0)
    - ForceCharacterDeath(13000852, 0)
    - c2004_8(13000850, 6950)
- ID: 13002860
  Map: m13_00_00_00
  Template:
  - Type: segment
    Entity: 13000850
    Add:
    - Cmd: c3_23(255, 13000850, 10000, 0)
      Before: c3_23(255, 13000851, 10000, 0)
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(6, 0, 0, 13000850)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(13000850, 0)
      - ChangeCharacterEnableState(13000851, 0)
      - ChangeCharacterEnableState(13000852, 0)
      - SetCharacterAnimationState(13000850, 0)
      - SetCharacterAnimationState(13000851, 0)
      - SetCharacterAnimationState(13000852, 0)
      - ForceCharacterDeath(13000850, 0)
      - ForceCharacterDeath(13000851, 0)
      - ForceCharacterDeath(13000852, 0)
    - Type: presetup
      Start: Label6()
      End: GotoIfEventFlag(7, 1, 0, 13000851)
      Commands:
      - SetCharacterAIState(13000851, 0)
      - SetCharacterAIState(13000852, 0)
      - ChangeCharacterEnableState(13000850, 0)
      - c2004_10(13000850, 0)
      - SetCharacterAnimationState(13000850, 0)
    - Type: remove
      PreSegment: presetup
      Start: GotoIfEventFlag(7, 1, 0, 13000851)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(13000851, 0)
      - ChangeCharacterEnableState(13000852, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(7, 1, 0, 13000851)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - c2003_18(13000851, 30001, 1, 1065353216)
      - c2003_18(13000852, 30001, 1, 1065353216)
      - SetCharacterAnimationState(13000851, 1)
      - SetCharacterAnimationState(13000852, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label7()
      Commands:
      - ChangeCharacterEnableState(13000851, 1)
      - ChangeCharacterEnableState(13000852, 1)
      - c2003_18(13000851, 20001, 0, 1065353216)
      - c2003_18(13000852, 20001, 0, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label7()
      End: IfConditionGroup(0, 1, -2)
      Commands:
      - ChangeCharacterEnableState(13000851, 1)
      - ChangeCharacterEnableState(13000852, 1)
      - SetCharacterAnimationState(13000851, 1)
      - SetCharacterAnimationState(13000852, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, -2)
      End: Label8()
      Commands: []
    - Type: remove
      Commands:
      - c2004_33(13005851, 13000850)
    - Type: start
      Start: Label8()
      Regions:
      - event chrpoint-500 13002881
      Commands:
      - SetCharacterAIState(13000850, 0)
      - c2004_41(13000850, 1, 13002881, -1)
      - ChangeCharacterEnableState(13000850, 1)
      - SetCharacterAIState(13000851, 1)
      - SetCharacterAIState(13000852, 1)
      - c2004_34(13000850, 1)
      - c2004_34(13000851, 1)
      - c2004_34(13000852, 1)
      - c2004_33(13000851, 13000850)
      - c2004_33(13000852, 13000850)
      - DisplayBossHealthBar(1, 13000850, 0, 903575000)
  - Type: multichrbasic
    Entity: 13000850
    Regions:
    - event chrpoint-500 13002881
    NewEvent:
    - c2004_35(13000850, 1)
    - c2004_10(13000850, 0)
    - SetCharacterAnimationState(13000850, 0)
    - SetCharacterAIState(13000850, 0)
    - c2004_41(13000850, 1, 13002881, -1)
    - c2004_33(13000851, 13000850)
    - c2004_33(13000852, 13000850)
- ID: 13002861
  Map: m13_00_00_00
  Template:
  - Type: multichr
    Entity: 13000850
    DefeatFlag: 13000850
    EffectFlag: 1 13000850 13002873; 2 13000850 13002874
    MusicFlag: 13002852
- ID: 13002890
  Map: m13_00_00_00
  Template:
  - Type: multichr
    Entity: 13000850
    ArgEntities: X4 X8
    DefeatFlag: 13000850
    EffectFlag: 0 13000850 13002854; 3 13000850 13002944 X0; 4 13000850 13002945 X0
- ID: 13002891
  Map: m13_00_00_00
  Template:
  - Type: multichronly
    Entity: 13000850
    ArgEntities: X16 X8
    DefeatFlag: 13000850
    EffectFlag: 0 13000850 13002854; 1 13000850 13002873 X20; 2 13000850 13002874 X20; 3 13000850 13002944 X0; 4 13000850 13002945 X0
    Regions:
    - arg chrgen 13003851 13003852
- ID: 13002892
  Map: m13_00_00_00
  Template:
  - Type: multichronly
    Entity: 13000850
    DefeatFlag: 13000850
    EffectFlag: 0 13000850 13002854; 1 13000850 13002873; 2 13000850 13002874; 3 13000850 13002944; 4 13000850 13002945
    Regions:
    - event chrgen 13003851 13003852
- ID: 14002800
  Map: m14_00_00_00
  Template:
  - Type: segment
    Entity: 14000800
    Segments:
    - Type: remove
      Commands:
      - IfEventFlag(-2, 1, 0, 14000800)
      - ForceCharacterDeath(14005810, 0)
    - Type: end
      Commands:
      - c4_14(0, 14000800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(14008000, 5, 888880000)
      - c3_26(2)
      - IfCharacterDeadalive(2, 14000800, 1, 0, 1)
      - IfCharacterHasSpEffect(2, 10000, 9646, 0, 0, 1)
      - IfConditionGroup(-2, 1, 2)
      - IfConditionGroup(0, 1, -2)
      - HandleBossDefeatAndDisplayBanner(14000800, 15)
- ID: 14002810
  Map: m14_00_00_00
  Template:
  - Type: loc
    Add:
    - Cmds:
      - ChangeCharacterEnableState(14005800, 1)
      - SetCharacterAnimationState(14005800, 1)
      After: Label0()
    Removes:
    - ForceCharacterDeath(14005800, 0)
  - Type: segment
    Entity: 14000800
    Segments:
    - Type: dead
      IgnoreMatch: true
      Start: GotoIfEventFlag(0, 0, 0, 14000800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(14000800, 0)
      - SetCharacterAnimationState(14000800, 0)
      - ForceCharacterDeath(14000800, 0)
    - Type: remove
      Start: Label0()
      Commands:
      - ChangeCharacterEnableState(14000800, 0)
      - SetCharacterAnimationState(14000800, 0)
  - Type: segment
    Entity: 14000801
    Segments:
    - Type: dead
      IgnoreMatch: true
      Start: GotoIfEventFlag(0, 0, 0, 14000800)
      End: c1000_4(0)
      Regions:
      - event chrgenstudent 14003810 14003811 14003812 14003813 14003814 14003815 14003816 14003817 14003818
      Commands:
      - ChangeCharacterEnableState(14000801, 0)
      - SetCharacterAnimationState(14000801, 0)
      - ForceCharacterDeath(14000801, 0)
      - ChangeCharacterEnableState(14005810, 0)
      - SetCharacterAnimationState(14005810, 0)
      - ForceCharacterDeath(14005810, 0)
      - DeactivateGenerator(14003810, 0)
      - DeactivateGenerator(14003811, 0)
      - DeactivateGenerator(14003812, 0)
      - DeactivateGenerator(14003813, 0)
      - DeactivateGenerator(14003814, 0)
      - DeactivateGenerator(14003815, 0)
      - DeactivateGenerator(14003816, 0)
      - DeactivateGenerator(14003817, 0)
      - DeactivateGenerator(14003818, 0)
    - Type: presetup
      IgnoreMatch: true
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 14000801)
      Commands:
      - SetCharacterAIState(14000801, 0)
      - SetCharacterAIState(14005810, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 14000801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(14000801, 0)
      - SetCharacterAnimationState(14000801, 0)
      - ChangeCharacterEnableState(14005810, 0)
      - SetCharacterAnimationState(14005810, 0)
      - c2004_73(14000810, 0)
      - c2004_73(14000811, 0)
      - c2004_73(14000812, 0)
      - c2004_73(14000813, 0)
      - c2004_73(14000814, 0)
      - c2004_73(14000815, 0)
      - c2004_73(14000816, 0)
      - c2004_73(14000817, 0)
      - c2004_73(14000818, 0)
      - c2004_73(14000819, 0)
      - c2004_73(14000820, 0)
      - c2004_73(14000821, 0)
      - c2004_73(14000822, 0)
      - c2004_73(14000823, 0)
      - c2004_73(14000824, 0)
      - c2004_73(14000825, 0)
      - c2004_73(14000826, 0)
      - c2004_73(14000827, 0)
      - c2004_73(14000828, 0)
      - c2004_73(14000829, 0)
      - c2004_73(14000830, 0)
      - c2004_73(14000831, 0)
      - c2004_73(14000832, 0)
      - c2004_73(14000833, 0)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - ChangeCharacterEnableState(14000801, 1)
      - SetCharacterAnimationState(14000801, 1)
      - ChangeCharacterEnableState(14005810, 1)
      - SetCharacterAnimationState(14005810, 1)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(14000801, 1)
      - SetCharacterAnimationState(14000801, 1)
      - ChangeCharacterEnableState(14005810, 1)
      - SetCharacterAnimationState(14005810, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Regions:
      - event chrgenstudent 14003810 14003811 14003812 14003813 14003814 14003815 14003816 14003817 14003818
      Commands:
      - SetCharacterAIState(14000801, 1)
      - SetCharacterAIState(14005810, 1)
      - c2004_34(14000801, 1)
      - c2004_34(14005810, 26881)
      - DisplayBossHealthBar(1, 14000801, 0, 902030000)
      - DeactivateGenerator(14003810, 1)
      - DeactivateGenerator(14003811, 1)
      - DeactivateGenerator(14003812, 1)
      - DeactivateGenerator(14003813, 1)
      - DeactivateGenerator(14003814, 1)
      - DeactivateGenerator(14003815, 1)
      - DeactivateGenerator(14003816, 1)
      - DeactivateGenerator(14003817, 1)
      - DeactivateGenerator(14003818, 1)
- ID: 14002811
  Map: m14_00_00_00
  Template:
  - Type: segment
    Entity: 14000800
    Segments:
    - Type: setup
      Commands:
      - c2004_35(14000800, 1)
      - SetCharacterAIState(14000800, 0)
      - ChangeCharacterEnableState(14000800, 1)
      - SetCharacterAnimationState(14000800, 1)
    - Type: start
      Commands:
      - c2003_18(14000800, 20005, 0, 1065353216)
      - DisplayBossHealthBar(1, 14000800, 0, 902030001)
      - c2004_34(14000800, 1)
      - SetCharacterAIState(14000800, 1)
  - Type: segment
    Entity: 14000801
    Segments:
    - Type: endphase
      Commands:
      - c3_26(1)
      - IfCharacterDeadalive(1, 14000801, 1, 0, 1)
      - IfConditionGroup(0, 1, 1)
      - ForceCharacterDeath(14005810, 0)
- ID: 14002850
  Map: m14_00_00_00
  Template:
  - Type: segment
    Entity: 14000850
    Segments:
    - Type: end
      Commands:
      - c4_2(0, 14000850, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(2)
      - PlaySE(14000850, 5, 77777777)
      - IfCharacterDeadalive(0, 14000850, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(14000850, 17)
- ID: 14002860
  Map: m14_00_00_00
  Template:
  - Type: segment
    Entity: 14000850
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 14000850)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(14000850, 0)
      - SetCharacterAnimationState(14000850, 0)
      - ForceCharacterDeath(14000850, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 14000851)
      Commands:
      - SetCharacterAIState(14000850, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 14000851)
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - c2003_18(14000850, 30002, 1, 1065353216)
      - ChangeCharacterEnableState(14000850, 1)
      - SetCharacterAnimationState(14000850, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label1()
      Commands:
      - c2003_18(14000850, 20002, 0, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(14000850, 1)
      - SetCharacterAnimationState(14000850, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(14000850, 1)
      - c2004_34(14005850, 1)
      - DisplayBossHealthBar(1, 14000850, 0, 903181000)
      - c1003_12(257)
      - c2004_28(14005850, 8192)
- ID: 14003801
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    ArgEntities: X100 X104 X8 X12 X16 X20 X24 X28 X32 X36 X4 X40 X44 X48 X52 X56 X60 X64 X68 X72 X76 X8 X80 X84 X88 X96
    StartFlag: 14002805
- ID: 14003805
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    ArgEntities: X12 X4 X8
- ID: 14003807
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    ArgEntities: X0 X4
- ID: 14003808
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    ArgEntities: X4
- ID: 14003809
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    ArgEntities: X4
- ID: 14003811
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    ArgEntities: X100 X4 X12 X16 X20 X24 X28 X32 X36 X4 X40 X44 X48 X52 X56 X60 X64 X68 X72 X76 X8 X80 X84 X92 X96
- ID: 14003814
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    ArgEntities: X0 X4
- ID: 14003815
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    ArgEntities: X0 X4
- ID: 14003817
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    ArgEntities: X0
- ID: 14003825
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    ArgEntities: X4 X8
    StartFlag: 14002805
- ID: 14003840
  Map: m14_00_00_00
  Template:
  - Type: remove
    Entity: 14000801
    ArgEntities: X0
- ID: 14003845
  Map: m14_00_00_00
  Template:
  - Type: remove
    Entity: 14000801
    ArgEntities: X0
- ID: 14003850
  Map: m14_00_00_00
  Template:
  - Type: remove
    Entity: 14000801
    ArgEntities: X0
- ID: 14003892
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    ArgEntities: X0 X4
- ID: 14003893
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    ArgEntities: X0 X4
- ID: 14003894
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    ArgEntities: X0 X4
- ID: 14003915
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    DefeatFlag: 14000800
- ID: 14003922
  Map: m14_00_00_00
  Template:
  - Type: multichronly
    Entity: 14000800
    ArgEntities: X4 X8
- ID: 14003923
  Map: m14_00_00_00
  Template:
  - Type: multichronly
    Entity: 14000800
    ArgEntities: X12 X8
- ID: 14003924
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000800
    ArgEntities: X8
- ID: 14003925
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000800
    ArgEntities: X4
- ID: 14003926
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000800
    ArgEntities: X0
- ID: 14003937
  Map: m14_00_00_00
  Template:
  - Type: multichronly
    Entity: 14000800
    ArgEntities: X12 X16 X20 X4 X8
- ID: 14003938
  Map: m14_00_00_00
  Template:
  - Type: multichronly
    Entity: 14000800
    ArgEntities: X12 X16 X20 X24 X8
- ID: 14003939
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000800
    ArgEntities: X12 X16 X20 X8
- ID: 14003940
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000800
    ArgEntities: X4
- ID: 14003945
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000800
    ArgEntities: X0
- ID: 14003962
  Map: m14_00_00_00
  Template:
  - Type: multichronly
    Entity: 14000800
    ArgEntities: X4 X8
- ID: 14003963
  Map: m14_00_00_00
  Template:
  - Type: multichronly
    Entity: 14000800
    ArgEntities: X12 X8
- ID: 14003964
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000800
    ArgEntities: X8
- ID: 14003965
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000800
    ArgEntities: X4
- ID: 14003966
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000800
    ArgEntities: X0
- ID: 14003972
  Map: m14_00_00_00
  Template:
  - Type: multichronly
    Entity: 14000800
    ArgEntities: X4 X8
- ID: 14003973
  Map: m14_00_00_00
  Template:
  - Type: multichronly
    Entity: 14000800
    ArgEntities: X12 X8
- ID: 14003974
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000800
    ArgEntities: X8
- ID: 14003975
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000800
    ArgEntities: X4
- ID: 14003976
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000800
    ArgEntities: X0
- ID: 14003977
  Map: m14_00_00_00
  Template:
  - Type: multichronly
    Entity: 14000800
    ArgEntities: X0 X4
- ID: 14003978
  Map: m14_00_00_00
  Template:
  - Type: multichronly
    Entity: 14000801
    DefeatFlag: 14000800
    Regions:
    - event chrgenstudent 14003810 14003811 14003812 14003813 14003814 14003815 14003816 14003817 14003818
- ID: 140028121
  Map: m14_00_00_00
  Template:
  - Type: multichr
    Entity: 14000801
    DefeatFlag: 14000800
- ID: 15000701
  Map: m15_00_00_00
  Template:
  - Type: loc
    Entity: 15000800
    Add:
    - Cmd: IfEventFlag(0, 1, 0, 15000800)
      After: IfConditionGroup(0, 1, -1)
- ID: 15002800
  Map: m15_00_00_00
  Template:
  - Type: segment
    Entity: 15000800
    Segments:
    - Type: remove
      Commands:
      - IfEventFlag(-2, 1, 0, 15000800)
    - Type: end
      Commands:
      - c4_14(0, 15000800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(15008000, 5, 888880000)
      - c3_26(2)
      - IfCharacterDeadalive(2, 15000800, 1, 0, 1)
      - IfCharacterHasSpEffect(2, 10000, 9646, 0, 0, 1)
      - IfConditionGroup(-2, 1, 2)
      - IfConditionGroup(0, 1, -2)
      - HandleBossDefeatAndDisplayBanner(15000800, 16)
- ID: 15002810
  Map: m15_00_00_00
  Template:
  - Type: segment
    Entity: 15000800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 15000800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(15005800, 0)
      - SetCharacterAnimationState(15005800, 0)
      - ForceCharacterDeath(15005800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 15000801)
      Commands:
      - SetCharacterAIState(15005800, 0)
      - SetCharacterImmortality(15000800, 1)
      - ChangeCharacterEnableState(15000801, 0)
      - SetCharacterAnimationState(15000801, 0)
      - ChangeCharacterEnableState(15000802, 0)
      - SetCharacterAnimationState(15000802, 0)
      - c2004_50(15000802, 220, 1)
      - ChangeCharacterEnableState(15000803, 0)
      - SetCharacterAnimationState(15000803, 0)
      - c2004_50(15000803, 220, 1)
      - ChangeCharacterEnableState(15000804, 0)
      - SetCharacterAnimationState(15000804, 0)
      - c2004_50(15000804, 220, 1)
      - ChangeCharacterEnableState(15000805, 0)
      - SetCharacterAnimationState(15000805, 0)
      - c2004_50(15000805, 220, 1)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 15000801)
      End: IfConditionGroup(0, 1, 1)
      Commands:
      - c2004_8(15000800, 5402)
      - ChangeCharacterEnableState(15000800, 1)
      - SetCharacterAnimationState(15000800, 1)
      - SetCharacterAnimationState(15000800, 0)
      - c2004_10(15000800, 0)
      - c2004_26(15000800, 0)
      - c2004_26(15000800, 12)
      - c2004_26(15000800, 13)
      - c2003_18(15000800, 30000, 0, 1065353216)
    - Type: remove
      Commands:
      - c2004_41(15000800, 1, 15002812, -1)
      - c2004_41(15000800, 1, 15002814, -1)
    - Type: remove
      Start: c2003_69(0, 15000801, 1)
      End: c2002_3(15000000, 0, 10000)
      Commands:
      - c1003_12(258)
      - c2002_11(15000000, 0, 15002811, 15000000, 10000, 0, 0)
      - SkipUnconditionally(1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, 1)
      End: Label1()
      Commands:
      - c2004_8(15000800, 5400)
      - c2004_10(15000800, 1)
      - SetCharacterAnimationState(15000800, 1)
      - c2004_26(15000800, 256)
      - c2004_26(15000800, 268)
      - c2004_26(15000800, 269)
      - c2003_18(15000800, 3006, 0, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(15000800, 1)
      - SetCharacterAnimationState(15000800, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(15005800, 1)
      - c2004_34(15005800, 1)
      - DisplayBossHealthBar(1, 15000800, 0, 902120000)
      - c2004_21(15000800, 16141)
      - SetCharacterImmortality(15000800, 1)
  - Type: multichrbasic
    Entity: 15000800
    NewEvent:
    - SetCharacterImmortality(15000800, 1)
    - ChangeCharacterEnableState(15000801, 0)
    - SetCharacterAnimationState(15000801, 0)
    - ChangeCharacterEnableState(15000802, 0)
    - SetCharacterAnimationState(15000802, 0)
    - c2004_50(15000802, 220, 1)
    - ChangeCharacterEnableState(15000803, 0)
    - SetCharacterAnimationState(15000803, 0)
    - c2004_50(15000803, 220, 1)
    - ChangeCharacterEnableState(15000804, 0)
    - SetCharacterAnimationState(15000804, 0)
    - c2004_50(15000804, 220, 1)
    - ChangeCharacterEnableState(15000805, 0)
    - SetCharacterAnimationState(15000805, 0)
    - c2004_21(15000800, 16141)
- ID: 15002811
  Map: m15_00_00_00
  Template:
  - Type: multichr
    Entity: 15000800
    DefeatFlag: 15000800
    MusicFlag: 15002802
    Name: 15000800
    Add:
    - Cmd: c2004_30(15000800, 0)
      After: IfConditionGroup(0, 1, 1)
    - Cmd: DisplayBossHealthBar(0, 15000800, 0, 902120000)
      After: IfConditionGroup(0, 1, 1)
    - Cmd: SetCharacterAIState(15000800, 0)
      After: IfConditionGroup(0, 1, 1)
    - Cmd: WaitFixedTimeSeconds(3)
      After: IfConditionGroup(0, 1, 1)
    - Cmd: SetCharacterAIState(15000800, 1)
      Before: c2004_20(15000800)
    - Cmd: c2004_8(15000800, 110)
      Before: c2004_20(15000800)
    Removes:
    - c2002_11(15000010, 0, 15002815, 15000000, 10000, 0, 0)
    - c2002_3(15000010, 0, 10000)
    - c2004_41(15000800, 1, 15002816, -1)
    - c2008_1(2121, 2121)
- ID: 15002820
  Map: m15_00_00_00
  Template:
  - Type: multichronly
    Entity: 15000800
    ArgEntities: X0
    DefeatFlag: 15000800
- ID: 15002830
  Map: m15_00_00_00
  Template:
  - Type: multichr
    Entity: 15000800
    DefeatFlag: 15000800
- ID: 15002848
  Map: m15_00_00_00
  Template:
  - Type: multichrboss
    Entity: 15000800
    DefeatFlag: 15000800
    StartFlag: 15002805
    Removes:
    - IfEventFlag(2, 1, 0, 15002810)
    - c1003_12(258)
    - IfEventFlag(2, 1, 0, 15002806)
    - IfEventFlag(1, 1, 0, 15002810)
- ID: 15002850
  Map: m15_00_00_00
  Template:
  - Type: segment
    Entity: 15000850
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 15000850, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(15000850, 5, 888880000)
      - IfCharacterDeadalive(0, 15000850, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(15000850, 17)
- ID: 15002860
  Map: m15_00_00_00
  Template:
  - Type: segment
    Entity: 15000850
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 15000850)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(15005850, 0)
      - SetCharacterAnimationState(15005850, 0)
      - ForceCharacterDeath(15005850, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 15000851)
      Commands:
      - SetCharacterAIState(15005850, 0)
      - c2003_18(15000850, 30001, 0, 1065353216)
    - Type: firstsetup
      IgnoreMatch: true
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 15000851)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(15005850, 1)
      - SetCharacterAnimationState(15005850, 1)
    - Type: firststart
      IgnoreMatch: true
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands: []
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(15005850, 1)
      - SetCharacterAnimationState(15005850, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - c2003_18(15000850, 20011, 0, 1065353216)
      - c2003_18(15000850, 3005, 0, 1065353216)
      - SetCharacterAIState(15005850, 1)
      - c2004_34(15005800, 1)
      - c2004_8(15000110, 9532)
      - WaitFixedTimeSeconds(2)
      - DisplayBossHealthBar(1, 15000850, 0, 903252000)
- ID: 15002861
  Map: m15_00_00_00
  Template:
  - Type: chr
    Entity: 15000850
    DefeatFlag: 15000850
- ID: 16002695
  Map: m16_00_00_00
  Template:
  - Type: loc
  - Type: chrboss
    Entity: 16000800
    DefeatFlag: 16000800
    Add:
    - Cmd: IfEventFlag(1, 1, 0, 16002697)
      Before: IfConditionGroup(0, 1, 1)
    - Cmd: c1000_2(16515328)
      Before: c1000_1(16515329)
    - Cmd: c2003_66(0, 16007690, 0)
    - Cmd: c2003_4(16000690)
    Removes:
    - IfInoutsideArea(1, 1, 10000, 16002165, 1)
    - c2003_66(0, 16002696, 1)
  - Type: chrboss
    Entity: 16000801
    DefeatFlag: 16000800
    Add:
    - Cmd: IfEventFlag(1, 1, 0, 16002697)
      Before: IfConditionGroup(0, 1, 1)
    - Cmd: c1000_2(16515328)
      Before: c1000_1(16515329)
    - Cmd: c2003_66(0, 16007690, 0)
    - Cmd: c2003_4(16000690)
    Removes:
    - IfInoutsideArea(1, 1, 10000, 16002165, 1)
    - c2003_66(0, 16002696, 1)
- ID: 16002800
  Map: m16_00_00_00
  Template:
  - Type: segment
    Entity: 16000800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 16000800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(16008000, 5, 888880000)
      - IfCharacterDeadalive(0, 16000800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(16000800, 16)
      - c2004_21(10000, 1908)
- ID: 16002810
  Map: m16_00_00_00
  Template:
  - Type: loc
    Add:
    - Cmds:
      - ChangeCharacterEnableState(16005800, 1)
      - SetCharacterAnimationState(16005800, 1)
      After: Label0()
    Removes:
    - ForceCharacterDeath(16005800, 0)
  - Type: segment
    Entity: 16000800
    Segments:
    - Type: dead
      IgnoreMatch: true
      Start: GotoIfEventFlag(0, 0, 0, 16000800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(16000800, 0)
      - SetCharacterAnimationState(16000800, 0)
      - ForceCharacterDeath(16000800, 0)
  - Type: segment
    Entity: 16000801
    Segments:
    - Type: dead
      IgnoreMatch: true
      Start: GotoIfEventFlag(0, 0, 0, 16000800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(16000801, 0)
      - SetCharacterAnimationState(16000801, 0)
      - ForceCharacterDeath(16000801, 0)
    - Type: setup
      IgnoreMatch: true
      Start: Label0()
      End: Label2()
      Commands:
      - ChangeCharacterEnableState(16000801, 1)
      - SetCharacterAnimationState(16000801, 1)
      - SetCharacterAIState(16000801, 0)
    - Type: start
      Start: Label2()
      EncounterOnly:
      - c2004_8(10000, 1908)
      - c2003_66(0, 16002697, 1)
      Commands:
      - c2004_8(10000, 1908)
      - SetCharacterAIState(16000801, 1)
      - c2004_34(16000801, 1)
      - DisplayBossHealthBar(1, 16000801, 0, 904710000)
      - c2004_50(16000801, 220, 1)
      - c2004_50(16000801, 221, 0)
      - c2003_18(16000801, 20002, 0, 1065353216)
      - c2003_66(0, 16002697, 1)
- ID: 16002811
  Map: m16_00_00_00
  Template:
  - Type: segment
    Entity: 16000800
    Segments:
    - Type: setup
      Commands:
      - c2004_8(16000800, 11901)
      - ChangeCharacterEnableState(16000800, 1)
      - SetCharacterAIState(16000800, 0)
    - Type: start
      PreSegment: setup
      Start: c2004_42(16000800, 1, 16002831, 0, 16000801)
      EncounterOnly:
      - c2004_8(10000, 1908)
      Commands:
      - SetCharacterAnimationState(16000800, 1)
      - c2004_34(16000800, 1)
      - SetCharacterAIState(16000800, 1)
      - DisplayBossHealthBar(1, 16000800, 0, 904710001)
      - c2004_50(16000800, 220, 0)
      - c2004_50(16000800, 221, 1)
      - c2003_66(0, 16002697, 1)
      - c2003_18(16000800, 20002, 256, 1065353216)
      - c2004_8(10000, 1908)
  - Type: segment
    Entity: 16000801
    Segments:
    - Type: remove
      Commands:
      - ChangeCharacterEnableState(16000801, 0)
      - SetCharacterAnimationState(16000801, 0)
    - Type: endphase
      Commands:
      - c4_2(1, 16000801, 5, 1008981770, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - c2003_18(16000801, 20001, 0, 1065353216)
      - c3_26(2)
      - IfCharacterDeadalive(2, 10000, 0, 0, 1)
      - IfCharacterHasSpEffect(2, 16000801, 11920, 1, 0, 1)
      - IfConditionGroup(0, 1, 2)
      - c2003_18(16000801, 30001, 1, 1065353216)
      - c2004_21(16000801, 11943)
      - c2004_21(16000801, 11948)
      - ForceCharacterDeath(16000801, 0)
      - IfCharacterDeadalive(0, 16000801, 1, 0, 1)
      - c2004_21(10000, 1908)
  - Type: chrbasic
    Entity: 16000801
    NewEvent:
    - c4_2(0, 16000801, 5, 1008981770, 0, 1065353216)
    - ForceCharacterDeath(16000801, 1)
- ID: 16002812
  Map: m16_00_00_00
  Template:
  - Type: chr
    Entity: 16000800
    DefeatFlag: 16000800
- ID: 16002822
  Map: m16_00_00_00
  Template:
  - Type: chr
    Entity: 16000800
    Removes:
    - c2006_2(16002810)
- ID: 16002824
  Map: m16_00_00_00
  Template:
  - Type: chr
    Entity: 16000800
    Removes:
    - c2006_2(16002811)
    - c2006_1(16002810, 1)
- ID: 16002826
  Map: m16_00_00_00
  Template:
  - Type: chr
    Entity: 16000800
    Removes:
    - c2006_2(16002812)
    - c2006_1(16002811, 1)
- ID: 16002830
  Map: m16_00_00_00
  Template:
  - Type: chr
    Entity: 16000800
    DefeatFlag: 16000800
    Removes:
    - c2006_2(16002813)
    - c2003_5(16000800, 16001800, 100, 247100510, 0, 0, 0)
    - c2003_5(16000800, 16001800, 100, 247100810, 0, 0, 0)
    - c2003_5(16000800, 16001800, 100, 247100820, 0, 0, 0)
    - c2003_5(16000800, 16001800, 100, 247100830, 0, 0, 0)
- ID: 16002832
  Map: m16_00_00_00
  Template:
  - Type: chr
    Entity: 16000800
    Removes:
    - c2006_1(16002810, 1)
    - c2006_1(16002811, 1)
    - c2006_1(16002812, 1)
    - c2006_1(16002813, 1)
- ID: 16002840
  Map: m16_00_00_00
  Template:
  - Type: chrboss
    Entity: 16000800
    DefeatFlag: 16000800
    Add:
    - Cmds:
      - IfCharacterAIState(1, 16000800, 3, 0, 1)
      - IfEntityInoutsideRadiusOfEntity(1, 1, 16000800, 10000, 50, 1)
      Before: c1000_101(65793)
    - Cmd: c2004_21(10000, 1908)
      Before: GotoUnconditionally(0)
    Removes:
    - IfInoutsideArea(1, 1, 10000, 16002164, 1)
  - Type: chrboss
    Entity: 16000801
    DefeatFlag: 16000800
    Add:
    - Cmds:
      - IfCharacterAIState(1, 16000801, 3, 0, 1)
      - IfEntityInoutsideRadiusOfEntity(1, 1, 16000801, 10000, 50, 1)
      Before: c1000_101(65793)
    - Cmd: c2004_21(10000, 1908)
      Before: GotoUnconditionally(0)
    Removes:
    - IfInoutsideArea(1, 1, 10000, 16002164, 1)
- ID: 16002842
  Map: m16_00_00_00
  Template:
  - Type: chr
    Entity: 16000800
    ArgEntities: X0
    DefeatFlag: 16000800
- ID: 16002850
  Map: m16_00_00_00
  Template:
  - Type: segment
    Entity: 16000850
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 16000850, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(16008000, 5, 888880000)
      - IfCharacterDeadalive(0, 16000850, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(16000850, 17)
- ID: 16002855
  Map: m16_00_00_00
  Template:
  - Type: segment
    Entity: 16000850
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 16000850)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(16000850, 0)
      - SetCharacterAnimationState(16000850, 0)
      - ForceCharacterDeath(16000850, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 16000851)
      Commands:
      - SetCharacterAIState(16000850, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 16000851)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(16000850, 0)
      - SetCharacterAnimationState(16000850, 0)
      - c2003_18(16000850, 30001, 1, 1065353216)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - ChangeCharacterEnableState(16000850, 1)
      - SetCharacterAnimationState(16000850, 1)
      - SetCharacterAIState(16000850, 1)
      - c2003_18(16000850, 20001, 256, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(16000850, 1)
      - SetCharacterAnimationState(16000850, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(16000850, 1)
      - c2004_34(16000850, 1)
      - DisplayBossHealthBar(1, 16000850, 0, 903570000)
- ID: 16002860
  Map: m16_00_00_00
  Template:
  - Type: segment
    Entity: 16000860
    Segments:
    - Type: end
      Commands:
      - IfCharacterDeadalive(1, 16000860, 1, 0, 1)
      - IfCharacterDeadalive(1, 16000861, 1, 0, 1)
      - IfConditionGroup(0, 1, 1)
      - HandleBossDefeatAndDisplayBanner(16000860, 18)
      - DisplayBossHealthBar(0, 16000861, 1, 904470001)
- ID: 16002865
  Map: m16_00_00_00
  Template:
  - Type: segment
    Entity: 16000860
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 16000860)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(16000860, 0)
      - SetCharacterAnimationState(16000860, 0)
      - ForceCharacterDeath(16000860, 0)
      - ChangeCharacterEnableState(16000861, 0)
      - SetCharacterAnimationState(16000861, 0)
      - ForceCharacterDeath(16000861, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(16000860, 0)
      - ChangeCharacterEnableState(16000860, 1)
      - SetCharacterAnimationState(16000860, 1)
      - ChangeCharacterEnableState(16000861, 1)
      - SetCharacterAnimationState(16000861, 1)
      - SetCharacterAIState(16000861, 0)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(16000860, 1)
      - SetCharacterAIState(16000861, 1)
      - c2004_34(16000860, 1)
      - c2004_34(16000861, 1)
      - DisplayBossHealthBar(1, 16000860, 0, 904470000)
      - DisplayBossHealthBar(1, 16000861, 1, 904470001)
- ID: 18002800
  Map: m18_00_00_00
  Template:
  - Type: segment
    Entity: 18000800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 18000800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(18000800, 5, 888880000)
      - IfCharacterDeadalive(0, 18000800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(18000800, 18)
- ID: 18002810
  Map: m18_00_00_00
  Template:
  - Type: segment
    Entity: 18000800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 18000800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(18000800, 0)
      - SetCharacterAnimationState(18000800, 0)
      - ForceCharacterDeath(18000800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(18000800, 0)
      - ChangeCharacterEnableState(18000800, 1)
      - SetCharacterAnimationState(18000800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(18000800, 1)
      - c2004_34(18000800, 1)
      - DisplayBossHealthBar(1, 18000800, 0, 904640000)
- ID: 18002850
  Map: m18_00_00_00
  Template:
  - Type: segment
    Entity: 18000850
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 18000850, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(18000850, 5, 888880000)
      - IfCharacterDeadalive(0, 18000850, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(18000850, 18)
- ID: 18002860
  Map: m18_00_00_00
  Template:
  - Type: segment
    Entity: 18000850
    Add:
    - Cmd: c2003_66(0, 71801, 1)
      After: Label2()
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 18000850)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(18000850, 0)
      - SetCharacterAnimationState(18000850, 0)
      - ForceCharacterDeath(18000850, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(18000850, 0)
      - ChangeCharacterEnableState(18000850, 1)
      - SetCharacterAnimationState(18000850, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(18000850, 1)
      - c2004_34(18000850, 1)
      - DisplayBossHealthBar(1, 18000850, 0, 904311000)
  - Type: copy
    NewEvent:
    - IfEventFlag(0, 1, 0, 71800)
    - c2003_66(0, 71801, 1)
- ID: 19002800
  Map: m19_00_00_00
  Template:
  - Type: segment
    Entity: 19000800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 19000800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(19008000, 5, 888880000)
      - c2008_1(-1, -1)
      - IfCharacterDeadalive(0, 19000800, 1, 0, 1)
      - WaitFixedTimeSeconds(4.5)
      - HandleBossDefeatAndDisplayBanner(19000800, 27)
- ID: 19002810
  Map: m19_00_00_00
  Template:
  - Type: loc
    Add:
    - Cmds:
      - ChangeCharacterEnableState(19005800, 1)
      - SetCharacterAnimationState(19005800, 1)
      After: Label0()
    Removes:
    - ForceCharacterDeath(19005800, 0)
  - Type: segment
    Entity: 19000800
    Segments:
    - Type: dead
      IgnoreMatch: true
      Start: GotoIfEventFlag(0, 0, 0, 19000800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(19000800, 0)
      - SetCharacterAnimationState(19000800, 0)
      - ForceCharacterDeath(19000800, 0)
  - Type: segment
    Entity: 19000810
    Segments:
    - Type: dead
      IgnoreMatch: true
      Start: GotoIfEventFlag(0, 0, 0, 19000800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(19000810, 0)
      - SetCharacterAnimationState(19000810, 0)
      - ForceCharacterDeath(19000810, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(19000810, 0)
      - ChangeCharacterEnableState(19000810, 0)
      - SetCharacterAnimationState(19000810, 0)
    - Type: start
      Start: Label2()
      Commands:
      - ChangeCharacterEnableState(19000810, 1)
      - SetCharacterAnimationState(19000810, 1)
      - c2003_18(19000810, 20010, 0, 1065353216)
      - SetCharacterAIState(19000810, 1)
      - c2004_34(19000810, 1)
      - DisplayBossHealthBar(1, 19000810, 0, 902190000)
- ID: 19002811
  Map: m19_00_00_00
  Template:
  - Type: segment
    Entity: 19000810
    Segments:
    - Type: remove
      Commands:
      - WaitFixedTimeSeconds(3)
    - Type: endphase
      Commands:
      - IfCharacterDeadalive(1, 19000810, 1, 0, 1)
      - IfConditionGroup(0, 1, 1)
- ID: 19002812
  Map: m19_00_00_00
  Template:
  - Type: segment
    Entity: 19000800
    Segments:
    - Type: setup
      Commands:
      - ChangeCharacterEnableState(19000800, 1)
      - SetCharacterAnimationState(19000800, 1)
      - SetCharacterAIState(19000800, 0)
    - Type: start
      EncounterOnly:
      - c2008_1(2200, 2200)
      Commands:
      - c2003_18(19000800, 20000, 0, 1065353216)
      - SetCharacterAIState(19000800, 1)
      - DisplayBossHealthBar(1, 19000800, 0, 902200000)
      - c2008_1(2200, 2200)
- ID: 19002822
  Map: m19_00_00_00
  Template:
  - Type: remove
    Entity: 19000800
- ID: 19002830
  Map: m19_00_00_00
  Template:
  - Type: chrboss
    Entity: 19000800
    DefeatFlag: 19000800
- ID: 30002800
  Map: m30_00_00_00
  Template:
  - Type: segment
    Entity: 30000800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30000800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30008000, 5, 888880000)
      - IfCharacterDeadalive(0, 30000800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30000800, 18)
- ID: 30002810
  Map: m30_00_00_00
  Template:
  - Type: segment
    Entity: 30000800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30000800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30005800, 0)
      - SetCharacterAnimationState(30005800, 0)
      - ForceCharacterDeath(30005800, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(30005800, 0)
      - ChangeCharacterEnableState(30005800, 1)
      - SetCharacterAnimationState(30005800, 1)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(30005800, 1)
      - c2004_34(30005800, 1)
      - DisplayBossHealthBar(1, 30000800, 0, 903664300)
- ID: 30002811
  Map: m30_00_00_00
  Template:
  - Type: chr
    Entity: 30000800
    DefeatFlag: 30000800
    MusicFlag: 30002802
- ID: 30012800
  Map: m30_01_00_00
  Template:
  - Type: segment
    Entity: 30010800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30010800, 5, 0, 0, 1065353216)
      - ForceCharacterDeath(30015800, 0)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30010800, 5, 888880000)
      - IfCharacterDeadalive(0, 30010800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30010800, 18)
- ID: 30012810
  Map: m30_01_00_00
  Template:
  - Type: segment
    Entity: 30010800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30010800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30015800, 0)
      - SetCharacterAnimationState(30015800, 0)
      - ForceCharacterDeath(30015800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(30010800, 0)
      - SetCharacterAIState(30015800, 0)
      - ChangeCharacterEnableState(30015800, 1)
      - SetCharacterAnimationState(30015800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(30010800, 1)
      - c2004_34(30010800, 1)
      - DisplayBossHealthBar(1, 30010800, 0, 904260301)
- ID: 30012811
  Map: m30_01_00_00
  Template:
  - Type: multichr
    Entity: 30010800
    DefeatFlag: 30010800
    MusicFlag: 30012802
- ID: 30022800
  Map: m30_02_00_00
  Template:
  - Type: segment
    Entity: 30020800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30020800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30020800, 5, 888880000)
      - IfCharacterDeadalive(0, 30020800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30020800, 18)
- ID: 30022810
  Map: m30_02_00_00
  Template:
  - Type: segment
    Entity: 30020800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30020800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30020800, 0)
      - SetCharacterAnimationState(30020800, 0)
      - ForceCharacterDeath(30020800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(30020800, 0)
      - ChangeCharacterEnableState(30020800, 1)
      - SetCharacterAnimationState(30020800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(30020800, 1)
      - c2004_34(30020800, 1)
      - DisplayBossHealthBar(1, 30020800, 0, 904260301)
- ID: 30022811
  Map: m30_02_00_00
  Template:
  - Type: chr
    Entity: 30020800
    DefeatFlag: 30020800
    MusicFlag: 30022802
- ID: 30032800
  Map: m30_03_00_00
  Template:
  - Type: segment
    Entity: 30030800
    Segments:
    - Type: end
      Regions:
      - event chrgen 30033801 30033802 30033803 30033804 30033805 30033806
      Commands:
      - c4_14(0, 30030800, 5, 0, 0, 1065353216)
      - ForceCharacterDeath(30030801, 0)
      - ForceCharacterDeath(30030802, 0)
      - ForceCharacterDeath(30030803, 0)
      - ForceCharacterDeath(30030804, 0)
      - ForceCharacterDeath(30030805, 0)
      - ForceCharacterDeath(30030806, 0)
      - ForceCharacterDeath(30030807, 0)
      - ForceCharacterDeath(30030808, 0)
      - ForceCharacterDeath(30030809, 0)
      - ForceCharacterDeath(30030810, 0)
      - DeactivateGenerator(30033801, 0)
      - DeactivateGenerator(30033802, 0)
      - DeactivateGenerator(30033803, 0)
      - DeactivateGenerator(30033804, 0)
      - DeactivateGenerator(30033805, 0)
      - DeactivateGenerator(30033806, 0)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30030800, 5, 888880000)
      - IfCharacterDeadalive(0, 30030800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30030800, 18)
- ID: 30032810
  Map: m30_03_00_00
  Template:
  - Type: segment
    Entity: 30030800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30030800)
      End: c1000_4(0)
      Regions:
      - event chrgen 30033801 30033802 30033803 30033804 30033805 30033806
      Commands:
      - ChangeCharacterEnableState(30030800, 0)
      - SetCharacterAnimationState(30030800, 0)
      - ForceCharacterDeath(30030800, 0)
      - ForceCharacterDeath(30030801, 0)
      - DeactivateGenerator(30033801, 0)
      - DeactivateGenerator(30033802, 0)
      - DeactivateGenerator(30033803, 0)
      - DeactivateGenerator(30033804, 0)
      - DeactivateGenerator(30033805, 0)
      - DeactivateGenerator(30033806, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 2)
      Regions:
      - event chrgen 30033801 30033802 30033803 30033804 30033805 30033806
      Commands:
      - SetCharacterAIState(30030800, 0)
      - ChangeCharacterEnableState(30030800, 1)
      - SetCharacterAnimationState(30030800, 1)
      - DeactivateGenerator(30033801, 1)
      - DeactivateGenerator(30033802, 1)
      - DeactivateGenerator(30033803, 1)
      - DeactivateGenerator(30033804, 1)
      - DeactivateGenerator(30033805, 1)
      - DeactivateGenerator(30033806, 1)
      - c2003_18(30030800, 30013, 0, 1065353216)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      Regions:
      - event chrgen 30033801
      Commands:
      - SetCharacterAIState(30030800, 1)
      - c2004_34(30030800, 1)
      - DisplayBossHealthBar(1, 30030800, 0, 904140300)
      - c1003_13(257)
      - c2003_63(30032822, 30032839, 0)
      - c2003_69(0, 30032822, 1)
      - c2003_69(0, 30032839, 1)
      - WaitFixedTimeSeconds(1.2)
      - c2003_66(0, 30032812, 1)
      - c2003_54(30033801)
      - c2003_69(0, 30032882, 1)
      - c2003_18(30030800, 20013, 0, 1065353216)
      - Label1()
- ID: 30032821
  Map: m30_03_00_00
  Template:
  - Type: multichr
    Entity: 30030800
    DefeatFlag: 30030800
- ID: 30032838
  Map: m30_03_00_00
  Template:
  - Type: multichr
    Entity: 30030800
    DefeatFlag: 30030800
    Regions:
    - event chrpoint 30032823 30032824 30032825 30032826 30032827 30032828 30032829 30032830 30032831 30032832 30032833 30032834
- ID: 30032845
  Map: m30_03_00_00
  Template:
  - Type: multichr
    Entity: 30030800
    DefeatFlag: 30030800
- ID: 30032870
  Map: m30_03_00_00
  Template:
  - Type: multichr
    Entity: 30030800
    ArgEntities: X0
    DefeatFlag: 30030800
- ID: 30032871
  Map: m30_03_00_00
  Template:
  - Type: multichr
    Entity: 30030800
    ArgEntities: X0
    DefeatFlag: 30030800
- ID: 30032890
  Map: m30_03_00_00
  Template:
  - Type: multichronly
    Entity: 30030800
    DefeatFlag: 30030800
    StartFlag: 30032805
    MusicFlag: 30032860
    Regions:
    - event chrgen 30033801 30033802 30033803 30033804 30033805 30033806
- ID: 30042800
  Map: m30_04_00_00
  Template:
  - Type: segment
    Entity: 30040800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30040800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30040800, 5, 888880000)
      - IfCharacterDeadalive(0, 30040800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30040800, 18)
- ID: 30042810
  Map: m30_04_00_00
  Template:
  - Type: segment
    Entity: 30040800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30040800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30040800, 0)
      - SetCharacterAnimationState(30040800, 0)
      - ForceCharacterDeath(30040800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(30040800, 0)
      - ChangeCharacterEnableState(30040800, 1)
      - SetCharacterAnimationState(30040800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(30040800, 1)
      - c2004_34(30040800, 1)
      - DisplayBossHealthBar(1, 30040800, 0, 903400300)
- ID: 30042811
  Map: m30_04_00_00
  Template:
  - Type: chr
    Entity: 30040800
    DefeatFlag: 30040800
    MusicFlag: 30042802
- ID: 30052800
  Map: m30_05_00_00
  Template:
  - Type: segment
    Entity: 30050800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30050800, 5, 0, 0, 1065353216)
      - ForceCharacterDeath(30055800, 0)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30050800, 5, 888880000)
      - IfCharacterDeadalive(0, 30050800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30050800, 18)
      - ForceCharacterDeath(30050816, 0)
      - ForceCharacterDeath(30050815, 0)
      - ForceCharacterDeath(30050817, 0)
- ID: 30052810
  Map: m30_05_00_00
  Template:
  - Type: segment
    Entity: 30050800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30050800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30055800, 0)
      - SetCharacterAnimationState(30055800, 0)
      - ForceCharacterDeath(30055800, 0)
      - ForceCharacterDeath(30050816, 0)
      - ForceCharacterDeath(30050815, 0)
      - ForceCharacterDeath(30050817, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(30050800, 0)
      - SetCharacterAIState(30055800, 0)
      - ChangeCharacterEnableState(30055800, 1)
      - SetCharacterAnimationState(30055800, 1)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(30050800, 1)
      - SetCharacterAIState(30055800, 1)
      - c2004_34(30050800, 1)
      - DisplayBossHealthBar(1, 30050800, 0, 903664301)
- ID: 30052811
  Map: m30_05_00_00
  Template:
  - Type: multichr
    Entity: 30050800
    DefeatFlag: 30050800
    MusicFlag: 30052802
- ID: 30052850
  Map: m30_05_00_00
  Template:
  - Type: segment
    Entity: 30050850
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30050850, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30050850, 5, 888880000)
      - IfCharacterDeadalive(0, 30050850, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30050850, 18)
- ID: 30052860
  Map: m30_05_00_00
  Template:
  - Type: segment
    Entity: 30050850
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30050850)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30050850, 0)
      - SetCharacterAnimationState(30050850, 0)
      - ForceCharacterDeath(30050850, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(30050850, 0)
      - ChangeCharacterEnableState(30050850, 1)
      - SetCharacterAnimationState(30050850, 1)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(30050850, 1)
      - c2004_34(30050850, 1)
      - DisplayBossHealthBar(1, 30050850, 0, 902100301)
- ID: 30052861
  Map: m30_05_00_00
  Template:
  - Type: chr
    Entity: 30050850
    DefeatFlag: 30050850
    MusicFlag: 30052852
- ID: 30062800
  Map: m30_06_00_00
  Template:
  - Type: segment
    Entity: 30060800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30060800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30060800, 5, 888880000)
      - IfCharacterDeadalive(0, 30060800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30060800, 18)
- ID: 30062810
  Map: m30_06_00_00
  Template:
  - Type: segment
    Entity: 30060800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30060800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30060800, 0)
      - SetCharacterAnimationState(30060800, 0)
      - ForceCharacterDeath(30060800, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(30060800, 0)
      - ChangeCharacterEnableState(30060800, 1)
      - SetCharacterAnimationState(30060800, 1)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(30060800, 1)
      - c2004_34(30060800, 1)
      - DisplayBossHealthBar(1, 30060800, 0, 904260302)
- ID: 30062811
  Map: m30_06_00_00
  Template:
  - Type: chr
    Entity: 30060800
    DefeatFlag: 30060800
    MusicFlag: 30062802
- ID: 30072800
  Map: m30_07_00_00
  Template:
  - Type: segment
    Entity: 30070800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30070800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30070800, 5, 888880000)
      - IfCharacterDeadalive(0, 30070800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30070800, 17)
- ID: 30072810
  Map: m30_07_00_00
  Template:
  - Type: segment
    Entity: 30070800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30070800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30070800, 0)
      - SetCharacterAnimationState(30070800, 0)
      - ForceCharacterDeath(30070800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(30070800, 0)
      - ChangeCharacterEnableState(30070800, 1)
      - SetCharacterAnimationState(30070800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(30070800, 1)
      - c2004_34(30070800, 1)
      - DisplayBossHealthBar(1, 30070800, 0, 904260303)
- ID: 30082800
  Map: m30_08_00_00
  Template:
  - Type: segment
    Entity: 30080800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30080800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30080800, 5, 888880000)
      - IfCharacterDeadalive(0, 30080800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30080800, 18)
- ID: 30082810
  Map: m30_08_00_00
  Template:
  - Type: segment
    Entity: 30080800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30080800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30080800, 0)
      - SetCharacterAnimationState(30080800, 0)
      - ForceCharacterDeath(30080800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(30080800, 0)
      - ChangeCharacterEnableState(30080800, 1)
      - SetCharacterAnimationState(30080800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(30080800, 1)
      - c2004_34(30080800, 1)
      - DisplayBossHealthBar(1, 30080800, 0, 907100300)
- ID: 30082811
  Map: m30_08_00_00
  Template:
  - Type: chr
    Entity: 30080800
    DefeatFlag: 30080800
    MusicFlag: 30082802
- ID: 30092800
  Map: m30_09_00_00
  Template:
  - Type: segment
    Entity: 30090800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30090800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30090800, 5, 888880000)
      - IfCharacterDeadalive(0, 30090800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30090800, 18)
- ID: 30092810
  Map: m30_09_00_00
  Template:
  - Type: segment
    Entity: 30090800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30090800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30090800, 0)
      - SetCharacterAnimationState(30090800, 0)
      - ForceCharacterDeath(30090800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(30090800, 0)
      - ChangeCharacterEnableState(30090800, 1)
      - SetCharacterAnimationState(30090800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(30090800, 1)
      - c2004_34(30090800, 1)
      - DisplayBossHealthBar(1, 30090800, 0, 903181300)
- ID: 30092811
  Map: m30_09_00_00
  Template:
  - Type: chr
    Entity: 30090800
    DefeatFlag: 30090800
    MusicFlag: 30092802
- ID: 30102800
  Map: m30_10_00_00
  Template:
  - Type: segment
    Entity: 30100800
    Segments:
    - Type: end
      Commands:
      - c4_14(1, 30100800, 5, 0, 0, 1065353216)
      - c4_14(1, 30100801, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30100800, 5, 888880000)
      - IfCharacterDeadalive(2, 30100800, 1, 0, 1)
      - IfCharacterDeadalive(2, 30100801, 1, 0, 1)
      - IfConditionGroup(0, 1, 2)
      - HandleBossDefeatAndDisplayBanner(30100800, 18)
      - DisplayBossHealthBar(0, 30100801, 1, 902500301)
- ID: 30102810
  Map: m30_10_00_00
  Template:
  - Type: segment
    Entity: 30100800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30100800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30100800, 0)
      - SetCharacterAnimationState(30100800, 0)
      - ForceCharacterDeath(30100800, 0)
      - ChangeCharacterEnableState(30100801, 0)
      - SetCharacterAnimationState(30100801, 0)
      - ForceCharacterDeath(30100801, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(30100800, 0)
      - ChangeCharacterEnableState(30100800, 1)
      - SetCharacterAnimationState(30100800, 1)
      - ChangeCharacterEnableState(30100801, 1)
      - SetCharacterAnimationState(30100801, 1)
      - SetCharacterAIState(30100801, 0)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(30100800, 1)
      - c2004_34(30100800, 1)
      - DisplayBossHealthBar(1, 30100800, 0, 902500300)
      - SetCharacterAIState(30100801, 1)
      - c2004_34(30100801, 1)
      - DisplayBossHealthBar(1, 30100801, 1, 902500301)
- ID: 30102811
  Map: m30_10_00_00
  Template:
  - Type: multichr
    Entity: 30100800
    DefeatFlag: 30100800
    MusicFlag: 30102802
- ID: 30112800
  Map: m30_11_00_00
  Template:
  - Type: segment
    Entity: 30110800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30110800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30110800, 5, 888880000)
      - IfCharacterDeadalive(0, 30110800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30110800, 18)
- ID: 30112810
  Map: m30_11_00_00
  Template:
  - Type: segment
    Entity: 30110800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30110800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30110800, 0)
      - SetCharacterAnimationState(30110800, 0)
      - ForceCharacterDeath(30110800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(30110800, 0)
      - ChangeCharacterEnableState(30110800, 1)
      - SetCharacterAnimationState(30110800, 1)
      - c2004_30(30110800, 0)
      - c2003_18(30110800, 30000, 0, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(30110800, 1)
      - c2004_34(30110800, 1)
      - c2004_8(30110800, 4404)
      - WaitFixedTimeSeconds(1)
      - DisplayBossHealthBar(1, 30110800, 0, 902100300)
      - WaitFixedTimeSeconds(0.7)
      - c2003_18(30110800, 20000, 0, 1065353216)
- ID: 30112811
  Map: m30_11_00_00
  Template:
  - Type: chr
    Entity: 30110800
    DefeatFlag: 30110800
    MusicFlag: 30112802
- ID: 30122800
  Map: m30_12_00_00
  Template:
  - Type: segment
    Entity: 30120800
    Segments:
    - Type: remove
      Commands:
      - PlaySE(30100800, 5, 888880000)
    - Type: end
      Commands:
      - c4_14(1, 30120800, 5, 0, 0, 1065353216)
      - c4_14(1, 30120801, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30120800, 5, 888880000)
      - IfCharacterDeadalive(2, 30120800, 1, 0, 1)
      - IfCharacterDeadalive(2, 30120801, 1, 0, 1)
      - IfConditionGroup(0, 1, 2)
      - HandleBossDefeatAndDisplayBanner(30120800, 18)
      - DisplayBossHealthBar(0, 30120801, 1, 903700300)
- ID: 30122810
  Map: m30_12_00_00
  Template:
  - Type: segment
    Entity: 30120800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30120800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30120800, 0)
      - SetCharacterAnimationState(30120800, 0)
      - ForceCharacterDeath(30120800, 0)
      - ChangeCharacterEnableState(30120801, 0)
      - SetCharacterAnimationState(30120801, 0)
      - ForceCharacterDeath(30120801, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(30120800, 0)
      - ChangeCharacterEnableState(30120800, 1)
      - SetCharacterAnimationState(30120800, 1)
      - ChangeCharacterEnableState(30120801, 1)
      - SetCharacterAnimationState(30120801, 1)
      - SetCharacterAIState(30120801, 0)
      - c2003_18(30120800, 30001, 1, 1065353216)
      - c2003_18(30120800, 20001, 0, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(30120800, 1)
      - c2004_34(30120800, 1)
      - DisplayBossHealthBar(1, 30120800, 0, 903460300)
      - SetCharacterAIState(30120801, 1)
      - c2004_34(30120801, 1)
      - DisplayBossHealthBar(1, 30120801, 1, 903700300)
- ID: 30122811
  Map: m30_12_00_00
  Template:
  - Type: multichr
    Entity: 30120800
    DefeatFlag: 30120800
    MusicFlag: 30122802
- ID: 30132800
  Map: m30_13_00_00
  Template:
  - Type: segment
    Entity: 30130800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30130800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30130800, 5, 888880000)
      - IfCharacterDeadalive(0, 30130800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30130800, 18)
      - ForceCharacterDeath(30130292, 1)
      - ForceCharacterDeath(30130293, 1)
      - ForceCharacterDeath(30130298, 1)
      - ForceCharacterDeath(30130299, 1)
- ID: 30132810
  Map: m30_13_00_00
  Template:
  - Type: segment
    Entity: 30130800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30130800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30130800, 0)
      - SetCharacterAnimationState(30130800, 0)
      - ForceCharacterDeath(30130800, 0)
      - ChangeCharacterEnableState(30130292, 0)
      - SetCharacterAnimationState(30130292, 0)
      - ForceCharacterDeath(30130292, 0)
      - ChangeCharacterEnableState(30130293, 0)
      - SetCharacterAnimationState(30130293, 0)
      - ForceCharacterDeath(30130293, 0)
      - ChangeCharacterEnableState(30130298, 0)
      - SetCharacterAnimationState(30130298, 0)
      - ForceCharacterDeath(30130298, 0)
      - ChangeCharacterEnableState(30130299, 0)
      - SetCharacterAnimationState(30130299, 0)
      - ForceCharacterDeath(30130299, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(30130800, 0)
      - SetCharacterAIState(30130292, 0)
      - SetCharacterAIState(30130293, 0)
      - SetCharacterAIState(30130298, 0)
      - SetCharacterAIState(30130299, 0)
      - ChangeCharacterEnableState(30130800, 1)
      - SetCharacterAnimationState(30130800, 1)
      - ChangeCharacterEnableState(30130292, 1)
      - SetCharacterAnimationState(30130292, 1)
      - ChangeCharacterEnableState(30130293, 1)
      - SetCharacterAnimationState(30130293, 1)
      - ChangeCharacterEnableState(30130298, 1)
      - SetCharacterAnimationState(30130298, 1)
      - ChangeCharacterEnableState(30130299, 1)
      - SetCharacterAnimationState(30130299, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(30130800, 1)
      - SetCharacterAIState(30130292, 1)
      - SetCharacterAIState(30130293, 1)
      - SetCharacterAIState(30130298, 1)
      - SetCharacterAIState(30130299, 1)
      - c2004_34(30130800, 1)
      - DisplayBossHealthBar(1, 30130800, 0, 903400301)
- ID: 30132811
  Map: m30_13_00_00
  Template:
  - Type: multichr
    Entity: 30130800
    DefeatFlag: 30130800
    MusicFlag: 30132802
- ID: 30142800
  Map: m30_14_00_00
  Template:
  - Type: segment
    Entity: 30140800
    Segments:
    - Type: end
      Commands:
      - c4_14(1, 30140800, 5, 0, 0, 1065353216)
      - c4_14(1, 30140801, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30140800, 5, 888880000)
      - IfCharacterDeadalive(2, 30140800, 1, 0, 1)
      - IfCharacterDeadalive(2, 30140801, 1, 0, 1)
      - IfConditionGroup(0, 1, 2)
      - HandleBossDefeatAndDisplayBanner(30140800, 18)
      - DisplayBossHealthBar(0, 30140801, 1, 904260305)
- ID: 30142801
  Map: m30_14_00_00
  Template:
  - Type: segment
    Entity: 30140800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30140800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30140800, 0)
      - SetCharacterAnimationState(30140800, 0)
      - ForceCharacterDeath(30140800, 0)
      - ChangeCharacterEnableState(30140801, 0)
      - SetCharacterAnimationState(30140801, 0)
      - ForceCharacterDeath(30140801, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(30140800, 0)
      - ChangeCharacterEnableState(30140800, 1)
      - SetCharacterAnimationState(30140800, 1)
      - ChangeCharacterEnableState(30140801, 1)
      - SetCharacterAnimationState(30140801, 1)
      - SetCharacterAIState(30140801, 0)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(30140800, 1)
      - c2004_34(30140800, 1)
      - DisplayBossHealthBar(1, 30140800, 0, 904260304)
      - SetCharacterAIState(30140801, 1)
      - c2004_34(30140801, 1)
      - DisplayBossHealthBar(1, 30140801, 1, 904260305)
- ID: 30142811
  Map: m30_14_00_00
  Template:
  - Type: multichr
    Entity: 30140800
    DefeatFlag: 30140800
    MusicFlag: 30142802
- ID: 30152800
  Map: m30_15_00_00
  Template:
  - Type: segment
    Entity: 30150800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30150800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30150800, 5, 888880000)
      - IfCharacterDeadalive(0, 30150800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30150800, 18)
- ID: 30152810
  Map: m30_15_00_00
  Template:
  - Type: segment
    Entity: 30150800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30150800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30150800, 0)
      - SetCharacterAnimationState(30150800, 0)
      - ForceCharacterDeath(30150800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(30150800, 0)
      - ChangeCharacterEnableState(30150800, 1)
      - SetCharacterAnimationState(30150800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - c2004_34(30150800, 1)
      - DisplayBossHealthBar(1, 30150800, 0, 903664301)
      - WaitFixedTimeSeconds(0.5)
      - SetCharacterAIState(30150800, 1)
- ID: 30152811
  Map: m30_15_00_00
  Template:
  - Type: chr
    Entity: 30150800
    DefeatFlag: 30150800
    MusicFlag: 30152802
- ID: 30162800
  Map: m30_16_00_00
  Template:
  - Type: segment
    Entity: 30160800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30160800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30160800, 5, 888880000)
      - IfCharacterDeadalive(0, 30160800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30160800, 18)
- ID: 30162810
  Map: m30_16_00_00
  Template:
  - Type: segment
    Entity: 30160800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30160800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30160800, 0)
      - SetCharacterAnimationState(30160800, 0)
      - ForceCharacterDeath(30160800, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(30160800, 0)
      - ChangeCharacterEnableState(30160800, 1)
      - SetCharacterAnimationState(30160800, 1)
      - c2004_30(30160800, 0)
      - c2003_18(30160800, 30002, 1, 1065353216)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      Commands:
      - c2003_18(30160800, 20002, 0, 1065353216)
      - SetCharacterAIState(30160800, 1)
      - c2004_34(30160800, 1)
      - WaitFixedTimeSeconds(4.3)
      - DisplayBossHealthBar(1, 30160800, 0, 904640300)
- ID: 30162811
  Map: m30_16_00_00
  Template:
  - Type: chr
    Entity: 30160800
    DefeatFlag: 30160800
    MusicFlag: 30162802
- ID: 30122811
  Map: m30_17_00_00
  Template:
  - Type: chr
    Entity: 30170800
    DefeatFlag: 30170800
    MusicFlag: 30172802
- ID: 30172800
  Map: m30_17_00_00
  Template:
  - Type: segment
    Entity: 30170800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30170800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30170800, 5, 888880000)
      - IfCharacterDeadalive(0, 30170800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30170800, 18)
- ID: 30172810
  Map: m30_17_00_00
  Template:
  - Type: segment
    Entity: 30170800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30170800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30170800, 0)
      - SetCharacterAnimationState(30170800, 0)
      - ForceCharacterDeath(30170800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(30170800, 0)
      - ChangeCharacterEnableState(30170800, 1)
      - SetCharacterAnimationState(30170800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(30170800, 1)
      - c2004_34(30170800, 1)
      - DisplayBossHealthBar(1, 30170800, 0, 907100301)
- ID: 30182800
  Map: m30_18_00_00
  Template:
  - Type: segment
    Entity: 30180800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30180800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30180800, 5, 888880000)
      - IfCharacterDeadalive(0, 30180800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30180800, 18)
- ID: 30182810
  Map: m30_18_00_00
  Template:
  - Type: segment
    Entity: 30180800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30180800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30180800, 0)
      - SetCharacterAnimationState(30180800, 0)
      - ForceCharacterDeath(30180800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 30180801)
      Commands:
      - SetCharacterAIState(30180800, 0)
      - c2004_30(30180800, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 30180801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - c2003_18(30180800, 30002, 1, 1065353216)
      - ChangeCharacterEnableState(30180800, 1)
      - SetCharacterAnimationState(30180800, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - c2003_18(30180800, 20002, 0, 1065353216)
    - Type: secondsetup
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - c2003_18(30180800, 30002, 1, 1065353216)
      - ChangeCharacterEnableState(30180800, 1)
      - SetCharacterAnimationState(30180800, 1)
    - Type: secondstart
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands:
      - c2003_18(30180800, 20002, 0, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(30180800, 1)
      - c2004_34(30180800, 1)
      - WaitFixedTimeSeconds(4.3)
      - DisplayBossHealthBar(1, 30180800, 0, 904640301)
- ID: 30182811
  Map: m30_18_00_00
  Template:
  - Type: chr
    Entity: 30180800
    DefeatFlag: 30180800
    MusicFlag: 30182802
- ID: 30192800
  Map: m30_19_00_00
  Template:
  - Type: segment
    Entity: 30190800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30190800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30190800, 5, 888880000)
      - IfCharacterDeadalive(0, 30190800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30190800, 18)
- ID: 30192801
  Map: m30_19_00_00
  Template:
  - Type: segment
    Entity: 30190800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30190800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30190800, 0)
      - SetCharacterAnimationState(30190800, 0)
      - ForceCharacterDeath(30190800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(30190800, 0)
      - ChangeCharacterEnableState(30190800, 1)
      - SetCharacterAnimationState(30190800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(30190800, 1)
      - c2004_34(30190800, 1)
      - DisplayBossHealthBar(1, 30190800, 0, 903400302)
- ID: 30192811
  Map: m30_19_00_00
  Template:
  - Type: chr
    Entity: 30190800
    DefeatFlag: 30190800
    MusicFlag: 30192802
- ID: 30202800
  Map: m30_20_00_00
  Template:
  - Type: segment
    Entity: 30200800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 30200800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(30208000, 5, 888880000)
      - IfCharacterDeadalive(0, 30200800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(30200800, 18)
- ID: 30202810
  Map: m30_20_00_00
  Template:
  - Type: segment
    Entity: 30200800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 30200800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(30205800, 0)
      - SetCharacterAnimationState(30205800, 0)
      - ForceCharacterDeath(30205800, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(30205800, 0)
      - ChangeCharacterEnableState(30205800, 1)
      - SetCharacterAnimationState(30205800, 1)
      - ChangeCharacterEnableState(30200800, 0)
      - SetCharacterAnimationState(30200800, 0)
      - c2004_30(30200800, 0)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      NonEncounterOnly:
      - IfConditionGroup(0, 1, -3)
      Commands:
      - c2004_34(30200800, 1)
      - SetCharacterAIState(30200801, 1)
      - IfElapsedSeconds(0, 0)
      - IfCharacterAIState(-3, 30200801, 1, 0, 1)
      - IfCharacterAIState(-3, 30200801, 2, 0, 1)
      - IfCharacterAIState(-3, 30200801, 3, 0, 1)
      - IfConditionGroup(0, 1, -3)
      - IfElapsedSeconds(0, 0)
      - c2003_18(30200801, 20010, 0, 1065353216)
      - c2004_67(10000, 30200800)
      - IfCharacterHasSpEffect(0, 30200801, 16307, 1, 0, 1)
      - ChangeCharacterEnableState(30200800, 1)
      - SetCharacterAnimationState(30200800, 1)
      - SetCharacterAnimationState(30200801, 0)
      - WaitFixedTimeSeconds(0.5)
      - c2004_42(30200800, 2, 30200801, 900, 30200801)
      - c2003_18(30200800, 63010, 65536, 1065353216)
      - WaitFixedTimeSeconds(4)
      - SetCharacterAIState(30205800, 1)
      - c2004_34(30205800, 1)
      - DisplayBossHealthBar(1, 30200800, 0, 903320300)
  - Type: multichronlybasic
    Entity: 30200800
    NewEvent:
    - SetCharacterAIState(30200800, 0)
    - ChangeCharacterEnableState(30200800, 0)
    - SetCharacterAnimationState(30200800, 0)
    - c2004_30(30200800, 0)
    - IfCharacterAIState(-3, 30200801, 1, 0, 1)
    - IfCharacterAIState(-3, 30200801, 2, 0, 1)
    - IfCharacterAIState(-3, 30200801, 3, 0, 1)
    - IfConditionGroup(0, 1, -3)
    - c2003_18(30200801, 20010, 0, 1065353216)
    - c2004_67(10000, 30200800)
    - IfCharacterHasSpEffect(0, 30200801, 16307, 1, 0, 1)
    - ChangeCharacterEnableState(30200800, 1)
    - SetCharacterAnimationState(30200800, 1)
    - SetCharacterAnimationState(30200801, 0)
    - WaitFixedTimeSeconds(0.5)
    - c2004_42(30200800, 2, 30200801, 900, 30200801)
    - c2003_18(30200800, 63010, 65536, 1065353216)
    - WaitFixedTimeSeconds(4)
    - SetCharacterAIState(30200800, 1)
- ID: 30202811
  Map: m30_20_00_00
  Template:
  - Type: multichr
    Entity: 30200800
    DefeatFlag: 30200800
    MusicFlag: 30202802
- ID: 31012800
  Map: m31_01_00_00
  Template:
  - Type: segment
    Entity: 31010800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 31010800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(31010800, 5, 888880000)
      - IfCharacterDeadalive(0, 31010800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(31010800, 18)
- ID: 31012810
  Map: m31_01_00_00
  Template:
  - Type: segment
    Entity: 31010800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31010800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31010800, 0)
      - SetCharacterAnimationState(31010800, 0)
      - ForceCharacterDeath(31010800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 31010801)
      Commands:
      - SetCharacterAIState(31010800, 0)
      - c2003_18(31010800, 30000, 0, 1065353216)
    - Type: firstsetup
      IgnoreMatch: true
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 31010801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(31010800, 1)
      - SetCharacterAnimationState(31010800, 1)
    - Type: firststart
      IgnoreMatch: true
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands: []
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(31010800, 1)
      - SetCharacterAnimationState(31010800, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(31010800, 1)
      - c2003_18(31010800, 20000, 0, 1065353216)
      - c2004_34(31010800, 1)
      - DisplayBossHealthBar(1, 31010800, 0, 904630310)
- ID: 31012811
  Map: m31_01_00_00
  Template:
  - Type: chr
    Entity: 31010800
    DefeatFlag: 31010800
    MusicFlag: 31012802
- ID: 31022800
  Map: m31_02_00_00
  Template:
  - Type: segment
    Entity: 31020800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 31020800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(31020800, 5, 888880000)
      - IfCharacterDeadalive(0, 31020800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(31020800, 18)
      - ForceCharacterDeath(31025800, 0)
- ID: 31022810
  Map: m31_02_00_00
  Template:
  - Type: segment
    Entity: 31020800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31020800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31020800, 0)
      - SetCharacterAnimationState(31020800, 0)
      - ChangeCharacterEnableState(31025800, 0)
      - SetCharacterAnimationState(31025800, 0)
      - ForceCharacterDeath(31025800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(31020800, 0)
      - SetCharacterAIState(31025800, 0)
      - ChangeCharacterEnableState(31025800, 1)
      - SetCharacterAnimationState(31025800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(31020800, 1)
      - SetCharacterAIState(31025800, 1)
      - c2004_34(31020800, 1)
      - DisplayBossHealthBar(1, 31020800, 0, 904480310)
- ID: 31022811
  Map: m31_02_00_00
  Template:
  - Type: multichr
    Entity: 31020800
    DefeatFlag: 31020800
    MusicFlag: 31022802
- ID: 31032800
  Map: m31_03_00_00
  Template:
  - Type: segment
    Entity: 31030800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 31030800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(31030800, 5, 888880000)
      - IfCharacterDeadalive(0, 31030800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(31030800, 18)
- ID: 31032810
  Map: m31_03_00_00
  Template:
  - Type: segment
    Entity: 31030800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31030800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31030800, 0)
      - SetCharacterAnimationState(31030800, 0)
      - ForceCharacterDeath(31030800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(31030800, 0)
      - ChangeCharacterEnableState(31030800, 1)
      - SetCharacterAnimationState(31030800, 0)
      - c2003_18(31030800, 30003, 0, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(31030800, 1)
      - SetCharacterAnimationState(31030800, 1)
      - c2004_34(31030800, 1)
      - DisplayBossHealthBar(1, 31030800, 0, 903970310)
      - WaitFixedTimeSeconds(1)
      - c2003_18(31030800, 20003, 0, 1065353216)
- ID: 31032811
  Map: m31_03_00_00
  Template:
  - Type: chr
    Entity: 31030800
    DefeatFlag: 31030800
    MusicFlag: 31032802
- ID: 31042800
  Map: m31_04_00_00
  Template:
  - Type: segment
    Entity: 31040800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 31040800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(31040800, 5, 888880000)
      - IfCharacterDeadalive(0, 31040800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(31040800, 18)
- ID: 31042810
  Map: m31_04_00_00
  Template:
  - Type: segment
    Entity: 31040800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31040800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31040800, 0)
      - SetCharacterAnimationState(31040800, 0)
      - ForceCharacterDeath(31040800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(31040800, 0)
      - ChangeCharacterEnableState(31040800, 1)
      - SetCharacterAnimationState(31040800, 1)
      - c2004_8(31040800, 90000)
      - c2003_18(31040800, 30001, 0, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - WaitFixedTimeSeconds(1)
      - c2003_18(31040800, 20001, 0, 1065353216)
      - SetCharacterAIState(31040800, 1)
      - c2004_34(31040800, 1)
      - DisplayBossHealthBar(1, 31040800, 0, 903800310)
- ID: 31042811
  Map: m31_04_00_00
  Template:
  - Type: chr
    Entity: 31040800
    DefeatFlag: 31040800
    MusicFlag: 31042802
- ID: 31052800
  Map: m31_05_00_00
  Template:
  - Type: segment
    Entity: 31050800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 31050800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(31050800, 5, 888880000)
      - IfCharacterDeadalive(0, 31050800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(31050800, 18)
- ID: 31052810
  Map: m31_05_00_00
  Template:
  - Type: segment
    Entity: 31050800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31050800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31050800, 0)
      - SetCharacterAnimationState(31050800, 0)
      - ForceCharacterDeath(31050800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 31050801)
      Commands:
      - ChangeCharacterEnableState(31050800, 0)
    - Type: firstsetup
      IgnoreMatch: true
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 31050801)
      End: IfConditionGroup(0, 1, 1)
      Commands:
      - SetCharacterAnimationState(31050800, 1)
    - Type: firststart
      IgnoreMatch: true
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, 1)
      End: Label1()
      Commands: []
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAnimationState(31050800, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: remove
      Start: Label2()
      Commands:
      - c2003_18(31050800, 3013, 0, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - ChangeCharacterEnableState(31050800, 1)
      - WaitFixedTimeSeconds(1)
      - SetCharacterAIState(31050800, 1)
      - c2004_34(31050800, 1)
      - DisplayBossHealthBar(1, 31050800, 0, 904290310)
- ID: 31052811
  Map: m31_05_00_00
  Template:
  - Type: chr
    Entity: 31050800
    DefeatFlag: 31050800
    MusicFlag: 31052802
- ID: 31062800
  Map: m31_06_00_00
  Template:
  - Type: segment
    Entity: 31060800
    Segments:
    - Type: end
      Commands:
      - IfCharacterDeadalive(1, 31060800, 1, 0, 1)
      - IfCharacterDeadalive(1, 31060801, 1, 0, 1)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(3)
      - HandleBossDefeatAndDisplayBanner(31060800, 18)
      - DisplayBossHealthBar(0, 31060801, 1, 903350311)
- ID: 31062801
  Map: m31_06_00_00
  Template:
  - Type: multichr
    Entity: 31060800
    DefeatFlag: 31060800
- ID: 31062802
  Map: m31_06_00_00
  Template:
  - Type: multichr
    Entity: 31060800
    DefeatFlag: 31060800
- ID: 31062810
  Map: m31_06_00_00
  Template:
  - Type: segment
    Entity: 31060800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31060800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31060800, 0)
      - ChangeCharacterEnableState(31060801, 0)
      - SetCharacterAnimationState(31060800, 0)
      - SetCharacterAnimationState(31060801, 0)
      - ForceCharacterDeath(31060800, 0)
      - ForceCharacterDeath(31060801, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      SpecificHelperOnly:
      - c2003_18(31060801, 30000, 0, 1065353216)
      Commands:
      - SetCharacterAIState(31060800, 0)
      - ChangeCharacterEnableState(31060800, 1)
      - ChangeCharacterEnableState(31060801, 1)
      - SetCharacterAnimationState(31060800, 1)
      - SetCharacterAnimationState(31060801, 1)
      - SetCharacterAIState(31060801, 0)
      - c2003_18(31060800, 30000, 0, 1065353216)
      - c2003_18(31060801, 30000, 0, 1065353216)
    - Type: start
      Start: Label2()
      SpecificHelperOnly:
      - c2003_18(31060801, 20000, 0, 1065353216)
      Commands:
      - SetCharacterAIState(31060800, 1)
      - SetCharacterAIState(31060801, 1)
      - c2004_34(31060800, 1)
      - c2004_34(31060801, 1)
      - DisplayBossHealthBar(1, 31060800, 0, 903350310)
      - DisplayBossHealthBar(1, 31060801, 1, 903350311)
      - c2003_18(31060800, 20000, 0, 1065353216)
      - c2003_18(31060801, 20000, 0, 1065353216)
- ID: 31062811
  Map: m31_06_00_00
  Template:
  - Type: multichr
    Entity: 31060800
    DefeatFlag: 31060800
    MusicFlag: 31062842
- ID: 31042810
  Map: m31_07_00_00
  Template:
  - Type: segment
    Entity: 31070800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31070800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31070800, 0)
      - ChangeCharacterEnableState(31070801, 0)
      - SetCharacterAnimationState(31070800, 0)
      - SetCharacterAnimationState(31070801, 0)
      - ForceCharacterDeath(31070800, 0)
      - ForceCharacterDeath(31070801, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      SpecificHelperOnly:
      - c2003_18(31070801, 30009, 1, 1065353216)
      Commands:
      - c2003_18(31070801, 30009, 1, 1065353216)
      - ChangeCharacterEnableState(31070800, 1)
      - ChangeCharacterEnableState(31070801, 1)
      - SetCharacterAnimationState(31070800, 1)
      - SetCharacterAnimationState(31070801, 1)
      - SetCharacterAIState(31070800, 0)
      - SetCharacterAIState(31070801, 0)
      - c2004_8(31070800, 8092)
      - c2004_8(31070801, 8092)
    - Type: start
      Start: Label2()
      SpecificHelperOnly:
      - c2003_18(31070801, 20029, 0, 1065353216)
      Commands:
      - DisplayBossHealthBar(1, 31070800, 0, 903810310)
      - DisplayBossHealthBar(1, 31070801, 1, 903810311)
      - SetCharacterAIState(31070800, 1)
      - SetCharacterAIState(31070801, 1)
      - c2004_34(31070800, 1)
      - c2004_34(31070801, 1)
      - WaitFixedTimeSeconds(2)
      - c2003_18(31070801, 20029, 0, 1065353216)
- ID: 31072800
  Map: m31_07_00_00
  Template:
  - Type: segment
    Entity: 31070800
    Segments:
    - Type: end
      Commands:
      - IfCharacterDeadalive(1, 31070800, 1, 0, 1)
      - IfCharacterDeadalive(1, 31070801, 1, 0, 1)
      - IfConditionGroup(0, 1, 1)
      - HandleBossDefeatAndDisplayBanner(31070800, 18)
      - DisplayBossHealthBar(0, 31070801, 1, 903810311)
- ID: 31072801
  Map: m31_07_00_00
  Template:
  - Type: multichr
    Entity: 31070800
    DefeatFlag: 31070800
- ID: 31072802
  Map: m31_07_00_00
  Template:
  - Type: multichr
    Entity: 31070800
    DefeatFlag: 31070800
- ID: 31072811
  Map: m31_07_00_00
  Template:
  - Type: multichr
    Entity: 31070800
    DefeatFlag: 31070800
    MusicFlag: 31072842
- ID: 31092800
  Map: m31_09_00_00
  Template:
  - Type: segment
    Entity: 31090800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 31090800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(31090800, 5, 888880000)
      - IfCharacterDeadalive(0, 31090800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(31090800, 18)
- ID: 31092810
  Map: m31_09_00_00
  Template:
  - Type: segment
    Entity: 31090800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31090800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31090800, 0)
      - SetCharacterAnimationState(31090800, 0)
      - ForceCharacterDeath(31090800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(31090800, 0)
      - ChangeCharacterEnableState(31090800, 1)
      - SetCharacterAnimationState(31090800, 1)
      - c2004_8(31090800, 8092)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(31090800, 1)
      - c2004_34(31090800, 1)
      - DisplayBossHealthBar(1, 31090800, 0, 904130310)
- ID: 31092811
  Map: m31_09_00_00
  Template:
  - Type: chr
    Entity: 31090800
    DefeatFlag: 31090800
    MusicFlag: 31092802
- ID: 31102800
  Map: m31_10_00_00
  Template:
  - Type: segment
    Entity: 31100800
    Segments:
    - Type: end
      Commands:
      - IfCharacterDeadalive(1, 31100800, 1, 0, 1)
      - IfCharacterDeadalive(1, 31100801, 1, 0, 1)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(4)
      - HandleBossDefeatAndDisplayBanner(31100800, 18)
      - DisplayBossHealthBar(0, 31100801, 1, 903970312)
- ID: 31102801
  Map: m31_10_00_00
  Template:
  - Type: multichr
    Entity: 31100800
    DefeatFlag: 31100800
- ID: 31102802
  Map: m31_10_00_00
  Template:
  - Type: multichr
    Entity: 31100800
    DefeatFlag: 31100800
- ID: 31102810
  Map: m31_10_00_00
  Template:
  - Type: segment
    Entity: 31100800
    Removes:
    - IfConditionGroup(2, 1, -2)
    - IfConditionGroup(1, 1, -1)
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31100800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31100800, 0)
      - ChangeCharacterEnableState(31100801, 0)
      - SetCharacterAnimationState(31100800, 0)
      - SetCharacterAnimationState(31100801, 0)
      - ForceCharacterDeath(31100800, 0)
      - ForceCharacterDeath(31100801, 0)
    - Type: presetup
      IgnoreMatch: true
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 31100801)
      Commands:
      - SetCharacterAIState(31100800, 0)
      - SetCharacterAIState(31100801, 0)
    - Type: firstsetup
      IgnoreMatch: true
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 31100801)
      End: IfConditionGroup(0, 1, 1)
      Commands:
      - ChangeCharacterEnableState(31100800, 1)
      - ChangeCharacterEnableState(31100801, 1)
      - SetCharacterAnimationState(31100800, 1)
      - SetCharacterAnimationState(31100801, 1)
    - Type: firststart
      IgnoreMatch: true
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, 1)
      End: Label1()
      Commands: []
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(31100800, 1)
      - ChangeCharacterEnableState(31100801, 1)
      - SetCharacterAnimationState(31100800, 1)
      - SetCharacterAnimationState(31100801, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - c2004_34(31100800, 1)
      - SetCharacterAIState(31100800, 1)
      - SetCharacterAIState(31100801, 1)
      - c2004_34(31100801, 1)
      - DisplayBossHealthBar(1, 31100800, 0, 903970311)
      - DisplayBossHealthBar(1, 31100801, 1, 903970312)
- ID: 31102811
  Map: m31_10_00_00
  Template:
  - Type: multichr
    Entity: 31100800
    DefeatFlag: 31100800
    MusicFlag: 31102842
- ID: 31102830
  Map: m31_10_00_00
  Template:
  - Type: multichr
    Entity: 31100800
    DefeatFlag: 31100800
    Removes:
    - c2004_49(31100801, 31103830)
- ID: 31112800
  Map: m31_11_00_00
  Template:
  - Type: segment
    Entity: 31110800
    Segments:
    - Type: end
      Commands:
      - IfCharacterDeadalive(1, 31110800, 1, 0, 1)
      - IfCharacterDeadalive(1, 31110801, 1, 0, 1)
      - IfCharacterDeadalive(1, 31110802, 1, 0, 1)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(3)
      - HandleBossDefeatAndDisplayBanner(31110800, 18)
      - DisplayBossHealthBar(0, 31110801, 1, 903350312)
      - DisplayBossHealthBar(0, 31110802, 2, 903350314)
- ID: 31112801
  Map: m31_11_00_00
  Template:
  - Type: multichr
    Entity: 31110800
    DefeatFlag: 31110800
- ID: 31112802
  Map: m31_11_00_00
  Template:
  - Type: multichr
    Entity: 31110800
    DefeatFlag: 31110800
- ID: 31112803
  Map: m31_11_00_00
  Template:
  - Type: multichr
    Entity: 31110800
    DefeatFlag: 31110800
- ID: 31112810
  Map: m31_11_00_00
  Template:
  - Type: segment
    Entity: 31110800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31110800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31110800, 0)
      - ChangeCharacterEnableState(31110801, 0)
      - ChangeCharacterEnableState(31110802, 0)
      - SetCharacterAnimationState(31110800, 0)
      - SetCharacterAnimationState(31110801, 0)
      - SetCharacterAnimationState(31110802, 0)
      - ForceCharacterDeath(31110800, 0)
      - ForceCharacterDeath(31110801, 0)
      - ForceCharacterDeath(31110802, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      SpecificHelperOnly:
      - c2003_18(31110801, 30001, 0, 1065353216)
      - c2003_18(31110802, 30000, 0, 1065353216)
      Commands:
      - SetCharacterAIState(31110800, 0)
      - ChangeCharacterEnableState(31110800, 1)
      - ChangeCharacterEnableState(31110801, 1)
      - ChangeCharacterEnableState(31110802, 1)
      - SetCharacterAnimationState(31110800, 1)
      - SetCharacterAnimationState(31110801, 1)
      - SetCharacterAnimationState(31110802, 1)
      - SetCharacterAIState(31110801, 0)
      - SetCharacterAIState(31110802, 0)
      - c2003_18(31110800, 30001, 0, 1065353216)
      - c2003_18(31110801, 30001, 0, 1065353216)
      - c2003_18(31110802, 30000, 0, 1065353216)
    - Type: start
      Start: Label2()
      SpecificHelperOnly:
      - c2003_18(31110801, 20001, 0, 1065353216)
      - c2003_18(31110802, 20000, 0, 1065353216)
      Commands:
      - SetCharacterAIState(31110800, 1)
      - SetCharacterAIState(31110801, 1)
      - SetCharacterAIState(31110802, 1)
      - c2004_34(31110800, 1)
      - c2004_34(31110801, 1)
      - c2004_34(31110802, 1)
      - DisplayBossHealthBar(1, 31110800, 0, 903350313)
      - DisplayBossHealthBar(1, 31110801, 1, 903350312)
      - DisplayBossHealthBar(1, 31110802, 2, 903350314)
      - c2003_18(31110800, 20001, 0, 1065353216)
      - c2003_18(31110801, 20001, 0, 1065353216)
      - c2003_18(31110802, 20000, 0, 1065353216)
- ID: 31112811
  Map: m31_11_00_00
  Template:
  - Type: multichr
    Entity: 31110800
    DefeatFlag: 31110800
    MusicFlag: 31112842
- ID: 31122800
  Map: m31_12_00_00
  Template:
  - Type: segment
    Entity: 31120800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 31120800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(31120800, 5, 888880000)
      - IfCharacterDeadalive(0, 31120800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(31120800, 18)
- ID: 31122810
  Map: m31_12_00_00
  Template:
  - Type: segment
    Entity: 31120800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31120800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31120800, 0)
      - SetCharacterAnimationState(31120800, 0)
      - ForceCharacterDeath(31120800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(31120800, 0)
      - ChangeCharacterEnableState(31120800, 1)
      - SetCharacterAnimationState(31120800, 0)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(31120800, 1)
      - SetCharacterAnimationState(31120800, 1)
      - c2004_34(31120800, 1)
      - DisplayBossHealthBar(1, 31120800, 0, 903460310)
- ID: 31122811
  Map: m31_12_00_00
  Template:
  - Type: chr
    Entity: 31120800
    DefeatFlag: 31120800
    MusicFlag: 31122802
- ID: 31152800
  Map: m31_15_00_00
  Template:
  - Type: segment
    Entity: 31150800
    Segments:
    - Type: end
      Commands:
      - IfCharacterDeadalive(2, 31150800, 1, 0, 1)
      - IfCharacterDeadalive(2, 31150801, 1, 0, 1)
      - IfConditionGroup(0, 1, 2)
      - WaitFixedTimeSeconds(2)
      - PlaySE(31150800, 5, 888880000)
      - c2003_52(4132, 31152810, 1)
      - c2003_52(4132, 31152811, 1)
      - HandleBossDefeatAndDisplayBanner(31150800, 18)
      - DisplayBossHealthBar(0, 31150801, 1, 904120311)
- ID: 31152810
  Map: m31_15_00_00
  Template:
  - Type: segment
    Entity: 31150800
    Add:
    - Cmd: GotoUnconditionally(1)
      After: Label0()
    - Cmd: c2003_66(0, 31150815, 1)
    - Cmd: c2003_66(0, 31152815, 1)
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31150800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31150800, 0)
      - SetCharacterAnimationState(31150800, 0)
      - ForceCharacterDeath(31150800, 0)
      - ChangeCharacterEnableState(31155800, 0)
      - SetCharacterAnimationState(31155800, 0)
      - ForceCharacterDeath(31155800, 0)
      - ChangeCharacterEnableState(31150801, 0)
      - SetCharacterAnimationState(31150801, 0)
      - ForceCharacterDeath(31150801, 0)
    - Type: setup
      IgnoreMatch: true
      Start: Label1()
      End: IfConditionGroup(0, 1, 1)
      Commands:
      - ChangeCharacterEnableState(31150800, 1)
      - SetCharacterAnimationState(31150800, 1)
      - ChangeCharacterEnableState(31150801, 1)
      - SetCharacterAnimationState(31150801, 1)
      - ChangeCharacterEnableState(31155800, 1)
      - SetCharacterAnimationState(31155800, 1)
      - SetCharacterAIState(31155800, 0)
    - Type: start
      Start: IfConditionGroup(0, 1, 1)
      Commands:
      - c2004_34(31150800, 1)
      - DisplayBossHealthBar(1, 31150800, 0, 904120310)
      - c2004_34(31150801, 1)
      - DisplayBossHealthBar(1, 31150801, 1, 904120311)
      - SetCharacterAIState(31155800, 1)
      - c2004_21(31155200, 8081)
- ID: 31152811
  Map: m31_15_00_00
  Template:
  - Type: multichr
    Entity: 31150800
    DefeatFlag: 31150800
    MusicFlag: 31152842
- ID: 31152816
  Map: m31_15_00_00
  Template:
  - Type: remove
    Entity: 31150800
- ID: 31152820
  Map: m31_15_00_00
  Template:
  - Type: multichr
    Entity: 31150800
    ArgEntities: X0
    DefeatFlag: 31150800
- ID: 31172499
  Map: m31_17_00_00
  Template:
  - Type: remove
    Entity: 31170800
- ID: 31172800
  Map: m31_17_00_00
  Template:
  - Type: segment
    Entity: 31170800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 31170800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(31170800, 5, 888880000)
      - IfCharacterDeadalive(0, 31170800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(31170800, 18)
- ID: 31172810
  Map: m31_17_00_00
  Template:
  - Type: segment
    Entity: 31170800
    Removes:
    - IfEventFlag(2, 1, 0, 31172499)
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31170800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31170800, 0)
      - SetCharacterAnimationState(31170800, 0)
      - ForceCharacterDeath(31170800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(31170800, 0)
      - ChangeCharacterEnableState(31170800, 1)
      - SetCharacterAnimationState(31170800, 1)
      - c2004_50(31170800, 220, 0)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(31170800, 1)
      - c2004_34(31170800, 1)
      - DisplayBossHealthBar(1, 31170800, 0, 904660310)
      - c2004_50(31170800, 220, 1)
- ID: 31172811
  Map: m31_17_00_00
  Template:
  - Type: chr
    Entity: 31170800
    DefeatFlag: 31170800
    MusicFlag: 31172802
- ID: 31182800
  Map: m31_18_00_00
  Template:
  - Type: segment
    Entity: 31180800
    Segments:
    - Type: end
      Commands:
      - IfCharacterDeadalive(1, 31180800, 1, 0, 1)
      - IfCharacterDeadalive(1, 31180801, 1, 0, 1)
      - IfConditionGroup(0, 1, 1)
      - HandleBossDefeatAndDisplayBanner(31180800, 18)
      - DisplayBossHealthBar(0, 31180801, 1, 904820310)
- ID: 31182801
  Map: m31_18_00_00
  Template:
  - Type: multichr
    Entity: 31180800
    DefeatFlag: 31180800
- ID: 31182802
  Map: m31_18_00_00
  Template:
  - Type: multichr
    Entity: 31180800
    DefeatFlag: 31180800
- ID: 31182810
  Map: m31_18_00_00
  Template:
  - Type: segment
    Entity: 31180800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31180800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31180800, 0)
      - ChangeCharacterEnableState(31180801, 0)
      - SetCharacterAnimationState(31180800, 0)
      - SetCharacterAnimationState(31180801, 0)
      - ForceCharacterDeath(31180800, 0)
      - ForceCharacterDeath(31180801, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(31180800, 0)
      - ChangeCharacterEnableState(31180800, 1)
      - ChangeCharacterEnableState(31180801, 1)
      - SetCharacterAnimationState(31180800, 1)
      - SetCharacterAnimationState(31180801, 1)
      - SetCharacterAIState(31180801, 0)
      - c2003_18(31180800, 30001, 0, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - DisplayBossHealthBar(1, 31180800, 0, 904480310)
      - DisplayBossHealthBar(1, 31180801, 1, 904820310)
      - WaitFixedTimeSeconds(0.5)
      - SetCharacterAIState(31180800, 1)
      - SetCharacterAnimationState(31180800, 1)
      - c2004_34(31180800, 1)
      - c2003_18(31180800, 20001, 0, 1065353216)
      - SetCharacterAIState(31180801, 1)
      - SetCharacterAnimationState(31180801, 1)
      - c2004_34(31180801, 1)
- ID: 31182811
  Map: m31_18_00_00
  Template:
  - Type: multichr
    Entity: 31180800
    DefeatFlag: 31180800
    MusicFlag: 31182842
- ID: 31192800
  Map: m31_19_00_00
  Template:
  - Type: segment
    Entity: 31190800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 31190800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(31190800, 5, 888880000)
      - IfCharacterDeadalive(0, 31190800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(31190800, 18)
- ID: 31192810
  Map: m31_19_00_00
  Template:
  - Type: segment
    Entity: 31190800
    Removes:
    - GotoIfEventFlag(1, 1, 0, 31190802)
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31190800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31190800, 0)
      - SetCharacterAnimationState(31190800, 0)
      - ForceCharacterDeath(31190800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(31190800, 0)
      - ChangeCharacterEnableState(31190800, 1)
      - SetCharacterAnimationState(31190800, 0)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(31190800, 1)
      - SetCharacterAnimationState(31190800, 1)
      - c2004_34(31190800, 1)
      - DisplayBossHealthBar(1, 31190800, 0, 902100310)
- ID: 31192811
  Map: m31_19_00_00
  Template:
  - Type: chr
    Entity: 31190800
    DefeatFlag: 31190800
    MusicFlag: 31192802
- ID: 31192850
  Map: m31_19_00_00
  Template:
  - Type: segment
    Entity: 31190850
    Segments:
    - Type: end
      Regions:
      - event chrgen 31193820 31193821
      Commands:
      - c4_14(0, 31190850, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(31190850, 5, 888880000)
      - IfCharacterDeadalive(0, 31190850, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(31190850, 18)
      - ForceCharacterDeath(31195850, 0)
      - DeactivateGenerator(31193821, 0)
      - DeactivateGenerator(31193820, 0)
  - Type: multichronlybasic
    Entity: 31190850
    Regions:
    - event chrgen 31193820 31193821
    NewEvent:
    - IfCharacterDeadalive(0, 31190850, 1, 0, 1)
    - ForceCharacterDeath(31195850, 0)
    - DeactivateGenerator(31193821, 0)
    - DeactivateGenerator(31193820, 0)
- ID: 31192860
  Map: m31_19_00_00
  Template:
  - Type: segment
    Entity: 31190850
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31190850)
      End: c1000_4(0)
      Regions:
      - event chrgen 31193820 31193821
      Commands:
      - ChangeCharacterEnableState(31190850, 0)
      - SetCharacterAnimationState(31190850, 0)
      - ForceCharacterDeath(31190850, 0)
      - ChangeCharacterEnableState(31195850, 0)
      - SetCharacterAnimationState(31195850, 0)
      - ForceCharacterDeath(31195850, 0)
      - DeactivateGenerator(31193821, 0)
      - DeactivateGenerator(31193820, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 2)
      Regions:
      - event chrgen 31193820 31193821
      Commands:
      - SetCharacterAIState(31190850, 0)
      - ChangeCharacterEnableState(31190850, 1)
      - SetCharacterAnimationState(31190850, 1)
      - ChangeCharacterEnableState(31195850, 1)
      - SetCharacterAnimationState(31195850, 1)
      - DeactivateGenerator(31193821, 1)
      - DeactivateGenerator(31193820, 1)
      - c2003_18(31190850, 68011, 0, 1065353216)
      - SetCharacterAIState(31190380, 0)
      - c2003_18(31190380, 30000, 0, 1065353216)
      - c2004_50(31190380, 220, 0)
      - SetCharacterAIState(31195850, 0)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      Commands:
      - c2003_18(31190850, 68012, 0, 1065353216)
      - SetCharacterAIState(31190850, 1)
      - c2004_34(31190850, 1)
      - DisplayBossHealthBar(1, 31190850, 0, 137600)
      - c2003_18(31190380, 20000, 0, 1065353216)
      - SetCharacterAIState(31190380, 1)
      - SetCharacterAIState(31195850, 1)
      - WaitFixedTimeSeconds(3)
      - c2004_50(31190380, 220, 1)
- ID: 31192861
  Map: m31_19_00_00
  Template:
  - Type: multichronly
    Entity: 31190850
    DefeatFlag: 31190850
    EffectFlag: 1 31190850 31192871
    MusicFlag: 31192852
    Regions:
    - event chrgen 31193821
- ID: 31192862
  Map: m31_19_00_00
  Template:
  - Type: multichronly
    Entity: 31190850
    DefeatFlag: 31190850
    EffectFlag: 0 31190850 31192870
    Regions:
    - event chrgen 31193820
- ID: 31192863
  Map: m31_19_00_00
  Template:
  - Type: multichr
    Entity: 31190850
    ArgEntities: X0
    DefeatFlag: 31190850
    EffectFlag: 0 31190850 31192870 X4; 1 31190850 31192871 X4; 2 31190850 31192875
- ID: 31202800
  Map: m31_20_00_00
  Template:
  - Type: segment
    Entity: 31200800
    Segments:
    - Type: end
      Commands:
      - IfCharacterDeadalive(1, 31200800, 1, 0, 1)
      - IfCharacterDeadalive(1, 31200801, 1, 0, 1)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(4)
      - HandleBossDefeatAndDisplayBanner(31200800, 18)
      - DisplayBossHealthBar(0, 31200801, 1, 903800312)
- ID: 31202801
  Map: m31_20_00_00
  Template:
  - Type: multichr
    Entity: 31200800
    DefeatFlag: 31200800
- ID: 31202802
  Map: m31_20_00_00
  Template:
  - Type: multichr
    Entity: 31200800
    DefeatFlag: 31200800
- ID: 31202810
  Map: m31_20_00_00
  Template:
  - Type: segment
    Entity: 31200800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31200800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31200800, 0)
      - ChangeCharacterEnableState(31200801, 0)
      - SetCharacterAnimationState(31200800, 0)
      - SetCharacterAnimationState(31200801, 0)
      - ForceCharacterDeath(31200800, 0)
      - ForceCharacterDeath(31200801, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(31200800, 0)
      - ChangeCharacterEnableState(31200800, 1)
      - ChangeCharacterEnableState(31200801, 1)
      - SetCharacterAnimationState(31200800, 1)
      - SetCharacterAnimationState(31200801, 1)
      - SetCharacterAIState(31200801, 0)
      - c2003_18(31200800, 30001, 0, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(31200800, 1)
      - c2004_34(31200800, 1)
      - WaitFixedTimeSeconds(1)
      - DisplayBossHealthBar(1, 31200800, 0, 903800311)
      - c2003_18(31200800, 20001, 0, 1065353216)
      - WaitFixedTimeSeconds(5)
      - SetCharacterAIState(31200801, 1)
      - c2004_34(31200801, 1)
      - c3_23(241, 31200801, 0, 0)
      - IfElapsedSeconds(-15, 7)
      - c1000_0(61697)
      - DisplayBossHealthBar(1, 31200801, 1, 903800312)
- ID: 31202811
  Map: m31_20_00_00
  Template:
  - Type: multichr
    Entity: 31200800
    DefeatFlag: 31200800
    MusicFlag: 31202842
- ID: 31212800
  Map: m31_21_00_00
  Template:
  - Type: segment
    Entity: 31210800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 31210800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(31210800, 5, 888880000)
      - IfCharacterDeadalive(0, 31210800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(31210800, 18)
- ID: 31212810
  Map: m31_21_00_00
  Template:
  - Type: segment
    Entity: 31210800
    Removes:
    - IfConditionGroup(1, 1, -1)
    - IfConditionGroup(2, 1, -2)
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31210800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31210800, 0)
      - SetCharacterAnimationState(31210800, 0)
      - ForceCharacterDeath(31210800, 0)
    - Type: presetup
      IgnoreMatch: true
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 31210801)
      Commands:
      - SetCharacterAIState(31210800, 0)
    - Type: firstsetup
      IgnoreMatch: true
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 31210801)
      End: IfConditionGroup(0, 1, -5)
      Commands:
      - ChangeCharacterEnableState(31210800, 1)
      - SetCharacterAnimationState(31210800, 1)
    - Type: firststart
      IgnoreMatch: true
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -5)
      End: Label1()
      Commands: []
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, -6)
      Commands:
      - ChangeCharacterEnableState(31210800, 1)
      - SetCharacterAnimationState(31210800, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, -6)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - c2004_34(31210800, 1)
      - DisplayBossHealthBar(1, 31210800, 0, 903400310)
      - SetCharacterAIState(31210800, 1)
- ID: 312112811
  Map: m31_21_00_00
  Template:
  - Type: chr
    Entity: 31210800
    DefeatFlag: 31210800
    MusicFlag: 31212852
- ID: 31222800
  Map: m31_22_00_00
  Template:
  - Type: segment
    Entity: 31220800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 31220800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(31220800, 5, 888880000)
      - IfCharacterDeadalive(0, 31220800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(31220800, 18)
      - ForceCharacterDeath(31220803, 0)
      - ChangeCharacterEnableState(31220803, 0)
      - SetCharacterAnimationState(31220803, 0)
- ID: 31222810
  Map: m31_22_00_00
  Template:
  - Type: segment
    Entity: 31220800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 31220800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(31220801, 0)
      - SetCharacterAnimationState(31220801, 0)
      - ForceCharacterDeath(31220801, 0)
      - ChangeCharacterEnableState(31220800, 0)
      - SetCharacterAnimationState(31220800, 0)
      - ForceCharacterDeath(31220800, 0)
      - ChangeCharacterEnableState(31220802, 0)
      - SetCharacterAnimationState(31220802, 0)
      - ForceCharacterDeath(31220802, 0)
      - ChangeCharacterEnableState(31220803, 0)
      - SetCharacterAnimationState(31220803, 0)
      - ForceCharacterDeath(31220803, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 1)
      Commands:
      - SetCharacterAIState(31220800, 0)
      - ChangeCharacterEnableState(31220801, 1)
      - SetCharacterAnimationState(31220801, 1)
      - ChangeCharacterEnableState(31220800, 1)
      - SetCharacterAnimationState(31220800, 1)
      - ChangeCharacterEnableState(31220802, 1)
      - SetCharacterAnimationState(31220802, 1)
      - ChangeCharacterEnableState(31220803, 1)
      - SetCharacterAIState(31220801, 0)
      - c2004_50(31220803, 220, 0)
    - Type: start
      Start: IfConditionGroup(0, 1, 1)
      Commands:
      - SetCharacterAnimationState(31220801, 1)
      - c2004_34(31220801, 1)
      - DisplayBossHealthBar(1, 31220801, 0, 903560310)
      - WaitFixedTimeSeconds(1.5)
      - SetCharacterAIState(31220801, 1)
      - c2004_8(31220803, 297810)
      - SetCharacterAnimationState(31220803, 0)
      - c2004_34(31220803, 1)
- ID: 31222811
  Map: m31_22_00_00
  Template:
  - Type: multichronly
    Entity: 31220800
    DefeatFlag: 31220800
    EffectFlag: 0 31220800 31222820
    Name: 31220802
    Regions:
    - event chrgen 31223307
- ID: 31222812
  Map: m31_22_00_00
  Template:
  - Type: multichronly
    Entity: 31220800
    DefeatFlag: 31220800
    EffectFlag: 1 31220800 31222821
    Name: 31220800
    Regions:
    - event chrgen 31223308
- ID: 31222813
  Map: m31_22_00_00
  Template:
  - Type: multichr
    Entity: 31220800
    ArgEntities: X0
    DefeatFlag: 31220800
    EffectFlag: 0 31220800 31222820 X4; 1 31220800 31222821 X4
- ID: 32002800
  Map: m32_00_00_00
  Template:
  - Type: segment
    Entity: 32000800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 32000800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(32000800, 5, 888880000)
      - IfCharacterDeadalive(0, 32000800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(32000800, 18)
- ID: 32002810
  Map: m32_00_00_00
  Template:
  - Type: segment
    Entity: 32000800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 32000800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(32000800, 0)
      - SetCharacterAnimationState(32000800, 0)
      - ForceCharacterDeath(32000800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 32000801)
      Commands:
      - SetCharacterAIState(32000800, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 32000801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - c2003_18(32000800, 30000, 1, 1065353216)
      - ChangeCharacterEnableState(32000800, 1)
      - SetCharacterAnimationState(32000800, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - c2003_18(32000800, 20000, 256, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(32000800, 1)
      - SetCharacterAnimationState(32000800, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(32000800, 1)
      - c2004_34(32000800, 1)
      - DisplayBossHealthBar(1, 32000800, 0, 903451320)
      - c2004_8(32000800, 8089)
- ID: 32002811
  Map: m32_00_00_00
  Template:
  - Type: chr
    Entity: 32000800
    DefeatFlag: 32000800
    MusicFlag: 32002802
- ID: 32012800
  Map: m32_01_00_00
  Template:
  - Type: segment
    Entity: 32010800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 32010800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(32018000, 5, 888880000)
      - c4_14(0, 32010800, 0, 0, 0, 1065353216)
      - HandleBossDefeatAndDisplayBanner(32010800, 18)
- ID: 32012810
  Map: m32_01_00_00
  Template:
  - Type: segment
    Entity: 32010800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 32010800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(32010800, 0)
      - SetCharacterAnimationState(32010800, 0)
      - ForceCharacterDeath(32010800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 32010801)
      Commands:
      - SetCharacterAIState(32010800, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 32010801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - c2003_18(32010800, 30000, 1, 1065353216)
      - ChangeCharacterEnableState(32010800, 1)
      - SetCharacterAnimationState(32010800, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - c2003_18(32010800, 20000, 65536, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(32010800, 1)
      - SetCharacterAnimationState(32010800, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(32010800, 1)
      - c2004_34(32010800, 1)
      - DisplayBossHealthBar(1, 32010800, 0, 904600320)
- ID: 32012811
  Map: m32_01_00_00
  Template:
  - Type: chr
    Entity: 32010800
    DefeatFlag: 32010800
    MusicFlag: 32012802
- ID: 32022800
  Map: m32_02_00_00
  Template:
  - Type: segment
    Entity: 32020800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 32020800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(32028000, 5, 888880000)
      - IfCharacterDeadalive(0, 32020800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(32020800, 18)
- ID: 32022810
  Map: m32_02_00_00
  Template:
  - Type: segment
    Entity: 32020800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 32020800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(32020800, 0)
      - SetCharacterAnimationState(32020800, 0)
      - ForceCharacterDeath(32020800, 0)
    - Type: remove
      Commands:
      - SetCharacterInvincibility(32020800, 1)
      - SetCharacterInvincibility(32020800, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(32020800, 0)
      - ChangeCharacterEnableState(32020800, 1)
      - SetCharacterAnimationState(32020800, 1)
      - c2004_8(32020800, 8090)
      - c2004_50(32020800, 220, 0)
      - c2003_18(32020800, 30001, 1, 1065353216)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      Commands:
      - c2003_18(32020800, 20001, 0, 1065353216)
      - SetCharacterAIState(32020800, 1)
      - c2004_34(32020800, 1)
      - DisplayBossHealthBar(1, 32020800, 0, 903350320)
      - c2004_50(32020800, 220, 1)
- ID: 32022811
  Map: m32_02_00_00
  Template:
  - Type: chr
    Entity: 32020800
    DefeatFlag: 32020800
    MusicFlag: 32022802
- ID: 32042800
  Map: m32_04_00_00
  Template:
  - Type: segment
    Entity: 32040800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 32040800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(32048000, 5, 888880000)
      - IfCharacterDeadalive(0, 32040800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(32040800, 18)
- ID: 32042810
  Map: m32_04_00_00
  Template:
  - Type: segment
    Entity: 32040800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 32040800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(32040800, 0)
      - SetCharacterAnimationState(32040800, 0)
      - ForceCharacterDeath(32040800, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(32040800, 0)
      - ChangeCharacterEnableState(32040800, 1)
      - SetCharacterAnimationState(32040800, 1)
      - c2003_18(32040800, 30000, 1, 1065353216)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      Commands:
      - c2003_18(32040800, 20000, 0, 1065353216)
      - SetCharacterAIState(32040800, 1)
      - c2004_34(32040800, 1)
      - DisplayBossHealthBar(1, 32040800, 0, 904600321)
- ID: 32042811
  Map: m32_04_00_00
  Template:
  - Type: chr
    Entity: 32040800
    DefeatFlag: 32040800
    MusicFlag: 32042802
- ID: 32052800
  Map: m32_05_00_00
  Template:
  - Type: segment
    Entity: 32050800
    Segments:
    - Type: end
      Commands:
      - c4_14(1, 32050800, 5, 0, 0, 1065353216)
      - c4_14(1, 32050801, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(4)
      - PlaySE(32050800, 5, 888880000)
      - c4_14(2, 32050800, 0, 0, 0, 1065353216)
      - c4_14(2, 32050801, 0, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 2)
      - HandleBossDefeatAndDisplayBanner(32050800, 18)
      - DisplayBossHealthBar(0, 32050801, 1, 903350322)
- ID: 32052810
  Map: m32_05_00_00
  Template:
  - Type: segment
    Entity: 32050800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 32050800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(32050800, 0)
      - ChangeCharacterEnableState(32050801, 0)
      - SetCharacterAnimationState(32050800, 0)
      - SetCharacterAnimationState(32050801, 0)
      - ForceCharacterDeath(32050800, 0)
      - ForceCharacterDeath(32050801, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 32050801)
      Commands:
      - SetCharacterAIState(32050800, 0)
      - SetCharacterAIState(32050801, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 32050801)
      End: IfConditionGroup(0, 1, -1)
      SpecificHelperOnly:
      - c2003_18(32050801, 30000, 1, 1065353216)
      Commands:
      - c2003_18(32050800, 30000, 1, 1065353216)
      - ChangeCharacterEnableState(32050800, 1)
      - ChangeCharacterEnableState(32050801, 1)
      - SetCharacterAnimationState(32050800, 1)
      - SetCharacterAnimationState(32050801, 1)
      - c2003_18(32050801, 30000, 1, 1065353216)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      SpecificHelperOnly:
      - c2003_18(32050801, 20000, 0, 1065353216)
      Commands:
      - c2003_18(32050800, 20000, 0, 1065353216)
      - c2003_18(32050801, 20000, 0, 1065353216)
    - Type: secondsetup
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      SpecificHelperOnly:
      - c2003_18(32050801, 30000, 1, 1065353216)
      Commands:
      - c2003_18(32050800, 30000, 1, 1065353216)
      - ChangeCharacterEnableState(32050800, 1)
      - ChangeCharacterEnableState(32050801, 1)
      - SetCharacterAnimationState(32050800, 1)
      - SetCharacterAnimationState(32050801, 1)
      - c2003_18(32050801, 30000, 1, 1065353216)
    - Type: secondstart
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      SpecificHelperOnly:
      - c2003_18(32050801, 20000, 0, 1065353216)
      Commands:
      - c2003_18(32050800, 20000, 0, 1065353216)
      - c2003_18(32050801, 20000, 0, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(32050800, 1)
      - SetCharacterAIState(32050801, 1)
      - c2004_34(32050800, 1)
      - c2004_34(32050801, 1)
      - DisplayBossHealthBar(1, 32050800, 0, 903350321)
      - DisplayBossHealthBar(1, 32050801, 1, 903350322)
- ID: 32052811
  Map: m32_05_00_00
  Template:
  - Type: multichr
    Entity: 32050800
    DefeatFlag: 32050800
    MusicFlag: 32052802
- ID: 32072800
  Map: m32_07_00_00
  Template:
  - Type: segment
    Entity: 32070800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 32070800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(32048000, 5, 888880000)
      - IfCharacterDeadalive(0, 32070800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(32070800, 17)
- ID: 32072810
  Map: m32_07_00_00
  Template:
  - Type: segment
    Entity: 32070800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 32070800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(32070800, 0)
      - SetCharacterAnimationState(32070800, 0)
      - ForceCharacterDeath(32070800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 32070801)
      Commands:
      - SetCharacterAIState(32070800, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 32070801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - c2003_18(32070800, 30000, 1, 1065353216)
      - ChangeCharacterEnableState(32070800, 1)
      - SetCharacterAnimationState(32070800, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - c2003_18(32070800, 20000, 0, 1065353216)
    - Type: secondsetup
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - c2003_18(32070800, 30000, 1, 1065353216)
      - ChangeCharacterEnableState(32070800, 1)
      - SetCharacterAnimationState(32070800, 1)
    - Type: secondstart
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands:
      - c2003_18(32070800, 20000, 0, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(32070800, 1)
      - c2004_34(32070800, 1)
      - DisplayBossHealthBar(1, 32070800, 0, 904910320)
- ID: 32072811
  Map: m32_07_00_00
  Template:
  - Type: chr
    Entity: 32070800
    DefeatFlag: 32070800
    MusicFlag: 32072802
- ID: 32082800
  Map: m32_08_00_00
  Template:
  - Type: segment
    Entity: 32080800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 32080800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(32048000, 5, 888880000)
      - IfCharacterDeadalive(0, 32080800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(32080800, 18)
- ID: 32082810
  Map: m32_08_00_00
  Template:
  - Type: segment
    Entity: 32080800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 32080800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(32080800, 0)
      - SetCharacterAnimationState(32080800, 0)
      - ForceCharacterDeath(32080800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 32080801)
      Commands:
      - SetCharacterAIState(32080800, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 32080801)
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - c2003_18(32080800, 30008, 1, 1065353216)
      - ChangeCharacterEnableState(32080800, 1)
      - SetCharacterAnimationState(32080800, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label1()
      Commands:
      - c2003_18(32080800, 20008, 0, 1065353216)
    - Type: secondsetup
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - c2003_18(32080800, 30008, 1, 1065353216)
      - ChangeCharacterEnableState(32080800, 1)
      - SetCharacterAnimationState(32080800, 1)
    - Type: secondstart
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands:
      - c2003_18(32080800, 20008, 0, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(32080800, 1)
      - c2004_34(32080800, 1)
      - DisplayBossHealthBar(1, 32080800, 0, 904680320)
- ID: 32082811
  Map: m32_08_00_00
  Template:
  - Type: chr
    Entity: 32080800
    DefeatFlag: 32080800
    MusicFlag: 32082802
- ID: 32112800
  Map: m32_11_00_00
  Template:
  - Type: segment
    Entity: 32110800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 32110800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(32048000, 5, 888880000)
      - IfCharacterDeadalive(0, 32110800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(32110800, 18)
- ID: 32112810
  Map: m32_11_00_00
  Template:
  - Type: segment
    Entity: 32110800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 32110800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(32110800, 0)
      - SetCharacterAnimationState(32110800, 0)
      - ForceCharacterDeath(32110800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 32110801)
      Commands:
      - SetCharacterAIState(32110800, 0)
      - c2004_11(32110800, 32110810)
      - c2004_35(32110810, 1)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 32110801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(32110800, 0)
      - SetCharacterAnimationState(32110800, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - ChangeCharacterEnableState(32110800, 1)
      - c2003_18(32110800, 20016, 0, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(32110800, 1)
      - SetCharacterAnimationState(32110800, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(32110800, 1)
      - c2004_34(32110800, 1)
      - DisplayBossHealthBar(1, 32110800, 0, 904620320)
- ID: 32112811
  Map: m32_11_00_00
  Template:
  - Type: multichr
    Entity: 32110800
    DefeatFlag: 32110800
    MusicFlag: 32112802
- ID: 32112820
  Map: m32_11_00_00
  Template:
  - Type: multichronly
    Entity: 32110800
    ArgEntities: X0
    Removes:
    - c2004_42(X0_4, 0, X4_4, 100, X0_4)
- ID: 32112830
  Map: m32_11_00_00
  Template:
  - Type: multichronly
    Entity: 32110800
    ArgEntities: X0
    DefeatFlag: 32110800
    DefeatFlagLabel: off 0
- ID: 34122800
  Map: m34_12_00_00
  Template:
  - Type: segment
    Entity: 34120800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 34120800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(34128500, 5, 888880000)
      - IfCharacterDeadalive(0, 34120800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(34120800, 18)
- ID: 34122810
  Map: m34_12_00_00
  Template:
  - Type: segment
    Entity: 34120800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 34120800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(34120800, 0)
      - SetCharacterAnimationState(34120800, 0)
      - ForceCharacterDeath(34120800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 34120801)
      Commands:
      - SetCharacterAIState(34120800, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 34120801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(34120800, 0)
      - SetCharacterAnimationState(34120800, 1)
      - c2003_18(34120800, 30000, 1, 1065353216)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - ChangeCharacterEnableState(34120800, 1)
      - c2003_18(34120800, 20000, 65536, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(34120800, 1)
      - SetCharacterAnimationState(34120800, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(34120800, 1)
      - c2004_34(34120800, 1)
      - DisplayBossHealthBar(1, 34120800, 0, 903600320)
- ID: 34122811
  Map: m34_12_00_00
  Template:
  - Type: chr
    Entity: 34120800
    DefeatFlag: 34120800
    MusicFlag: 34122802
- ID: 34132800
  Map: m34_13_00_00
  Template:
  - Type: segment
    Entity: 34130800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 34130800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(34130800, 5, 888880000)
      - IfCharacterDeadalive(0, 34130800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(34130800, 17)
- ID: 34132810
  Map: m34_13_00_00
  Template:
  - Type: segment
    Entity: 34130800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 34130800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(34130800, 0)
      - SetCharacterAnimationState(34130800, 0)
      - ForceCharacterDeath(34130800, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 1)
      Commands:
      - SetCharacterAIState(34130800, 0)
      - ChangeCharacterEnableState(34130800, 1)
      - SetCharacterAnimationState(34130800, 0)
    - Type: start
      Start: IfConditionGroup(0, 1, 1)
      Commands:
      - SetCharacterAIState(34130800, 1)
      - SetCharacterAnimationState(34130800, 1)
      - c2004_34(34130800, 1)
      - DisplayBossHealthBar(1, 34130800, 0, 903560000)
- ID: 34140860
  Map: m34_14_00_00
  Template:
  - Type: segment
    Entity: 34140850
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 34140850)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(34140850, 0)
      - SetCharacterAnimationState(34140850, 0)
      - ForceCharacterDeath(34140850, 0)
      - ChangeCharacterEnableState(34140851, 0)
      - SetCharacterAnimationState(34140851, 0)
      - ForceCharacterDeath(34140851, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 34140851)
      Commands:
      - SetCharacterAIState(34140850, 0)
      - SetCharacterAIState(34140851, 0)
      - ChangeCharacterEnableState(34140850, 0)
      - ChangeCharacterEnableState(34140851, 0)
    - Type: firstsetup
      IgnoreMatch: true
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 34140851)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - SetCharacterAnimationState(34140850, 1)
      - SetCharacterAnimationState(34140851, 1)
    - Type: firststart
      IgnoreMatch: true
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands: []
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAnimationState(34140850, 1)
      - SetCharacterAnimationState(34140851, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - ChangeCharacterEnableState(34140850, 1)
      - ChangeCharacterEnableState(34140851, 1)
      - SetCharacterAIState(34140850, 1)
      - SetCharacterAIState(34140851, 1)
      - c2004_34(34140850, 1)
      - c2004_34(34140851, 1)
      - DisplayBossHealthBar(1, 34140850, 1, 902140000)
      - DisplayBossHealthBar(1, 34140851, 0, 902140001)
- ID: 34142850
  Map: m34_14_00_00
  Template:
  - Type: segment
    Entity: 34140850
    Segments:
    - Type: end
      Commands:
      - c4_14(1, 34140850, 5, 0, 0, 1065353216)
      - c4_14(1, 34140851, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(4)
      - PlaySE(34140850, 5, 888880000)
      - IfCharacterDeadalive(2, 34140850, 1, 0, 1)
      - IfCharacterDeadalive(2, 34140851, 1, 0, 1)
      - IfConditionGroup(0, 1, 2)
      - WaitFixedTimeSeconds(1.5)
      - HandleBossDefeatAndDisplayBanner(34140850, 18)
      - DisplayBossHealthBar(0, 34140850, 1, 902140000)
      - DisplayBossHealthBar(0, 34140851, 0, 902140001)
- ID: 35002800
  Map: m35_00_00_00
  Template:
  - Type: segment
    Entity: 35000800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 35000800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(35000800, 5, 888880000)
      - IfCharacterDeadalive(0, 35000800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(35000800, 17)
- ID: 35002810
  Map: m35_00_00_00
  Template:
  - Type: chr
    Entity: 35000800
    DefeatFlag: 35000800
    MusicFlag: 35002802
    NewEvent:
    - EndIfEventFlag(0, 1, 0, 35000800)
    - c4_2(1, 35000800, 5, 1058642330, 0, 1065353216)
    - IfConditionGroup(0, 1, 1)
    - c2003_66(0, 35002802, 1)
  - Type: segment
    Entity: 35000800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 35000800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(35000800, 0)
      - SetCharacterAnimationState(35000800, 0)
      - ForceCharacterDeath(35000800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 35000801)
      Commands:
      - SetCharacterAIState(35000800, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 35000801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - c2003_18(35000800, 30001, 0, 1065353216)
      - ChangeCharacterEnableState(35000800, 1)
      - SetCharacterAnimationState(35000800, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - c2004_30(35000800, 0)
      - c2003_18(35000800, 20001, 0, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(35000800, 1)
      - SetCharacterAnimationState(35000800, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: remove
      Start: Label2()
      Commands:
      - DisplayBossHealthBar(1, 35000800, 1, 904800002)
    - Type: start
      Start: Label2()
      Commands:
      - c2004_34(35000800, 1)
      - DisplayBossHealthBar(1, 35000800, 0, 904800002)
      - WaitFixedTimeSeconds(1)
      - SetCharacterAIState(35000800, 1)
    - Type: remove
      Start: Label2()
      Commands:
      - EndIfEventFlag(0, 1, 0, 35000800)
      - c4_2(1, 35000800, 5, 1058642330, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - c2003_66(0, 35002802, 1)
- ID: 35002850
  Map: m35_00_00_00
  Template:
  - Type: segment
    Entity: 35000850
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 35000850, 5, 0, 0, 1065353216)
      - ForceCharacterDeath(35005850, 0)
      - WaitFixedTimeSeconds(4)
      - PlaySE(35000850, 5, 888880000)
      - IfCharacterDeadalive(0, 35000850, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(35000850, 18)
- ID: 35002860
  Map: m35_00_00_00
  Template:
  - Type: segment
    Entity: 35000850
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 35000850)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(35005850, 0)
      - SetCharacterAnimationState(35005850, 0)
      - ForceCharacterDeath(35005850, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(35000850, 0)
      - ChangeCharacterEnableState(35005850, 1)
      - SetCharacterAnimationState(35005850, 1)
      - SetCharacterAIState(35005850, 0)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(35000850, 1)
      - c2004_34(35000850, 1)
      - DisplayBossHealthBar(1, 35000850, 0, 138600)
      - SetCharacterAIState(35005850, 1)
- ID: 39202800
  Map: m39_20_00_00
  Template:
  - Type: segment
    Entity: 39200800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 39200800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(39200800, 5, 888880000)
      - c4_14(0, 39200800, 0, 0, 0, 1065353216)
      - HandleBossDefeatAndDisplayBanner(39200800, 17)
- ID: 39202810
  Map: m39_20_00_00
  Template:
  - Type: segment
    Entity: 39200800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 39200800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(39200800, 0)
      - SetCharacterAnimationState(39200800, 0)
      - ForceCharacterDeath(39200800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 39200801)
      Commands:
      - SetCharacterAIState(39200800, 0)
    - Type: firstsetup
      IgnoreMatch: true
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 39200801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(39200800, 1)
      - SetCharacterAnimationState(39200800, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - c2004_30(39200800, 0)
      - SetCharacterAIState(39200800, 1)
      - c2003_18(39200800, 3004, 0, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(39200800, 1)
      - SetCharacterAnimationState(39200800, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(39200800, 1)
      - c2004_34(39200800, 1)
      - c2004_30(39200800, 1)
      - DisplayBossHealthBar(1, 39200800, 0, 904910000)
- ID: 1034482800
  Map: m60_34_48_00
  Template:
  - Type: segment
    Entity: 1034480800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 1034480800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(1034480800, 5, 888880000)
      - IfCharacterDeadalive(0, 1034480800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(1034480800, 18)
- ID: 1034482810
  Map: m60_34_48_00
  Template:
  - Type: segment
    Entity: 1034480800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 1034480800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(1034480800, 0)
      - SetCharacterAnimationState(1034480800, 0)
      - ForceCharacterDeath(1034480800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - c2003_18(1034480800, 30000, 1, 1065353216)
      - ChangeCharacterEnableState(1034480800, 1)
      - SetCharacterAnimationState(1034480800, 1)
      - SetCharacterAIState(1034480800, 0)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(1034480800, 1)
      - c2004_34(1034480800, 1)
      - c2003_18(1034480800, 20000, 0, 1065353216)
      - DisplayBossHealthBar(1, 1034480800, 0, 904020540)
- ID: 1035500800
  Map: m60_35_50_00
  Template:
  - Type: segment
    Entity: 1035500800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 1035500800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(1035500800, 5, 888880000)
      - IfCharacterDeadalive(0, 1035500800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(1035500800, 17)
- ID: 1035502810
  Map: m60_35_50_00
  Template:
  - Type: segment
    Entity: 1035500800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 1035500800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(1035500800, 0)
      - SetCharacterAnimationState(1035500800, 0)
      - ForceCharacterDeath(1035500800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 1035500801)
      Commands:
      - SetCharacterAIState(1035500800, 0)
    - Type: firstsetup
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 1035500801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(1035500800, 0)
      - SetCharacterAnimationState(1035500800, 1)
      - c2003_18(1035500800, 30000, 1, 1065353216)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - ChangeCharacterEnableState(1035500800, 1)
      - c2003_18(1035500800, 20010, 65536, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(1035500800, 1)
      - SetCharacterAnimationState(1035500800, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands: []
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(1035500800, 1)
      - c2004_34(1035500800, 1)
      - DisplayBossHealthBar(1, 1035500800, 0, 903253500)
- ID: 1035502840
  Map: m60_35_50_00
  Template:
  - Type: remove
    Entity: 1035500800
- ID: 1035502841
  Map: m60_35_50_00
  Template:
  - Type: remove
    Entity: 1035500800
- ID: 1038512800
  Map: m60_38_51_00
  Template:
  - Type: segment
    Entity: 1038510800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 1038510800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(1038510800, 5, 888880000)
      - IfCharacterDeadalive(0, 1038510800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(1038510800, 18)
- ID: 1038512810
  Map: m60_38_51_00
  Template:
  - Type: segment
    Entity: 1038510800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 1038510800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(1038510800, 0)
      - SetCharacterAnimationState(1038510800, 0)
      - ForceCharacterDeath(1038510800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(1038510800, 0)
      - ChangeCharacterEnableState(1038510800, 1)
      - SetCharacterAnimationState(1038510800, 1)
      - c2003_18(1038510800, 30000, 1, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - c2003_18(1038510800, 20000, 0, 1065353216)
      - SetCharacterAIState(1038510800, 1)
      - c2004_34(1038510800, 1)
      - DisplayBossHealthBar(1, 1038510800, 0, 904130540)
- ID: 1039542800
  Map: m60_39_54_00
  Template:
  - Type: segment
    Entity: 1039540800
    Segments:
    - Type: end
      Commands:
      - c4_2(0, 1039540800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(1039540800, 5, 888880000)
      - IfCharacterDeadalive(0, 1039540800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(1039540800, 17)
- ID: 1039542810
  Map: m60_39_54_00
  Template:
  - Type: segment
    Entity: 1039540800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 1039540800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(1039540800, 0)
      - SetCharacterAnimationState(1039540800, 0)
      - ForceCharacterDeath(1039540800, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(1039540800, 0)
      - ChangeCharacterEnableState(1039540800, 1)
      - SetCharacterAnimationState(1039540800, 1)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      Commands:
      - c2004_34(1039540800, 1)
      - DisplayBossHealthBar(1, 1039540800, 0, 903100500)
      - WaitFixedTimeSeconds(1.75)
      - SetCharacterAIState(1039540800, 1)
- ID: 1039542811
  Map: m60_39_54_00
  Template:
  - Type: chr
    Entity: 1039540800
    DefeatFlag: 1039540800
    MusicFlag: 1039542802
- ID: 1040532800
  Map: m60_40_53_00
  Template:
  - Type: segment
    Entity: 1040530800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 1040530800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(1040530800, 5, 888880000)
      - IfCharacterDeadalive(0, 1040530800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(1040530800, 18)
- ID: 1040532810
  Map: m60_40_53_00
  Template:
  - Type: segment
    Entity: 1040530800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 1040530800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(1040530800, 0)
      - SetCharacterAnimationState(1040530800, 0)
      - ForceCharacterDeath(1040530800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(1040530800, 0)
      - ChangeCharacterEnableState(1040530800, 1)
      - SetCharacterAnimationState(1040530800, 1)
      - c2003_18(1040530800, 30000, 1, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - c2004_34(1040530800, 1)
      - c2003_18(1040530800, 20000, 0, 1065353216)
      - SetCharacterAIState(1040530800, 1)
      - WaitFixedTimeSeconds(2.8)
      - DisplayBossHealthBar(1, 1040530800, 0, 903550540)
- ID: 1043302800
  Map: m60_43_30_00
  Template:
  - Type: segment
    Entity: 1043300800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 1043300800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(1043300800, 5, 888880000)
      - IfCharacterDeadalive(0, 1043300800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(1043300800, 17)
- ID: 1043302810
  Map: m60_43_30_00
  Template:
  - Type: segment
    Entity: 1043300800
    Removes:
    - IfConditionGroup(1, 1, -1)
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 1043300800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(1043300800, 0)
      - SetCharacterAnimationState(1043300800, 0)
      - ForceCharacterDeath(1043300800, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 1)
      Commands:
      - SetCharacterAIState(1043300800, 0)
      - ChangeCharacterEnableState(1043300800, 1)
      - SetCharacterAnimationState(1043300800, 1)
      - c2004_50(1043300800, 220, 0)
    - Type: start
      Start: IfConditionGroup(0, 1, 1)
      Commands:
      - SetCharacterAIState(1043300800, 1)
      - c2004_34(1043300800, 1)
      - DisplayBossHealthBar(1, 1043300800, 0, 903460500)
      - c2004_50(1043300800, 220, 1)
      - c2004_8(1043300800, 8089)
- ID: 1044362800
  Map: m60_44_36_00
  Template:
  - Type: segment
    Entity: 1044360800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 1044360800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(1044360800, 5, 888880000)
      - IfCharacterDeadalive(0, 1044360800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(1044360800, 18)
- ID: 1044362810
  Map: m60_44_36_00
  Template:
  - Type: segment
    Entity: 1044360800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 1044360800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(1044360800, 0)
      - SetCharacterAnimationState(1044360800, 0)
      - ForceCharacterDeath(1044360800, 0)
    - Type: setup
      Start: Label0()
      End: Label2()
      Commands:
      - SetCharacterAIState(1044360800, 0)
      - ChangeCharacterEnableState(1044360800, 1)
      - SetCharacterAnimationState(1044360800, 1)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(1044360800, 1)
      - c2004_34(1044360800, 1)
      - DisplayBossHealthBar(1, 1044360800, 0, 904340540)
- ID: 1048402800
  Map: m60_48_40_00
  Template:
  - Type: segment
    Entity: 1048400800
    Segments:
    - Type: end
      Commands:
      - c4_14(1, 1048400800, 5, 0, 0, 1065353216)
      - c4_14(1, 1048400801, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(4)
      - PlaySE(1048400800, 5, 888880000)
      - IfCharacterDeadalive(2, 1048400800, 1, 0, 1)
      - IfCharacterDeadalive(2, 1048400801, 1, 0, 1)
      - IfConditionGroup(0, 1, 2)
      - HandleBossDefeatAndDisplayBanner(1048400800, 18)
      - DisplayBossHealthBar(0, 1048400800, 1, 904340541)
- ID: 1048402810
  Map: m60_48_40_00
  Template:
  - Type: segment
    Entity: 1048400800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 1048400800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(1048400800, 0)
      - SetCharacterAnimationState(1048400800, 0)
      - ForceCharacterDeath(1048400800, 0)
      - ChangeCharacterEnableState(1048400801, 0)
      - SetCharacterAnimationState(1048400801, 0)
      - ForceCharacterDeath(1048400801, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 1)
      Commands:
      - c2003_18(1048400800, 30005, 1, 1065353216)
      - ChangeCharacterEnableState(1048400800, 1)
      - SetCharacterAnimationState(1048400800, 1)
      - ChangeCharacterEnableState(1048400801, 1)
      - SetCharacterAnimationState(1048400801, 1)
      - SetCharacterAIState(1048400801, 0)
      - SetCharacterAIState(1048400800, 0)
    - Type: start
      Start: IfConditionGroup(0, 1, 1)
      SpecificHelperOnly:
      - DisplayBossHealthBar(1, 1048400801, 0, 904340542)
      Commands:
      - SetCharacterAIState(1048400801, 1)
      - c2004_34(1048400801, 1)
      - DisplayBossHealthBar(1, 1048400801, 0, 904340542)
      - c2003_18(1048400801, 3012, 1, 1065353216)
      - c2004_34(1048400800, 1)
      - DisplayBossHealthBar(1, 1048400800, 1, 904340541)
      - WaitFixedTimeSeconds(2.2)
      - SetCharacterAIState(1048400800, 1)
      - c2003_18(1048400800, 20005, 1, 1065353216)
- ID: 1049390800
  Map: m60_49_39_00
  Template:
  - Type: segment
    Entity: 1049390800
    Segments:
    - Type: end
      Commands:
      - c4_14(1, 1049390800, 5, 0, 0, 1065353216)
      - c4_14(1, 1049390801, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(4)
      - PlaySE(1049390800, 5, 888880000)
      - IfCharacterDeadalive(0, 1049390800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(1049390800, 18)
      - DisplayBossHealthBar(0, 1049390801, 1, 903300561)
- ID: 1049392810
  Map: m60_49_39_00
  Template:
  - Type: segment
    Entity: 1049390800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 1049390800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(1049390800, 0)
      - SetCharacterAnimationState(1049390800, 0)
      - ForceCharacterDeath(1049390800, 0)
      - ChangeCharacterEnableState(1049390801, 0)
      - SetCharacterAnimationState(1049390801, 0)
      - ForceCharacterDeath(1049390801, 0)
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(1049390800, 0)
      - ChangeCharacterEnableState(1049390800, 1)
      - SetCharacterAnimationState(1049390800, 1)
      - ChangeCharacterEnableState(1049390801, 1)
      - SetCharacterAnimationState(1049390801, 1)
      - SetCharacterAIState(1049390801, 0)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(1049390800, 1)
      - SetCharacterAIState(1049390801, 1)
      - c2004_34(1049390800, 1)
      - c2004_34(1049390801, 1)
      - DisplayBossHealthBar(1, 1049390800, 0, 903300560)
      - DisplayBossHealthBar(1, 1049390801, 1, 903300561)
- ID: 1051362800
  Map: m60_51_36_00
  Template:
  - Type: segment
    Entity: 1051360800
    Segments:
    - Type: end
      Commands:
      - c4_14(1, 1051360800, 5, 0, 0, 1065353216)
      - c4_14(1, 1051360801, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(4)
      - PlaySE(1051360800, 5, 888880000)
      - IfCharacterDeadalive(2, 1051360800, 1, 0, 1)
      - IfCharacterDeadalive(2, 1051360801, 1, 0, 1)
      - IfConditionGroup(0, 1, 2)
      - HandleBossDefeatAndDisplayBanner(1051360800, 17)
      - DisplayBossHealthBar(0, 1051360800, 1, 902500500)
- ID: 1051362810
  Map: m60_51_36_00
  Template:
  - Type: multichronlyboss
    Entity: 1051360800
    DefeatFlag: 1051360800
    StartFlag: 1051362805
    Name: 1051360800
    Regions:
    - event chrpoint 1051362299
    NewEvent:
    - EndIfEventFlag(0, 1, 0, 1051360800)
    - IfEventFlag(0, 1, 0, 1051362805)
    - c4_2(255, 1051360801, 3, 1056964608, 0, 1065353216)
    - IfCharacterDeadalive(-1, 1051360801, 1, 0, 1)
    - IfElapsedSeconds(-1, 30)
    - c3_23(255, 1051360800, 10000, 0)
    - IfConditionGroup(0, 1, -1)
    - SetCharacterAIState(1051360800, 1)
    - c2004_34(1051360800, 1)
    - DisplayBossHealthBar(1, 1051360800, 1, 902500500)
    - c2004_13(1051360800, 1051362299)
  - Type: segment
    Entity: 1051360800
    Add:
    - Cmd: GotoUnconditionally(0)
      After: GotoIfEventFlag(0, 0, 0, 1051360800)
    - Cmd: SkipIfEventFlag(2, 1, 0, 1051360800)
      Before: GotoIfEventFlag(5, 0, 0, 9410)
    Segments:
    - Type: disable
      Start: GotoIfEventFlag(5, 1, 0, 9413)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(1051360800, 0)
      - SetCharacterAnimationState(1051360800, 0)
      - ForceCharacterDeath(1051360800, 0)
      - ChangeCharacterEnableState(1051360801, 0)
      - SetCharacterAnimationState(1051360801, 0)
      - ForceCharacterDeath(1051360801, 0)
    - Type: setup
      Start: Label5()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(1051360801, 0)
      - ChangeCharacterEnableState(1051360800, 1)
      - SetCharacterAnimationState(1051360800, 1)
      - ChangeCharacterEnableState(1051360801, 1)
      - SetCharacterAnimationState(1051360801, 1)
      - SetCharacterAIState(1051360800, 0)
    - Type: start
      Start: IfConditionGroup(0, 1, 2)
      Commands:
      - SetCharacterAIState(1051360801, 1)
      - c2004_34(1051360801, 1)
      - DisplayBossHealthBar(1, 1051360801, 0, 903460501)
    - Type: remove
      Start: IfConditionGroup(0, 1, 2)
      Commands:
      - c4_2(255, 1051360801, 3, 1056964608, 0, 1065353216)
      - IfCharacterDeadalive(-1, 1051360801, 1, 0, 1)
      - IfElapsedSeconds(-1, 30)
      - c3_23(255, 1051360800, 10000, 0)
      - IfConditionGroup(0, 1, -1)
      - c2003_18(1051360800, 20011, 0, 1065353216)
      - SetCharacterAIState(1051360800, 1)
      - c2004_34(1051360800, 1)
      - DisplayBossHealthBar(1, 1051360800, 1, 902500500)
      - c2004_13(1051360800, 1051362299)
- ID: 1051572800
  Map: m60_51_57_00
  Template:
  - Type: segment
    Entity: 1051570800
    Segments:
    - Type: end
      Commands:
      - c4_2(0, 1051570800, 5, 0, 0, 1065353216)
      - IfCharacterDeadalive(0, 1051570800, 1, 0, 1)
      - HandleBossDefeatAndDisplayBanner(1051570800, 17)
- ID: 1051572810
  Map: m60_51_57_00
  Template:
  - Type: segment
    Entity: 1051570800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 1051570800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(1051570800, 0)
      - SetCharacterAnimationState(1051570800, 0)
      - ForceCharacterDeath(1051570800, 0)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 1051570801)
      Commands:
      - SetCharacterAIState(1051570800, 0)
    - Type: firstsetup
      IgnoreMatch: true
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 1051570801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(1051570800, 1)
      - SetCharacterAnimationState(1051570800, 1)
    - Type: firststart
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands:
      - c2003_18(1051570800, 20010, 0, 1065353216)
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, 2)
      Commands:
      - ChangeCharacterEnableState(1051570800, 1)
      - SetCharacterAnimationState(1051570800, 1)
    - Type: secondstart
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, 2)
      End: Label2()
      Commands:
      - c2003_18(1051570800, 20010, 0, 1065353216)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(1051570800, 1)
      - c2004_34(1051575800, 1)
      - DisplayBossHealthBar(1, 1051570800, 0, 903050500)
- ID: 1051572811
  Map: m60_51_57_00
  Template:
  - Type: multichr
    Entity: 1051570800
    DefeatFlag: 1051570800
    MusicFlag: 1051572802
- ID: 1051572812
  Map: m60_51_57_00
  Template:
  - Type: multichr
    Entity: 1051570800
    DefeatFlag: 1051570800
- ID: 1051572820
  Map: m60_51_57_00
  Template:
  - Type: multichr
    Entity: 1051570800
    ArgEntities: X0 X4
    DefeatFlag: 1051570800
- ID: 1051572821
  Map: m60_51_57_00
  Template:
  - Type: multichr
    Entity: 1051570800
    ArgEntities: X0 X4
    DefeatFlagLabel: off 0
    Removes:
    - GotoIfEventFlag(0, 0, 0, X0_4)
- ID: 1051572822
  Map: m60_51_57_00
  Template:
  - Type: multichr
    Entity: 1051570800
    ArgEntities: X0 X4 X8
    DefeatFlag: -1
    Removes:
    - EndIfEventFlag(0, 1, 0, X0_4)
- ID: 1252382800
  Map: m60_52_38_00
  Template:
  - Type: segment
    Entity: 1052380800
    Segments:
    - Type: end
      Commands:
      - c4_14(1, 1052380800, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(4)
      - PlaySE(1052380800, 5, 888880000)
      - IfCharacterDeadalive(2, 1052380800, 1, 0, 1)
      - IfCharacterDeadalive(2, 10000, 0, 0, 1)
      - IfConditionGroup(0, 1, 2)
      - c2004_21(10000, 13925)
      - c2004_34(1052380899, 0)
      - c2004_34(1052380800, 0)
      - HandleBossDefeatAndDisplayBanner(1052380800, 16)
- ID: 1252382810
  Map: m60_52_38_00
  Template:
  - Type: segment
    Entity: 1052380800
    Segments:
    - Type: dead
      Start: GotoIfEventFlag(0, 0, 0, 1252380800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(1052380800, 0)
      - SetCharacterAnimationState(1052380800, 0)
      - ForceCharacterDeath(1052380800, 0)
      - ChangeCharacterEnableState(1052380899, 0)
      - SetCharacterAnimationState(1052380899, 0)
      - ForceCharacterDeath(1052380899, 0)
      - c2004_35(1052380899, 0)
      - c2004_2(1052380899, 0)
    - Type: remove
      Start: Label0()
      End: IfConditionGroup(0, 1, 5)
      Commands: []
    - Type: setup
      Start: Label0()
      End: IfConditionGroup(0, 1, 5)
      Commands:
      - SetCharacterAnimationState(1052380899, 0)
      - ChangeCharacterEnableState(1052380800, 1)
      - SetCharacterAnimationState(1052380800, 1)
      - ChangeCharacterEnableState(1052380899, 1)
      - c2004_10(1052380899, 0)
      - c2004_50(1052380899, 220, 0)
      - c2004_2(1052380899, 0)
      - SetCharacterAIState(1052380899, 0)
      - c2004_70(1052380899, 1)
      - SetCharacterAIState(1052380800, 0)
      - c2004_70(1052380800, 1)
    - Type: start
      Start: IfConditionGroup(0, 1, 5)
      Commands:
      - c2004_35(1052380899, 1)
      - c2004_35(1052380800, 1)
      - c2004_34(1052380899, 1)
      - c2004_34(1052380800, 1)
      - SetCharacterAIState(1052380800, 1)
      - c2004_8(10000, 13925)
      - c2004_8(1052380800, 13918)
      - IfCharacterDeadalive(5, 1052380800, 0, 0, 1)
      - c4_7(5, 1052380800, 1, 1065353216)
      - IfCharacterAIState(5, 1052380800, 3, 0, 1)
      - IfConditionGroup(0, 1, 5)
      - DisplayBossHealthBar(1, 1052380800, 0, 904730000)
      - c2004_55(1052380800, 1148846080)
- ID: 1252382820
  Map: m60_52_38_00
  Template:
  - Type: multichr
    Entity: 1052380800
    DefeatFlag: 1252380800
    MusicFlag: 1252382895
    Regions:
    - event dist1000 1052382298
    - event chrpoint 1052382299
    Add:
    - Cmd: GotoUnconditionally(1)
      After: c2004_42(1052380899, 2, 10000, 900, 10000)
    Removes:
    - ChangeCharacterEnableState(1052380800, 0)
    - ChangeCharacterEnableState(1052380800, 1)
    - GotoIfEventFlag(0, 1, 0, 1252382890)
    - SkipIfEventFlag(1, 1, 0, 1252382890)
    - c2003_69(0, 1252382890, 1)
- ID: 1052520800
  Map: m60_52_52_00
  Template:
  - Type: segment
    Entity: 1052520800
    Segments:
    - Type: end
      Commands:
      - c4_14(0, 1052520800, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - PlaySE(1052520800, 5, 888880000)
      - IfCharacterDeadalive(0, 1052520800, 1, 0, 1)
      - WaitFixedTimeSeconds(4)
      - HandleBossDefeatAndDisplayBanner(1052520800, 15)
- ID: 1052522810
  Map: m60_52_52_00
  Template:
  - Type: loc
    Add:
    - Cmds:
      - ChangeCharacterEnableState(1052525800, 1)
      - SetCharacterAnimationState(1052525800, 1)
      After: Label0()
    Removes:
    - c2004_33(1052520801, 1052520800)
    - ForceCharacterDeath(1052525800, 1)
    Replaces:
    - From: DisplayBossHealthBar(1, 1052520800, 0, 904760000)
      To: DisplayBossHealthBar(1, 1052520801, 0, 904760000)
  - Type: segment
    Entity: 1052520800
    Segments:
    - Type: dead
      IgnoreMatch: true
      Start: GotoIfEventFlag(0, 0, 0, 1252520800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(1052520800, 0)
      - SetCharacterAnimationState(1052520800, 0)
      - ForceCharacterDeath(1052520800, 1)
    - Type: remove
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 1252520801)
      Commands:
      - c2004_10(1052520800, 0)
      - SetCharacterAnimationState(1052520800, 0)
      - SetCharacterAIState(1052520800, 0)
      - c2004_50(1052520800, 221, 0)
      - c2004_50(1052520800, 222, 0)
      - c2004_50(1052520800, 225, 0)
      - c2004_50(1052520800, 226, 0)
      - c2004_50(1052520800, 227, 0)
    - Type: remove
      Start: Label2()
      Commands:
      - c2004_33(1052520801, 1052520800)
  - Type: segment
    Entity: 1052520801
    Segments:
    - Type: dead
      IgnoreMatch: true
      Start: GotoIfEventFlag(0, 0, 0, 1252520800)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(1052520801, 0)
      - SetCharacterAnimationState(1052520801, 0)
      - ForceCharacterDeath(1052520801, 1)
    - Type: presetup
      Start: Label0()
      End: GotoIfEventFlag(1, 1, 0, 1252520801)
      Commands:
      - SetCharacterAIState(1052520801, 0)
      - c2004_50(1052520801, 221, 0)
      - c2004_50(1052520801, 223, 0)
      - c2004_50(1052520801, 224, 0)
      - c2004_50(1052520801, 225, 0)
      - c2004_50(1052520801, 226, 0)
      - c2004_50(1052520801, 227, 0)
    - Type: firstsetup
      IgnoreMatch: true
      PreSegment: presetup
      Start: GotoIfEventFlag(1, 1, 0, 1252520801)
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(1052520801, 1)
      - SetCharacterAnimationState(1052520801, 1)
    - Type: firststart
      IgnoreMatch: true
      PreSegment: firstsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label1()
      Commands: []
    - Type: secondsetup
      IgnoreMatch: true
      PreSegment: firststart
      Start: Label1()
      End: IfConditionGroup(0, 1, -1)
      Commands:
      - ChangeCharacterEnableState(1052520801, 1)
      - SetCharacterAnimationState(1052520801, 1)
    - Type: secondstart
      IgnoreMatch: true
      PreSegment: secondsetup
      Start: IfConditionGroup(0, 1, -1)
      End: Label2()
      Commands: []
    - Type: remove
      Start: Label2()
      Commands:
      - c2004_33(1052520801, 1052520800)
      - DisplayBossHealthBar(1, 1052520800, 0, 904760000)
    - Type: start
      Start: Label2()
      Commands:
      - SetCharacterAIState(1052520801, 1)
      - DisplayBossHealthBar(1, 1052520801, 0, 904760000)
      - c2004_30(1052520801, 0)
      - c2004_34(1052520801, 1)
- ID: 1052522811
  Map: m60_52_52_00
  Template:
  - Type: segment
    Entity: 1052520800
    Removes:
    - WaitFixedTimeFrames(1)
    Segments:
    - Type: setup
      IgnoreMatch: true
      Start: c2004_42(1052520800, 1, 1052522815, -1, 1052520801)
      Commands:
      - c2004_10(1052520800, 1)
      - SetCharacterAIState(1052520800, 0)
      - c2004_50(1052520800, 221, 0)
      - c2004_50(1052520800, 222, 0)
      - c2004_50(1052520800, 225, 0)
      - c2004_50(1052520800, 226, 0)
      - c2004_50(1052520800, 227, 0)
    - Type: start
      IgnoreMatch: true
      PreSegment: setup
      Start: c2004_42(1052520800, 1, 1052522815, -1, 1052520801)
      Commands:
      - SetCharacterAnimationState(1052520800, 1)
      - ChangeCharacterEnableState(1052520800, 1)
      - c2003_18(1052520800, 20000, 0, 1065353216)
      - DisplayBossHealthBar(1, 1052520800, 0, 904760000)
  - Type: segment
    Entity: 1052520801
    Segments:
    - Type: endphase
      Commands:
      - c4_2(0, 1052520801, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(4)
      - IfCharacterDeadalive(0, 1052520801, 1, 0, 1)
      - c2004_2(1052520801, 30)
    - Type: remove
      Commands:
      - ChangeCharacterEnableState(1052520801, 0)
      - SetCharacterAnimationState(1052520801, 0)
  - Type: loc
    Entity: 1052520800
    Removes:
    - c2004_42(1052520800, 1, 1052522815, -1, 1052520801)
- ID: 1052522812
  Map: m60_52_52_00
  Template:
  - Type: chr
    Entity: 1052520800
    DefeatFlag: 1252520800
    StartFlag: 1252522802
    Removes:
    - c2004_8(1052520800, 12780)
- ID: 1052522815
  Map: m60_52_52_00
  Template:
  - Type: chrpart
    Entity: 1052520801
    DefeatFlag: 1252520800
    EffectFlag: 0 1052520801 1052522820; 1 1052520801 1052522821; 2 1052520801 1052522822; 3 1052520801 1052522823; 4 1052520801 1052522824; 5 1052520801 1052522825; 6 1052520801 1052522826; 7 1052520801 1052522827; 8 1052520801 1052522828
- ID: 1052522816
  Map: m60_52_52_00
  Template:
  - Type: chrpart
    Entity: 1052520801
    DefeatFlag: 1252520800
    EffectFlag: 10 1052520801 1052522830; 11 1052520801 1052522831; 12 1052520801 1052522832; 13 1052520801 1052522833; 14 1052520801 1052522834; 15 1052520801 1052522835; 16 1052520801 1052522836; 17 1052520801 1052522837; 18 1052520801 1052522838
- ID: 1052522817
  Map: m60_52_52_00
  Template:
  - Type: chrpart
    Entity: 1052520801
    DefeatFlag: 1252520800
- ID: 1034452800
  Map: m60_34_45_00
  Template:
  - Type: chr
    Entity: 1034450800
    DefeatFlag: 1034450800
- ID: 1034502800
  Map: m60_34_50_00
  Template:
  - Type: chr
    Entity: 1034500800
    DefeatFlag: 1034500800
- ID: 1034502801
  Map: m60_34_50_00
  Template:
  - Type: remove
    Entity: 1034500800
- ID: 1034502804
  Map: m60_34_50_00
  Template:
  - Type: loc
    Entity: 1034500800
    Add:
    - Cmd: SetCharacterAnimationState(1034500800, 0)
    Removes:
    - IfCharacterHasSpEffect(1, 1034500800, 10207, 1, 0, 1)
- ID: 1035532300
  Map: m60_35_53_00
  Template:
  - Type: remove
    Entity: 1035530800
- ID: 1036482340
  Map: m60_36_48_00
  Template:
  - Type: multichr
    Entity: 1036480340
    ArgEntities: X0 X4
- ID: 1037512301
  Map: m60_37_51_00
  Template:
  - Type: loc
    Entity: 1037510800
    ArgEntities: X0
    Replaces:
    - From: IfCharacterHasSpEffect(0, X0_4, 14887, 1, 0, 1)
      To: c4_2(0, X0_4, 3, 1058642330, 0, 1065353216)
- ID: 1037512350
  Map: m60_37_51_00
  Template:
  - Type: loc
    Entity: 1037510800
    Animation: wakeup X0 20019
- ID: 1038522339
  Map: m60_38_52_00
  Template:
  - Type: multichr
    Entity: 1038520340
    ArgEntities: X0 X4
    DefeatFlag: 1038520800
- ID: 1038522343
  Map: m60_38_52_00
  Template:
  - Type: multichr
    Entity: 1038520340
    ArgEntities: X0
    DefeatFlag: 1038520800
    Regions:
    - arg chrpoint 1038522340 1038522341 1038522342
    Add:
    - Cmd: c2004_8(X0_4, 15347)
      Before: start
- ID: 1038522344
  Map: m60_38_52_00
  Template:
  - Type: multichronly
    Entity: 1038520340
    ArgEntities: X12 X4
    DefeatFlagLabel: off 9
    Regions:
    - event chrgen 1038523350
    Add:
    - Cmd: Label9()
      Before: IfCharacterDeadalive(0, X4_4, 1, 0, 1)
    Removes:
    - SkipIfEventFlag(8, 0, 0, X0_4)
    - c2003_69(0, X0_4, 1)
- ID: 1038522345
  Map: m60_38_52_00
  Template:
  - Type: multichr
    Entity: 1038520340
    ArgEntities: X0 X4
- ID: 1038522346
  Map: m60_38_52_00
  Template:
  - Type: multichr
    Entity: 1038520340
    ArgEntities: X0
    DefeatFlagLabel: on 19
    Regions:
    - arg chrpoint 1038522320 1038522343 1038522344 1038522345
    Removes:
    - EndIfEventFlag(0, 1, 0, X4_4)
- ID: 1038522347
  Map: m60_38_52_00
  Template:
  - Type: remove
    Entity: 1038520340
    ArgEntities: X0 X12
    DefeatFlagLabel: on 19
    Regions:
    - arg chrpoint 1038522400
    Removes:
    - EndIfEventFlag(0, 1, 0, X8_4)
- ID: 1039432340
  Map: m60_39_43_00
  Template:
  - Type: multichr
    Entity: 1039430340
    ArgEntities: X0 X4
- ID: 1039442341
  Map: m60_39_44_00
  Template:
  - Type: multichronly
    Entity: 1039440800
    ArgEntities: X0
    DefeatFlag: 1039440800
    Regions:
    - arg chrgen 1039443240 1039443241 1039443242 1039443230 1039443231 1039443232
- ID: 1039442342
  Map: m60_39_44_00
  Template:
  - Type: multichr
    Entity: 1039440800
    ArgEntities: X0
    DefeatFlagLabel: on 19
    Regions:
    - arg chrpoint 1039442803 1039442804 1039442805
    Removes:
    - EndIfEventFlag(0, 1, 0, X4_4)
- ID: 1039442343
  Map: m60_39_44_00
  Template:
  - Type: multichr
    Entity: 1039440800
    ArgEntities: X0
    DefeatFlagLabel: on 19
    Regions:
    - arg chrpoint 1039442800 1039442801 1039442802
    Add:
    - Cmd: c2004_8(X0_4, 15347)
      Before: start
- ID: 1039442344
  Map: m60_39_44_00
  Template:
  - Type: multichronly
    Entity: 1039440800
    ArgEntities: X4 X8
    DefeatFlagLabel: off 0
    Regions:
    - event chrgen 1039443240 1039443241 1039443242 1039443230 1039443231 1039443232
    Removes:
    - GotoIfEventFlag(0, 0, 0, X0_4)
- ID: 1039502580
  Map: m60_39_50_00
  Template:
  - Type: segment
    Entity: 1039500800
    ArgEntities: X12
    Segments:
    - Type: end
      Params: X12
      Commands:
      - IfCharacterDeadalive(1, X12_4, 1, 0, 1)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(3)
      - HandleBossDefeatAndDisplayBanner(X12_4, 17)
- ID: 1039512451
  Map: m60_39_51_00
  Template:
  - Type: multichr
    Entity: 1039510800
    ArgEntities: X0 X4
- ID: 1041512310
  Map: m60_41_51_00
  Template:
  - Type: loc
    Entities: 1041510800 1041510801
    ArgEntities: X0 X4
    Removes:
    - c2004_11(X0_4, X4_4)
    - c2004_11(X4_4, X0_4)
- ID: 1041512800
  Map: m60_41_51_00
  Template:
  - Type: segment
    Entity: 1041510800
    ArgEntities: X8
    Segments:
    - Type: dead
      Params: X8
      Start: GotoIfEventFlag(0, 0, 0, X0_4)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(X8_4, 0)
      - SetCharacterAnimationState(X8_4, 0)
      - ForceCharacterDeath(X8_4, 0)
    - Type: setup
      IgnoreMatch: true
      Params: X8
      Start: Label0()
      Commands:
      - ChangeCharacterEnableState(X8_4, 1)
      - SetCharacterAnimationState(X8_4, 1)
      - SetCharacterAIState(X8_4, 0)
    - Type: quickstart
      IgnoreMatch: true
      Params: X8
      PreSegment: setup
      Start: Label0()
      Commands:
      - SetCharacterAIState(X8_4, 1)
    - Type: endphase
      Params: X8
      PreSegment: quickstart
      Start: Label0()
      Commands:
      - c4_14(15, X8_4, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 15)
      - WaitFixedTimeSeconds(2)
      - IfCharacterDeadalive(14, X8_4, 1, 0, 1)
      - IfConditionGroup(0, 1, 14)
  - Type: segment
    Entity: 1041510801
    ArgEntities: X20
    Add:
    - Cmd: IfEventFlag(0, 1, 0, 1041512809)
      Before: SkipIfComparison2(6, 0, X12_4, 3)
    Segments:
    - Type: dead
      Params: X20
      Start: GotoIfEventFlag(0, 0, 0, X0_4)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(X20_4, 0)
      - SetCharacterAnimationState(X20_4, 0)
      - ForceCharacterDeath(X20_4, 0)
    - Type: setup
      IgnoreMatch: true
      Params: X20
      Start: Label0()
      Commands:
      - ChangeCharacterEnableState(X20_4, 1)
      - SetCharacterAnimationState(X20_4, 1)
      - SetCharacterAIState(X20_4, 0)
    - Type: quickstart
      IgnoreMatch: true
      Params: X20
      PreSegment: setup
      Start: Label0()
      Commands:
      - SetCharacterAIState(X20_4, 1)
    - Type: remove
      PreSegment: quickstart
      Start: Label0()
      Commands:
      - c4_14(15, X20_4, 5, 0, 0, 1065353216)
      - IfCharacterDeadalive(14, X20_4, 1, 0, 1)
  - Type: segmentcopy
    Entity: 1041510801
    NewEvent:
    - Label10()
    - Label11()
    - c2003_66(0, 1041512809, 1)
    Segments:
    - Type: endphase
      IgnoreMatch: true
      Start: Label10()
      Commands:
      - c4_14(15, 1041510801, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 15)
      - WaitFixedTimeSeconds(2)
      - IfCharacterDeadalive(14, 1041510801, 1, 0, 1)
      - IfConditionGroup(0, 1, 14)
- ID: 1041522300
  Map: m60_41_52_00
  Template:
  - Type: loc
    Entity: 1041520800
    Animation: wakeup X0 20019
- ID: 1041522320
  Map: m60_41_52_00
  Template:
  - Type: loc
    Removes:
    - GotoIfEventFlag(1, 0, 0, 9291)
  - Type: segment
    Entity: 1041520800
    ArgEntities: X0
    DefeatFlagLabel: on 19
    Name: X0 X4 X8
    Removes:
    - c2004_8(X0_4, 4401)
    - c3_33
    Segments:
    - Type: healthbarcheck
      Params: X0
      Commands:
      - IfCharacterAIState(1, X0_4, 3, 0, 1)
      - IfEventFlag(1, 0, 0, 9000)
      - IfConditionGroup(0, 1, 1)
    - Type: healthbar
      Params: X0 X4
      Commands:
      - DisplayBossHealthBar(1, X0_4, 0, X4_4)
    - Type: unhealthbarcheck
      Params: X0
      Commands:
      - IfCharacterAIState(2, X0_4, 3, 0, 1)
      - IfConditionGroup(-2, 0, 2)
      - IfCharacterDeadalive(-2, X0_4, 1, 0, 1)
      - IfEventFlag(-2, 1, 0, 9000)
      - IfConditionGroup(0, 1, -2)
    - Type: unhealthbar
      Params: X0 X4
      Commands:
      - DisplayBossHealthBar(0, X0_4, 0, X4_4)
- ID: 1043362340
  Map: m60_43_36_00
  Template:
  - Type: loc
    Entity: 1043360800
    Animation: pose X0 30005 20005
- ID: 1043372340
  Map: m60_43_37_00
  Template:
  - Type: multichr
    Entity: 1043370340
    ArgEntities: X0 X4
- ID: 1044322340
  Map: m60_44_32_00
  Template:
  - Type: multichr
    Entity: 1044320342
    ArgEntities: X0 X4
- ID: 1045392341
  Map: m60_45_39_00
  Template:
  - Type: multichronly
    Entity: 1045390800
    ArgEntities: X0
    DefeatFlag: 1045390800
    Regions:
    - arg chrgen 1045393240 1045393241 1045393242 1045393230 1045393231 1045393232
    Removes:
    - IfEventFlag(1, 0, 0, X0_4)
- ID: 1045392342
  Map: m60_45_39_00
  Template:
  - Type: multichr
    Entity: 1045390800
    ArgEntities: X0
    DefeatFlagLabel: on 19
    Regions:
    - arg chrpoint 1045392343 1045392344 1045392345
    Removes:
    - EndIfEventFlag(0, 1, 0, X4_4)
- ID: 1045392343
  Map: m60_45_39_00
  Template:
  - Type: multichr
    Entity: 1045390800
    ArgEntities: X0
    DefeatFlag: 1045390800
    Regions:
    - arg chrrel 1045392340 1045392341 1045392342
    Add:
    - Cmd: c2004_8(X0_4, 15347)
      Before: start
- ID: 1045392346
  Map: m60_45_39_00
  Template:
  - Type: remove
    Entity: 1045390800
    ArgEntities: X0
    DefeatFlag: 1045390800
    Regions:
    - arg chrpoint 1045392810
- ID: 1048512800
  Map: m60_48_51_00
  Template:
  - Type: segment
    Entity: 1048510800
    ArgEntities: X8
    Segments:
    - Type: dead
      Params: X8
      Start: GotoIfEventFlag(0, 0, 0, X0_4)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(X8_4, 0)
      - SetCharacterAnimationState(X8_4, 0)
      - ForceCharacterDeath(X8_4, 0)
      - ChangeCharacterEnableState(1048510810, 0)
      - SetCharacterAnimationState(1048510810, 0)
      - ForceCharacterDeath(1048510810, 0)
    - Type: setup
      IgnoreMatch: true
      Params: X8
      Start: Label0()
      Commands:
      - ChangeCharacterEnableState(X8_4, 1)
      - SetCharacterAnimationState(X8_4, 1)
      - ChangeCharacterEnableState(1048510810, 1)
      - SetCharacterAnimationState(1048510810, 1)
      - SetCharacterAIState(X8_4, 0)
      - SetCharacterAIState(1048510810, 0)
    - Type: quickstart
      IgnoreMatch: true
      Params: X8
      Start: Label0()
      Commands:
      - SetCharacterAIState(X8_4, 1)
      - SetCharacterAIState(1048510810, 1)
    - Type: end
      Params: X8 X12
      Start: Label0()
      Commands:
      - c4_14(0, X8_4, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(2)
      - PlaySE(X8_4, 5, 888880000)
      - IfCharacterDeadalive(0, X8_4, 1, 0, 1)
      - SkipIfComparison2(6, 0, X12_4, 3)
      - SkipIfComparison2(4, 0, X12_4, 2)
      - SkipIfComparison2(2, 0, X12_4, 1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 18)
      - GotoUnconditionally(1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 17)
      - GotoUnconditionally(1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 16)
      - GotoUnconditionally(1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 15)
      - Label1()
- ID: 1048512820
  Map: m60_48_51_00
  Template:
  - Type: multichr
    Entity: 1048510800
    ArgEntities: X0 X4
- ID: 1248552800
  Map: m60_48_55_00
  Template:
  - Type: segment
    Entity: 1248550800
    ArgEntities: X8
    Segments:
    - Type: dead
      Params: X8
      Start: GotoIfEventFlag(0, 0, 0, X0_4)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(X8_4, 0)
      - SetCharacterAnimationState(X8_4, 0)
      - ForceCharacterDeath(X8_4, 0)
      - ChangeCharacterEnableState(1248550810, 0)
      - SetCharacterAnimationState(1248550810, 0)
      - ForceCharacterDeath(1248550810, 0)
    - Type: setup
      IgnoreMatch: true
      Params: X8
      Start: Label0()
      Commands:
      - ChangeCharacterEnableState(X8_4, 1)
      - SetCharacterAnimationState(X8_4, 1)
      - ChangeCharacterEnableState(1248550810, 1)
      - SetCharacterAnimationState(1248550810, 1)
      - SetCharacterAIState(X8_4, 0)
      - SetCharacterAIState(1248550810, 0)
    - Type: quickstart
      IgnoreMatch: true
      Params: X8
      Start: Label0()
      Commands:
      - SetCharacterAIState(X8_4, 1)
      - SetCharacterAIState(1248550810, 1)
    - Type: endphase
      Params: X8
      Start: Label0()
      Commands:
      - c4_14(15, X8_4, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 15)
      - WaitFixedTimeSeconds(2)
      - IfCharacterDeadalive(14, X8_4, 1, 0, 1)
      - IfConditionGroup(0, 1, 14)
  - Type: segment
    Entity: 1248550801
    ArgEntities: X20
    Add:
    - Cmd: IfEventFlag(0, 1, 0, 1248552809)
      Before: SkipIfComparison2(6, 0, X12_4, 3)
    Segments:
    - Type: dead
      Params: X20
      Start: GotoIfEventFlag(0, 0, 0, X0_4)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(X20_4, 0)
      - SetCharacterAnimationState(X20_4, 0)
      - ForceCharacterDeath(X20_4, 0)
      - ChangeCharacterEnableState(1248550811, 0)
      - SetCharacterAnimationState(1248550811, 0)
      - ForceCharacterDeath(1248550811, 0)
    - Type: setup
      IgnoreMatch: true
      Params: X20
      Start: Label0()
      Commands:
      - ChangeCharacterEnableState(X20_4, 1)
      - SetCharacterAnimationState(X20_4, 1)
      - ChangeCharacterEnableState(1248550811, 1)
      - SetCharacterAnimationState(1248550811, 1)
      - SetCharacterAIState(X20_4, 0)
      - SetCharacterAIState(1248550811, 0)
    - Type: quickstart
      IgnoreMatch: true
      Params: X20
      Start: Label0()
      Commands:
      - SetCharacterAIState(X20_4, 1)
      - SetCharacterAIState(1248550811, 1)
    - Type: remove
      Start: Label0()
      Commands:
      - c4_14(15, X20_4, 5, 0, 0, 1065353216)
      - IfCharacterDeadalive(14, X20_4, 1, 0, 1)
  - Type: segmentcopy
    Entity: 1248550801
    NewEvent:
    - Label10()
    - Label11()
    - c2003_66(0, 1248552809, 1)
    Segments:
    - Type: endphase
      IgnoreMatch: true
      Start: Label10()
      Commands:
      - c4_14(15, 1248550801, 5, 0, 0, 1065353216)
      - IfConditionGroup(0, 1, 15)
      - WaitFixedTimeSeconds(2)
      - IfCharacterDeadalive(14, 1248550801, 1, 0, 1)
      - IfConditionGroup(0, 1, 14)
- ID: 1248552820
  Map: m60_48_55_00
  Template:
  - Type: loc
    Entities: 1248550800 1248550801
    ArgEntities: X0
    Removes:
    - IfCharacterHasSpEffect(2, X0_4, 11825, 1, 0, 1)
    - c2004_8(X0_4, 11825)
    - c2004_8(X0_4, 11826)
- ID: 1248552830
  Map: m60_48_55_00
  Template:
  - Type: multichrarg
    Entities: 1248550800 1248550801
    ArgEntities: X0 X4
- ID: 1049372291
  Map: m60_49_37_00
  Template:
  - Type: multichr
    Entity: 1049370800
    ArgEntities: X0 X4
- ID: 1049382820
  Map: m60_49_38_00
  Template:
  - Type: multichr
    Entity: 1049380800
    ArgEntities: X0 X4
    DefeatFlag: 1049380800
    DefeatFlagLabel: off 0
- ID: 1049382824
  Map: m60_49_38_00
  Template:
  - Type: multichr
    Entity: 1049380800
    ArgEntities: X0
    DefeatFlag: 1049380800
    DefeatFlagLabel: off 0
- ID: 1052412291
  Map: m60_52_41_00
  Template:
  - Type: multichr
    Entity: 1052410850
    ArgEntities: X0 X4
- ID: 1052562815
  Map: m60_52_56_00
  Template:
  - Type: loc
    Removes:
    - GotoIfEventFlag(1, 0, 0, 9291)
  - Type: segment
    Entity: 1052560800
    ArgEntities: X0
    DefeatFlagLabel: on 19
    Name: X0 X4 X8
    Removes:
    - c3_33
    Segments:
    - Type: healthbarcheck
      Params: X0
      Commands:
      - IfCharacterAIState(-15, X0_4, 3, 0, 1)
      - IfCharacterAIState(-15, 1052560801, 3, 0, 1)
      - IfConditionGroup(1, 1, -15)
      - IfConditionGroup(0, 1, 1)
    - Type: healthbar
      Params: X4
      Commands:
      - DisplayBossHealthBar(1, 1052560803, 0, X4_4)
    - Type: unhealthbarcheck
      Params: X0
      Commands:
      - IfCharacterAIState(-14, X0_4, 3, 0, 1)
      - IfCharacterAIState(-14, 1052560801, 3, 0, 1)
      - IfConditionGroup(2, 1, -14)
      - IfConditionGroup(-2, 0, 2)
      - IfCharacterDeadalive(-2, X0_4, 1, 0, 1)
      - IfEventFlag(-2, 1, 0, 9000)
      - IfConditionGroup(0, 1, -2)
    - Type: unhealthbar
      Params: X4
      Commands:
      - DisplayBossHealthBar(0, 1052560803, 0, X4_4)
- ID: 1052562820
  Map: m60_52_56_00
  Template:
  - Type: multichr
    Entity: 1052560800
    Regions:
    - event chrpoint-500 1052562800
    Add:
    - Cmds:
      - SetCharacterAnimationState(1052560801, 0)
      - SetCharacterAnimationState(1052560802, 0)
      - c2004_10(1052560801, 0)
      - c2004_10(1052560802, 0)
      - SetCharacterAIState(1052560801, 0)
      - SetCharacterAIState(1052560802, 0)
      - c2004_41(1052560801, 1, 1052562800, -1)
      - c2004_41(1052560802, 1, 1052562800, -1)
      - c2004_41(1052560803, 1, 1052562800, -1)
- ID: 1052562821
  Map: m60_52_56_00
  Template:
  - Type: multichr
    Entity: 1052560800
    DefeatFlagLabel: off 0
    Remove: GotoIfEventFlag(0, 0, 0, 1052560800)
- ID: 1052562830
  Map: m60_52_56_00
  Template:
  - Type: multichr
    Entity: 1052560800
    ArgEntities: X0
    Add:
    - Cmds:
      - SetCharacterAnimationState(X0_4, 1)
      - ChangeCharacterEnableState(X0_4, 1)
      Before: c2004_42
- ID: 1054562820
  Map: m60_54_56_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Entity: 1054560800
    Animation: suspend X0 X4 X8
- ID: 90005476
  Map: common_func
  Template:
  - Type: multichr
    Entity: 1036480340
    ArgEntities: X0 X4
- ID: 90005760
  Map: common_func
  Template:
  - Type: segmentcopy
    Entities: 1037460800 1042380850 1043530800 1048410800
    ArgEntities: X4
    Removes:
    - c2004_29(X4_4, 0)
    - c2003_18(X4_4, 20000, 0, 1065353216)
    Segments:
    - Type: setup
      IgnoreMatch: true
      Params: X4
      Start: Label0()
      Commands:
      - ChangeCharacterEnableState(X4_4, 1)
      - SetCharacterAnimationState(X4_4, 1)
      - SetCharacterAIState(X4_4, 0)
    - Type: quickstart
      IgnoreMatch: true
      Params: X4
      Start: Label0()
      Commands:
      - SetCharacterAIState(X4_4, 1)
- ID: 90005860
  Map: common_func
  Template:
  - Type: segmentcopy
    Entities: 1037460800 1042380850 1043530800 1048410800
    ArgEntities: X8
    Segments:
    - Type: dead
      Params: X8
      Start: GotoIfEventFlag(0, 0, 0, X0_4)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(X8_4, 0)
      - SetCharacterAnimationState(X8_4, 0)
      - ForceCharacterDeath(X8_4, 0)
    - Type: end
      Params: X8 X12
      Start: Label0()
      Commands:
      - c4_14(0, X8_4, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(2)
      - PlaySE(X8_4, 5, 888880000)
      - IfCharacterDeadalive(0, X8_4, 1, 0, 1)
      - SkipIfComparison2(6, 0, X12_4, 3)
      - SkipIfComparison2(4, 0, X12_4, 2)
      - SkipIfComparison2(2, 0, X12_4, 1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 18)
      - GotoUnconditionally(1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 17)
      - GotoUnconditionally(1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 16)
      - GotoUnconditionally(1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 15)
      - Label1()
  - Type: segmentcopy
    Entities: 12010850 12020830 12030390 1033430800 1034420800 1034500800 1035420800 1036450340 1036480340 1036540800 1037420340 1037510800 1037530800 1037540810 1038480800 1038520340 1039430340 1039440800 1039510800 1040520800 1041500800 1041520800 1041530800 1042360800 1042380800 1042550800 1043330800 1043370340 1044320340 1044320342 1044530800 1045390800 1045520800 1047400800 1048570800 1049370800 1049370850 1049380800 1049520800 1050570800 1050570850 1051400800 1051430800 1052410850 1052410800 1052560800
    ArgEntities: X8
    Segments:
    - Type: dead
      Params: X8
      Start: GotoIfEventFlag(0, 0, 0, X0_4)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(X8_4, 0)
      - SetCharacterAnimationState(X8_4, 0)
      - ForceCharacterDeath(X8_4, 0)
    - Type: setup
      IgnoreMatch: true
      Params: X8
      Start: Label0()
      Commands:
      - ChangeCharacterEnableState(X8_4, 1)
      - SetCharacterAnimationState(X8_4, 1)
      - SetCharacterAIState(X8_4, 0)
    - Type: quickstart
      IgnoreMatch: true
      Params: X8
      Start: Label0()
      Commands:
      - SetCharacterAIState(X8_4, 1)
    - Type: end
      Params: X8 X12
      Start: Label0()
      Commands:
      - c4_14(0, X8_4, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(2)
      - PlaySE(X8_4, 5, 888880000)
      - IfCharacterDeadalive(0, X8_4, 1, 0, 1)
      - SkipIfComparison2(6, 0, X12_4, 3)
      - SkipIfComparison2(4, 0, X12_4, 2)
      - SkipIfComparison2(2, 0, X12_4, 1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 18)
      - GotoUnconditionally(1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 17)
      - GotoUnconditionally(1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 16)
      - GotoUnconditionally(1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 15)
      - Label1()
- ID: 90005861
  Map: common_func
  Template:
  - Type: segmentcopy
    Entities: 1034450800 1035530800 1043360800 1048370800 1050560800 1054560800
    ArgEntities: X8
    Segments:
    - Type: dead
      Params: X8
      Start: GotoIfEventFlag(0, 0, 0, X0_4)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(X8_4, 0)
      - SetCharacterAnimationState(X8_4, 0)
      - ForceCharacterDeath(X8_4, 0)
    - Type: setup
      IgnoreMatch: true
      Params: X8
      Start: Label0()
      Commands:
      - ChangeCharacterEnableState(X8_4, 1)
      - SetCharacterAnimationState(X8_4, 1)
      - SetCharacterAIState(X8_4, 0)
    - Type: quickstart
      IgnoreMatch: true
      Params: X8
      Start: Label0()
      Commands:
      - SetCharacterAIState(X8_4, 1)
    - Type: end
      Params: X8 X12
      Start: Label0()
      Commands:
      - c4_14(0, X8_4, 5, 0, 0, 1065353216)
      - WaitFixedTimeSeconds(2)
      - PlaySE(X8_4, 5, 888880000)
      - IfCharacterDeadalive(0, X8_4, 1, 0, 1)
      - SkipIfComparison2(6, 0, X12_4, 3)
      - SkipIfComparison2(4, 0, X12_4, 2)
      - SkipIfComparison2(2, 0, X12_4, 1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 18)
      - GotoUnconditionally(1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 17)
      - GotoUnconditionally(1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 16)
      - GotoUnconditionally(1)
      - HandleBossDefeatAndDisplayBanner(X8_4, 15)
      - Label1()
- ID: 90005870
  Map: common_func
  Template:
  - Type: segmentcopy
    Entities: 12010850 12020830 12030390 1033430800 1034420800 1034450800 1034500800 1035420800 1035530800 1036450340 1036540800 1037420340 1037460800 1037510800 1037530800 1037540810 1038480800 1038520340 1039440800 1040520800 1041500800 1041510800 1041510801 1041530800 1042360800 1042380800 1042380850 1042550800 1043330800 1043360800 1043530800 1044320340 1044530800 1045390800 1045520800 1047400800 1048370800 1048410800 1048570800 1049370850 1049380800 1049520800 1050560800 1050570800 1050570850 1051400800 1051430800 1052410800 1054560800
    ArgEntities: X0
    DefeatFlagLabel: on 19
    Name: X0 X4 X8
    Removes:
    - c3_33
    - GotoIfEventFlag(1, 0, 0, 9291)
    Segments:
    - Type: healthbarcheck
      Params: X0
      Commands:
      - IfCharacterAIState(1, X0_4, 3, 0, 1)
      - IfEventFlag(1, 0, 0, 9000)
      - IfConditionGroup(0, 1, 1)
    - Type: healthbar
      Params: X0 X4
      Commands:
      - DisplayBossHealthBar(1, X0_4, 0, X4_4)
    - Type: unhealthbarcheck
      Params: X0
      Commands:
      - IfCharacterAIState(2, X0_4, 3, 0, 1)
      - IfConditionGroup(-2, 0, 2)
      - IfCharacterDeadalive(-2, X0_4, 1, 0, 1)
      - IfEventFlag(-2, 1, 0, 9000)
      - IfConditionGroup(0, 1, -2)
    - Type: unhealthbar
      Params: X0 X4
      Commands:
      - DisplayBossHealthBar(0, X0_4, 0, X4_4)
- ID: 90005871
  Map: common_func
  Template:
  - Type: segmentcopy
    Entities: 1036480340 1039430340 1039510800 1043370340 1044320342 1048510800 1248550800 1248550801 1049370800 1052410850
    ArgEntities: X0 X12
    DefeatFlagLabel: on 19
    Name: X0 X4 X8
    Removes:
    - c3_33
    - GotoIfEventFlag(1, 0, 0, 9291)
    Segments:
    - Type: healthbarcheck
      Params: X0
      Commands:
      - IfCharacterAIState(1, X0_4, 3, 0, 1)
      - IfEventFlag(1, 0, 0, 9000)
      - IfConditionGroup(0, 1, 1)
    - Type: healthbar
      Params: X0 X4
      Commands:
      - DisplayBossHealthBar(1, X0_4, 0, X4_4)
    - Type: unhealthbarcheck
      Params: X0
      Commands:
      - IfCharacterAIState(2, X0_4, 3, 0, 1)
      - IfConditionGroup(-2, 0, 2)
      - IfCharacterDeadalive(-2, X0_4, 1, 0, 1)
      - IfEventFlag(-2, 1, 0, 9000)
      - IfConditionGroup(0, 1, -2)
    - Type: unhealthbar
      Params: X0 X4
      Commands:
      - DisplayBossHealthBar(0, X0_4, 0, X4_4)
- ID: 90005880
  Map: common_func
  Template:
  - Type: segmentcopy
    Entities: 1033420800 1033450800 1036500800 1038410800 1042330800 1042370800 1044350800 1049390850 1053560800
    ArgEntities: X12
    Segments:
    - Type: end
      Params: X12
      Commands:
      - IfCharacterDeadalive(1, X12_4, 1, 0, 1)
      - IfConditionGroup(0, 1, 1)
      - WaitFixedTimeSeconds(3)
      - HandleBossDefeatAndDisplayBanner(X12_4, 18)
- ID: 90005882
  Map: common_func
  Template:
  - Type: segmentcopy
    Entities: 1033420800 1033420810 1033450800 1033450810 1036500800 1036500810 1038410800 1038410810 1039500800 1039500810 1042330800 1042330810 1042370800 1042370810 1044350800 1044350810 1049390850 1049390860 1053560800 1053560810
    ArgEntities: X12 X28
    Name: X12 X36
    Segments:
    - Type: dead
      Params: X12
      Start: GotoIfEventFlag(0, 0, 0, X0_4)
      End: c1000_4(0)
      Commands:
      - ChangeCharacterEnableState(X12_4, 0)
      - SetCharacterAnimationState(X12_4, 0)
      - ForceCharacterDeath(X12_4, 0)
    - Type: remove
      Start: Label0()
      End: EndIfEventFlag(0, 0, 0, X4_4)
      Commands:
      - ChangeCharacterEnableState(X12_4, 0)
      - SetCharacterAnimationState(X12_4, 0)
      - SetCharacterAIState(X12_4, 0)
    - Type: remove
      Start: EndIfEventFlag(0, 0, 0, X4_4)
      End: c2003_69(0, X4_4, 0)
      Commands:
      - SkipIfComparison(2, 0, -1, X40_4)
      - c2003_18(X12_4, X40_4, 0, 1065353216)
      - SkipUnconditionally(2)
      - ChangeCharacterEnableState(X12_4, 0)
      - SetCharacterAnimationState(X12_4, 0)
      - c2004_30(X12_4, 0)
    - Type: altsetup
      Params: X12 X40
      Commands:
      - SkipIfComparison(2, 0, -1, X40_4)
      - c2003_18(X12_4, X40_4, 0, 1065353216)
      - SkipUnconditionally(2)
      - ChangeCharacterEnableState(X12_4, 0)
      - SetCharacterAnimationState(X12_4, 0)
      - c2004_30(X12_4, 0)
    - Type: start
      Params: X12 X36 X40 X44
      Start: IfConditionGroup(0, 1, -1)
      Commands:
      - SkipIfComparison(2, 1, -1, X40_4)
      - ChangeCharacterEnableState(X12_4, 1)
      - SetCharacterAnimationState(X12_4, 1)
      - SkipIfComparison(1, 0, -1, X44_4)
      - c2003_18(X12_4, X44_4, 0, 1065353216)
      - SetCharacterAIState(X12_4, 1)
      - c2004_34(X12_4, 1)
      - DisplayBossHealthBar(1, X12_4, 0, X36_4)
- ID: 1410
  Map: common
  Template:
  - Type: loc
    Entities: 11100785
    ArgEntities: X12
    Removes:
    - c2004_17(X12_4, 80, 0)
    - c2004_17(X12_4, X4_4, 1)
    - IfCharacterHasSpEffect(2, X12_4, X8_4, 1, 0, 1)
    - c2004_17(X12_4, -1, 0)
    - c2004_17(X12_4, -1, 1)
- ID: 1412
  Map: common
  Template:
  - Type: loc
    Entities: 1050560700
    ArgEntities: X12
    Removes:
    - c2004_17(X12_4, 80, 0)
    - c2004_17(X12_4, X4_4, 1)
    - IfCharacterHasSpEffect(2, X12_4, X8_4, 1, 0, 1)
    - IfConditionGroup(-2, 1, 2)
    - c2004_17(X12_4, -1, 0)
    - c2004_17(X12_4, -1, 1)
- ID: 1002200
  Map: m10_00_00_00
  Template:
  - Type: remove
    Entities: 10000376 10000389
- ID: 10002240
  Map: m10_00_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 10002310
  Map: m10_00_00_00
  Template:
  - Type: loc
    Entity: 10000520
    Animation: wakeup 10000520 30000 20000
    Removes:
    - c2003_18(10000520, 3004, 0, 1065353216)
- ID: 10002311
  Map: m10_00_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 10002330
  Map: m10_00_00_00
  Template:
  - Type: remove
    Entities: 10000470 10000471 10000472 10000473
    ArgEntities: X0
    Removes:
    - c2005_3(X4_4, 1)
    - c2004_68(X0_4, 50, X4_4)
    - c2005_3(X4_4, 0)
    - c2005_1(X4_4, 0)
- ID: 10002340
  Map: m10_00_00_00
  Template:
  - Type: remove
    Entities: 10000470 10000471 10000472 10000473
    ArgEntities: X0
    Removes:
    - c5_0(256, X4_4, 0, 1065353216)
- ID: 11002291
  Map: m10_00_00_00
  Template:
  - Type: loc
    Animation: pose X0 30002 20002
- ID: 11002207
  Map: m11_00_00_00
  Template:
  - Type: remove
    Entities: 11000203 11000205
    ArgEntities: X0
- ID: 11002209
  Map: m11_00_00_00
  Template:
  - Type: remove
    Entities: 11000203 11000205
    ArgEntities: X0
- ID: 11002260
  Map: m11_00_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
  - Type: loc
    Entities: 11000265 11000266 11000267 11000268 11000269 11000270 11000271 11000272 11000273 11000274 11000275 11000276 11000281 11000282 11000283 11000284 11000285
    ArgEntities: X0
    Removes:
    - IfCharacterHasSpEffect(-3, X0_4, 14405, 1, 0, 1)
    - IfCharacterHasSpEffect(-3, X0_4, 14406, 1, 0, 1)
- ID: 11002402
  Map: m11_00_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 11002497
  Map: m11_00_00_00
  Template:
  - Type: loc
    Animation: pose X0 30002 20002
- ID: 12010705
  Map: m12_01_00_00
  Template:
  - Type: loc
    Animation: wakeup 12010715 20039
- ID: 12012231
  Map: m12_01_00_00
  Template:
  - Type: loc
    Entities: 12010231 12010232 12010233 12010234 12010235 12010236 12010237
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 30001, 1, 1065353216)
    - IfCharacterHasSpEffect(2, X0_4, 5080, 0, 0, 1)
    - IfCharacterHasSpEffect(2, X0_4, 5450, 0, 0, 1)
    - c2003_18(X0_4, 20001, 1, 1065353216)
- ID: 12012239
  Map: m12_01_00_00
  Template:
  - Type: chr
    Entity: 12010245
    Regions:
    - event chrpoint 12012239
- ID: 12012240
  Map: m12_01_00_00
  Template:
  - Type: loc
    Animation: wakeup 12010247 20003
- ID: 12012249
  Map: m12_01_00_00
  Template:
  - Type: loc
    Entities: 12010247
    Removes:
    - c2003_18(12010247, 20003, 0, 1065353216)
- ID: 12012256
  Map: m12_01_00_00
  Template:
  - Type: loc
    Entity: 12010256
    Removes:
    - c2003_18
- ID: 12012288
  Map: m12_01_00_00
  Template:
  - Type: multichr
    Entity: 12010248
    ArgEntities: X0 X4
    Removes:
    - c2004_13(X4_4, X8_4)
- ID: 12022350
  Map: m12_02_00_00
  Template:
  - Type: remove
    Removes:
    - IfCharacterHasSpEffect(1, X0_4, 5080, 1, 0, 1)
    - c2004_8(X4_4, 13190)
- ID: 12022360
  Map: m12_02_00_00
  Template:
  - Type: remove
    Removes:
    - IfCharacterHasSpEffect(1, X0_4, 5080, 0, 0, 1)
    - c2004_21(X4_4, 13190)
- ID: 12022370
  Map: m12_02_00_00
  Template:
  - Type: loc
    Animation: wakeup 12020390 30003
- ID: 12022371
  Map: m12_02_00_00
  Template:
  - Type: loc
    Animation: wakeup 12020390 20003
  - Type: loc
    Animation: suspend 12020390 0 20003
- ID: 12022372
  Map: m12_02_00_00
  Template:
  - Type: loc
    Animation: pose 12020391 30003 20003
  - Type: loc
    Animation: suspend 12020391 30003 20003
- ID: 12022373
  Map: m12_02_00_00
  Template:
  - Type: loc
    Animation: pose 12020392 30003 20003
  - Type: loc
    Animation: suspend 12020392 30003 20003
- ID: 12022400
  Map: m12_02_00_00
  Template:
  - Type: multichrarg
    Entities: 12020491 12020492 12020496 12020497
    ArgEntities: X0 X4
    Regions:
    - arg chrpoint 12022401 12022402 12022404 12022405 12022406 12022407
- ID: 12022419
  Map: m12_02_00_00
  Template:
  - Type: multichr
    Entity: 12020490
    ArgEntities: X0 X4
    Regions:
    - arg chrpoint 12022400
- ID: 12032241
  Map: m12_03_00_00
  Template:
  - Type: loc
    Entities: 12030242 12030243 12030244 12030245 12030246 12030247 12030248 12030249 12030250 12030251 12030252 12030253 12030254 12030255
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 30001, 1, 1065353216)
    - c2003_18(X0_4, 20001, 1, 1065353216)
- ID: 12032310
  Map: m12_03_00_00
  Template:
  - Type: loc
    Entities: 12030240 12030241 12030242 12030243 12030244 12030245 12030246 12030247 12030248 12030249 12030250 12030251 12030252 12030253 12030254 12030255 12030256 12030257
    ArgEntities: X0
    Removes:
    - c2004_8(X0_4, 10949)
- ID: 12052200
  Map: m12_05_00_00
  Template:
  - Type: loc
    Animation: pose 12050343 30013 20000
  - Type: loc
    Animation: suspend 12050343 30013 20000
- ID: 12052250
  Map: m12_05_00_00
  Template:
  - Type: locarg
    Animation: pose X8 X12 X16
  - Type: loc
    Animation: wakeup X0 3007
- ID: 12052251
  Map: m12_05_00_00
  Template:
  - Type: loc
    Entities: 12050251 12050252 12050253
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 3007, 257, 1065353216)
  - Type: loc
    Animation: pose X8 X12 X16
- ID: 13002610
  Map: m13_00_00_00
  Template:
  - Type: loc
    Entity: 13000495
    Removes:
    - c2003_18(13000495, 0, 0, 1065353216)
    - c2003_18(13000495, 3029, 0, 1065353216)
    - c2003_18(13000495, 20002, 0, 1065353216)
    - c2003_18(13000495, 30000, 0, 1065353216)
- ID: 13002646
  Map: m13_00_00_00
  Template:
  - Type: loc
    Entities: 13000492 13000494 13000495
    ArgEntities: X8
    Removes:
    - c2003_18(X8_4, 20001, 0, 1065353216)
- ID: 14002080
  Map: m14_00_00_00
  Template:
  - Type: loc
    Entity: 14000294
    Replaces:
    - From: IfCharacterHasSpEffect(1, 10000, 14307, 1, 0, 1)
      To: IfCharacterDeadalive(1, 10000, 1, 0, 1)
- ID: 14002490
  Map: m14_00_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 0 X12
- ID: 14002491
  Map: m14_00_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 0 X16
- ID: 15002200
  Map: m15_00_00_00
  Template:
  - Type: remove
    Entities: 15000204 15000209
    ArgEntities: X0
    Removes:
    - IfCharacterHasSpEffect(1, X0_4, 5080, 0, 0, 1)
- ID: 16002310
  Map: m16_00_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X12
- ID: 16003705
  Map: m16_00_00_00
  Template:
  - Type: loc
    Entities: 16000741
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 20021, 0, 1065353216)
    - c2003_18(X0_4, 20021, 0, 1065353216)
- ID: 18002211
  Map: m18_00_00_00
  Template:
  - Type: loc
    Entities: 18000211 18000220
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 3001, 256, 1065353216)
- ID: 18002250
  Map: m18_00_00_00
  Template:
  - Type: chrarg
    ArgEntities: X0
- ID: 30032205
  Map: m30_03_00_00
  Template:
  - Type: loc
    Entities: 30030205 30030206
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 3016, 1, 1065353216)
  - Type: loc
    Animation: suspend X0 X4 X8
  - Type: locarg
    Animation: gravity X0 X4 X8
- ID: 30052203
  Map: m30_05_00_00
  Template:
  - Type: chr
    Entity: 30050203
    ArgEntities: X0
- ID: 30052300
  Map: m30_05_00_00
  Template:
  - Type: remove
    Entities: 30050300 30050205 30050206 30050208 30050301 30050209 30050210 30050211 30050302 30050201 30050204
    ArgEntities: X0 X4
- ID: 30052302
  Map: m30_05_00_00
  Template:
  - Type: loc
    Animation: wakeup 30050300 3015
- ID: 30052350
  Map: m30_05_00_00
  Template:
  - Type: remove
    Entities: 30050300 30050205 30050206 30050208 30050301 30050209 30050210 30050211 30050302 30050201 30050204
    ArgEntities: X0 X4
- ID: 30052450
  Map: m30_05_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 30062206
  Map: m30_06_00_00
  Template:
  - Type: loc
    Animation: wakeup 30060204 3004
- ID: 30062211
  Map: m30_06_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 30062300
  Map: m30_06_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 30062304
  Map: m30_06_00_00
  Template:
  - Type: chr
    Entity: 30060304
- ID: 30072501
  Map: m30_07_00_00
  Template:
  - Type: loc
    Animation: wakeup 30070215 3017
- ID: 30082300
  Map: m30_08_00_00
  Template:
  - Type: remove
    Entities: 30080412
    ArgEntities: X0
- ID: 30122501
  Map: m30_12_00_00
  Template:
  - Type: loc
    Animation: wakeup 30120500 3024
- ID: 30122502
  Map: m30_12_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X8
- ID: 30162602
  Map: m30_16_00_00
  Template:
  - Type: loc
    Entities: 30160341 30160340 30160342
    ArgEntities: X0 X4
    Removes:
    - c2003_18(X0_4, X8_4, 0, 1065353216)
- ID: 30182218
  Map: m30_18_00_00
  Template:
  - Type: loc
    Entities: 30180218 30180219 30180220
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, X4_4, 1, 1065353216)
- ID: 30182219
  Map: m30_18_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X4
- ID: 30182220
  Map: m30_18_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X8
- ID: 30182350
  Map: m30_18_00_00
  Template:
  - Type: chr
    Entity: 30180350
    ArgEntities: X0
- ID: 30192201
  Map: m30_19_00_00
  Template:
  - Type: loc
    Entities: 30190301
    Removes:
    - c2003_18(30190301, 3025, 1, 1065353216)
    - c2003_18(30190301, 3025, 1, 1065353216)
- ID: 31002200
  Map: m31_00_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 31002210
  Map: m31_00_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 31002230
  Map: m31_00_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 31012207
  Map: m31_01_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 31022223
  Map: m31_02_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 31072230
  Map: m31_07_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 31092300
  Map: m31_09_00_00
  Template:
  - Type: loc
    Animation: pose 31090300 30002 20002
- ID: 31112250
  Map: m31_11_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 31172218
  Map: m31_17_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 31172254
  Map: m31_17_00_00
  Template:
  - Type: chr
    Entity: 31170254
- ID: 31192210
  Map: m31_19_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 31212250
  Map: m31_21_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 31222304
  Map: m31_22_00_00
  Template:
  - Type: loc
    Animation: wakeup 31220303 3002
- ID: 31222305
  Map: m31_22_00_00
  Template:
  - Type: loc
    Animation: wakeup 31220304 3002
- ID: 31222306
  Map: m31_22_00_00
  Template:
  - Type: loc
    Animation: wakeup 31220300 3002
- ID: 32002250
  Map: m32_00_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 32002270
  Map: m32_00_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 32002300
  Map: m32_00_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X12
- ID: 32002310
  Map: m32_00_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X12
- ID: 32012250
  Map: m32_01_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 32012270
  Map: m32_01_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 32022200
  Map: m32_02_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 32022250
  Map: m32_02_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 32022270
  Map: m32_02_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 32042200
  Map: m32_04_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 32042250
  Map: m32_04_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 32042270
  Map: m32_04_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 32052200
  Map: m32_05_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 32052250
  Map: m32_05_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 32052270
  Map: m32_05_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 32072200
  Map: m32_07_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 32082200
  Map: m32_08_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 34112150
  Map: m34_11_00_00
  Template:
  - Type: loc
    Animation: wakeup 34111610 10
  - Type: loc
    Animation: wakeup 34111615 10
- ID: 34112449
  Map: m34_11_00_00
  Template:
  - Type: loc
    Entities: 34110710
    Removes:
    - c2004_19(34110710, 523520200)
- ID: 32012200
  Map: m34_12_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 34142250
  Map: m34_14_00_00
  Template:
  - Type: loc
    Entities: 34140210
    ArgEntities: X12 X8
    Removes:
    - c2006_3(2, X8_4, 960, 601111)
    - c2006_3(2, X8_4, 960, 601110)
- ID: 34142251
  Map: m34_14_00_00
  Template:
  - Type: multichr
    Entity: 34140210
    ArgEntities: X12 X8
    DefeatFlagLabel: off 0
    Removes:
    - GotoIfEventFlag(0, 0, 0, X0_4)
    - GotoIfEventFlag(1, 0, 0, X4_4)
    - c2003_69(0, X4_4, 1)
- ID: 34142252
  Map: m34_14_00_00
  Template:
  - Type: multichr
    Entity: 34140210
    ArgEntities: X8
    Removes:
    - EndIfEventFlag(0, 1, 0, X0_4)
- ID: 35002203
  Map: m35_00_00_00
  Template:
  - Type: loc
    Entities: 35000203
    Removes:
    - c2003_18(35000203, 30002, 0, 1065353216)
    - c2003_18(35000203, 20002, 1, 1065353216)
    - c2003_18(35000203, 20004, 1, 1065353216)
- ID: 35002208
  Map: m35_00_00_00
  Template:
  - Type: loc
    Entities: 35000208
    Removes:
    - c2004_8(35000208, 17153)
- ID: 35002215
  Map: m35_00_00_00
  Template:
  - Type: loc
    Animation: wakeup 35000215 3006
- ID: 35002220
  Map: m35_00_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 35002239
  Map: m35_00_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 35002261
  Map: m35_00_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 35002297
  Map: m35_00_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 35002298
  Map: m35_00_00_00
  Template:
  - Type: loc
    Animation: wakeup 35000298 3001
- ID: 35002320
  Map: m35_00_00_00
  Template:
  - Type: loc
    Entities: 35000300 35000303 35000304 35000305 35000306 35000308 35000309 35000310 35000311 35000312 35000313 35000315 35000316 35000317 35000318 35000319 35000320 35000321 35000322 35000324 35000325 35000326
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, X4_4, 0, 1065353216)
- ID: 35002365
  Map: m35_00_00_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 35002392
  Map: m35_00_00_00
  Template:
  - Type: remove
    Entities: 35000392 35000393 35000394 35000395 35000396 35000397 35000398 35000399
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, X4_4, 0, 1065353216)
- ID: 35002410
  Map: m35_00_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 35002430
  Map: m35_00_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
- ID: 39202230
  Map: m39_20_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 39202240
  Map: m39_20_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 39202280
  Map: m39_20_00_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 1033452200
  Map: m60_33_45_00
  Template:
  - Type: loc
    Entities: 1033450200
    ArgEntities: X0
    Add:
    - Cmds:
      - IfCharacterAIState(1, X0_4, 3, 0, 1)
      - IfElapsedSeconds(1, 3)
      Before: IfConditionGroup(0, 1, 1)
    Removes:
    - IfCharacterHasSpEffect(1, X0_4, X4_4, 1, 0, 1)
    - c2003_18(X0_4, 20025, 1, 1065353216)
- ID: 1034422800
  Map: m60_34_42_00
  Template:
  - Type: loc
    Animation: wakeup 1034420800 20008
- ID: 1034432262
  Map: m60_34_43_00
  Template:
  - Type: locarg
    Animation: pose X16 X20 X24
- ID: 1034472262
  Map: m60_34_47_00
  Template:
  - Type: locarg
    Animation: pose X16 X20 X24
- ID: 1034482262
  Map: m60_34_48_00
  Template:
  - Type: locarg
    Animation: pose X16 X20 X24
- ID: 1035472205
  Map: m60_35_47_00
  Template:
  - Type: loc
    Entity: 1035470200
    Removes:
    - c2003_18(1035470200, 30006, 0, 1065353216)
    Replaces:
    - From: c2003_18(1035470200, 20006, 0, 1065353216)
      To: ChangeCharacterEnableState(1035470200, 0)
    - From: c2003_18(1035470200, 20006, 0, 1065353216)
      To: c2006_3(2, 1035470200, 220, 601111)
- ID: 1035472206
  Map: m60_35_47_00
  Template:
  - Type: loc
    Entities: 1035470201 1035470202
    ArgEntities: X4
    Replaces:
    - From: c2003_18(X4_4, 20008, 0, 1065353216)
      To: ChangeCharacterEnableState(X4_4, 0)
    - From: c2003_18(X4_4, 20008, 0, 1065353216)
      To: c2006_3(2, X4_4, 220, 601111)
- ID: 1035472240
  Map: m60_35_47_00
  Template:
  - Type: loc
    Entities: 1035470260
    ArgEntities: X0
    Add:
    - Cmds:
      - IfCharacterAIState(2, X0_4, 3, 0, 1)
      - IfElapsedSeconds(2, 3)
      Before: IfConditionGroup(0, 1, 2)
    Removes:
    - IfCharacterHasSpEffect(2, X0_4, X4_4, 1, 0, 1)
    - c2003_18(X0_4, 20025, 1, 1065353216)
- ID: 1035482262
  Map: m60_35_48_00
  Template:
  - Type: locarg
    Animation: pose X16 X20 X24
- ID: 1035492220
  Map: m60_35_49_00
  Template:
  - Type: loc
    Animation: wakeup 1035490220 3011
- ID: 1035502400
  Map: m60_35_50_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X12
- ID: 1035522200
  Map: m60_35_52_00
  Template:
  - Type: loc
    Entities: 1035520200 1035520201 1035520202
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 3015, 65536, 1065353216)
- ID: 1035542200
  Map: m60_35_54_00
  Template:
  - Type: loc
    Entities: 1035540200
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 3001, 65793, 1065353216)
- ID: 1036512400
  Map: m60_36_51_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X12
- ID: 1036512450
  Map: m60_36_51_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X12
- ID: 1036522200
  Map: m60_36_52_00
  Template:
  - Type: loc
    Entities: 1036520200 1036520201 1036520206 1036520207
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 3015, 65536, 1065353216)
- ID: 1036522205
  Map: m60_36_52_00
  Template:
  - Type: loc
    Entities: 1036520210 1036520209
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, X12_4, 257, 1065353216)
    - c2003_18(X0_4, X12_4, 257, 1065353216)
    - c2003_18(X0_4, X12_4, 257, 1065353216)
- ID: 1036522215
  Map: m60_36_52_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 1036542250
  Map: m60_36_54_00
  Template:
  - Type: loc
    Entities: 1036540355
    ArgEntities: X12 X8
    Removes:
    - c2006_3(2, X8_4, 960, 601111)
    - c2006_3(2, X8_4, 960, 601110)
- ID: 1037512208
  Map: m60_37_51_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 1037532400
  Map: m60_37_53_00
  Template:
  - Type: loc
    Entities: 1037530300 1037530310 1037530301 1037530302 1037530303
    ArgEntities: X0 X8
    Removes:
    - c2003_18(X0_4, 20011, 0, 1065353216)
- ID: 1037532450
  Map: m60_37_53_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 1037542300
  Map: m60_37_54_00
  Template:
  - Type: loc
    Entity: 1037540304
    Animation: wakeup 1037540304 3014
- ID: 1037542400
  Map: m60_37_54_00
  Template:
  - Type: loc
    Entities: 1037540360 1037540361 1037540362
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 30010, 65537, 1065353216)
    - c2003_18(X0_4, 20010, 65536, 1065353216)
- ID: 1037542500
  Map: m60_37_54_00
  Template:
  - Type: remove
    Entity: 1037540341
- ID: 1038422230
  Map: m60_38_42_00
  Template:
  - Type: loc
    Entities: 1038420220 1038420221 1038420222 1038420223 1038420224 1038420225 1038420226 1038420227 1038420228 1038420229 1038420230
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 30004, 0, 1065353216)
    - c2003_18(X0_4, 20004, 0, 1065353216)
- ID: 1038432262
  Map: m60_38_43_00
  Template:
  - Type: locarg
    Animation: pose X16 X20 X24
- ID: 1038462340
  Map: m60_38_46_00
  Template:
  - Type: chr
    Entity: 1038460340
    Removes:
    - EndIfEventFlag(0, 1, 0, 1038460340)
- ID: 1038502400
  Map: m60_38_50_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X12
- ID: 1038512405
  Map: m60_38_51_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
  - Type: loc
    Entities: 1038510404 1038510409 1038510481
    ArgEntities: X0
    Removes:
    - IfCharacterHasSpEffect(-10, 1038510404, 10530, 1, 0, 1)
    - IfCharacterHasSpEffect(-10, 1038510409, 10530, 1, 0, 1)
    - IfCharacterHasSpEffect(-10, 1038510481, 10531, 1, 0, 1)
- ID: 1039422210
  Map: m60_39_42_00
  Template:
  - Type: loc
    Entities: 1039420210 1039420211 1039420212 1039420213 1039420214 1039420215 1039420216 1039420217 1039420218
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 30004, 0, 1065353216)
    - c2003_18(X0_4, 20004, 0, 1065353216)
- ID: 1039422340
  Map: m60_39_42_00
  Template:
  - Type: loc
    Entities: 1039420340
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 30004, 0, 1065353216)
    - c2003_18(X0_4, 20004, 0, 1065353216)
- ID: 1041372340
  Map: m60_41_37_00
  Template:
  - Type: chr
    Entity: 1041370340
    Removes:
    - EndIfEventFlag(0, 1, 0, 1041370340)
- ID: 1041382200
  Map: m60_41_38_00
  Template:
  - Type: loc
    Entities: 1041380250 1041380251 1041380252 1041380253
    ArgEntities: X0 X8
    Removes:
    - c2003_18(X0_4, 20011, 0, 1065353216)
- ID: 1041542200
  Map: m60_41_54_00
  Template:
  - Type: loc
    Entities: 1041540200
    Removes:
    - c2004_8(1041540200, 12054)
  - Type: chr
    Entity: 1041540200
    Removes:
    - c2004_8(1041540200, 8092)
- ID: 1041542230
  Map: m60_41_54_00
  Template:
  - Type: locarg
    Animation: pose X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 1041552350
  Map: m60_41_55_00
  Template:
  - Type: loc
    Entities: 1041550200 1041550201 1041550202 1041550203 1041550204 1041550205
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 20018, 0, 1065353216)
    - c2003_18(X0_4, 30008, 1, 1065353216)
    - c2003_18(X0_4, 20008, 0, 1065353216)
- ID: 1041552400
  Map: m60_41_55_00
  Template:
  - Type: loc
    Entities: 1041550400 1041550401 1041550402 1041550406 1041550408 1041550409
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 30012, 1, 1065353216)
- ID: 1042322220
  Map: m60_42_32_00
  Template:
  - Type: loc
    Animation: wakeup 1042320220 3011
- ID: 1042322230
  Map: m60_42_32_00
  Template:
  - Type: loc
    Animation: wakeup 1042320230 3031
- ID: 1042360710
  Map: m60_42_36_00
  Template:
  - Type: loc
    Add:
    - Cmd: c2004_21(1042360800, 5080)
      Before: start
    - Cmd: c2004_8(1042360800, 5080)
      Before: ChangeCharacterEnableState(X0_4, 1)
- ID: 1042360712
  Map: m60_42_36_00
  Template:
  - Type: loc
    Add:
    - Cmd: c2004_21(1042360800, 5080)
- ID: 1042360713
  Map: m60_42_36_00
  Template:
  - Type: loc
    Add:
    - Cmd: c2004_21(1042360800, 5080)
    Removes:
    - c4_28(254, 1, 31, 3)
- ID: 1042382350
  Map: m60_42_38_00
  Template:
  - Type: loc
    Animation: wakeup 1042380350 20016
- ID: 1042392200
  Map: m60_42_39_00
  Template:
  - Type: loc
    Entities: 1042390200 1042390201 1042390202 1042390203 1042390204 1042390240 1042390241 1042390242 1042390249 1042390250 1042390251 1042390252
    ArgEntities: X0 X8
    Removes:
    - c2003_18(X0_4, 20011, 0, 1065353216)
- ID: 1042532365
  Map: m60_42_53_00
  Template:
  - Type: multichr
    Entity: 1042530350
    ArgEntities: X0
- ID: 1042542350
  Map: m60_42_54_00
  Template:
  - Type: loc
    Entities: 1042540300 1042540301 1042540302 1042540310 1042540311 1042540312 1042540313 1042540314 1042540315 1042540316 1042540317 1042540318 1042540327 1042540328 1042540329 1042540338 1042540339 1042540303 1042540304 1042540305
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 20018, 0, 1065353216)
    - c2003_18(X0_4, 30008, 1, 1065353216)
    - c2003_18(X0_4, 20008, 0, 1065353216)
- ID: 1043402200
  Map: m60_43_40_00
  Template:
  - Type: chr
    Entity: 1043400200
    Removes:
    - EndIfEventFlag(0, 1, 0, 1043400200)
- ID: 1044312200
  Map: m60_44_31_00
  Template:
  - Type: chrarg
    Entities: 1044310200 1044310201 1044310202 1044310203
    ArgEntities: X0
    Regions:
    - arg dist10 1044312200
- ID: 1044312350
  Map: m60_44_31_00
  Template:
  - Type: chr
    Entity: 1044310350
    Removes:
    - EndIfEventFlag(0, 1, 0, 1044310350)
- ID: 1044322200
  Map: m60_44_32_00
  Template:
  - Type: loc
    Entities: 1044320200
    ArgEntities: X0
    Add:
    - Cmds:
      - IfCharacterAIState(1, X0_4, 3, 0, 1)
      - IfElapsedSeconds(1, 5)
      Before: IfConditionGroup(0, 1, 1)
    Removes:
    - IfCharacterHasSpEffect(1, X0_4, X4_4, 1, 0, 1)
    - c2003_18(X0_4, 20025, 1, 1065353216)
- ID: 1045332220
  Map: m60_45_33_00
  Template:
  - Type: loc
    Animation: wakeup 1045330220 3011
- ID: 1045332251
  Map: m60_45_33_00
  Template:
  - Type: loc
    Entities: 1045330200 1045330201 1045330202
    ArgEntities: X4
    Replaces:
    - From: c2003_18(X4_4, 20008, 0, 1065353216)
      To: ChangeCharacterEnableState(X4_4, 0)
    - From: c2003_18(X4_4, 20008, 0, 1065353216)
      To: c2006_3(2, X4_4, 220, 601111)
- ID: 1045362200
  Map: m60_45_36_00
  Template:
  - Type: multichr
    Entity: 1045360211
- ID: 1045362200
  Map: m60_45_36_10
  Template:
  - Type: multichr
    Entity: 1045360211
- ID: 1045392281
  Map: m60_45_39_00
  Template:
  - Type: loc
    Entities: 1045390250 1045390251 1045390252 1045390253 1045390254 1045390255 1045390256 1045390257 1045390258
    ArgEntities: X0 X8
    Removes:
    - c2003_18(X0_4, 20011, 0, 1065353216)
- ID: 1047372200
  Map: m60_47_37_00
  Template:
  - Type: loc
    Entities: 1047370350
    ArgEntities: X12 X8
    Removes:
    - c2006_3(2, X8_4, 960, 601111)
    - c2006_3(2, X8_4, 960, 601110)
- ID: 1048372200
  Map: m60_48_37_00
  Template:
  - Type: loc
    Entities: 1048370299
    ArgEntities: X0
    Add:
    - Cmds:
      - IfCharacterAIState(2, X0_4, 3, 0, 1)
      - IfElapsedSeconds(2, 5)
      Before: IfConditionGroup(0, 1, 2)
    Removes:
    - IfCharacterHasSpEffect(2, X0_4, X4_4, 1, 0, 1)
    - c2003_18(X0_4, 20025, 257, 1065353216)
- ID: 1048562350
  Map: m60_48_56_00
  Template:
  - Type: multichrarg
    Entities: 1048560352 1048560355
    ArgEntities: X0 X4
- ID: 1048572270
  Map: m60_48_57_00
  Template:
  - Type: multichr
    Entity: 1048570254
- ID: 1048572275
  Map: m60_48_57_00
  Template:
  - Type: multichr
    Entity: 1048570254
    ArgEntities: X0
- ID: 1048572340
  Map: m60_48_57_00
  Template:
  - Type: remove
- ID: 1048572820
  Map: m60_48_57_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 1049382200
  Map: m60_49_38_00
  Template:
  - Type: chr
    Entity: 1049380200
    ArgEntities: X0
- ID: 1049382821
  Map: m60_49_38_00
  Template:
  - Type: locarg
    Animation: wakeup X4 X12
  - Type: locarg
    Animation: wakeup X8 X12
- ID: 1049392200
  Map: m60_49_39_00
  Template:
  - Type: chr
    Entity: 1049390200
    ArgEntities: X0
- ID: 1049392201
  Map: m60_49_39_00
  Template:
  - Type: chr
    Entity: 1049390308
    ArgEntities: X0
- ID: 1049392350
  Map: m60_49_39_00
  Template:
  - Type: loc
    Entities: 1049390299
    ArgEntities: X0
    Add:
    - Cmds:
      - IfCharacterAIState(2, X0_4, 3, 0, 1)
      - IfElapsedSeconds(2, 5)
      Before: IfConditionGroup(0, 1, 2)
    Removes:
    - IfCharacterHasSpEffect(2, X0_4, X4_4, 1, 0, 1)
    - c2003_18(X0_4, 20025, 1, 1065353216)
- ID: 1049522820
  Map: m60_49_52_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 1049532200
  Map: m60_49_53_00
  Template:
  - Type: remove
- ID: 1049542350
  Map: m60_49_54_00
  Template:
  - Type: multichr
    Entity: 1049540350
    ArgEntities: X0 X4
- ID: 1049552210
  Map: m60_49_55_00
  Template:
  - Type: loc
    Entities: 1049550205 1049550210 1049550211
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 30012, 1, 1065353216)
- ID: 1049552400
  Map: m60_49_55_00
  Template:
  - Type: loc
    Entities: 1049550410
    ArgEntities: X12 X8
    Removes:
    - c2006_3(2, X8_4, 960, 601111)
    - c2006_3(2, X8_4, 960, 601110)
- ID: 1049552401
  Map: m60_49_55_00
  Template:
  - Type: multichr
    Entity: 1049550410
    ArgEntities: X12 X8
    Add:
    - Cmd: GotoUnconditionally(1)
      Before: start
    Removes:
    - c2004_10(X12_4, 0)
    - SetCharacterAIState(X12_4, 0)
    - c2003_69(0, X4_4, 1)
- ID: 1049552410
  Map: m60_49_55_00
  Template:
  - Type: multichr
    Entity: 1049550410
    ArgEntities: X0
    Removes:
    - EndIfEventFlag(0, 1, 0, 1049540405)
- ID: 1049552420
  Map: m60_49_55_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 1049552550
  Map: m60_49_55_00
  Template:
  - Type: loc
- ID: 1050392200
  Map: m60_50_39_00
  Template:
  - Type: chr
    Entity: 1050390200
    ArgEntities: X0
- ID: 1050392201
  Map: m60_50_39_00
  Template:
  - Type: chr
    Entity: 1050390301
    ArgEntities: X0
- ID: 1050402210
  Map: m60_50_40_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 1050532200
  Map: m60_50_53_00
  Template:
  - Type: remove
- ID: 1050542200
  Map: m60_50_54_00
  Template:
  - Type: remove
- ID: 1050572320
  Map: m60_50_57_00
  Template:
  - Type: chr
    Entity: 1050570320
    ArgEntities: X0
- ID: 1050572330
  Map: m60_50_57_00
  Template:
  - Type: chr
    Entity: 1050570320
    ArgEntities: X0
- ID: 1050572820
  Map: m60_50_57_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 1051362340
  Map: m60_51_36_00
  Template:
  - Type: loc
    Animation: wakeup 1051360340 20016
- ID: 1051432200
  Map: m60_51_43_00
  Template:
  - Type: locarg
    Animation: wakeup X0 X12
- ID: 1051532220
  Map: m60_51_53_00
  Template:
  - Type: loc
    Entities: 1051530210
    ArgEntities: X0
    Add:
    - Cmds:
      - IfCharacterAIState(1, X0_4, 3, 0, 1)
      - IfElapsedSeconds(1, 5)
      Before: IfConditionGroup(0, 1, 1)
    Removes:
    - IfCharacterHasSpEffect(1, X0_4, X4_4, 1, 0, 1)
    - c2003_18(X0_4, 20025, 1, 1065353216)
- ID: 1051532390
  Map: m60_51_53_00
  Template:
  - Type: chr
    Entity: 1051530331
- ID: 1051542200
  Map: m60_51_54_00
  Template:
  - Type: remove
- ID: 1051562200
  Map: m60_51_56_00
  Template:
  - Type: remove
- ID: 1051572250
  Map: m60_51_57_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 1051572274
  Map: m60_51_57_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 1051572310
  Map: m60_51_57_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 1051572450
  Map: m60_51_57_00
  Template:
  - Type: chr
    Entity: 1051570430
    ArgEntities: X0
- ID: 1051572460
  Map: m60_51_57_00
  Template:
  - Type: loc
    Entities: 1051570421 1051570430 1051570431 1051570432 1051570433 1051570436 1051570437 1050570320
    ArgEntities: X0 X4
    Removes:
    - IfCharacterHasSpEffect(1, X4_4, X8_4, 1, 0, 1)
- ID: 1052552270
  Map: m60_52_55_00
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: loc
    Animation: suspend X0 X4 X8
- ID: 1052572200
  Map: m60_52_57_00
  Template:
  - Type: remove
- ID: 1053552200
  Map: m60_53_55_00
  Template:
  - Type: remove
- ID: 1053562200
  Map: m60_53_56_00
  Template:
  - Type: remove
- ID: 1053562270
  Map: m60_53_56_00
  Template:
  - Type: locarg
    Animation: pose X16 X20 X24
- ID: 1053572200
  Map: m60_53_57_00
  Template:
  - Type: remove
- ID: 1054572200
  Map: m60_54_57_00
  Template:
  - Type: remove
- ID: 90005200
  Map: common_func
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: common
    Animation: suspend X0 X4 X8
- ID: 90005201
  Map: common_func
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: common
    Animation: suspend X0 X4 X8
- ID: 90005210
  Map: common_func
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: common
    Animation: suspend X0 X4 X8
- ID: 90005211
  Map: common_func
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: common
    Animation: suspend X0 X4 X8
- ID: 90005213
  Map: common_func
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: common
    Animation: suspend X0 X4 X8
  - Type: default
    Entities: 15000203 15000204
    ArgEntities: X0 X40
    Removes:
    - c4_35(11, X40_4, 1)
- ID: 90005220
  Map: common_func
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: common
    Animation: suspend X0 X4 X8
- ID: 90005221
  Map: common_func
  Template:
  - Type: locarg
    Animation: gravity X0 X4 X8
  - Type: common
    Animation: suspend X0 X4 X8
- ID: 90005250
  Map: common_func
  Template:
  - Type: locarg
    Animation: wakeup X0 X12
- ID: 90005251
  Map: common_func
  Template:
  - Type: locarg
    Animation: wakeup X0 X12
- ID: 90005260
  Map: common_func
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 90005261
  Map: common_func
  Template:
  - Type: locarg
    Animation: wakeup X0 X16
- ID: 90005271
  Map: common_func
  Template:
  - Type: locarg
    Animation: wakeup X0 X8
- ID: 90005390
  Map: common_func
  Template:
  - Type: common
    Entities: 1035430230 1042530350 1035430280
    ArgEntities: X12 X8
    Removes:
    - c2006_3(2, X8_4, 960, 601111)
    - c2006_3(2, X8_4, 960, 601110)
- ID: 90005391
  Map: common_func
  Template:
  - Type: multichr
    Entity: 1035430230
    ArgEntities: X12 X8
    Add:
    - Cmd: GotoUnconditionally(1)
      Before: start
    Removes:
    - c2003_69(0, X4_4, 1)
- ID: 90005400
  Map: common_func
  Template:
  - Type: common
    Entities: 1038470340 1044330250 1045370370
    ArgEntities: X0
    Removes:
    - c2003_18(X0_4, 14100, 1, 1065353216)
    - c2003_18(X0_4, 14102, 1, 1065353216)
- ID: 90005460
  Map: common_func
  Template:
  - Type: chrpart
    Entity: 31170340
    ArgEntities: X0
- ID: 90005461
  Map: common_func
  Template:
  - Type: chrpart
    Entity: 31170340
    ArgEntities: X0
- ID: 90005462
  Map: common_func
  Template:
  - Type: chrpart
    Entity: 31170340
    ArgEntities: X0
- ID: 90005463
  Map: common_func
  Template:
  - Type: multichr
    Entity: 1045360211
    ArgEntities: X4
- ID: 90005464
  Map: common_func
  Template:
  - Type: multichr
    Entity: 1045360211
    ArgEntities: X4 X8
- ID: 90005485
  Map: common_func
  Template:
  - Type: chr
    Entity: 1044310350
    ArgEntities: X0
- ID: 90005490
  Map: common_func
  Template:
  - Type: common
    Entities: 1037490400 1037490401 1037490402 1037490403 1037490404 1037490405 1042530402 1042530403 1042530406 1042530407 1042530408 1042530409 1042530412 1042530413 1050360400 1050360402 1051360400 1051360401 1051360402 1051360403
    ArgEntities: X0 X4
    Removes:
    - c2004_17(X0_4, 20, 0)
    - c2004_17(X0_4, 10, 0)
    - c2004_17(X0_4, -1, 0)
ValueTypes:
- Length: 4
  Alias: IfConditionGroup SByte Byte SByte
- ID: 1
  Length: 12
- ID: 2
  Length: 12
- Bank: 1
  Length: 8
  Alias: IfElapsedSeconds SByte Single
- Bank: 1
  ID: 5
  Length: 8
- Bank: 3
  Length: 8
  Alias: IfEventFlag SByte Byte Byte UInt32
  Args:
    4: Flag
- Bank: 3
  ID: 1
  Length: 12
  Args:
    4: Flag
    8: Flag
- Bank: 3
  ID: 2
  Length: 16
  Alias: IfInoutsideArea SByte Byte UInt32 UInt32 Int32
  Args:
    4: Entity
    8: Region
- Bank: 3
  ID: 3
  Length: 20
  Alias: IfEntityInoutsideRadiusOfEntity SByte Byte UInt32 UInt32 Single Int32
  Args:
    4: Entity
    8: Entity
- Bank: 3
  ID: 4
  Length: 12
- Bank: 3
  ID: 6
  Length: 4
- Bank: 3
  ID: 7
  Length: 8
  Args:
    4: Region
- Bank: 3
  ID: 8
  Length: 8
- Bank: 3
  ID: 9
  Length: 8
- Bank: 3
  ID: 10
  Length: 20
  Args:
    4: Flag
    8: Flag
- Bank: 3
  ID: 12
  Length: 16
  Args:
    4: Flag
- Bank: 3
  ID: 16
  Length: 12
- Bank: 3
  ID: 17
  Length: 4
- Bank: 3
  ID: 23
  Length: 16
  Args:
    4: Entity
    8: Entity
- Bank: 3
  ID: 24
  Length: 12
  Args:
    8: Entity
- Bank: 3
  ID: 26
  Length: 4
- Bank: 3
  ID: 30
  Length: 8
- Bank: 3
  ID: 31
  Length: 12
  Alias: c3_31 SByte SByte Int32 Int32
- Bank: 3
  ID: 32
  Length: 8
- Bank: 3
  ID: 33
  Length: 12
- Bank: 3
  ID: 34
  Length: 12
- Bank: 3
  ID: 35
  Length: 8
- Bank: 3
  ID: 37
  Length: 12
- Bank: 3
  ID: 38
  Length: 4
- Bank: 4
  Length: 16
  Alias: IfCharacterDeadalive SByte UInt32 Byte Byte Single
  Args:
    4: Entity
- Bank: 4
  ID: 2
  Length: 24
  Args:
    4: Entity
- Bank: 4
  ID: 3
  Length: 16
- Bank: 4
  ID: 4
  Length: 20
  Args:
    4: Enemy
    8: Player
- Bank: 4
  ID: 5
  Length: 20
  Alias: IfCharacterHasSpEffect SByte UInt32 Int32 Byte Byte Single
  Args:
    4: Entity
    8: Speffect
- Bank: 4
  ID: 6
  Length: 20
  Args:
    4: Enemy
- Bank: 4
  ID: 7
  Length: 16
  Args:
    4: Enemy
- Bank: 4
  ID: 9
  Length: 16
  Alias: IfCharacterAIState SByte UInt32 Byte Byte Single
  Args:
    4: Enemy
- Bank: 4
  ID: 14
  Length: 24
  Args:
    4: Entity
- Bank: 4
  ID: 15
  Length: 16
  Args:
    4: Enemy
- Bank: 4
  ID: 19
  Length: 20
- Bank: 4
  ID: 28
  Length: 16
- Bank: 4
  ID: 30
  Length: 20
- Bank: 4
  ID: 31
  Length: 16
  Args:
    4: Player
- Bank: 4
  ID: 32
  Length: 12
  Args:
    4: Player
- Bank: 4
  ID: 34
  Length: 16
  Args:
    4: Enemy
- Bank: 4
  ID: 35
  Length: 12
  Args:
    4: Enemy
- Bank: 5
  Length: 16
  Args:
    4: Asset
- Bank: 5
  ID: 2
  Length: 8
- Bank: 5
  ID: 6
  Length: 16
  Args:
    4: Asset
- Bank: 5
  ID: 10
  Length: 16
  Args:
    4: Asset
- Bank: 11
  ID: 2
  Length: 8
  Args:
    4: Collision
- Bank: 1000
  Length: 4
- Bank: 1000
  ID: 1
  Length: 4
- Bank: 1000
  ID: 2
  Length: 4
- Bank: 1000
  ID: 3
  Length: 4
  Alias: SkipUnconditionally Byte
- Bank: 1000
  ID: 4
  Length: 4
- Bank: 1000
  ID: 5
  Length: 12
  Alias: SkipIfComparison Byte Byte Int32 Int32
- Bank: 1000
  ID: 6
  Length: 12
- Bank: 1000
  ID: 7
  Length: 4
- Bank: 1000
  ID: 8
  Length: 4
- Bank: 1000
  ID: 10
  Length: 12
  Alias: SkipIfComparison2 Byte Byte UInt32 UInt32
- Bank: 1000
  ID: 11
  Length: 12
- Bank: 1000
  ID: 101
  Length: 4
- Bank: 1000
  ID: 103
  Length: 4
  Alias: GotoUnconditionally Byte
- Bank: 1000
  ID: 105
  Length: 12
- Bank: 1000
  ID: 107
  Length: 4
- Bank: 1000
  ID: 108
  Length: 12
- Bank: 1001
  Length: 4
  Alias: WaitFixedTimeSeconds Single
- Bank: 1001
  ID: 1
  Length: 4
  Alias: WaitFixedTimeFrames Int32
- Bank: 1001
  ID: 2
  Length: 8
- Bank: 1001
  ID: 5
  Length: 8
  Alias: c1001_05 Byte Byte Byte Byte Byte Byte
- Bank: 1001
  ID: 6
  Length: 4
- Bank: 1003
  Length: 8
  Args:
    4: Flag
- Bank: 1003
  ID: 1
  Length: 8
  Alias: SkipIfEventFlag Byte Byte Byte UInt32
  Args:
    4: Flag
- Bank: 1003
  ID: 2
  Length: 8
  Alias: EndIfEventFlag Byte Byte Byte UInt32
  Args:
    4: Flag
- Bank: 1003
  ID: 3
  Length: 12
  Args:
    4: Flag
    8: Flag
- Bank: 1003
  ID: 4
  Length: 12
  Args:
    4: Flag
    8: Flag
- Bank: 1003
  ID: 5
  Length: 4
- Bank: 1003
  ID: 6
  Length: 4
- Bank: 1003
  ID: 8
  Length: 8
- Bank: 1003
  ID: 9
  Length: 4
- Bank: 1003
  ID: 12
  Length: 4
- Bank: 1003
  ID: 13
  Length: 4
- Bank: 1003
  ID: 14
  Length: 4
- Bank: 1003
  ID: 101
  Length: 8
  Alias: GotoIfEventFlag Byte Byte Byte UInt32
  Args:
    4: Flag
- Bank: 1003
  ID: 103
  Length: 12
  Args:
    4: Flag
    8: Flag
- Bank: 1003
  ID: 105
  Length: 4
- Bank: 1003
  ID: 200
  Length: 16
  Args:
    4: Entity
    8: Region
- Bank: 1003
  ID: 201
  Length: 16
  Args:
    4: Player
    8: Region
- Bank: 1003
  ID: 202
  Length: 16
  Args:
    4: Entity
    8: Region
- Bank: 1003
  ID: 203
  Length: 8
- Bank: 1003
  ID: 204
  Length: 8
- Bank: 1003
  ID: 206
  Length: 8
- Bank: 1003
  ID: 208
  Length: 8
- Bank: 1004
  Length: 20
  Args:
    4: Entity
    8: Speffect
- Bank: 1004
  ID: 1
  Length: 20
  Args:
    4: Entity
    8: Speffect
- Bank: 1004
  ID: 2
  Length: 20
  Args:
    4: Entity
    8: Speffect
- Bank: 1004
  ID: 4
  Length: 12
  Args:
    4: Enemy
- Bank: 1004
  ID: 5
  Length: 12
  Args:
    4: Enemy
- Bank: 1005
  ID: 1
  Length: 16
  Args:
    4: Asset
- Bank: 1005
  ID: 2
  Length: 16
  Args:
    4: Asset
- Bank: 1005
  ID: 101
  Length: 16
- Bank: 1014
  Alias: Label0
- Bank: 1014
  ID: 1
  Alias: Label1
- Bank: 1014
  ID: 2
  Alias: Label2
- Bank: 1014
  ID: 3
  Alias: Label3
- Bank: 1014
  ID: 4
  Alias: Label4
- Bank: 1014
  ID: 5
  Alias: Label5
- Bank: 1014
  ID: 6
  Alias: Label6
- Bank: 1014
  ID: 7
  Alias: Label7
- Bank: 1014
  ID: 8
  Alias: Label8
- Bank: 1014
  ID: 9
  Alias: Label9
- Bank: 1014
  ID: 10
  Alias: Label10
- Bank: 1014
  ID: 11
  Alias: Label11
- Bank: 1014
  ID: 12
  Alias: Label12
- Bank: 1014
  ID: 13
  Alias: Label13
- Bank: 1014
  ID: 14
  Alias: Label14
- Bank: 1014
  ID: 15
  Alias: Label15
- Bank: 1014
  ID: 16
  Alias: Label16
- Bank: 1014
  ID: 17
  Alias: Label17
- Bank: 1014
  ID: 18
  Alias: Label18
- Bank: 1014
  ID: 19
  Alias: Label19
- Bank: 1014
  ID: 20
  Alias: Label20
- Bank: 2000
  Length: 12
- Bank: 2000
  ID: 2
  Length: 4
- Bank: 2000
  ID: 3
  Length: 4
- Bank: 2000
  ID: 5
  Length: 4
- Bank: 2000
  ID: 6
  Length: 12
- Bank: 2000
  ID: 7
  Length: 4
- Bank: 2000
  ID: 8
  Length: 4
- Bank: 2001
  ID: 4
  Length: 20
- Bank: 2001
  ID: 5
  Length: 4
- Bank: 2002
  ID: 1
  Length: 8
- Bank: 2002
  ID: 3
  Length: 12
  Args:
    8: Player
- Bank: 2002
  ID: 10
  Length: 24
  Args:
    8: Player
- Bank: 2002
  ID: 11
  Length: 28
  Args:
    8: Region
    16: Player
- Bank: 2002
  ID: 12
  Length: 36
  Alias: c2002_12 UInt32 UInt32 UInt32 UInt32 UInt32 UInt32 Byte Byte Byte Byte UInt32 UInt32
  Args:
    8: Region
    16: Player
- Bank: 2002
  ID: 13
  Length: 28
  Args:
    8: Region
    16: Player
- Bank: 2003
  ID: 3
  Length: 8
  Alias: DeactivateGenerator UInt32 Byte
  Args:
    0: Generator
- Bank: 2003
  ID: 4
  Length: 4
- Bank: 2003
  ID: 5
  Length: 28
  Args:
    0: Enemy
    4: Entity
- Bank: 2003
  ID: 11
  Length: 16
  Alias: DisplayBossHealthBar SByte UInt32 Int16 Int32
  Args:
    4: Enemy
    12: NpcName
- Bank: 2003
  ID: 12
  Length: 8
  Alias: HandleBossDefeatAndDisplayBanner UInt32 Byte
  Args:
    0: Enemy
- Bank: 2003
  ID: 13
  Length: 12
- Bank: 2003
  ID: 14
  Length: 12
  Alias: c2003_14 Byte Byte SByte SByte UInt32 Int32
  Args:
    4: Entity
- Bank: 2003
  ID: 16
  Length: 4
- Bank: 2003
  ID: 17
  Length: 12
  Args:
    0: Flag
    4: Flag
- Bank: 2003
  ID: 18
  Length: 16
  Args:
    0: Entity
    4: Animation
- Bank: 2003
  ID: 22
  Length: 12
  Args:
    0: Flag
    4: Flag
- Bank: 2003
  ID: 23
  Length: 4
  Args:
    0: Region
- Bank: 2003
  ID: 24
  Length: 12
- Bank: 2003
  ID: 25
  Length: 24
  Args:
    4: Enemy
    8: Region
- Bank: 2003
  ID: 28
  Length: 4
- Bank: 2003
  ID: 31
  Length: 12
- Bank: 2003
  ID: 32
  Length: 8
- Bank: 2003
  ID: 35
  Length: 8
  Args:
    0: Region
    4: Region
- Bank: 2003
  ID: 36
  Length: 4
- Bank: 2003
  ID: 41
  Length: 24
  Args:
    0: Flag
- Bank: 2003
  ID: 42
  Length: 16
- Bank: 2003
  ID: 43
  Length: 16
- Bank: 2003
  ID: 52
  Length: 12
  Args:
    4: Entity
- Bank: 2003
  ID: 54
  Length: 4
  Args:
    0: Generator
- Bank: 2003
  ID: 63
  Length: 12
  Args:
    0: Flag
    4: Flag
- Bank: 2003
  ID: 66
  Length: 12
  Args:
    4: Flag
- Bank: 2003
  ID: 68
  Length: 12
- Bank: 2003
  ID: 69
  Length: 12
  Args:
    4: Flag
- Bank: 2003
  ID: 70
  Length: 4
- Bank: 2003
  ID: 71
  Length: 4
- Bank: 2003
  ID: 72
  Length: 8
- Bank: 2003
  ID: 73
  Length: 12
  Args:
    0: Enemy
- Bank: 2003
  ID: 74
  Length: 4
- Bank: 2003
  ID: 75
  Length: 12
  Args:
    4: Asset
- Bank: 2003
  ID: 76
  Length: 20
- Bank: 2003
  ID: 77
  Length: 4
  Args:
    0: Region
- Bank: 2003
  ID: 78
  Length: 8
- Bank: 2003
  ID: 79
  Length: 4
  Args:
    0: Enemy
- Bank: 2003
  ID: 80
  Length: 4
- Bank: 2003
  ID: 81
  Length: 4
- Bank: 2003
  ID: 82
  Length: 4
  Args:
    0: Enemy
- Bank: 2004
  ID: 1
  Length: 8
  Alias: SetCharacterAIState UInt32 Byte
  Args:
    0: Enemy
- Bank: 2004
  ID: 2
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 4
  Length: 8
  Alias: ForceCharacterDeath UInt32 Byte
  Args:
    0: Enemy
- Bank: 2004
  ID: 5
  Length: 8
  Alias: ChangeCharacterEnableState UInt32 Byte
  Args:
    0: Enemy
- Bank: 2004
  ID: 6
  Length: 12
  Args:
    0: Player
- Bank: 2004
  ID: 7
  Length: 4
  Args:
    0: Enemy
- Bank: 2004
  ID: 8
  Length: 8
  Args:
    0: Entity
    4: Speffect
- Bank: 2004
  ID: 10
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 11
  Length: 8
  Args:
    0: Enemy
    4: Enemy
- Bank: 2004
  ID: 12
  Length: 8
  Alias: SetCharacterImmortality UInt32 Byte
  Args:
    0: Entity
- Bank: 2004
  ID: 13
  Length: 8
  Args:
    0: Entity
    4: Region
- Bank: 2004
  ID: 14
  Length: 16
  Args:
    0: Entity
    4: Entity
- Bank: 2004
  ID: 15
  Length: 8
  Alias: SetCharacterInvincibility UInt32 Byte
  Args:
    0: Entity
- Bank: 2004
  ID: 16
  Length: 4
  Args:
    0: Enemy
- Bank: 2004
  ID: 17
  Length: 12
  Args:
    0: Enemy
- Bank: 2004
  ID: 18
  Length: 12
  Args:
    0: Enemy
    4: Region
- Bank: 2004
  ID: 19
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 20
  Length: 4
  Args:
    0: Enemy
- Bank: 2004
  ID: 21
  Length: 8
  Args:
    0: Entity
    4: Speffect
- Bank: 2004
  ID: 22
  Length: 24
  Args:
    0: Enemy
- Bank: 2004
  ID: 23
  Length: 16
  Args:
    0: Enemy
- Bank: 2004
  ID: 24
  Length: 28
  Args:
    0: Enemy
- Bank: 2004
  ID: 26
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 27
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 28
  Length: 8
  Args:
    0: Entity
- Bank: 2004
  ID: 29
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 30
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 31
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 33
  Length: 8
  Args:
    0: Enemy
    4: Enemy
- Bank: 2004
  ID: 34
  Length: 8
  Args:
    0: Entity
- Bank: 2004
  ID: 35
  Length: 8
  Args:
    0: Entity
- Bank: 2004
  ID: 37
  Length: 4
  Args:
    0: Enemy
- Bank: 2004
  ID: 39
  Length: 8
  Alias: SetCharacterAnimationState UInt32 Byte
  Args:
    0: Enemy
- Bank: 2004
  ID: 40
  Length: 20
  Args:
    0: Entity
    8: Entity
    16: Entity
- Bank: 2004
  ID: 41
  Length: 16
  Args:
    0: Entity
    8: Entity
- Bank: 2004
  ID: 42
  Length: 20
  Args:
    0: Entity
    8: Entity
    16: Entity
- Bank: 2004
  ID: 43
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 47
- Bank: 2004
  ID: 48
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 49
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 50
  Length: 12
  Args:
    0: Enemy
- Bank: 2004
  ID: 55
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 60
  Length: 8
  Args:
    0: Enemy
    4: Asset
- Bank: 2004
  ID: 61
  Length: 4
- Bank: 2004
  ID: 63
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 67
  Length: 8
  Args:
    0: Entity
    4: Enemy
- Bank: 2004
  ID: 68
  Length: 12
  Args:
    0: Enemy
    8: Asset
- Bank: 2004
  ID: 69
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 70
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 71
  Length: 12
- Bank: 2004
  ID: 73
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 74
  Length: 24
  Args:
    0: Player
    8: Region
    16: Player
- Bank: 2004
  ID: 75
  Length: 12
  Args:
    0: Player
- Bank: 2004
  ID: 76
  Length: 8
  Args:
    0: Flag
- Bank: 2004
  ID: 77
  Length: 16
- Bank: 2004
  ID: 78
  Length: 12
  Args:
    8: Enemy
- Bank: 2004
  ID: 79
  Length: 8
- Bank: 2004
  ID: 80
  Length: 4
- Bank: 2004
  ID: 81
  Length: 4
  Args:
    0: Enemy
- Bank: 2004
  ID: 83
  Length: 8
  Args:
    0: Enemy
- Bank: 2004
  ID: 84
  Length: 12
  Args:
    0: Enemy
- Bank: 2005
  ID: 1
  Length: 8
  Args:
    0: Asset
- Bank: 2005
  ID: 2
  Length: 4
  Args:
    0: Asset
- Bank: 2005
  ID: 3
  Length: 8
  Args:
    0: Asset
- Bank: 2005
  ID: 4
  Length: 8
  Args:
    0: Asset
- Bank: 2005
  ID: 5
  Length: 12
- Bank: 2005
  ID: 6
  Length: 12
  Args:
    0: Asset
- Bank: 2005
  ID: 7
  Length: 8
  Args:
    0: Asset
- Bank: 2005
  ID: 8
  Length: 8
  Args:
    0: Asset
- Bank: 2005
  ID: 9
  Length: 32
  Args:
    0: Flag
    4: Asset
- Bank: 2005
  ID: 11
  Length: 12
  Args:
    0: Asset
    4: Enemy
- Bank: 2005
  ID: 12
  Length: 4
  Args:
    0: Flag
- Bank: 2005
  ID: 13
  Length: 8
  Args:
    0: Asset
- Bank: 2005
  ID: 14
  Length: 16
  Args:
    0: Asset
- Bank: 2005
  ID: 17
  Length: 8
  Args:
    0: Asset
    4: Enemy
- Bank: 2005
  ID: 18
  Length: 12
  Args:
    0: Asset
    4: Asset
- Bank: 2005
  ID: 20
  Length: 36
  Args:
    4: Asset
- Bank: 2006
  ID: 1
  Length: 8
  Args:
    0: Region
- Bank: 2006
  ID: 2
  Length: 4
  Args:
    0: Region
- Bank: 2006
  ID: 3
  Length: 16
  Args:
    4: Entity
- Bank: 2006
  ID: 4
  Length: 12
  Args:
    0: Asset
- Bank: 2006
  ID: 5
  Length: 8
  Args:
    0: Asset
- Bank: 2006
  ID: 6
  Length: 4
- Bank: 2007
  ID: 1
  Length: 16
  Args:
    8: Asset
- Bank: 2007
  ID: 2
  Length: 4
- Bank: 2007
  ID: 4
  Length: 4
- Bank: 2007
  ID: 9
  Length: 4
- Bank: 2007
  ID: 10
  Length: 28
  Args:
    8: Asset
    20: Flag
    24: Flag
- Bank: 2007
  ID: 12
  Length: 8
- Bank: 2007
  ID: 13
  Length: 4
- Bank: 2007
  ID: 14
  Length: 4
- Bank: 2007
  ID: 15
  Length: 8
- Bank: 2007
  ID: 16
  Length: 8
- Bank: 2008
  ID: 1
  Length: 8
- Bank: 2008
  ID: 2
  Length: 24
  Args:
    8: Region
- Bank: 2008
  ID: 3
  Length: 4
- Bank: 2008
  ID: 4
  Length: 8
- Bank: 2009
  Length: 12
  Args:
    0: Flag
    4: Flag
- Bank: 2009
  ID: 3
  Length: 24
  Args:
    4: Asset
- Bank: 2009
  ID: 4
  Length: 4
  Args:
    0: Enemy
- Bank: 2009
  ID: 6
  Length: 4
- Bank: 2009
  ID: 8
  Length: 4
- Bank: 2009
  ID: 11
  Length: 4
- Bank: 2010
  ID: 2
  Length: 12
  Alias: PlaySE UInt32 Byte Int32
  Args:
    0: Entity
- Bank: 2010
  ID: 7
  Length: 12
- Bank: 2010
  ID: 8
  Length: 4
- Bank: 2010
  ID: 10
  Length: 8
- Bank: 2010
  ID: 11
  Length: 4
- Bank: 2010
  ID: 12
  Length: 8
- Bank: 2011
  ID: 1
  Length: 8
  Args:
    0: Collision
- Bank: 2012
  ID: 1
  Length: 8
  Args:
    0: Region
- Bank: 2011
  ID: 2
  Length: 8
- Bank: 2012
  ID: 8
  Length: 4
- Bank: 2012
  ID: 11
  Length: 8
- Bank: 2012
  ID: 12
  Length: 4
