# id 867235900 (Abrup Basin : Destroyed Skuas Castle Interior), field 867235900
sm.lockInGameUI(True, False)
sm.blind(True, 255, 0, 0, 0, 0)
sm.forcedFlip(True)
sm.spawnNpc(9400690, -1150, -240)
sm.showNpcSpecialActionByTemplateId(9400690, "summon", 0)
sm.spawnNpc(9400676, 15, -185)
sm.showNpcSpecialActionByTemplateId(9400676, "summon", 0)
sm.spawnNpc(9400582, 180, -185)
sm.showNpcSpecialActionByTemplateId(9400582, "summon", 0)
sm.spawnNpc(9400666, -310, -70)
sm.showNpcSpecialActionByTemplateId(9400666, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400666, "flame", -1)
sm.spawnNpc(9400672, -810, 80)
sm.showNpcSpecialActionByTemplateId(9400672, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400672, "attack1", -1)
sm.spawnNpc(9400642, -900, 80)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400642, "attack1", -1)
sm.spawnNpc(9400602, -670, 80)
sm.showNpcSpecialActionByTemplateId(9400602, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400602, "attack1", -1)
sm.spawnNpc(9400621, -620, 80)
sm.showNpcSpecialActionByTemplateId(9400621, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400621, "attack1", -1)
sm.spawnNpc(9400599, -560, 80)
sm.showNpcSpecialActionByTemplateId(9400599, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400599, "attack1", -1)
sm.spawnNpc(9400641, -455, 80)
sm.showNpcSpecialActionByTemplateId(9400641, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400641, "attack1", -1)
sm.spawnNpc(9400596, -260, 80)
sm.showNpcSpecialActionByTemplateId(9400596, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400596, "attack1", -1)
sm.spawnNpc(9400674, -40, 60)
sm.showNpcSpecialActionByTemplateId(9400674, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400674, "attack1", -1)
sm.spawnNpc(9400675, 100, 60)
sm.showNpcSpecialActionByTemplateId(9400675, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400675, "attack1", -1)
sm.spawnNpc(9400583, 260, 50)
sm.showNpcSpecialActionByTemplateId(9400583, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400583, "attack1", -1)
sm.spawnNpc(9400590, 310, 50)
sm.showNpcSpecialActionByTemplateId(9400590, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400590, "attack1", -1)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402241/Attack1", 100)
sm.playSound("Sound/Mob.img/9402301/Skill2", 100)
sm.blind(False, 0, 0, 0, 0, 2100)
sm.forcedAction(5, 5000)
sm.showNpcSpecialActionByTemplateId(9400582, "skill", -1)
sm.showNpcSpecialActionByTemplateId(9400676, "attack1", -1)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402241/Attack2", 100)
sm.playSound("Sound/Mob.img/9402301/Skill2", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9400242/Attack1", 100)
sm.playSound("Sound/Mob.img/9402310/Attack1", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9400245/Attack2", 100)
sm.playSound("Sound/Mob.img/9402311/Attack1", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9400242/Attack3", 100)
sm.playSound("Sound/Mob.img/9402312/Attack1", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9400249/Skill2", 100)
sm.playSound("Sound/Mob.img/9402305/Attack2", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9400250/Attack7", 100)
sm.playSound("Sound/Mob.img/9402308/Attack1", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9400246/Attack2", 100)
sm.playSound("Sound/Mob.img/9402309/Attack1", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9400246/Skill1", 100)
sm.playSound("Sound/Mob.img/9402313/Attack1", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9400251/Attack6", 100)
sm.playSound("Sound/Mob.img/9402317/Attack1", 100)
sm.sendDelay(500)
sm.sendDelay(1000)
sm.changeBGM("BgmPL2.img/Appearance", 0, 0)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402241/Attack2", 100)
sm.playSound("Sound/Mob.img/9402301/Skill2", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9400242/Attack1", 100)
sm.playSound("Sound/Mob.img/9402310/Attack1", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9400245/Attack2", 100)
sm.playSound("Sound/Mob.img/9402311/Attack1", 100)
sm.sendDelay(500)
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(9400596) # Snowfield Archer
sm.sendNext("I-it's... the G-giant Shadow!")
sm.sendSay("The Giant Shadow is climbing over the castle wall!")
sm.forcedFlip(True)
sm.moveNpcByTemplateId(9400690, False, 450, 70)
sm.sendDelay(4500)
sm.playSound("Sound/Mob.img/9402270/Attack7", 128)
sm.showNpcSpecialActionByTemplateId(9400690, "attack1", -1)
sm.sendDelay(5500)
sm.setParam(56)
sm.sendNext("#bCayne, take Alika and get out of here! You too, Einar!")
sm.sendDelay(1000)
sm.playSound("Sound/Mob.img/9402310/Skill1", 100)
sm.setParam(37)
sm.setInnerOverrideSpeakerTemplateID(9400602) # Einar
sm.sendNext("#face2#No! I'm not running again!")
sm.playSound("Sound/Mob.img/9402316/Attack1", 100)
sm.sendDelay(1000)
sm.playSound("Sound/Mob.img/9402312/Attack1", 100)
sm.setInnerOverrideSpeakerTemplateID(9400583) # Gillie
sm.sendNext("#face1#I'll stay until the end as well!")
sm.playSound("Sound/Mob.img/9402308/Attack1", 100)
sm.setInnerOverrideSpeakerTemplateID(9400590) # Slaka
sm.sendSay("#face1#So there's nowhere else to hide? I didn't stay behind because I wanted us to stick together. Don't flatter yourself.")
sm.sendDelay(5000)
sm.setParam(56)
sm.sendNext("#bEveryone, out of the way!")
sm.createQuestWithQRValue(64140, "dir=1")
sm.blind(True, 255, 0, 0, 0, 500)
sm.sendDelay(500)
sm.createQuestWithQRValue(64200, "inGame=0")
sm.createQuestWithQRValue(64201, "event1_camera=0")
sm.createQuestWithQRValue(64201, "event1_camera=0;event1_wall=0")
sm.createQuestWithQRValue(64202, "event2_camera=0")
sm.createQuestWithQRValue(64202, "event2_camera=0;event2_wall=0")
sm.createQuestWithQRValue(64203, "event3_camera=0")
sm.createQuestWithQRValue(64203, "count=0;event3_camera=0")
sm.createQuestWithQRValue(64204, "P2_fall=0")
sm.createQuestWithQRValue(64204, "RushMob=0;P2_fall=0")
sm.createQuestWithQRValue(64204, "RushMob=0;P2_fall=0;LadderMob=0")
sm.createQuestWithQRValue(64205, "Fire=0")
sm.createQuestWithQRValue(64206, "ScreenMob=0")
sm.createQuestWithQRValue(64206, "count=0;ScreenMob=0")
sm.createQuestWithQRValue(64207, "P3_E1=0")
sm.createQuestWithQRValue(64207, "P3_E1=0;P3_E2=0")
sm.lockInGameUI(False, True)
sm.warp(867236100)
