ACTIVATE_OBJECTIVE_WITH_VALUE TARGET_MACHINE 1
AUTO_TALK 120 Evil_Edgar Ha ha ha!!!!
AUTO_TALK 120 Evil_Edgar Soon we will be one again...
IF TARGET_MACHINE HEALTH 2
IF TARGET_MACHINE MENTAL 1
SET TARGET_MACHINE HEALTH 3
SET SOURCE_MACHINE HEALTH 3
SET TARGET_MACHINE ANIMATION CUSTOM_2
SET SOURCE_MACHINE ANIMATION CUSTOM_1
SET TARGET_MACHINE PROPERTY THINKTIME 240
SET SOURCE_MACHINE PROPERTY THINKTIME 300
PLAY_SOUND sound/item/generator
PLAY_SOUND sound/enemy/laser/zap
WHILE TARGET_MACHINE HEALTH 3
WHILE TARGET_MACHINE HEALTH 4
SET EVIL_EDGAR_2 REMOVE_FLAG NO_DRAW
SET EVIL_EDGAR_2 FACE LEFT
WAIT 90
ACTIVATE_REQUIRED EVIL_EDGAR_BOSS
WAIT 120
WALK_TO_RELATIVE EVIL_EDGAR_2 640 0
REMOVE "Amulet of Resurrection" 1 -1 SOURCE_CONTROL 1800 1800 QUIET
KILL EDGAR
SET EDGAR ADD_FLAG NO_DRAW
END
IF TARGET_MACHINE MENTAL 0
WAIT 60
AUTO_TALK 120 Evil_Edgar Wait, something's wrong...
AUTO_TALK 120 Evil_Edgar OH NO! THIS IS THE WRONG MACHINE!!
SET TARGET_MACHINE HEALTH 3
SET SOURCE_MACHINE HEALTH 3
SET TARGET_MACHINE ANIMATION CUSTOM_1
SET SOURCE_MACHINE ANIMATION CUSTOM_2
SET TARGET_MACHINE PROPERTY THINKTIME 300
SET SOURCE_MACHINE PROPERTY THINKTIME 240
PLAY_SOUND sound/item/generator
PLAY_SOUND sound/enemy/laser/zap
WAIT 60
AUTO_TALK 120 Evil_Edgar ARGHHHHHH!!!!
SET EVIL_EDGAR_2 HEALTH 0
WHILE SOURCE_MACHINE HEALTH 3
WHILE SOURCE_MACHINE HEALTH 4
SET EDGAR REMOVE_FLAG NO_DRAW
KILL EVIL_EDGAR_2
WHILE TARGET_MACHINE HEALTH 3
WHILE TARGET_MACHINE HEALTH 4
ADD ENTITY WEAPON weapon/fire_shield " " 20218 13190
WAIT 90
MUSIC FADE_DOWN 2000
WALK_TO EDGAR 20125 13162
WAIT 30
TALK Edgar Phew, I feel whole again
TALK Edgar And there's my Fire Shield!
WALK_TO EDGAR 20230 13162 WAIT
TALK Edgar Hopefully this will get me past all those fireballs...
ADD OBJECTIVE "Confront the Sorceror" " "
ADD TRIGGER "Sorceror Trigger" 1 UPDATE_OBJECTIVE "Confront the Sorceror"
FOLLOW EDGAR
RESET_CAMERA
ADD_MEDAL kill_evil_edgar
ADD_MEDAL fire_shield
ACTIVATE_REQUIRED EVIL_EDGAR_BOSS
MUSIC START
END
END
