UPDATE `creature_template` SET `unit_flags`='768',`flags_extra`='130' WHERE `entry`='24230';
UPDATE `creature_template` SET `ainame`='SmartAI',`scriptname`='' WHERE `entry` IN (23959,24230);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (23959,24230) AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
('23959','0','0','0','38','0','100','0','0','1','500','1000','29','0','0','24230','0','0','0','19','24230','40','0','0','0','0','0','On Data Set 0 1 - Follow 24230'),
('23959','0','1','0','65','0','100','0','0','0','0','0','45','0','1','0','0','0','0','19','24230','5','0','0','0','0','0','On Follow Completed - Set Data 0 1'),
('24230','0','0','1','54','0','100','0','0','0','0','0','45','0','1','0','0','0','0','19','23959','40','0','0','0','0','0','On Spawn - Set Data 0 1'),
('24230','0','1','0','61','0','100','0','0','0','0','0','11','48342','0','0','0','0','0','1','0','0','0','0','0','0','0','Link With Event 0 - Stun Self'),
('24230','0','2','3','38','0','100','0','0','1','0','0','11','43307','0','0','0','0','0','1','0','0','0','0','0','0','0','On Data Set 0 1 - Summon Darkclaw Guano'),
('24230','0','3','0','61','0','100','0','0','0','0','0','41','0','0','0','0','0','0','1','0','0','0','0','0','0','0','Link With Event 2 - Force Despawn');