Jump to content


can't leave irenicus dungeon


  • Please log in to reply
27 replies to this topic

#1 -anthony-

-anthony-
  • Guest

Posted 06 March 2007 - 10:43 AM

when leaving the dungeon, after the cutscene were entreri say we'll wait, i'm stuck in that cut scene. the scene were irenicus is leaving with imoen does not start. this is the only big mod i've got and i don't use the fix pack from g3 or baldurdash. someone know what to do?

#2 Azazello

Azazello

    The Anti-Spammer

  • Staff
  • 1912 posts

Posted 06 March 2007 - 11:52 AM

Please copy/paste the contents of your weidu.log into a post. We need to see exactly which mods you have installed, and in which order.

"I gladly simp for jastey" -- Aza
==========================================================
"You ever notice that "What the hell?!" is the answer to just about everything?"
==========================================================

"Girls are like phones, they like to be held and talked too, but if you press the wrong button, you will be disconnected!" DJ Nikodemus
================================================================
Community Contributions
* Level 1 NPCs * gMinion: expanded TP2 for MegaInstalls * PSM (PSQM): expanded scripts for Melanthium * Shar Nadal (DSotSC-BGT) revision * non-detectable Cloak of Non-Detection ?? * Weimer's-Tactics: revised TP2 for MegaInstalls * a directory of Mega-Installation Guides *

   
   
   


#3 darkkhaine

darkkhaine
  • Member
  • 88 posts

Posted 21 June 2007 - 08:12 AM

I'm also stuck in the cutscene.


Here is my weidu log :
// Log of Currently Installed WeiDU Mods
// The top of the file is the 'oldest' mod
// ~TP2_File~ #language_number #component_number // [Subcomponent Name -> ] Component Name
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #0 // BG2 Fixpack - Correctifs principaux
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #2 // Pack du moddeur heureux
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #100 // Gain d'experience si on envoie Keldorn se reconcilier avec Maria
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #101 // Animations des sorts amelioree
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #102 // Forger un objet par Cromwell prend reellement un jour
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #104 // Correction des symboles divin (par Ghreyfain)
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #106 // Penalite d'attaque des Geants contre les Petites-personnes, les Nains et les Gnomes
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #107 // Retire la restriction de jumelage des Archers et des Traqueurs
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #109 // Correction du comportement des demons convoques
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #110 // Correctifs additionnels pour les scripts
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #111 // Correction de la chanson du barde
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #113 // Correctifs additionnels pour les alignements
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #114 // "Action libre" protege aussi contre l'etourdissement
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #115 // Les pattes provenant d'une metamorphose ne peuvent pas etre dissipees
~SETUP-SOS.TP2~ #0 #0 // Shadows Over Soubar, v1.11
~SETUP-TDD.TP2~ #0 #0 // The Darkest Day, v1.11
~SETUP-TDD.TP2~ #0 #1 // TDD Character Kits
~SETUP-TS-BP.TP2~ #0 #0 // TORTURED SOULS v6.09 (BP Compatible Version)
~SETUP-ROT.TP2~ #0 #0 // Region Of Terror, v2.0
~SETUP-SOLAUFEIN.TP2~ #3 #0 // Romance de Solaufein pour Baldur's Gate II (SoA & ToB)
~SETUP-ITEMUPGRADE.TP2~ #1 #0 // Shadows Of Amn Item Upgrades
~SETUP-ITEMUPGRADE.TP2~ #1 #1 // Throne Of Bhaal Item Upgrades
~SETUP-UNDERREP.TP2~ #1 #0 // Objets peu representes provenant d'Icewind Dale 2
~SETUP-VALEN.TP2~ #1 #0 // Valen
~SETUP-MORTIS_V23.TP2~ #0 #0 // Mortis_V2.3
~SETUP-BPV177.TP2~ #0 #0 // Big Picture AI/Enhancement Mod, version 177 weidu (beta)
~SETUP-BPV177.TP2~ #0 #1 // Improved Suldanessallar
~SETUP-BPV177.TP2~ #0 #2 // Improved Spellhold
~SETUP-BPV177.TP2~ #0 #3 // Wand of Orcus Add-In
~SETUP-BPV177.TP2~ #0 #4 // Improved Small Teeth Pass, by Kensai Ryu
~SETUP-BPV177.TP2~ #0 #5 // Improved Kangaxx Encounter, by Kensai Ryu
~SETUP-BPV177.TP2~ #0 #6 // Kensai Ryu's Improved Crypt King
~SETUP-BPV177.TP2~ #0 #7 // Kensai Ryu's Gnome Fighter/Illusionist in the Docks
~SETUP-BPV177.TP2~ #0 #8 // Improved Random Encounters, by Gebhard Blucher and Kensai Ryu
~SETUP-BPV177.TP2~ #0 #9 // Gebhard Blucher's Lich in the Docks
~SETUP-BPV177.TP2~ #0 #10 // Red Badge, Poison-Based Encounter, by Westley Weimer
~SETUP-BPV177.TP2~ #0 #11 // Kuroisan the Acid Kensai, by Westley Weimer
~SETUP-BPV177.TP2~ #0 #12 // The Ritual, by Westley Weimer
~SETUP-BPV177.TP2~ #0 #15 // Ascension for BP
~SETUP-LONGERROAD.TP2~ #2 #0 // Longer Road v 1.5
~SETUP-LONGERROAD.TP2~ #2 #1 // Accélérateur de dialogues
~SETUP-LONGERROAD.TP2~ #2 #2 // Restaure le portrait SoA d'Irenicus
~SETUP-REFINEMENTS.TP2~ #1 #10 // Capacites de haut niveau modifiees
~SETUP-REFINEMENTS.TP2~ #1 #20 // "SwashImoen : Imoen modifiee en bretteuse mage" -> "SwashImoen : Imoen modifiee en bretteuse mage", changements complets (recommande)
~SETUP-REFINEMENTS.TP2~ #1 #30 // Correction des bugs sur les metamorphoses -> Heal on shifting back to human (Default)
~SETUP-REFINEMENTS.TP2~ #1 #40 // Robes de bas niveau universelles
~SETUP-VIRTUE.TP2~ #1 #0 // Vertu
// Recently Uninstalled: ~SETUP-ROTUPDATE.TP2~ #0 #0 // Region of Terror - Fix #1
~SETUP-ROTUPDATE.TP2~ #0 #0 // Region of Terror - Fix #1

#4 darkkhaine

darkkhaine
  • Member
  • 88 posts

Posted 22 June 2007 - 07:47 AM

Can anyone help me please?

#5 Chevalier

Chevalier

    Knight of the Realms

  • Modder
  • 2405 posts

Posted 22 June 2007 - 08:39 PM

I am not sure, but here are my ideas.


~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #4 #115 // Les pattes provenant d'une metamorphose ne peuvent pas etre dissipees


This not causeing your problems, but will break your game.

~SETUP-MORTIS_V23.TP2~ #0 #0 // Mortis_V2.3


I don't know about this mod, I am 'not' saying anything is wrong with this mod, I just don't know much about it.

~SETUP-BPV177.TP2~ #0 #15 // Ascension for BP

If you get as far a ToB this component has bugs.

Another thing I don't know about is mixing different language mods.

Sorry I am not more help. :(

I Ride for the King!


a.k.a. Chev


#6 -Micha-

-Micha-
  • Guest

Posted 19 July 2007 - 12:33 PM

Same problem here... :(
I hope someone can help me.

my weidu log:

// Log of Currently Installed WeiDU Mods
// The top of the file is the 'oldest' mod
// ~TP2_File~ #language_number #component_number // [Subcomponent Name -> ] Component Name
~SETUP-TP.TP2~ #0 #0 // BG2 Text-Patch | Version 2.4
~SETUP-LUVNALIA.TP2~ #0 #0 // Install Weidu version of Arnel's Nalia Romance 1.06
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #0 // BG2 Fixpack - Hauptteil reparieren
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #2 // Superfroehlicher Spass gluecklicher Modder Pack
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #3 // BETA Berichtigungen des Hauptteils (schaut bitte in die Lies-mich Datei!)
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #100 // Die Gruppe bekommt Erfahrungspunkte dafuer, dass Ihr Keldorn wegschickt, um sich mit Maria zu versoehnen
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #101 // Verbesserte Zauber-Animationen
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #102 // Cromwell braucht zum Schmieden wirklich einen Tag
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #103 // Uneinheitlichenr Gebrauch des Dolches berichtigen
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #104 // Ghreyfains Heiliges Symbol berichtigen
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #105 // Fuer zusaetzliche Aufgaben des Helden in Handelstreff abwarten, bis der Held offiziel genannt wird.
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #106 // Riesen erhalten Strafen wenn sie Halblinge, Zwerge und Gnome angreifen.
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #107 // Entfernt Beschraenkungen von zweiklassigen Bogenschuetzen und Pirschern
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #108 // Entfernt den zweiten zugewiesenen Bonus für den Schlechten Weg bei den Prüfungen in der Hölle.
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #109 // Korrigiertes Verhalten herbeigerufener Dämonen
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #110 // Zusätzliche Korrekturen der Skripte
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #111 // Berichtigte Bardenlieder
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #112 // Magierkiller bewirkt Irreführung bei Angriffen mit Fernkampfwaffen
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #113 // Zusätzliche Berichtigung der Gesinnung
~SETUP-TDD.TP2~ #0 #0 // The Darkest Day, v1.11
~SETUP-SOS.TP2~ #0 #0 // Shadows Over Soubar, v105 WeiDU
~SETUP-CTB.TP2~ #0 #0 // Check The Bodies, v1.8
~SETUP-CTB-CHORES.TP2~ #0 #0 // Candlekeep Chores, v2.0
~SETUP-CTB_FF.TP2~ #0 #0 // Check the Bodies Fast Forward, v1.1 (for CtB v1.8)
~SETUP-TS-BP.TP2~ #0 #0 // TORTURED SOULS v6.09 (BP Compatible Version)
~SETUP-ROT.TP2~ #0 #0 // Region Of Terror, v2.0
~SETUP-ROTUPDATE.TP2~ #0 #0 // Region of Terror - Fix #1
~SETUP-BGT.TP2~ #4 #0 // Baldur's Gate Trilogy - Hauptteil 1.04
~PROLOGUE/PROLOGUE.TP2~ #2 #0 // Wiederherstellen der Musik w?hrend des Prologes fr BG1TuTu und BGT-WeiDU
~SETUP-DSOTSC.TP2~ #1 #0 // DSotSC für BGT-Weidu v1.85 Mod
~SETUP-NTOTSC.TP2~ #1 #0 // NTotSC für BGT-BP v1.45 Mod
~SETUP-BONEHILL.TP2~ #1 #0 // Bone Hill-Mod v2.05 (Setzt BGT-Weidu oder Tutu voraus)
~SETUP-BG2SOA.TP2~ #0 #1 // Adds Items from Baldurs Gate to SoA -> Improved Mencar Pebblecrusher (Not so cheesy method)
~SETUP-YACOMOPATCH.TP2~ #0 #0 // Fix CtB XPCap problem (by patching bgmain.exe)
~SETUP-BP-BGT-WORLDMAP.TP2~ #1 #0 // Ueberarbeitete Weltkarte fuer Baldurs Gate - Big Picture und kompatible Modifikationen mit farbigen Baldurs Gate Kartenicons -> Installiere neue Weltkarte fuer die Megamodifikation
~SETUP-BP-BGT-WORLDMAP.TP2~ #1 #1 // --> Diese Komponente ist OPTIONAL und muss nicht installiert werden. <-- Erweiterung der Area Skripte fuer bessere Sichtbarkeit der Areas und neue BGT Reisezeiten...
~SETUP-BP-BGT-WORLDMAP.TP2~ #1 #3 // Benutze die Weltkarte ebenso fuer Thron des Bhaal
~SETUP-END_BIFF.TP2~ #1 #0 // Biffen der Dateien -> Diese Methode erlaubt es die Dateien zu biffen und wieder zu deinstallieren. Allerdings werden zus?tzliche ca. 2GB an Speicherplatz benötigt.

#7 Azazello

Azazello

    The Anti-Spammer

  • Staff
  • 1912 posts

Posted 19 July 2007 - 03:55 PM

Upgrade as many of your mods as possible---> http://www.shsforums...odule=downloads

#8 -Micha-

-Micha-
  • Guest

Posted 25 July 2007 - 01:47 PM

Ok, I managed to delete the cutscene with NI and everything works fine now...

#9 Balinor07

Balinor07
  • Member
  • 18 posts

Posted 06 April 2008 - 09:49 AM

Ok, I managed to delete the cutscene with NI and everything works fine now...

I've run into same problem. Can I update a mod at this point in the game? How would I use Near Infinity to delete cutscene? I'm not a modder, just a player.
Thanks!

#10 wiecha

wiecha
  • Member
  • 5 posts

Posted 07 January 2009 - 02:48 PM

hmmmm... i`ve got the same bug :crying:

Attached Files



#11 Moonie

Moonie
  • Member
  • 1 posts

Posted 09 August 2009 - 12:03 AM

Hello,
I have the same problem and can´t continue to play on...
I´ve downloaded NI now but can´t figure out how to remove this cutszene.
Any help would be appreciated.


Moonie

#12 RutgerHauer

RutgerHauer
  • Member
  • 148 posts

Posted 11 February 2011 - 01:06 AM

I have the very same problem.

Can somene pls tell how to find the cutscene in Near Infinity software and delete it since there seem to be no other solution to it yet?
It's really important matter.

Thank you in advanced.

#13 RutgerHauer

RutgerHauer
  • Member
  • 148 posts

Posted 11 February 2011 - 12:23 PM

- BUMP -

#14 -guest-

-guest-
  • Guest

Posted 11 February 2011 - 12:33 PM

Open NI and navigate to BCS tree. Open the AR0602.BCS and you have a text like document in the right window. Navigate to the block which I don't know but a block is anything between an IF and the END. Deleting the block removes the cutscene and it will not appear ever.

#15 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 11 February 2011 - 12:51 PM

Open NI and navigate to BCS tree. Open the AR0602.BCS and you have a text like document in the right window. Navigate to the block which I don't know but a block is anything between an IF and the END. Deleting the block removes the cutscene and it will not appear ever.

Erhm, to give some more hints where to look in the script, the block starts with something like this:
IF

	WalkedToTrigger([ANYONE]) <--- this line has something different than this, probably

THEN

	RESPONSE #100

		ClearAllActions()

		StartCutSceneMode()

<--- and here it then continues with something up to

END

Deactivated account. The user today is known as The Imp.


#16 RutgerHauer

RutgerHauer
  • Member
  • 148 posts

Posted 11 February 2011 - 01:50 PM

I cannot compile it back after editing, can save tho.. does it has smth to do with generalized biffing? does it need to be compiled nessecarily?
I'll update this as soon as i load autosave

#17 RutgerHauer

RutgerHauer
  • Member
  • 148 posts

Posted 11 February 2011 - 01:57 PM

The cutscene is still there preventing me from continueing.
Looks like i need to compile it, yes?
How?
Shall i remove the biffing try to compile then biff again?

Edited by RutgerHauer, 11 February 2011 - 01:59 PM.


#18 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 12 February 2011 - 01:18 AM

Looks like i need to compile it, yes?
How?

Yes, but if the NearInfinity cannot re-compile the file, something is off... and I would have to see the source file to tell you what, so re-open the original file, use the "Export" "script source" and open the .baf file with Notepad and copy-paste the text in this forums code tags...

Deactivated account. The user today is known as The Imp.


#19 RutgerHauer

RutgerHauer
  • Member
  • 148 posts

Posted 12 February 2011 - 05:34 AM

Here you go: (Also note that i removed 3 entries from the original file apart from the cutscene block aswell, they were refering to worgas npc, since when i tried to compile it said that they cause an error, silly me that i didn't copy paste them to different file instead of just deleting, they're gone... unless the baf script has them i havent checked yet. Deleting didnt help compiling tho)
IF
	OnCreation()
	Global("DMWWIrenRest","GLOBAL",0)
THEN
	RESPONSE #100
		SetRestEncounterProbabilityDay(0)
		SetRestEncounterProbabilityNight(0)
		Continue()
END

IF
	Global("DMWWIrenRest","GLOBAL",1)
	!Global("DMWWRestSet","MYAREA",1)
THEN
	RESPONSE #100
		SetGlobal("DMWWRestSet","MYAREA",1)
		SetRestEncounterProbabilityDay(100)
		SetRestEncounterProbabilityNight(100)
		Continue()
END

IF
	Global("wm_bg1book","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("wm_bg1book","GLOBAL",2)
		ActionOverride("Picture1",CreateItem("wm_sbook",0,0,0)) // Ksiêga czarów Rhialto
		Continue()
END

IF
	Global("Z_ModdySpawned","GLOBAL",0)
THEN
	RESPONSE #100
		SetGlobal("Z_ModdySpawned","GLOBAL",1)
		CreateCreature("Z_Moddy",[2940.2860],2) // Moddie
		Continue()
END

IF
	Global("ZarixExists","AR0602",0)
	Global("ENDOFBG1","GLOBAL",2)
	Global("NewGame","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("ZarixExists","AR0602",1)
		CreateCreature("zarix",[1399.1495],2) // Zarix
		StorePartyLocations()
		ActionOverride(Player1,LeaveAreaLUA("AR0070","",[0.0],0))
		ActionOverride(Player2,LeaveAreaLUA("AR0070","",[0.0],0))
		ActionOverride(Player3,LeaveAreaLUA("AR0070","",[0.0],0))
		ActionOverride(Player4,LeaveAreaLUA("AR0070","",[0.0],0))
		ActionOverride(Player5,LeaveAreaLUA("AR0070","",[0.0],0))
		ActionOverride(Player6,LeaveAreaLUA("AR0070","",[0.0],0))
		ActionOverride(Player1,MakeUnselectable(20))
		ActionOverride(Player2,MakeUnselectable(20))
		ActionOverride(Player3,MakeUnselectable(20))
		ActionOverride(Player4,MakeUnselectable(20))
		ActionOverride(Player5,MakeUnselectable(20))
		ActionOverride(Player6,MakeUnselectable(20))
		StartCutScene("W_0070")
END

IF
	Global("WorgasExists","AR0602",0)
	Global("WorgasTeleport","AR0602",1)
THEN
	RESPONSE #100
		MoveViewPoint([3654.2889],INSTANT)
		ActionOverride(Player1,MakeUnselectable(20))
		ActionOverride(Player2,MakeUnselectable(20))
		ActionOverride(Player3,MakeUnselectable(20))
		ActionOverride(Player4,MakeUnselectable(20))
		ActionOverride(Player5,MakeUnselectable(20))
		ActionOverride(Player6,MakeUnselectable(20))
		Wait(1)
		SetGlobal("WorgasExists","AR0602",1)
		SetGlobal("WorgasTeleport","AR0602",2)
		StartCutSceneMode()
		CreateCreatureDoor("worgas",[3533.2937],2) // Worgas
		CreateVisualEffectObject("spsdimpa","Worgas")
		PlaySound("EFF_M09")
		PlaySound("PPNALJ04")
		Wait(3)
		CreateVisualEffectObject("ICRMPARI","Worgas")
		PlaySound("EFF_M20")
		ActionOverride("Worgas",PlayDead(60))
		Wait(3)
		CreateVisualEffectObject("ICRMPARI","Worgas")
		PlaySound("EFF_M20")
		ActionOverride("Worgas",PlayDead(60))
		Wait(2)
		CreateVisualEffectObject("spcontin","Worgas")
		ActionOverride("Worgas",DisplayStringHead(Myself,60613)) // Moje b³yskotki...
		EndCutSceneMode()
END

IF
	Global("C#AjantisRomanceBG1Items","GLOBAL",0)
	PartyHasItem("X#AJRORI") // Ajantis' engagement ring
THEN
	RESPONSE #100
		SetGlobal("C#AjantisRomanceBG1Items","GLOBAL",1)
		Continue()
END

IF
	Global("DeSpawnItem","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("DeSpawnItem","AR0602",1)
		ActionOverride("Jailkeep Table",CreateItem("DeITM033",0,0,0)) // Dirk
		ActionOverride("Jailkeep Table",CreateItem("DeITM068",0,0,0)) // Sabre
		ActionOverride("Jailkeep Table",CreateItem("DeITM007",0,0,0)) // Hatchet
		ActionOverride("Jailkeep Table",CreateItem("DeITM034",0,0,0)) // Horseman's Flail
		Continue()
END

IF
	GlobalGT("IHaveVoucher10","GLOBAL",0)
THEN
	RESPONSE #100
		SetGlobal("IHaveMinus","GLOBAL",-1)
		AddGlobals("IHaveVoucher10","IHaveMinus")
		ActionOverride("Table1",CreateItem("VPVOUC10",0,0,0)) // Merchant League Banknote
		Continue()
END

IF
	GlobalGT("IHaveVoucher25","GLOBAL",0)
THEN
	RESPONSE #100
		SetGlobal("IHaveMinus","GLOBAL",-1)
		AddGlobals("IHaveVoucher25","IHaveMinus")
		ActionOverride("Table1",CreateItem("VPVOUC25",0,0,0)) // Merchant League Banknote
		Continue()
END

IF
	GlobalGT("IHaveVoucher50","GLOBAL",0)
THEN
	RESPONSE #100
		SetGlobal("IHaveMinus","GLOBAL",-1)
		AddGlobals("IHaveVoucher50","IHaveMinus")
		ActionOverride("Table1",CreateItem("VPVOUC50",0,0,0)) // Merchant League Banknote
		Continue()
END

IF
	GlobalGT("IHaveVoucher100","GLOBAL",0)
THEN
	RESPONSE #100
		SetGlobal("IHaveMinus","GLOBAL",-1)
		AddGlobals("IHaveVoucher100","IHaveMinus")
		ActionOverride("Table1",CreateItem("VPVOU100",0,0,0)) // Merchant League Banknote
		Continue()
END

IF
	Global("VP_Save_Answerer","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("VP_Save_Answerer","GLOBAL",2)
		ActionOverride("Table1",CreateItem("vpsword",0,0,0)) // The Answerer +2
		Continue()
END

IF
	Global("VP_Save_WolfCloak","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("VP_Save_WolfCloak","GLOBAL",2)
		ActionOverride("Table1",CreateItem("vpnjclck",0,0,0)) // Cloak of the Greater Werewolf
		Continue()
END

IF
	Global("VP_Save_PotionCase","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("VP_Save_PotionCase","GLOBAL",2)
		ActionOverride("Shelf1",CreateItem("vpptnbag",0,0,0)) // Potion Case
		Continue()
END

IF
	Global("VP_Save_ScrollTub","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("VP_Save_ScrollTub","GLOBAL",2)
		ActionOverride("Shelf1",CreateItem("vpscrbag",0,0,0)) // Scroll Tubus
		Continue()
END

IF
	Global("VP_Save_Quiver","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("VP_Save_Quiver","GLOBAL",2)
		ActionOverride("Table1",CreateItem("vpambelt",0,0,0)) // Quiver
		Continue()
END

IF
	Global("VP_Save_GenBag","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("VP_Save_GenBag","GLOBAL",2)
		ActionOverride("Shelf1",CreateItem("vpgenbag",0,0,0)) // Cloth Sack
		Continue()
END

IF
	Global("VP_Save_BoxGloves","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("VP_Save_BoxGloves","GLOBAL",2)
		ActionOverride("Table1",CreateItem("ulfists",0,0,0)) // Fighting Gauntlets
		Continue()
END

IF
	OnCreation()
	InMyArea("Imoen")
	Global("hf_Destroy_Imoen","GLOBAL",0)
	Global("ImoenPartyBG1","GLOBAL",0)
THEN
	RESPONSE #100
		SetGlobal("hf_Destroy_Imoen","GLOBAL",1)
		ActionOverride("Imoen",DestroySelf())
		Continue()
END

IF
	InParty("Imoen2")
	Global("MoveScreen","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("MoveScreen","AR0602",1)
		SaveGame(0)
		MoveViewPoint([3802.2769],VERY_FAST)
		Continue()
END

IF
	OnCreation()
	Global("NewGame","AR0602",0)
	Global("ENDOFBG1","GLOBAL",0)
THEN
	RESPONSE #100
		SetCursorState(TRUE)
		FadeToColor([1.0],0)
		SmallWait(10)
		StartMovie("SOAINTRO")
		SetGlobal("ENDOFBG1","GLOBAL",2)
		SetGlobal("NewGame","AR0602",1)
		Continue()
END

IF
	OnCreation()
	Global("NewGame","AR0602",0)
	Global("ENDOFBG1","GLOBAL",1)
THEN
	RESPONSE #100
		SetCursorState(TRUE)
		FadeToColor([1.0],0)
		SmallWait(10)
		StartMovie("SOAINTRO")
		SetGlobal("NewGame","AR0602",1)
		SetGlobal("ENDOFBG1","GLOBAL",2)
		HideAreaOnMap("AR9800")
		Continue()
END

IF
	XP(Player1,0)
	Global("XPPlayer1","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("XPPlayer1","AR0602",1)
		SetGlobal("BGImportIncomplete","AR0602",1)
		Continue()
END

IF
	XP(Player1,1)
	Global("XPPlayer1","AR0602",0)
THEN
	RESPONSE #100
		AddXPObject(Player1,-1)
		SetGlobal("XPPlayer1","AR0602",1)
		SetGlobal("BGImportIncomplete","AR0602",1)
		Continue()
END

IF
	XP(Player2,1)
	Global("XPPlayer2","AR0602",0)
THEN
	RESPONSE #100
		AddXPObject(Player2,-1)
		SetGlobal("XPPlayer2","AR0602",1)
		Continue()
END

IF
	XP(Player3,1)
	Global("XPPlayer3","AR0602",0)
THEN
	RESPONSE #100
		AddXPObject(Player3,-1)
		SetGlobal("XPPlayer3","AR0602",1)
		Continue()
END

IF
	XP(Player4,1)
	Global("XPPlayer4","AR0602",0)
THEN
	RESPONSE #100
		AddXPObject(Player4,-1)
		SetGlobal("XPPlayer4","AR0602",1)
		Continue()
END

IF
	XP(Player5,1)
	Global("XPPlayer5","AR0602",0)
THEN
	RESPONSE #100
		AddXPObject(Player5,-1)
		SetGlobal("XPPlayer5","AR0602",1)
		Continue()
END

IF
	XP(Player6,1)
	Global("XPPlayer6","AR0602",0)
THEN
	RESPONSE #100
		AddXPObject(Player6,-1)
		SetGlobal("XPPlayer6","AR0602",1)
		Continue()
END

IF
	Level(Player1,1)
	XP(Player1,0)
	OR(2)
		Class(Player1,MAGE)
		Class(Player1,SORCERER)
	Global("CheckedHPPlayer1","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP4",Myself)) // No such index
		SetGlobal("CheckedHPPlayer1","AR0602",1)
		Continue()
END

IF
	Level(Player1,1)
	XP(Player1,0)
	Class(Player1,MAGE_THIEF)
	Global("CheckedHPPlayer1","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP5",Myself)) // No such index
		SetGlobal("CheckedHPPlayer1","AR0602",1)
		Continue()
END

IF
	Level(Player1,1)
	XP(Player1,0)
	OR(4)
		Class(Player1,FIGHTER_MAGE_THIEF)
		Class(Player1,CLERIC_MAGE)
		Class(Player1,BARD)
		Class(Player1,THIEF)
	Global("CheckedHPPlayer1","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP6",Myself)) // No such index
		SetGlobal("CheckedHPPlayer1","AR0602",1)
		Continue()
END

IF
	Level(Player1,1)
	XP(Player1,0)
	OR(3)
		Class(Player1,CLERIC_THIEF)
		Class(Player1,FIGHTER_MAGE)
		Class(Player1,FIGHTER_MAGE_CLERIC)
	Global("CheckedHPPlayer1","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP7",Myself)) // No such index
		SetGlobal("CheckedHPPlayer1","AR0602",1)
		Continue()
END

IF
	Level(Player1,1)
	XP(Player1,0)
	OR(4)
		Class(Player1,FIGHTER_THIEF)
		Class(Player1,CLERIC)
		Class(Player1,DRUID)
		Class(Player1,MONK)
	Global("CheckedHPPlayer1","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP8",Myself)) // No such index
		SetGlobal("CheckedHPPlayer1","AR0602",1)
		Continue()
END

IF
	Level(Player1,1)
	XP(Player1,0)
	OR(3)
		Class(Player1,FIGHTER_DRUID)
		Class(Player1,CLERIC_RANGER)
		Class(Player1,FIGHTER_CLERIC)
	Global("CheckedHPPlayer1","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP9",Myself)) // No such index
		SetGlobal("CheckedHPPlayer1","AR0602",1)
		Continue()
END

IF
	Level(Player1,1)
	XP(Player1,0)
	OR(3)
		Class(Player1,PALADIN)
		Class(Player1,RANGER)
		Class(Player1,FIGHTER)
	!Class(Player1,MONK)
	Global("CheckedHPPlayer1","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP10",Myself)) // No such index
		ActionOverride(Player1,ChangeAIScript("BGHP",OVERRIDE))
		SetGlobal("CheckedHPPlayer1","AR0602",1)
		Continue()
END

IF
	Level(Player1,1)
	XP(Player1,0)
	!Class(Player1,MAGE)
	!Class(Player1,SORCERER)
	!Class(Player1,MAGE_THIEF)
	!Class(Player1,FIGHTER_MAGE_THIEF)
	!Class(Player1,CLERIC_MAGE)
	!Class(Player1,BARD)
	!Class(Player1,THIEF)
	!Class(Player1,CLERIC_THIEF)
	!Class(Player1,FIGHTER_MAGE)
	!Class(Player1,FIGHTER_MAGE_CLERIC)
	!Class(Player1,FIGHTER_THIEF)
	!Class(Player1,CLERIC)
	!Class(Player1,DRUID)
	!Class(Player1,MONK)
	!Class(Player1,FIGHTER_DRUID)
	!Class(Player1,CLERIC_RANGER)
	!Class(Player1,FIGHTER_CLERIC)
	!Class(Player1,PALADIN)
	!Class(Player1,RANGER)
	!Class(Player1,FIGHTER)
	Global("CheckedHPPlayer1","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer1","AR0602",1)
		Continue()
END

IF
	Level(Player2,1)
	XP(Player2,0)
	OR(2)
		Class(Player2,MAGE)
		Class(Player2,SORCERER)
	Global("CheckedHPPlayer2","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP4",Myself)) // No such index
		SetGlobal("CheckedHPPlayer2","AR0602",1)
		Continue()
END

IF
	Level(Player2,1)
	XP(Player2,0)
	Class(Player2,MAGE_THIEF)
	Global("CheckedHPPlayer2","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP5",Myself)) // No such index
		SetGlobal("CheckedHPPlayer2","AR0602",1)
		Continue()
END

IF
	Level(Player2,1)
	XP(Player2,0)
	OR(4)
		Class(Player2,FIGHTER_MAGE_THIEF)
		Class(Player2,CLERIC_MAGE)
		Class(Player2,BARD)
		Class(Player2,THIEF)
	Global("CheckedHPPlayer2","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP6",Myself)) // No such index
		SetGlobal("CheckedHPPlayer2","AR0602",1)
		Continue()
END

IF
	Level(Player2,1)
	XP(Player2,0)
	OR(3)
		Class(Player2,CLERIC_THIEF)
		Class(Player2,FIGHTER_MAGE)
		Class(Player2,FIGHTER_MAGE_CLERIC)
	Global("CheckedHPPlayer2","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP7",Myself)) // No such index
		SetGlobal("CheckedHPPlayer2","AR0602",1)
		Continue()
END

IF
	Level(Player2,1)
	XP(Player2,0)
	OR(4)
		Class(Player2,FIGHTER_THIEF)
		Class(Player2,CLERIC)
		Class(Player2,DRUID)
		Class(Player2,MONK)
	Global("CheckedHPPlayer2","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP8",Myself)) // No such index
		SetGlobal("CheckedHPPlayer2","AR0602",1)
		Continue()
END

IF
	Level(Player2,1)
	XP(Player2,0)
	OR(3)
		Class(Player2,FIGHTER_DRUID)
		Class(Player2,CLERIC_RANGER)
		Class(Player2,FIGHTER_CLERIC)
	Global("CheckedHPPlayer2","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP9",Myself)) // No such index
		SetGlobal("CheckedHPPlayer2","AR0602",1)
		Continue()
END

IF
	Level(Player2,1)
	XP(Player2,0)
	OR(3)
		Class(Player2,PALADIN)
		Class(Player2,RANGER)
		Class(Player2,FIGHTER)
	!Class(Player2,MONK)
	Global("CheckedHPPlayer2","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP10",Myself)) // No such index
		ActionOverride(Player2,ChangeAIScript("BGHP",OVERRIDE))
		SetGlobal("CheckedHPPlayer2","AR0602",1)
		Continue()
END

IF
	Level(Player2,1)
	XP(Player2,0)
	!Class(Player2,MAGE)
	!Class(Player2,SORCERER)
	!Class(Player2,MAGE_THIEF)
	!Class(Player2,FIGHTER_MAGE_THIEF)
	!Class(Player2,CLERIC_MAGE)
	!Class(Player2,BARD)
	!Class(Player2,THIEF)
	!Class(Player2,CLERIC_THIEF)
	!Class(Player2,FIGHTER_MAGE)
	!Class(Player2,FIGHTER_MAGE_CLERIC)
	!Class(Player2,FIGHTER_THIEF)
	!Class(Player2,CLERIC)
	!Class(Player2,DRUID)
	!Class(Player2,MONK)
	!Class(Player2,FIGHTER_DRUID)
	!Class(Player2,CLERIC_RANGER)
	!Class(Player2,FIGHTER_CLERIC)
	!Class(Player2,PALADIN)
	!Class(Player2,RANGER)
	!Class(Player2,FIGHTER)
	Global("CheckedHPPlayer2","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer2","AR0602",1)
		Continue()
END

IF
	Level(Player3,1)
	XP(Player3,0)
	OR(2)
		Class(Player3,MAGE)
		Class(Player3,SORCERER)
	Global("CheckedHPPlayer3","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP4",Myself)) // No such index
		SetGlobal("CheckedHPPlayer3","AR0602",1)
		Continue()
END

IF
	Level(Player3,1)
	XP(Player3,0)
	Class(Player3,MAGE_THIEF)
	Global("CheckedHPPlayer3","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP5",Myself)) // No such index
		SetGlobal("CheckedHPPlayer3","AR0602",1)
		Continue()
END

IF
	Level(Player3,1)
	XP(Player3,0)
	OR(4)
		Class(Player3,FIGHTER_MAGE_THIEF)
		Class(Player3,CLERIC_MAGE)
		Class(Player3,BARD)
		Class(Player3,THIEF)
	Global("CheckedHPPlayer3","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP6",Myself)) // No such index
		SetGlobal("CheckedHPPlayer3","AR0602",1)
		Continue()
END

IF
	Level(Player3,1)
	XP(Player3,0)
	OR(3)
		Class(Player3,CLERIC_THIEF)
		Class(Player3,FIGHTER_MAGE)
		Class(Player3,FIGHTER_MAGE_CLERIC)
	Global("CheckedHPPlayer3","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP7",Myself)) // No such index
		SetGlobal("CheckedHPPlayer3","AR0602",1)
		Continue()
END

IF
	Level(Player3,1)
	XP(Player3,0)
	OR(4)
		Class(Player3,FIGHTER_THIEF)
		Class(Player3,CLERIC)
		Class(Player3,DRUID)
		Class(Player3,MONK)
	Global("CheckedHPPlayer3","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP8",Myself)) // No such index
		SetGlobal("CheckedHPPlayer3","AR0602",1)
		Continue()
END

IF
	Level(Player3,1)
	XP(Player3,0)
	OR(3)
		Class(Player3,FIGHTER_DRUID)
		Class(Player3,CLERIC_RANGER)
		Class(Player3,FIGHTER_CLERIC)
	Global("CheckedHPPlayer3","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP9",Myself)) // No such index
		SetGlobal("CheckedHPPlayer3","AR0602",1)
		Continue()
END

IF
	Level(Player3,1)
	XP(Player3,0)
	OR(3)
		Class(Player3,PALADIN)
		Class(Player3,RANGER)
		Class(Player3,FIGHTER)
	!Class(Player3,MONK)
	Global("CheckedHPPlayer3","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP10",Myself)) // No such index
		ActionOverride(Player3,ChangeAIScript("BGHP",OVERRIDE))
		SetGlobal("CheckedHPPlayer3","AR0602",1)
		Continue()
END

IF
	Level(Player3,1)
	XP(Player3,0)
	!Class(Player3,MAGE)
	!Class(Player3,SORCERER)
	!Class(Player3,MAGE_THIEF)
	!Class(Player3,FIGHTER_MAGE_THIEF)
	!Class(Player3,CLERIC_MAGE)
	!Class(Player3,BARD)
	!Class(Player3,THIEF)
	!Class(Player3,CLERIC_THIEF)
	!Class(Player3,FIGHTER_MAGE)
	!Class(Player3,FIGHTER_MAGE_CLERIC)
	!Class(Player3,FIGHTER_THIEF)
	!Class(Player3,CLERIC)
	!Class(Player3,DRUID)
	!Class(Player3,MONK)
	!Class(Player3,FIGHTER_DRUID)
	!Class(Player3,CLERIC_RANGER)
	!Class(Player3,FIGHTER_CLERIC)
	!Class(Player3,PALADIN)
	!Class(Player3,RANGER)
	!Class(Player3,FIGHTER)
	Global("CheckedHPPlayer3","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer3","AR0602",1)
		Continue()
END

IF
	Level(Player4,1)
	XP(Player4,0)
	OR(2)
		Class(Player4,MAGE)
		Class(Player4,SORCERER)
	Global("CheckedHPPlayer4","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP4",Myself)) // No such index
		SetGlobal("CheckedHPPlayer4","AR0602",1)
		Continue()
END

IF
	Level(Player4,1)
	XP(Player4,0)
	Class(Player4,MAGE_THIEF)
	Global("CheckedHPPlayer4","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP5",Myself)) // No such index
		SetGlobal("CheckedHPPlayer4","AR0602",1)
		Continue()
END

IF
	Level(Player4,1)
	XP(Player4,0)
	OR(4)
		Class(Player4,FIGHTER_MAGE_THIEF)
		Class(Player4,CLERIC_MAGE)
		Class(Player4,BARD)
		Class(Player4,THIEF)
	Global("CheckedHPPlayer4","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP6",Myself)) // No such index
		SetGlobal("CheckedHPPlayer4","AR0602",1)
		Continue()
END

IF
	Level(Player4,1)
	XP(Player4,0)
	OR(3)
		Class(Player4,CLERIC_THIEF)
		Class(Player4,FIGHTER_MAGE)
		Class(Player4,FIGHTER_MAGE_CLERIC)
	Global("CheckedHPPlayer4","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP7",Myself)) // No such index
		SetGlobal("CheckedHPPlayer4","AR0602",1)
		Continue()
END

IF
	Level(Player4,1)
	XP(Player4,0)
	OR(4)
		Class(Player4,FIGHTER_THIEF)
		Class(Player4,CLERIC)
		Class(Player4,DRUID)
		Class(Player4,MONK)
	Global("CheckedHPPlayer4","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP8",Myself)) // No such index
		SetGlobal("CheckedHPPlayer4","AR0602",1)
		Continue()
END

IF
	Level(Player4,1)
	XP(Player4,0)
	OR(3)
		Class(Player4,FIGHTER_DRUID)
		Class(Player4,CLERIC_RANGER)
		Class(Player4,FIGHTER_CLERIC)
	Global("CheckedHPPlayer4","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP9",Myself)) // No such index
		SetGlobal("CheckedHPPlayer4","AR0602",1)
		Continue()
END

IF
	Level(Player4,1)
	XP(Player4,0)
	OR(3)
		Class(Player4,PALADIN)
		Class(Player4,RANGER)
		Class(Player4,FIGHTER)
	!Class(Player4,MONK)
	Global("CheckedHPPlayer4","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP10",Myself)) // No such index
		ActionOverride(Player4,ChangeAIScript("BGHP",OVERRIDE))
		SetGlobal("CheckedHPPlayer4","AR0602",1)
		Continue()
END

IF
	Level(Player4,1)
	XP(Player4,0)
	!Class(Player4,MAGE)
	!Class(Player4,SORCERER)
	!Class(Player4,MAGE_THIEF)
	!Class(Player4,FIGHTER_MAGE_THIEF)
	!Class(Player4,CLERIC_MAGE)
	!Class(Player4,BARD)
	!Class(Player4,THIEF)
	!Class(Player4,CLERIC_THIEF)
	!Class(Player4,FIGHTER_MAGE)
	!Class(Player4,FIGHTER_MAGE_CLERIC)
	!Class(Player4,FIGHTER_THIEF)
	!Class(Player4,CLERIC)
	!Class(Player4,DRUID)
	!Class(Player4,MONK)
	!Class(Player4,FIGHTER_DRUID)
	!Class(Player4,CLERIC_RANGER)
	!Class(Player4,FIGHTER_CLERIC)
	!Class(Player4,PALADIN)
	!Class(Player4,RANGER)
	!Class(Player4,FIGHTER)
	Global("CheckedHPPlayer4","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer4","AR0602",1)
		Continue()
END

IF
	Level(Player5,1)
	XP(Player5,0)
	OR(2)
		Class(Player5,MAGE)
		Class(Player5,SORCERER)
	Global("CheckedHPPlayer5","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP4",Myself)) // No such index
		SetGlobal("CheckedHPPlayer5","AR0602",1)
		Continue()
END

IF
	Level(Player5,1)
	XP(Player5,0)
	Class(Player5,MAGE_THIEF)
	Global("CheckedHPPlayer5","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP5",Myself)) // No such index
		SetGlobal("CheckedHPPlayer5","AR0602",1)
		Continue()
END

IF
	Level(Player5,1)
	XP(Player5,0)
	OR(4)
		Class(Player5,FIGHTER_MAGE_THIEF)
		Class(Player5,CLERIC_MAGE)
		Class(Player5,BARD)
		Class(Player5,THIEF)
	Global("CheckedHPPlayer5","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP6",Myself)) // No such index
		SetGlobal("CheckedHPPlayer5","AR0602",1)
		Continue()
END

IF
	Level(Player5,1)
	XP(Player5,0)
	OR(3)
		Class(Player5,CLERIC_THIEF)
		Class(Player5,FIGHTER_MAGE)
		Class(Player5,FIGHTER_MAGE_CLERIC)
	Global("CheckedHPPlayer5","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP7",Myself)) // No such index
		SetGlobal("CheckedHPPlayer5","AR0602",1)
		Continue()
END

IF
	Level(Player5,1)
	XP(Player5,0)
	OR(4)
		Class(Player5,FIGHTER_THIEF)
		Class(Player5,CLERIC)
		Class(Player5,DRUID)
		Class(Player5,MONK)
	Global("CheckedHPPlayer5","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP8",Myself)) // No such index
		SetGlobal("CheckedHPPlayer5","AR0602",1)
		Continue()
END

IF
	Level(Player5,1)
	XP(Player5,0)
	OR(3)
		Class(Player5,FIGHTER_DRUID)
		Class(Player5,CLERIC_RANGER)
		Class(Player5,FIGHTER_CLERIC)
	Global("CheckedHPPlayer5","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP9",Myself)) // No such index
		SetGlobal("CheckedHPPlayer5","AR0602",1)
		Continue()
END

IF
	Level(Player5,1)
	XP(Player5,0)
	OR(3)
		Class(Player5,PALADIN)
		Class(Player5,RANGER)
		Class(Player5,FIGHTER)
	!Class(Player5,MONK)
	Global("CheckedHPPlayer5","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP10",Myself)) // No such index
		ActionOverride(Player5,ChangeAIScript("BGHP",OVERRIDE))
		SetGlobal("CheckedHPPlayer5","AR0602",1)
		Continue()
END

IF
	Level(Player5,1)
	XP(Player5,0)
	!Class(Player5,MAGE)
	!Class(Player5,SORCERER)
	!Class(Player5,MAGE_THIEF)
	!Class(Player5,FIGHTER_MAGE_THIEF)
	!Class(Player5,CLERIC_MAGE)
	!Class(Player5,BARD)
	!Class(Player5,THIEF)
	!Class(Player5,CLERIC_THIEF)
	!Class(Player5,FIGHTER_MAGE)
	!Class(Player5,FIGHTER_MAGE_CLERIC)
	!Class(Player5,FIGHTER_THIEF)
	!Class(Player5,CLERIC)
	!Class(Player5,DRUID)
	!Class(Player5,MONK)
	!Class(Player5,FIGHTER_DRUID)
	!Class(Player5,CLERIC_RANGER)
	!Class(Player5,FIGHTER_CLERIC)
	!Class(Player5,PALADIN)
	!Class(Player5,RANGER)
	!Class(Player5,FIGHTER)
	Global("CheckedHPPlayer5","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer5","AR0602",1)
		Continue()
END

IF
	Level(Player6,1)
	XP(Player6,0)
	OR(2)
		Class(Player6,MAGE)
		Class(Player6,SORCERER)
	Global("CheckedHPPlayer6","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP4",Myself)) // No such index
		SetGlobal("CheckedHPPlayer6","AR0602",1)
		Continue()
END

IF
	Level(Player6,1)
	XP(Player6,0)
	Class(Player6,MAGE_THIEF)
	Global("CheckedHPPlayer6","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP5",Myself)) // No such index
		SetGlobal("CheckedHPPlayer6","AR0602",1)
		Continue()
END

IF
	Level(Player6,1)
	XP(Player6,0)
	OR(4)
		Class(Player6,FIGHTER_MAGE_THIEF)
		Class(Player6,CLERIC_MAGE)
		Class(Player6,BARD)
		Class(Player6,THIEF)
	Global("CheckedHPPlayer6","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP6",Myself)) // No such index
		SetGlobal("CheckedHPPlayer6","AR0602",1)
		Continue()
END

IF
	Level(Player6,1)
	XP(Player6,0)
	OR(3)
		Class(Player6,CLERIC_THIEF)
		Class(Player6,FIGHTER_MAGE)
		Class(Player6,FIGHTER_MAGE_CLERIC)
	Global("CheckedHPPlayer6","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP7",Myself)) // No such index
		SetGlobal("CheckedHPPlayer6","AR0602",1)
		Continue()
END

IF
	Level(Player6,1)
	XP(Player6,0)
	OR(4)
		Class(Player6,FIGHTER_THIEF)
		Class(Player6,CLERIC)
		Class(Player6,DRUID)
		Class(Player6,MONK)
	Global("CheckedHPPlayer6","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP8",Myself)) // No such index
		SetGlobal("CheckedHPPlayer6","AR0602",1)
		Continue()
END

IF
	Level(Player6,1)
	XP(Player6,0)
	OR(3)
		Class(Player6,FIGHTER_DRUID)
		Class(Player6,CLERIC_RANGER)
		Class(Player6,FIGHTER_CLERIC)
	Global("CheckedHPPlayer6","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP9",Myself)) // No such index
		SetGlobal("CheckedHPPlayer6","AR0602",1)
		Continue()
END

IF
	Level(Player6,1)
	XP(Player6,0)
	OR(3)
		Class(Player6,PALADIN)
		Class(Player6,RANGER)
		Class(Player6,FIGHTER)
	!Class(Player6,MONK)
	Global("CheckedHPPlayer6","AR0602",0)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP10",Myself)) // No such index
		ActionOverride(Player6,ChangeAIScript("BGHP",OVERRIDE))
		SetGlobal("CheckedHPPlayer6","AR0602",1)
		Continue()
END

IF
	Level(Player6,1)
	XP(Player6,0)
	!Class(Player6,MAGE)
	!Class(Player6,SORCERER)
	!Class(Player6,MAGE_THIEF)
	!Class(Player6,FIGHTER_MAGE_THIEF)
	!Class(Player6,CLERIC_MAGE)
	!Class(Player6,BARD)
	!Class(Player6,THIEF)
	!Class(Player6,CLERIC_THIEF)
	!Class(Player6,FIGHTER_MAGE)
	!Class(Player6,FIGHTER_MAGE_CLERIC)
	!Class(Player6,FIGHTER_THIEF)
	!Class(Player6,CLERIC)
	!Class(Player6,DRUID)
	!Class(Player6,MONK)
	!Class(Player6,FIGHTER_DRUID)
	!Class(Player6,CLERIC_RANGER)
	!Class(Player6,FIGHTER_CLERIC)
	!Class(Player6,PALADIN)
	!Class(Player6,RANGER)
	!Class(Player6,FIGHTER)
	Global("CheckedHPPlayer6","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer6","AR0602",1)
		Continue()
END

IF
	CheckStatLT(Player1,3,CON)
	Global("CheckedHPPlayer1","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer1","AR0602",2)
		Continue()
END

IF
	CheckStat(Player1,3,CON)
	Global("CheckedHPPlayer1","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP-2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer1","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player1,3,CON)
	CheckStatLT(Player1,7,CON)
	Global("CheckedHPPlayer1","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP-1",Myself)) // No such index
		SetGlobal("CheckedHPPlayer1","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player1,6,CON)
	CheckStatLT(Player1,15,CON)
	Global("CheckedHPPlayer1","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer1","AR0602",2)
		Continue()
END

IF
	CheckStat(Player1,15,CON)
	Global("CheckedHPPlayer1","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP+1",Myself)) // No such index
		SetGlobal("CheckedHPPlayer1","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player1,15,CON)
	CheckStatLT(Player1,20,CON)
	OR(10)
		Class(Player1,BARD)
		Class(Player1,CLERIC)
		Class(Player1,CLERIC_MAGE)
		Class(Player1,CLERIC_THIEF)
		Class(Player1,DRUID)
		Class(Player1,THIEF)
		Class(Player1,MAGE)
		Class(Player1,MAGE_THIEF)
		Class(Player1,MONK)
		Class(Player1,SORCERER)
	Global("CheckedHPPlayer1","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP+2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer1","AR0602",2)
		Continue()
END

IF
	CheckStat(Player1,16,CON)
	!Class(Player1,MONK)
	OR(10)
		Class(Player1,CLERIC_RANGER)
		Class(Player1,FIGHTER)
		Class(Player1,FIGHTER_CLERIC)
		Class(Player1,FIGHTER_DRUID)
		Class(Player1,FIGHTER_MAGE_CLERIC)
		Class(Player1,FIGHTER_MAGE)
		Class(Player1,FIGHTER_MAGE_THIEF)
		Class(Player1,FIGHTER_THIEF)
		Class(Player1,PALADIN)
		Class(Player1,RANGER)
	Global("CheckedHPPlayer1","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP+2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer1","AR0602",2)
		Continue()
END

IF
	CheckStat(Player1,17,CON)
	!Class(Player1,MONK)
	OR(10)
		Class(Player1,CLERIC_RANGER)
		Class(Player1,FIGHTER)
		Class(Player1,FIGHTER_CLERIC)
		Class(Player1,FIGHTER_DRUID)
		Class(Player1,FIGHTER_MAGE_CLERIC)
		Class(Player1,FIGHTER_MAGE)
		Class(Player1,FIGHTER_MAGE_THIEF)
		Class(Player1,FIGHTER_THIEF)
		Class(Player1,PALADIN)
		Class(Player1,RANGER)
	Global("CheckedHPPlayer1","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP+3",Myself)) // No such index
		SetGlobal("CheckedHPPlayer1","AR0602",2)
		Continue()
END

IF
	CheckStat(Player1,18,CON)
	!Class(Player1,MONK)
	OR(10)
		Class(Player1,CLERIC_RANGER)
		Class(Player1,FIGHTER)
		Class(Player1,FIGHTER_CLERIC)
		Class(Player1,FIGHTER_DRUID)
		Class(Player1,FIGHTER_MAGE_CLERIC)
		Class(Player1,FIGHTER_MAGE)
		Class(Player1,FIGHTER_MAGE_THIEF)
		Class(Player1,FIGHTER_THIEF)
		Class(Player1,PALADIN)
		Class(Player1,RANGER)
	Global("CheckedHPPlayer1","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP+4",Myself)) // No such index
		SetGlobal("CheckedHPPlayer1","AR0602",2)
		Continue()
END

IF
	CheckStat(Player1,19,CON)
	!Class(Player1,MONK)
	OR(10)
		Class(Player1,CLERIC_RANGER)
		Class(Player1,FIGHTER)
		Class(Player1,FIGHTER_CLERIC)
		Class(Player1,FIGHTER_DRUID)
		Class(Player1,FIGHTER_MAGE_CLERIC)
		Class(Player1,FIGHTER_MAGE)
		Class(Player1,FIGHTER_MAGE_THIEF)
		Class(Player1,FIGHTER_THIEF)
		Class(Player1,PALADIN)
		Class(Player1,RANGER)
	Global("CheckedHPPlayer1","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player1,ReallyForceSpellRES("BGHP+5",Myself)) // No such index
		SetGlobal("CheckedHPPlayer1","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player1,15,CON)
	CheckStatLT(Player1,20,CON)
	!Class(Player1,BARD)
	!Class(Player1,CLERIC)
	!Class(Player1,CLERIC_MAGE)
	!Class(Player1,CLERIC_THIEF)
	!Class(Player1,DRUID)
	!Class(Player1,THIEF)
	!Class(Player1,MAGE)
	!Class(Player1,MAGE_THIEF)
	!Class(Player1,MONK)
	!Class(Player1,SORCERER)
	!Class(Player1,CLERIC_RANGER)
	!Class(Player1,FIGHTER)
	!Class(Player1,FIGHTER_CLERIC)
	!Class(Player1,FIGHTER_DRUID)
	!Class(Player1,FIGHTER_MAGE_CLERIC)
	!Class(Player1,FIGHTER_MAGE)
	!Class(Player1,FIGHTER_MAGE_THIEF)
	!Class(Player1,FIGHTER_THIEF)
	!Class(Player1,PALADIN)
	!Class(Player1,RANGER)
	Global("CheckedHPPlayer1","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer1","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player1,19,CON)
	Global("CheckedHPPlayer1","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer1","AR0602",2)
		Continue()
END

IF
	CheckStatLT(Player2,3,CON)
	Global("CheckedHPPlayer2","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer2","AR0602",2)
		Continue()
END

IF
	CheckStat(Player2,3,CON)
	Global("CheckedHPPlayer2","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP-2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer2","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player2,3,CON)
	CheckStatLT(Player2,7,CON)
	Global("CheckedHPPlayer2","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP-1",Myself)) // No such index
		SetGlobal("CheckedHPPlayer2","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player2,6,CON)
	CheckStatLT(Player2,15,CON)
	Global("CheckedHPPlayer2","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer2","AR0602",2)
		Continue()
END

IF
	CheckStat(Player2,15,CON)
	Global("CheckedHPPlayer2","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP+1",Myself)) // No such index
		SetGlobal("CheckedHPPlayer2","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player2,15,CON)
	CheckStatLT(Player2,20,CON)
	OR(10)
		Class(Player2,BARD)
		Class(Player2,CLERIC)
		Class(Player2,CLERIC_MAGE)
		Class(Player2,CLERIC_THIEF)
		Class(Player2,DRUID)
		Class(Player2,THIEF)
		Class(Player2,MAGE)
		Class(Player2,MAGE_THIEF)
		Class(Player2,MONK)
		Class(Player2,SORCERER)
	Global("CheckedHPPlayer2","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP+2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer2","AR0602",2)
		Continue()
END

IF
	CheckStat(Player2,16,CON)
	!Class(Player2,MONK)
	OR(10)
		Class(Player2,CLERIC_RANGER)
		Class(Player2,FIGHTER)
		Class(Player2,FIGHTER_CLERIC)
		Class(Player2,FIGHTER_DRUID)
		Class(Player2,FIGHTER_MAGE_CLERIC)
		Class(Player2,FIGHTER_MAGE)
		Class(Player2,FIGHTER_MAGE_THIEF)
		Class(Player2,FIGHTER_THIEF)
		Class(Player2,PALADIN)
		Class(Player2,RANGER)
	Global("CheckedHPPlayer2","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP+2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer2","AR0602",2)
		Continue()
END

IF
	CheckStat(Player2,17,CON)
	!Class(Player2,MONK)
	OR(10)
		Class(Player2,CLERIC_RANGER)
		Class(Player2,FIGHTER)
		Class(Player2,FIGHTER_CLERIC)
		Class(Player2,FIGHTER_DRUID)
		Class(Player2,FIGHTER_MAGE_CLERIC)
		Class(Player2,FIGHTER_MAGE)
		Class(Player2,FIGHTER_MAGE_THIEF)
		Class(Player2,FIGHTER_THIEF)
		Class(Player2,PALADIN)
		Class(Player2,RANGER)
	Global("CheckedHPPlayer2","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP+3",Myself)) // No such index
		SetGlobal("CheckedHPPlayer2","AR0602",2)
		Continue()
END

IF
	CheckStat(Player2,18,CON)
	!Class(Player2,MONK)
	OR(10)
		Class(Player2,CLERIC_RANGER)
		Class(Player2,FIGHTER)
		Class(Player2,FIGHTER_CLERIC)
		Class(Player2,FIGHTER_DRUID)
		Class(Player2,FIGHTER_MAGE_CLERIC)
		Class(Player2,FIGHTER_MAGE)
		Class(Player2,FIGHTER_MAGE_THIEF)
		Class(Player2,FIGHTER_THIEF)
		Class(Player2,PALADIN)
		Class(Player2,RANGER)
	Global("CheckedHPPlayer2","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP+4",Myself)) // No such index
		SetGlobal("CheckedHPPlayer2","AR0602",2)
		Continue()
END

IF
	CheckStat(Player2,19,CON)
	!Class(Player2,MONK)
	OR(10)
		Class(Player2,CLERIC_RANGER)
		Class(Player2,FIGHTER)
		Class(Player2,FIGHTER_CLERIC)
		Class(Player2,FIGHTER_DRUID)
		Class(Player2,FIGHTER_MAGE_CLERIC)
		Class(Player2,FIGHTER_MAGE)
		Class(Player2,FIGHTER_MAGE_THIEF)
		Class(Player2,FIGHTER_THIEF)
		Class(Player2,PALADIN)
		Class(Player2,RANGER)
	Global("CheckedHPPlayer2","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player2,ReallyForceSpellRES("BGHP+5",Myself)) // No such index
		SetGlobal("CheckedHPPlayer2","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player2,15,CON)
	CheckStatLT(Player2,20,CON)
	!Class(Player2,BARD)
	!Class(Player2,CLERIC)
	!Class(Player2,CLERIC_MAGE)
	!Class(Player2,CLERIC_THIEF)
	!Class(Player2,DRUID)
	!Class(Player2,THIEF)
	!Class(Player2,MAGE)
	!Class(Player2,MAGE_THIEF)
	!Class(Player2,MONK)
	!Class(Player2,SORCERER)
	!Class(Player2,CLERIC_RANGER)
	!Class(Player2,FIGHTER)
	!Class(Player2,FIGHTER_CLERIC)
	!Class(Player2,FIGHTER_DRUID)
	!Class(Player2,FIGHTER_MAGE_CLERIC)
	!Class(Player2,FIGHTER_MAGE)
	!Class(Player2,FIGHTER_MAGE_THIEF)
	!Class(Player2,FIGHTER_THIEF)
	!Class(Player2,PALADIN)
	!Class(Player2,RANGER)
	Global("CheckedHPPlayer2","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer2","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player2,19,CON)
	Global("CheckedHPPlayer2","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer2","AR0602",2)
		Continue()
END

IF
	CheckStatLT(Player3,3,CON)
	Global("CheckedHPPlayer3","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer3","AR0602",2)
		Continue()
END

IF
	CheckStat(Player3,3,CON)
	Global("CheckedHPPlayer3","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP-2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer3","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player3,3,CON)
	CheckStatLT(Player3,7,CON)
	Global("CheckedHPPlayer3","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP-1",Myself)) // No such index
		SetGlobal("CheckedHPPlayer3","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player3,6,CON)
	CheckStatLT(Player3,15,CON)
	Global("CheckedHPPlayer3","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer3","AR0602",2)
		Continue()
END

IF
	CheckStat(Player3,15,CON)
	Global("CheckedHPPlayer3","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP+1",Myself)) // No such index
		SetGlobal("CheckedHPPlayer3","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player3,15,CON)
	CheckStatLT(Player3,20,CON)
	OR(10)
		Class(Player3,BARD)
		Class(Player3,CLERIC)
		Class(Player3,CLERIC_MAGE)
		Class(Player3,CLERIC_THIEF)
		Class(Player3,DRUID)
		Class(Player3,THIEF)
		Class(Player3,MAGE)
		Class(Player3,MAGE_THIEF)
		Class(Player3,MONK)
		Class(Player3,SORCERER)
	Global("CheckedHPPlayer3","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP+2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer3","AR0602",2)
		Continue()
END

IF
	CheckStat(Player3,16,CON)
	!Class(Player3,MONK)
	OR(10)
		Class(Player3,CLERIC_RANGER)
		Class(Player3,FIGHTER)
		Class(Player3,FIGHTER_CLERIC)
		Class(Player3,FIGHTER_DRUID)
		Class(Player3,FIGHTER_MAGE_CLERIC)
		Class(Player3,FIGHTER_MAGE)
		Class(Player3,FIGHTER_MAGE_THIEF)
		Class(Player3,FIGHTER_THIEF)
		Class(Player3,PALADIN)
		Class(Player3,RANGER)
	Global("CheckedHPPlayer3","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP+2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer3","AR0602",2)
		Continue()
END

IF
	CheckStat(Player3,17,CON)
	!Class(Player3,MONK)
	OR(10)
		Class(Player3,CLERIC_RANGER)
		Class(Player3,FIGHTER)
		Class(Player3,FIGHTER_CLERIC)
		Class(Player3,FIGHTER_DRUID)
		Class(Player3,FIGHTER_MAGE_CLERIC)
		Class(Player3,FIGHTER_MAGE)
		Class(Player3,FIGHTER_MAGE_THIEF)
		Class(Player3,FIGHTER_THIEF)
		Class(Player3,PALADIN)
		Class(Player3,RANGER)
	Global("CheckedHPPlayer3","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP+3",Myself)) // No such index
		SetGlobal("CheckedHPPlayer3","AR0602",2)
		Continue()
END

IF
	CheckStat(Player3,18,CON)
	!Class(Player3,MONK)
	OR(10)
		Class(Player3,CLERIC_RANGER)
		Class(Player3,FIGHTER)
		Class(Player3,FIGHTER_CLERIC)
		Class(Player3,FIGHTER_DRUID)
		Class(Player3,FIGHTER_MAGE_CLERIC)
		Class(Player3,FIGHTER_MAGE)
		Class(Player3,FIGHTER_MAGE_THIEF)
		Class(Player3,FIGHTER_THIEF)
		Class(Player3,PALADIN)
		Class(Player3,RANGER)
	Global("CheckedHPPlayer3","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP+4",Myself)) // No such index
		SetGlobal("CheckedHPPlayer3","AR0602",2)
		Continue()
END

IF
	CheckStat(Player3,19,CON)
	!Class(Player3,MONK)
	OR(10)
		Class(Player3,CLERIC_RANGER)
		Class(Player3,FIGHTER)
		Class(Player3,FIGHTER_CLERIC)
		Class(Player3,FIGHTER_DRUID)
		Class(Player3,FIGHTER_MAGE_CLERIC)
		Class(Player3,FIGHTER_MAGE)
		Class(Player3,FIGHTER_MAGE_THIEF)
		Class(Player3,FIGHTER_THIEF)
		Class(Player3,PALADIN)
		Class(Player3,RANGER)
	Global("CheckedHPPlayer3","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player3,ReallyForceSpellRES("BGHP+5",Myself)) // No such index
		SetGlobal("CheckedHPPlayer3","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player3,15,CON)
	CheckStatLT(Player3,20,CON)
	!Class(Player3,BARD)
	!Class(Player3,CLERIC)
	!Class(Player3,CLERIC_MAGE)
	!Class(Player3,CLERIC_THIEF)
	!Class(Player3,DRUID)
	!Class(Player3,THIEF)
	!Class(Player3,MAGE)
	!Class(Player3,MAGE_THIEF)
	!Class(Player3,MONK)
	!Class(Player3,SORCERER)
	!Class(Player3,CLERIC_RANGER)
	!Class(Player3,FIGHTER)
	!Class(Player3,FIGHTER_CLERIC)
	!Class(Player3,FIGHTER_DRUID)
	!Class(Player3,FIGHTER_MAGE_CLERIC)
	!Class(Player3,FIGHTER_MAGE)
	!Class(Player3,FIGHTER_MAGE_THIEF)
	!Class(Player3,FIGHTER_THIEF)
	!Class(Player3,PALADIN)
	!Class(Player3,RANGER)
	Global("CheckedHPPlayer3","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer3","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player3,19,CON)
	Global("CheckedHPPlayer3","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer3","AR0602",2)
		Continue()
END

IF
	CheckStatLT(Player4,3,CON)
	Global("CheckedHPPlayer4","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer4","AR0602",2)
		Continue()
END

IF
	CheckStat(Player4,3,CON)
	Global("CheckedHPPlayer4","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP-2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer4","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player4,3,CON)
	CheckStatLT(Player4,7,CON)
	Global("CheckedHPPlayer4","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP-1",Myself)) // No such index
		SetGlobal("CheckedHPPlayer4","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player4,6,CON)
	CheckStatLT(Player4,15,CON)
	Global("CheckedHPPlayer4","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer4","AR0602",2)
		Continue()
END

IF
	CheckStat(Player4,15,CON)
	Global("CheckedHPPlayer4","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP+1",Myself)) // No such index
		SetGlobal("CheckedHPPlayer4","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player4,15,CON)
	CheckStatLT(Player4,20,CON)
	OR(10)
		Class(Player4,BARD)
		Class(Player4,CLERIC)
		Class(Player4,CLERIC_MAGE)
		Class(Player4,CLERIC_THIEF)
		Class(Player4,DRUID)
		Class(Player4,THIEF)
		Class(Player4,MAGE)
		Class(Player4,MAGE_THIEF)
		Class(Player4,MONK)
		Class(Player4,SORCERER)
	Global("CheckedHPPlayer4","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP+2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer4","AR0602",2)
		Continue()
END

IF
	CheckStat(Player4,16,CON)
	!Class(Player4,MONK)
	OR(10)
		Class(Player4,CLERIC_RANGER)
		Class(Player4,FIGHTER)
		Class(Player4,FIGHTER_CLERIC)
		Class(Player4,FIGHTER_DRUID)
		Class(Player4,FIGHTER_MAGE_CLERIC)
		Class(Player4,FIGHTER_MAGE)
		Class(Player4,FIGHTER_MAGE_THIEF)
		Class(Player4,FIGHTER_THIEF)
		Class(Player4,PALADIN)
		Class(Player4,RANGER)
	Global("CheckedHPPlayer4","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP+2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer4","AR0602",2)
		Continue()
END

IF
	CheckStat(Player4,17,CON)
	!Class(Player4,MONK)
	OR(10)
		Class(Player4,CLERIC_RANGER)
		Class(Player4,FIGHTER)
		Class(Player4,FIGHTER_CLERIC)
		Class(Player4,FIGHTER_DRUID)
		Class(Player4,FIGHTER_MAGE_CLERIC)
		Class(Player4,FIGHTER_MAGE)
		Class(Player4,FIGHTER_MAGE_THIEF)
		Class(Player4,FIGHTER_THIEF)
		Class(Player4,PALADIN)
		Class(Player4,RANGER)
	Global("CheckedHPPlayer4","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP+3",Myself)) // No such index
		SetGlobal("CheckedHPPlayer4","AR0602",2)
		Continue()
END

IF
	CheckStat(Player4,18,CON)
	!Class(Player4,MONK)
	OR(10)
		Class(Player4,CLERIC_RANGER)
		Class(Player4,FIGHTER)
		Class(Player4,FIGHTER_CLERIC)
		Class(Player4,FIGHTER_DRUID)
		Class(Player4,FIGHTER_MAGE_CLERIC)
		Class(Player4,FIGHTER_MAGE)
		Class(Player4,FIGHTER_MAGE_THIEF)
		Class(Player4,FIGHTER_THIEF)
		Class(Player4,PALADIN)
		Class(Player4,RANGER)
	Global("CheckedHPPlayer4","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP+4",Myself)) // No such index
		SetGlobal("CheckedHPPlayer4","AR0602",2)
		Continue()
END

IF
	CheckStat(Player4,19,CON)
	!Class(Player4,MONK)
	OR(10)
		Class(Player4,CLERIC_RANGER)
		Class(Player4,FIGHTER)
		Class(Player4,FIGHTER_CLERIC)
		Class(Player4,FIGHTER_DRUID)
		Class(Player4,FIGHTER_MAGE_CLERIC)
		Class(Player4,FIGHTER_MAGE)
		Class(Player4,FIGHTER_MAGE_THIEF)
		Class(Player4,FIGHTER_THIEF)
		Class(Player4,PALADIN)
		Class(Player4,RANGER)
	Global("CheckedHPPlayer4","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player4,ReallyForceSpellRES("BGHP+5",Myself)) // No such index
		SetGlobal("CheckedHPPlayer4","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player4,15,CON)
	CheckStatLT(Player4,20,CON)
	!Class(Player4,BARD)
	!Class(Player4,CLERIC)
	!Class(Player4,CLERIC_MAGE)
	!Class(Player4,CLERIC_THIEF)
	!Class(Player4,DRUID)
	!Class(Player4,THIEF)
	!Class(Player4,MAGE)
	!Class(Player4,MAGE_THIEF)
	!Class(Player4,MONK)
	!Class(Player4,SORCERER)
	!Class(Player4,CLERIC_RANGER)
	!Class(Player4,FIGHTER)
	!Class(Player4,FIGHTER_CLERIC)
	!Class(Player4,FIGHTER_DRUID)
	!Class(Player4,FIGHTER_MAGE_CLERIC)
	!Class(Player4,FIGHTER_MAGE)
	!Class(Player4,FIGHTER_MAGE_THIEF)
	!Class(Player4,FIGHTER_THIEF)
	!Class(Player4,PALADIN)
	!Class(Player4,RANGER)
	Global("CheckedHPPlayer4","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer4","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player4,19,CON)
	Global("CheckedHPPlayer4","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer4","AR0602",2)
		Continue()
END

IF
	CheckStatLT(Player5,3,CON)
	Global("CheckedHPPlayer5","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer5","AR0602",2)
		Continue()
END

IF
	CheckStat(Player5,3,CON)
	Global("CheckedHPPlayer5","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP-2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer5","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player5,3,CON)
	CheckStatLT(Player5,7,CON)
	Global("CheckedHPPlayer5","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP-1",Myself)) // No such index
		SetGlobal("CheckedHPPlayer5","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player5,6,CON)
	CheckStatLT(Player5,15,CON)
	Global("CheckedHPPlayer5","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer5","AR0602",2)
		Continue()
END

IF
	CheckStat(Player5,15,CON)
	Global("CheckedHPPlayer5","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP+1",Myself)) // No such index
		SetGlobal("CheckedHPPlayer5","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player5,15,CON)
	CheckStatLT(Player5,20,CON)
	OR(10)
		Class(Player5,BARD)
		Class(Player5,CLERIC)
		Class(Player5,CLERIC_MAGE)
		Class(Player5,CLERIC_THIEF)
		Class(Player5,DRUID)
		Class(Player5,THIEF)
		Class(Player5,MAGE)
		Class(Player5,MAGE_THIEF)
		Class(Player5,MONK)
		Class(Player5,SORCERER)
	Global("CheckedHPPlayer5","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP+2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer5","AR0602",2)
		Continue()
END

IF
	CheckStat(Player5,16,CON)
	!Class(Player5,MONK)
	OR(10)
		Class(Player5,CLERIC_RANGER)
		Class(Player5,FIGHTER)
		Class(Player5,FIGHTER_CLERIC)
		Class(Player5,FIGHTER_DRUID)
		Class(Player5,FIGHTER_MAGE_CLERIC)
		Class(Player5,FIGHTER_MAGE)
		Class(Player5,FIGHTER_MAGE_THIEF)
		Class(Player5,FIGHTER_THIEF)
		Class(Player5,PALADIN)
		Class(Player5,RANGER)
	Global("CheckedHPPlayer5","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP+2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer5","AR0602",2)
		Continue()
END

IF
	CheckStat(Player5,17,CON)
	!Class(Player5,MONK)
	OR(10)
		Class(Player5,CLERIC_RANGER)
		Class(Player5,FIGHTER)
		Class(Player5,FIGHTER_CLERIC)
		Class(Player5,FIGHTER_DRUID)
		Class(Player5,FIGHTER_MAGE_CLERIC)
		Class(Player5,FIGHTER_MAGE)
		Class(Player5,FIGHTER_MAGE_THIEF)
		Class(Player5,FIGHTER_THIEF)
		Class(Player5,PALADIN)
		Class(Player5,RANGER)
	Global("CheckedHPPlayer5","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP+3",Myself)) // No such index
		SetGlobal("CheckedHPPlayer5","AR0602",2)
		Continue()
END

IF
	CheckStat(Player5,18,CON)
	!Class(Player5,MONK)
	OR(10)
		Class(Player5,CLERIC_RANGER)
		Class(Player5,FIGHTER)
		Class(Player5,FIGHTER_CLERIC)
		Class(Player5,FIGHTER_DRUID)
		Class(Player5,FIGHTER_MAGE_CLERIC)
		Class(Player5,FIGHTER_MAGE)
		Class(Player5,FIGHTER_MAGE_THIEF)
		Class(Player5,FIGHTER_THIEF)
		Class(Player5,PALADIN)
		Class(Player5,RANGER)
	Global("CheckedHPPlayer5","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP+4",Myself)) // No such index
		SetGlobal("CheckedHPPlayer5","AR0602",2)
		Continue()
END

IF
	CheckStat(Player5,19,CON)
	!Class(Player5,MONK)
	OR(10)
		Class(Player5,CLERIC_RANGER)
		Class(Player5,FIGHTER)
		Class(Player5,FIGHTER_CLERIC)
		Class(Player5,FIGHTER_DRUID)
		Class(Player5,FIGHTER_MAGE_CLERIC)
		Class(Player5,FIGHTER_MAGE)
		Class(Player5,FIGHTER_MAGE_THIEF)
		Class(Player5,FIGHTER_THIEF)
		Class(Player5,PALADIN)
		Class(Player5,RANGER)
	Global("CheckedHPPlayer5","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player5,ReallyForceSpellRES("BGHP+5",Myself)) // No such index
		SetGlobal("CheckedHPPlayer5","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player5,15,CON)
	CheckStatLT(Player5,20,CON)
	!Class(Player5,BARD)
	!Class(Player5,CLERIC)
	!Class(Player5,CLERIC_MAGE)
	!Class(Player5,CLERIC_THIEF)
	!Class(Player5,DRUID)
	!Class(Player5,THIEF)
	!Class(Player5,MAGE)
	!Class(Player5,MAGE_THIEF)
	!Class(Player5,MONK)
	!Class(Player5,SORCERER)
	!Class(Player5,CLERIC_RANGER)
	!Class(Player5,FIGHTER)
	!Class(Player5,FIGHTER_CLERIC)
	!Class(Player5,FIGHTER_DRUID)
	!Class(Player5,FIGHTER_MAGE_CLERIC)
	!Class(Player5,FIGHTER_MAGE)
	!Class(Player5,FIGHTER_MAGE_THIEF)
	!Class(Player5,FIGHTER_THIEF)
	!Class(Player5,PALADIN)
	!Class(Player5,RANGER)
	Global("CheckedHPPlayer5","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer5","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player5,19,CON)
	Global("CheckedHPPlayer5","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer5","AR0602",2)
		Continue()
END

IF
	CheckStatLT(Player6,3,CON)
	Global("CheckedHPPlayer6","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer6","AR0602",2)
		Continue()
END

IF
	CheckStat(Player6,3,CON)
	Global("CheckedHPPlayer6","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP-2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer6","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player6,3,CON)
	CheckStatLT(Player6,7,CON)
	Global("CheckedHPPlayer6","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP-1",Myself)) // No such index
		SetGlobal("CheckedHPPlayer6","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player6,6,CON)
	CheckStatLT(Player6,15,CON)
	Global("CheckedHPPlayer6","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer6","AR0602",2)
		Continue()
END

IF
	CheckStat(Player6,15,CON)
	Global("CheckedHPPlayer6","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP+1",Myself)) // No such index
		SetGlobal("CheckedHPPlayer6","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player6,15,CON)
	CheckStatLT(Player6,20,CON)
	OR(10)
		Class(Player6,BARD)
		Class(Player6,CLERIC)
		Class(Player6,CLERIC_MAGE)
		Class(Player6,CLERIC_THIEF)
		Class(Player6,DRUID)
		Class(Player6,THIEF)
		Class(Player6,MAGE)
		Class(Player6,MAGE_THIEF)
		Class(Player6,MONK)
		Class(Player6,SORCERER)
	Global("CheckedHPPlayer6","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP+2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer6","AR0602",2)
		Continue()
END

IF
	CheckStat(Player6,16,CON)
	!Class(Player6,MONK)
	OR(10)
		Class(Player6,CLERIC_RANGER)
		Class(Player6,FIGHTER)
		Class(Player6,FIGHTER_CLERIC)
		Class(Player6,FIGHTER_DRUID)
		Class(Player6,FIGHTER_MAGE_CLERIC)
		Class(Player6,FIGHTER_MAGE)
		Class(Player6,FIGHTER_MAGE_THIEF)
		Class(Player6,FIGHTER_THIEF)
		Class(Player6,PALADIN)
		Class(Player6,RANGER)
	Global("CheckedHPPlayer6","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP+2",Myself)) // No such index
		SetGlobal("CheckedHPPlayer6","AR0602",2)
		Continue()
END

IF
	CheckStat(Player6,17,CON)
	!Class(Player6,MONK)
	OR(10)
		Class(Player6,CLERIC_RANGER)
		Class(Player6,FIGHTER)
		Class(Player6,FIGHTER_CLERIC)
		Class(Player6,FIGHTER_DRUID)
		Class(Player6,FIGHTER_MAGE_CLERIC)
		Class(Player6,FIGHTER_MAGE)
		Class(Player6,FIGHTER_MAGE_THIEF)
		Class(Player6,FIGHTER_THIEF)
		Class(Player6,PALADIN)
		Class(Player6,RANGER)
	Global("CheckedHPPlayer6","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP+3",Myself)) // No such index
		SetGlobal("CheckedHPPlayer6","AR0602",2)
		Continue()
END

IF
	CheckStat(Player6,18,CON)
	!Class(Player6,MONK)
	OR(10)
		Class(Player6,CLERIC_RANGER)
		Class(Player6,FIGHTER)
		Class(Player6,FIGHTER_CLERIC)
		Class(Player6,FIGHTER_DRUID)
		Class(Player6,FIGHTER_MAGE_CLERIC)
		Class(Player6,FIGHTER_MAGE)
		Class(Player6,FIGHTER_MAGE_THIEF)
		Class(Player6,FIGHTER_THIEF)
		Class(Player6,PALADIN)
		Class(Player6,RANGER)
	Global("CheckedHPPlayer6","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP+4",Myself)) // No such index
		SetGlobal("CheckedHPPlayer6","AR0602",2)
		Continue()
END

IF
	CheckStat(Player6,19,CON)
	!Class(Player6,MONK)
	OR(10)
		Class(Player6,CLERIC_RANGER)
		Class(Player6,FIGHTER)
		Class(Player6,FIGHTER_CLERIC)
		Class(Player6,FIGHTER_DRUID)
		Class(Player6,FIGHTER_MAGE_CLERIC)
		Class(Player6,FIGHTER_MAGE)
		Class(Player6,FIGHTER_MAGE_THIEF)
		Class(Player6,FIGHTER_THIEF)
		Class(Player6,PALADIN)
		Class(Player6,RANGER)
	Global("CheckedHPPlayer6","AR0602",1)
THEN
	RESPONSE #100
		ActionOverride(Player6,ReallyForceSpellRES("BGHP+5",Myself)) // No such index
		SetGlobal("CheckedHPPlayer6","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player6,15,CON)
	CheckStatLT(Player6,20,CON)
	!Class(Player6,BARD)
	!Class(Player6,CLERIC)
	!Class(Player6,CLERIC_MAGE)
	!Class(Player6,CLERIC_THIEF)
	!Class(Player6,DRUID)
	!Class(Player6,THIEF)
	!Class(Player6,MAGE)
	!Class(Player6,MAGE_THIEF)
	!Class(Player6,MONK)
	!Class(Player6,SORCERER)
	!Class(Player6,CLERIC_RANGER)
	!Class(Player6,FIGHTER)
	!Class(Player6,FIGHTER_CLERIC)
	!Class(Player6,FIGHTER_DRUID)
	!Class(Player6,FIGHTER_MAGE_CLERIC)
	!Class(Player6,FIGHTER_MAGE)
	!Class(Player6,FIGHTER_MAGE_THIEF)
	!Class(Player6,FIGHTER_THIEF)
	!Class(Player6,PALADIN)
	!Class(Player6,RANGER)
	Global("CheckedHPPlayer6","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer6","AR0602",2)
		Continue()
END

IF
	CheckStatGT(Player6,19,CON)
	Global("CheckedHPPlayer6","AR0602",1)
THEN
	RESPONSE #100
		SetGlobal("CheckedHPPlayer6","AR0602",2)
		Continue()
END

IF
	Global("CheckedHPPlayer1","AR0602",2)
	XP(Player1,0)
THEN
	RESPONSE #100
		AddXPObject(Player1,89000)
		ActionOverride(Player1,SetPlayerSound(Myself,15881,EXISTANCE5)) // Twoja przesz³oœæ jest niemal równie zagadkowa jak czekaj¹ca ciê przysz³oœæ. A to co wiadomo i tak brzmi jak baœñ. Choæ trudno w to uwierzyæ, w twoich ¿y³ach p³ynie boska krew.  Jesteœ dzieckiem Czasu Niepokojów, ery katastrof gdy bogowie mieli cielesne pow³oki i kroczyli wœród swoich wyznawców. Jeden z tych bogów przewidzia³ nadci¹gaj¹ce wydarzenia i swoj¹ œmieræ, podj¹³ wiêc kroki maj¹ce zapewniæ mu zmartwychwstanie. Bóg wêdrowa³ przez krainy i zostawi³ za sob¹ grono œmiertelnych potomków pa³aj¹cych ¿¹dz¹ w³adzy i podbojów. Nie mieli oni byæ jego dziedzicami, ale jedynie paliwem jego odrodzenia. Bohaterowie mieli powaliæ tych tyranów, a ich z³o mia³o sp³yn¹æ z powrotem do ojca.  Tym bogiem by³ Bhaal, Pan Mordu. A ty jesteœ jednym z jego dzieci.  Wychowywa³ ciê Gorion, potê¿ny czarodziej, który zapewne mia³ jeszcze potê¿niejszych przyjació³. Pod jego wp³ywem dzieciñstwo up³ynê³o ci w pe³nej bibliotek twierdzy Candlekeep. Tamtejsi mnisi nauczyli ciê twych umiejêtnoœci. Dzieci by³y w tej fortecy niecodziennym widokiem, ale mia³eœ przyjació³kê. Nazywa³a siê Imoen. By³a pokrewnym duchem, choæ jej przesz³oœæ by³a równie wielk¹ zagadk¹ jak twoja. Gorion nigdy nie wyjaœni³ wam jak trafiliœcie do Candlekeep, ani dlaczego potrzebny by³ ci dom tak odciêty od œwiata. Dopiero po jego œmierci powiedziano ci prawdê o dziedzictwie twojej krwi. Sta³o siê to wtedy, gdy narodzi³ siê konflikt miêdzy tob¹ a zabójc¹ Goriona, innym dzieckiem Bhaala.  Ten brat mia³ na imiê Sarevok. By³ dumny ze swego plugawego pochodzenia, zamierza³ je wykorzystaæ i staæ siê kolejnym Panem Mordu. Zamierza³ doprowadziæ do masowych œmierci, do wojny pe³nej ofiar która udowodni³aby jego prawa do ojcowskiego tronu. Uda³o ci siê udaremniæ jego plany, a w koñcu to twoje rêce odebra³y mu ¿ycie i wys³a³y jego nieczyst¹ duszê do Bhaala. W zasadzie by³o to zwyciêstwo...  Teraz czeka ciê niepewna przysz³oœæ. Dzieciê morderstwa, twoje dziedzictwo wzbudzi strach ignorantów, natomiast ludzie bez skrupu³ów bêd¹ chcieli ciê wykorzystaæ. I zawsze bêdzie w tobie esencja Bhaala, czekaj¹c tylko by objawiæ siê w chwili s³aboœci. Co jest straszniejsze? Sp³on¹æ, podsycaj¹c p³omieñ? Czy mo¿e straciæ w³asn¹ osobowoœæ i staæ siê tym p³omieniem?
		Continue()
END

IF
	Global("CheckedHPPlayer2","AR0602",2)
	XP(Player2,0)
THEN
	RESPONSE #100
		AddXPObject(Player2,89000)
		Continue()
END

IF
	Global("CheckedHPPlayer3","AR0602",2)
	XP(Player3,0)
THEN
	RESPONSE #100
		AddXPObject(Player3,89000)
		Continue()
END

IF
	Global("CheckedHPPlayer4","AR0602",2)
	XP(Player4,0)
THEN
	RESPONSE #100
		AddXPObject(Player4,89000)
		Continue()
END

IF
	Global("CheckedHPPlayer5","AR0602",2)
	XP(Player5,0)
THEN
	RESPONSE #100
		AddXPObject(Player5,89000)
		Continue()
END

IF
	Global("CheckedHPPlayer6","AR0602",2)
	XP(Player6,0)
THEN
	RESPONSE #100
		AddXPObject(Player6,89000)
		Continue()
END

IF
	Global("ImoenImport","GLOBAL",0)
	Global("ImoenPartyBG1","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("ImoenImport","GLOBAL",1)
		ReallyForceSpellRES("BGIMPORT","Imoen2") // No such index
		ActionOverride("Imoen2",ChangeAIScript("Imoen",OVERRIDE))
		ActionOverride("Imoen2",ChangeAIScript("",GENERAL))
		ActionOverride("Imoen2",ChangeAIScript("wtasight",DEFAULT))
		ActionOverride("Imoen2",ChangeAIScript("SBTIMO",RACE))
		ActionOverride("Imoen2",SetDialog("Imoen10"))
		ActionOverride("Imoen2",SetNumTimesTalkedTo(0))
		Continue()
END

IF
	Global("ImoenImport","GLOBAL",0)
	Global("ImoenPartyBG1","GLOBAL",0)
THEN
	RESPONSE #100
		SetGlobal("ImoenImport","GLOBAL",2)
		CreateCreature("Imoen10",[3198.2837],6) // Imoen
		SetGlobal("SPRITE_IS_DEADIMOEN2","GLOBAL",0)
		ActionOverride("Imoen2",MakeGlobal())
		Continue()
END

IF
	Global("JaheiraImport","GLOBAL",0)
	Global("JaheiraPartyBG1","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("JaheiraImport","GLOBAL",1)
		ReallyForceSpellRES("BGJAPORT","Jaheira") // No such index
		ActionOverride("Jaheira",ChangeAIScript("Jaheira",OVERRIDE))
		ActionOverride("Jaheira",ChangeAIScript("dplayer",DEFAULT))
		ActionOverride("Jaheira",ChangeAIScript("SBTJAH",RACE))
		ActionOverride("Jaheira",SetDialog("Jaheira"))
		ActionOverride("Jaheira",SetNumTimesTalkedTo(0))
		Continue()
END

IF
	Global("JaheiraImport","GLOBAL",0)
	Global("JaheiraPartyBG1","GLOBAL",0)
	Dead("Jaheira")
THEN
	RESPONSE #100
		SetGlobal("JaheiraImport","GLOBAL",2)
		Continue()
END

IF
	Global("JaheiraImport","GLOBAL",0)
	Global("JaheiraPartyBG1","GLOBAL",0)
	!Dead("Jaheira")
	LevelLT(Player1,<img src='http://www.shsforums.net/public/style_emoticons/<#EMO_DIR#>/cool.gif' class='bbc_emoticon' alt='8)' />
THEN
	RESPONSE #100
		SetGlobal("JaheiraImport","GLOBAL",2)
		CreateCreature("Jaheir7",[3898.2676],6) // Jaheira
		SetGlobal("SPRITE_IS_DEADJAHEIRA","GLOBAL",0)
		ActionOverride("Jaheira",MakeGlobal())
		Continue()
END

IF
	Global("JaheiraImport","GLOBAL",0)
	Global("JaheiraPartyBG1","GLOBAL",0)
	!Dead("Jaheira")
	LevelGT(Player1,7)
	LevelLT(Player1,11)
THEN
	RESPONSE #100
		SetGlobal("JaheiraImport","GLOBAL",2)
		CreateCreature("Jaheir8",[3898.2676],6) // Jaheira
		SetGlobal("SPRITE_IS_DEADJAHEIRA","GLOBAL",0)
		ActionOverride("Jaheira",MakeGlobal())
		Continue()
END

IF
	Global("JaheiraImport","GLOBAL",0)
	Global("JaheiraPartyBG1","GLOBAL",0)
	!Dead("Jaheira")
	Level(Player1,11)
THEN
	RESPONSE #100
		SetGlobal("JaheiraImport","GLOBAL",2)
		CreateCreature("Jaheir11",[3898.2676],6) // Jaheira
		SetGlobal("SPRITE_IS_DEADJAHEIRA","GLOBAL",0)
		ActionOverride("Jaheira",MakeGlobal())
		Continue()
END

IF
	Global("JaheiraImport","GLOBAL",0)
	Global("JaheiraPartyBG1","GLOBAL",0)
	!Dead("Jaheira")
	LevelGT(Player1,11)
THEN
	RESPONSE #100
		SetGlobal("JaheiraImport","GLOBAL",2)
		CreateCreature("Jaheir12",[3898.2676],6) // Jaheira
		SetGlobal("SPRITE_IS_DEADJAHEIRA","GLOBAL",0)
		ActionOverride("Jaheira",MakeGlobal())
		Continue()
END

IF
	Global("MinscImport","GLOBAL",0)
	Global("MinscPartyBG1","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("MinscImport","GLOBAL",1)
		ChangeAlignment("Minsc",CHAOTIC_GOOD)
		ReallyForceSpellRES("BGMIPORT","Minsc") // No such index
		ActionOverride("Minsc",ChangeAIScript("Minsc",OVERRIDE))
		ActionOverride("Minsc",ChangeAIScript("minscx",GENERAL))
		ActionOverride("Minsc",ChangeAIScript("dplayer",DEFAULT))
		ActionOverride("Minsc",ChangeAIScript("SBTMIN",RACE))
		ActionOverride("Minsc",SetDialog("Minsca"))
		ActionOverride("Minsc",SetNumTimesTalkedTo(0))
		Continue()
END

IF
	Global("MinscImport","GLOBAL",0)
	Global("MinscPartyBG1","GLOBAL",0)
	Dead("Minsc") // Minsc
THEN
	RESPONSE #100
		SetGlobal("MinscImport","GLOBAL",2)
		Continue()
END

IF
	Global("MinscImport","GLOBAL",0)
	Global("MinscPartyBG1","GLOBAL",0)
	!Dead("Minsc") // Minsc
	LevelLT(Player1,<img src='http://www.shsforums.net/public/style_emoticons/<#EMO_DIR#>/cool.gif' class='bbc_emoticon' alt='8)' />
THEN
	RESPONSE #100
		SetGlobal("MinscImport","GLOBAL",2)
		CreateCreature("Minsc7",[4029.2759],6) // Minsc
		SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
		ActionOverride("Minsc",MakeGlobal())
		Continue()
END

IF
	Global("MinscImport","GLOBAL",0)
	Global("MinscPartyBG1","GLOBAL",0)
	!Dead("Minsc") // Minsc
	Level(Player1,<img src='http://www.shsforums.net/public/style_emoticons/<#EMO_DIR#>/cool.gif' class='bbc_emoticon' alt='8)' />
THEN
	RESPONSE #100
		SetGlobal("MinscImport","GLOBAL",2)
		CreateCreature("Minsc8",[4029.2759],6) // Minsc
		SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
		ActionOverride("Minsc",MakeGlobal())
		Continue()
END

IF
	Global("MinscImport","GLOBAL",0)
	Global("MinscPartyBG1","GLOBAL",0)
	!Dead("Minsc") // Minsc
	Level(Player1,9)
THEN
	RESPONSE #100
		SetGlobal("MinscImport","GLOBAL",2)
		CreateCreature("Minsc9",[4029.2759],6) // Minsc
		SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
		ActionOverride("Minsc",MakeGlobal())
		Continue()
END

IF
	Global("MinscImport","GLOBAL",0)
	Global("MinscPartyBG1","GLOBAL",0)
	!Dead("Minsc") // Minsc
	OR(2)
		Level(Player1,10)
		Level(Player1,11)
THEN
	RESPONSE #100
		SetGlobal("MinscImport","GLOBAL",2)
		CreateCreature("Minsc10",[4029.2759],6) // Minsc
		SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
		ActionOverride("Minsc",MakeGlobal())
		Continue()
END

IF
	Global("MinscImport","GLOBAL",0)
	Global("MinscPartyBG1","GLOBAL",0)
	!Dead("Minsc") // Minsc
	LevelGT(Player1,11)
THEN
	RESPONSE #100
		SetGlobal("MinscImport","GLOBAL",2)
		CreateCreature("Minsc12",[4029.2759],6) // Minsc
		SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
		ActionOverride("Minsc",MakeGlobal())
		Continue()
END

IF
	Global("IHaveSemaj","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("IHaveSemaj","GLOBAL",2)
		ActionOverride("Table1",CreateItem("CLCK33",0,0,0)) // P³aszcz Semaja
		Continue()
END

IF
	Global("IHavePants","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("IHavePants","GLOBAL",2)
		SetGlobal("BG1Pantaloons","GLOBAL",1)
		ActionOverride("Picture1",CreateItem("MISC47",0,0,0)) // Z³ote pantalony
		Continue()
END

IF
	Global("IHaveRing","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("IHaveRing","GLOBAL",2)
		ActionOverride("Shelf1",CreateItem("RING25B",0,0,0)) // Pierœcieñ ochrony Koverasa
		Continue()
END

IF
	Global("IHaveMoonblade","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("IHaveMoonblade","GLOBAL",2)
		ActionOverride("Picture1",CreateItem("sw1h13",0,0,0)) // Ksiê¿ycowe Ostrze
		Continue()
END

IF
	Global("IHaveBalduran","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("IHaveBalduran","GLOBAL",2)
		ActionOverride("Shelf1",CreateItem("HELM07",0,0,0)) // He³m Baldurana
		Continue()
END

IF
	Global("IHaveClaw","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("IHaveClaw","GLOBAL",2)
		ActionOverride("Shelf1",CreateItem("MISC72",0,0,0)) // Szpon Kazgarotha
		Continue()
END

IF
	Global("IHaveHorn","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("IHaveHorn","GLOBAL",2)
		ActionOverride("Shelf1",CreateItem("MISC73",10,0,0)) // Róg Kazgarotha
		Continue()
END

IF
	Global("IHaveSecond","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("IHaveSecond","GLOBAL",2)
		ActionOverride("Table1",CreateItem("LEAT03",0,0,0)) // Obroñca zastêpcy +2
		Continue()
END

IF
	Global("IHavePlate","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("IHavePlate","GLOBAL",2)
		ActionOverride("Table1",CreateItem("PLAT02",0,0,0)) // Zbroja p³ytowa +1
		Continue()
END

IF
	Global("IHaveMissile","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("IHaveMissile","GLOBAL",2)
		ActionOverride("Table1",CreateItem("LEAT06",0,0,0)) // Przyci¹gacz pocisków +2
		Continue()
END

IF
	Global("IHaveChain","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("IHaveChain","GLOBAL",2)
		ActionOverride("Table1",CreateItem("CHAN07",0,0,0)) // Kolczuga +3
		Continue()
END

IF
	Global("MeetOldenFriends","GLOBAL",100)
	Global("IHaveFamiliar","GLOBAL",0)
	PartyHasItem("FAMCAT") // Familiar
THEN
	RESPONSE #100
		ActionOverride("Picture 1",TakePartyItem("FAMCAT")) // Familiar
		SetGlobal("IHaveFamiliar","GLOBAL",2)
		Continue()
END

IF
	Global("MeetOldenFriends","GLOBAL",100)
	Global("IHaveFamiliar","GLOBAL",0)
	PartyHasItem("FAMDUST") // Familiar
THEN
	RESPONSE #100
		ActionOverride("Picture 1",TakePartyItem("FAMDUST")) // Familiar
		SetGlobal("IHaveFamiliar","GLOBAL",2)
		Continue()
END

IF
	Global("MeetOldenFriends","GLOBAL",100)
	Global("IHaveFamiliar","GLOBAL",0)
	PartyHasItem("FAMFAIR") // Familiar
THEN
	RESPONSE #100
		ActionOverride("Picture 1",TakePartyItem("FAMFAIR")) // Familiar
		SetGlobal("IHaveFamiliar","GLOBAL",2)
		Continue()
END

IF
	Global("MeetOldenFriends","GLOBAL",100)
	Global("IHaveFamiliar","GLOBAL",0)
	PartyHasItem("FAMFER") // Familiar
THEN
	RESPONSE #100
		ActionOverride("Picture 1",TakePartyItem("FAMFER")) // Familiar
		SetGlobal("IHaveFamiliar","GLOBAL",2)
		Continue()
END

IF
	Global("MeetOldenFriends","GLOBAL",100)
	Global("IHaveFamiliar","GLOBAL",0)
	PartyHasItem("FAMIMP") // Familiar
THEN
	RESPONSE #100
		ActionOverride("Picture 1",TakePartyItem("FAMIMP")) // Familiar
		SetGlobal("IHaveFamiliar","GLOBAL",2)
		Continue()
END

IF
	Global("MeetOldenFriends","GLOBAL",100)
	Global("IHaveFamiliar","GLOBAL",0)
	PartyHasItem("FAMPSD") // Familiar
THEN
	RESPONSE #100
		ActionOverride("Picture 1",TakePartyItem("FAMPSD")) // Familiar
		SetGlobal("IHaveFamiliar","GLOBAL",2)
		Continue()
END

IF
	Global("MeetOldenFriends","GLOBAL",100)
	Global("IHaveFamiliar","GLOBAL",0)
	PartyHasItem("FAMQUAS") // Familiar
THEN
	RESPONSE #100
		ActionOverride("Picture 1",TakePartyItem("FAMQUAS")) // Familiar
		SetGlobal("IHaveFamiliar","GLOBAL",2)
		Continue()
END

IF
	Global("MeetOldenFriends","GLOBAL",100)
	Global("IHaveFamiliar","GLOBAL",0)
	PartyHasItem("FAMRAB") // Familiar
THEN
	RESPONSE #100
		ActionOverride("Picture 1",TakePartyItem("FAMRAB")) // Familiar
		SetGlobal("IHaveFamiliar","GLOBAL",2)
		Continue()
END

IF
	Global("BGImportIncomplete","AR0602",1)
	Global("CheckedHPPlayer1","AR0602",2)
THEN
	RESPONSE #100
		SetGlobal("BGImportIncomplete","AR0602",2)
		SetCursorState(FALSE)
		FadeFromColor([30.0],0)
		DisplayStringHead(Myself,114552) // Twój oprawca mo¿e pojawiæ siê ju¿ niebawem. Powinieneœ przejœæ do karty postaci i awansowaæ na nastêpne poziomy zanim bêdziesz kontynuowaæ. Gra bêdzie kontynuowana zaraz po tym jak siê przygotujesz.
		Continue()
END

IF
	Global("BGImportIncomplete","AR0602",2)
	LevelGT(Player1,1)
THEN
	RESPONSE #100
		SetGlobal("BGImportIncomplete","AR0602",0)
		ActionOverride(Player1,MakeUnselectable(1))
		ActionOverride(Player2,MakeUnselectable(1))
		ActionOverride(Player3,MakeUnselectable(1))
		ActionOverride(Player4,MakeUnselectable(1))
		ActionOverride(Player5,MakeUnselectable(1))
		ActionOverride(Player6,MakeUnselectable(1))
		SetCursorState(TRUE)
		FadeToColor([30.0],0)
		Continue()
END

IF
	Global("RielevDisable","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("RielevDisable","AR0602",1)
		TriggerActivation("Rielevdeadtrigger",FALSE)
END

IF
	Global("IrenTeleport","GLOBAL",2)
THEN
	RESPONSE #100
		SetGlobal("IrenTeleport","GLOBAL",1)
		SmallWait(<img src='http://www.shsforums.net/public/style_emoticons/<#EMO_DIR#>/cool.gif' class='bbc_emoticon' alt='8)' />
		PlaySound("EFF_M29")
		FadeFromColor([30.0],0)
		CreateVisualEffect("SPCLOUD1",[3075.644])
		CreateVisualEffect("SPCLOUD1",[3029.652])
		CreateVisualEffect("SPCLOUD1",[2975.670])
		CreateVisualEffect("SPCLOUD1",[3114.665])
		CreateVisualEffect("SPCLOUD1",[3068.681])
		CreateVisualEffect("SPCLOUD1",[3004.704])
END

IF
	Global("BG1Pantaloons","GLOBAL",0)
	PartyHasItem("MISC47") // Z³ote pantalony
THEN
	RESPONSE #100
		SetGlobal("BG1Pantaloons","GLOBAL",1)
		ActionOverride("Picture1",CreateItem("MISC47",0,0,0)) // Z³ote pantalony
		Continue()
END

IF
	Global("BG1DrizztItem","GLOBAL",0)
	OR(3)
		PartyHasItem("CHAN06") // Mitrylowa kolczuga +4
		PartyHasItem("SW1H15") // Icingdeath
		PartyHasItem("SW1H16") // Twinkle
THEN
	RESPONSE #100
		SetGlobal("BG1DrizztItem","GLOBAL",1)
		Continue()
END

IF
	Global("TakeImportItems","AR0602",0)
	Global("MinscImport","GLOBAL",2)
	Global("JaheiraImport","GLOBAL",2)
	Global("ImoenImport","GLOBAL",2)
	Global("BGImportIncomplete","AR0602",0)
	Gender(Player1,MALE)
THEN
	RESPONSE #100
		SetGlobal("TakeImportItems","AR0602",1)
		SetGlobal("Chapter","GLOBAL",1)
		ActionOverride("Malaaq",MoveBetweenAreas("AR0601",[345.591],14))
		ActionOverride("DuegarClanChief",TakeItemListPartyNum("IMPORT01",1))
		ActionOverride("Shelf1",TakeItemListPartyNum("IMPORT03",1))
		SmallWait(4)
		TakePartyGold(2147483647)
		ActionOverride(Player1,MakeUnselectable(0))
		ActionOverride(Player1,DestroyAllEquipment())
		ActionOverride(Player2,DestroyAllEquipment())
		ActionOverride(Player3,DestroyAllEquipment())
		ActionOverride(Player4,DestroyAllEquipment())
		ActionOverride(Player5,DestroyAllEquipment())
		ActionOverride(Player6,DestroyAllEquipment())
		CreateCreature("CSJON",[3210.3304],10) // Mag
		ActionOverride(Player1,PlayDead(165))
		Wait(1)
		FadeFromColor([30.0],0)
		StartCutSceneMode()
		StartCutScene("CBNEWGMM")
END

IF
	Global("TakeImportItems","AR0602",0)
	Global("MinscImport","GLOBAL",2)
	Global("JaheiraImport","GLOBAL",2)
	Global("ImoenImport","GLOBAL",2)
	Global("BGImportIncomplete","AR0602",0)
	Gender(Player1,FEMALE)
THEN
	RESPONSE #100
		SetGlobal("TakeImportItems","AR0602",1)
		SetGlobal("Chapter","GLOBAL",1)
		ActionOverride("Malaaq",MoveBetweenAreas("AR0601",[345.591],14))
		ActionOverride("DuegarClanChief",TakeItemListPartyNum("IMPORT01",1))
		ActionOverride("Shelf1",TakeItemListPartyNum("IMPORT03",1))
		SmallWait(4)
		TakePartyGold(2147483647)
		ActionOverride(Player1,MakeUnselectable(0))
		ActionOverride(Player1,DestroyAllEquipment())
		ActionOverride(Player2,DestroyAllEquipment())
		ActionOverride(Player3,DestroyAllEquipment())
		ActionOverride(Player4,DestroyAllEquipment())
		ActionOverride(Player5,DestroyAllEquipment())
		ActionOverride(Player6,DestroyAllEquipment())
		CreateCreature("CSJON",[3210.3304],10) // Mag
		ActionOverride(Player1,PlayDead(165))
		Wait(1)
		FadeFromColor([30.0],0)
		StartCutSceneMode()
		StartCutScene("CBNEWGMF")
END

IF
	Global("KD_ChoresDone","GLOBAL",0)
THEN
	RESPONSE #100
		NoAction()
END

IF
	InParty("Imoen2")
	Global("MoveScreen","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("MoveScreen","AR0602",1)
		SaveGame(0)
		MoveViewPoint([3802.2769],VERY_FAST)
END

IF
	Global("AataqahFight","AR0602",1)
	Dead("AataqahOgre")
THEN
	RESPONSE #100
		SetGlobal("AataqahFight","AR0602",2)
		Wait(1)
		CreateCreatureObjectEffect("AATAQAH","SPCLOUD3",Player1)
		ActionOverride("Aataqah",Wait(2))
END

IF
	Global("AataqahFight","AR0602",1)
	NumDead("AataqahGibber",4)
THEN
	RESPONSE #100
		SetGlobal("AataqahFight","AR0602",2)
		Wait(1)
		CreateCreatureObjectEffect("AATAQAH","SPCLOUD3",Player1)
		ActionOverride("Aataqah",Wait(2))
END

IF
	Global("AataqahFight","AR0602",1)
	HPPercentLT(MostDamagedOf(Myself),25)
THEN
	RESPONSE #100
		SetGlobal("AataqahFight","AR0602",2)
		Wait(1)
		CreateCreatureObjectEffect("AATAQAH","SPCLOUD3",Player1)
		ActionOverride("Aataqah",Wait(2))
END

IF
	Global("Ellsime","AR0602",1)
	OpenState("DOOR08",FALSE)
THEN
	RESPONSE #100
		OpenDoor("DOOR08")
END

IF
	Global("#HTDD0602","GLOBAL",0)
THEN
	RESPONSE #100
		CreateCreature("bugbear",[617.2022],4) // NiedŸwie¿uk
		CreateCreature("bugbear",[670.2067],4) // NiedŸwie¿uk
		CreateCreature("bugarch",[717.1957],4) // NiedŸwie¿uk
		CreateCreature("bugarch",[763.1991],4) // NiedŸwie¿uk
		CreateCreature("bugarch",[823.1450],4) // NiedŸwie¿uk
		CreateCreature("bugarch",[796.1589],4) // NiedŸwie¿uk
		CreateCreature("bugarch",[904.1522],4) // NiedŸwie¿uk
		CreateCreature("ddogre01",[977.262],4) // Ogr
		CreateCreature("ddogre01",[1030.303],4) // Ogr
		CreateCreature("ddogre01",[3204.814],4) // Ogr
		CreateCreature("ddogre01",[3281.765],4) // Ogr
		CreateCreature("otyugh",[2496.2056],4) // Otiag
		CreateCreature("otyugh",[2761.1962],4) // Otiag
		SetGlobal("#HTDD0602","GLOBAL",1)
		Continue()
END

IF
	Global("CreaWulfi","AR0602",0)
THEN
	RESPONSE #100
		CreateCreature("Wulfg2",[630.2340],13) // Wulfgar
		SetGlobal("CreaWulfi","AR0602",1)
END

IF
	Global("VP_In_BG1","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("VP_In_BG1","GLOBAL",0)
END

IF
	Global("VP_SharteelKey","GLOBAL",0)
	InMyArea("Sharteel")
THEN
	RESPONSE #100
		ActionOverride("Jailkeep Table",CreateItem("VPSHRKEY",0,0,0)) // Klucz do celi
		Lock("Cell04")
		SetGlobal("VP_SharteelKey","GLOBAL",1)
END

IF
	Global("StartDungBag","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("StartDungBag","AR0602",1)
		ActionOverride("Chest 8",CreateItem("S#bag02",1,1,1)) // Torba przechowywania
END

IF
	Global("SecondKambion","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("SecondKambion","AR0602",1)
		CreateCreature("IDEMON01",[2116.1038],10) // Kambion
END

IF
	Global("D#SilverExists","GLOBAL",0)
THEN
	RESPONSE #100
		SetGlobal("D#SilverExists","GLOBAL",1)
		CreateCreature("D#Silver",[3855.2465],3) // Silver Star
END

IF
	Global("MakeWeenug","AR0602",0)
THEN
	RESPONSE #100
		CreateCreature("CMWENUG",[3054.3409],0) // Weenug
		SetGlobal("MakeWeenug","AR0602",1)
END

IF
	Global("ZarixJumpOn","GLOBAL",1)
	Global("ZarixInParty","GLOBAL",1)
	!InActiveArea("zarix")
	!See("zarix")
	!Dead("zarix") // Zarix
	!StateCheck("Worgas",STATE_DEAD)
THEN
	RESPONSE #100
		MoveGlobalObject("zarix","Worgas")
END

IF
	Global("ZarixJumpOn","GLOBAL",1)
	!InActiveArea("zarix")
	!See("zarix")
	!Dead("zarix") // Zarix
	!Global("ZarixInParty","GLOBAL",1)
	StateCheck("Worgas",STATE_DEAD)
THEN
	RESPONSE #100
		MoveGlobalObject("zarix",Protagonist)
END

IF
	Global("TheDoorIsOpenedCR","GLOBAL",0)
THEN
	RESPONSE #100
		SetGlobal("TheDoorIsOpenedCR","GLOBAL",1)
		Unlock("DOOR0601")
		OpenDoor("DOOR0601")
END

IF
	Global("TheItemIsNotThere","GLOBAL",0)
THEN
	RESPONSE #100
		SetGlobal("TheItemIsNotThere","GLOBAL",1)
		ActionOverride("Shelf2",DestroyItem("MISC4C")) // Pos¹g ¿ywio³aka powietrza
END

IF
	Global("CreatingChloeCR","GLOBAL",0)
THEN
	RESPONSE #100
		SetGlobal("CreatingChloeCR","GLOBAL",1)
		CreateCreature("CHLOE7",[2000.305],10) // Chloe
		CreateCreature("ShadCR1",[2000.300],<img src='http://www.shsforums.net/public/style_emoticons/<#EMO_DIR#>/cool.gif' class='bbc_emoticon' alt='8)' /> // Z³odziej Cienia
		CreateCreature("ShadCR2",[2000.310],7) // Z³odziej Cienia
		CreateCreature("GolemCR",[2005.305],13) // Kamienny Golem
		ActionOverride("RChloe",SetDialog("RChloe"))
		ActionOverride("RChloe",ChangeAIScript("Chloe",OVERRIDE))
		ActionOverride("RChloe",ChangeAIScript("WTASIGHT",DEFAULT))
		GiveItemCreate("CHLOSW4","RChloe",0,0,0) // P³omieñ Lathandara
		ActionOverride("RChloe",FillSlot(SLOT_SHIELD))
		GiveItemCreate("MISC4C","RChloe",0,0,0) // Pos¹g ¿ywio³aka powietrza
		ActionOverride("RChloe",MoveBetweenAreas("AR0601",[2175.1630],7))
		ActionOverride("ShadCR1",MoveBetweenAreas("AR0601",[2110.1615],10))
		ActionOverride("ShadCR2",MoveBetweenAreas("AR0601",[2190.1595],<img src='http://www.shsforums.net/public/style_emoticons/<#EMO_DIR#>/cool.gif' class='bbc_emoticon' alt='8)' />)
		ActionOverride("GolemCR",MoveBetweenAreas("AR0601",[2100.1550],11))
END

IF
	Global("RazielKey","GLOBAL",0)
THEN
	RESPONSE #100
		SetGlobal("RazielKey","GLOBAL",1)
		ActionOverride("Picture1",CreateItem("KEY50",0,0,0)) // Klucz do celi
		Continue()
END

IF
	Global("IJ#dogEx","ar0602",0)
THEN
	RESPONSE #100
		SetGlobal("IJ#dogEx","ar0602",1)
		CreateCreature("IJ#dog",[3946.2475],3) // Mysterious Dog - Dog
END

IF
	Global("HaiassPuertaBaldur","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("HaiassPuertaBaldur","GLOBAL",0)
END

IF
	Global("HaiassMesonAmigo","GLOBAL",1)
THEN
	RESPONSE #100
		SetGlobal("HaiassMesonAmigo","GLOBAL",0)
END

IF
	Global("HaiassJumpOn","GLOBAL",1)
	Global("HaiassSeUne","GLOBAL",1)
	!InActiveArea("haiass")
	!See("haiass")
	!Dead("haiass")
THEN
	RESPONSE #100
		MoveGlobalObject("haiass",Protagonist)
END

IF
	Global("d1ADD_BAG","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("d1ADD_BAG","AR0602",1)
		ActionOverride("Chest7",CreateItem("d1bag",0,0,0)) // Bag of Holding
END

IF
	Global("d1addclk","AR0602",0)
THEN
	RESPONSE #100
		SetGlobal("d1addclk","AR0602",1)
		ActionOverride("Chest2",CreateItem("clck05",0,0,0)) // P³aszcz Baldurana
END


And this is what i deleted apart from the worgas entries (checked the baf while, they seem to be missing here too, maybe now i should delete all worgas blocks? I don't use this npc anyway)
IF
	Global("EntJar1","AR0602",0)
THEN
	RESPONSE #100
		ClearAllActions()
		SetGlobal("EntJar1","AR0602",1)
		HideGUI()
		StartCutSceneMode()
		StartCutScene("EntJar1")
		UnhideGUI()
END

Edited by RutgerHauer, 12 February 2011 - 05:53 AM.


#20 RutgerHauer

RutgerHauer
  • Member
  • 148 posts

Posted 12 February 2011 - 08:25 AM

- BUMP -
Does anyone else could help me with the code here? Or know other way to skip the cutscene?