maple-v206/scripts/field/enter_867202440.py

47 lines
1.6 KiB
Python

# id 867202440 (Abrup Basin : Training Grounds), field 867202440
sm.removeAdditionalEffect()
sm.spawnNpc(9400597, -638, -70)
sm.showNpcSpecialActionByTemplateId(9400597, "summon", 0)
sm.spawnNpc(9400599, -550, -70)
sm.showNpcSpecialActionByTemplateId(9400599, "summon", 0)
sm.spawnNpc(9400599, -450, -70)
sm.showNpcSpecialActionByTemplateId(9400599, "summon", 0)
sm.spawnNpc(9400583, -10, -70)
sm.showNpcSpecialActionByTemplateId(9400583, "summon", 0)
sm.forcedFlip(True)
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(9400583) # Gillie
sm.sendNext("#face0#Imagine you're just catching fish! ")
sm.showNpcSpecialActionByTemplateId(9400599, "attack1", 0)
sm.sendDelay(500)
sm.showNpcSpecialActionByTemplateId(9400599, "attack1", 0)
sm.sendDelay(700)
sm.showNpcSpecialActionByTemplateId(9400597, "attack1", 0)
sm.sendDelay(2000)
sm.sendNext("#face0#You sometimes throw your harpoons when you fish, right? ")
sm.sendDelay(2000)
sm.setInnerOverrideSpeakerTemplateID(9400597) # Gurnardson
sm.sendNext("#face0#Gah! Here goes nothing! ")
sm.zoomCamera(1500, 2000, 1500, -305, -65)
sm.setFieldGrey(GreyFieldType.Field, True)
sm.blind(True, 150, 0, 0, 0, 1300)
sm.sendDelay(1600)
sm.showNpcSpecialActionByTemplateId(9400597, "attack2", 0)
sm.forcedInput(4)
sm.sendDelay(1000)
sm.setFieldGrey(GreyFieldType.Field, False)
sm.blind(True, 1, 255, 255, 255, 200)
sm.blind(False, 0, 0, 0, 0, 1300)
sm.sendDelay(1600)
sm.moveCamera(True, 0, 0, 0)
sm.forcedInput(0)
sm.sendDelay(1000)
sm.sendDelay(2000)
sm.moveCamera(True, 0, 0, 0)
sm.sendDelay(500)
sm.lockInGameUI(False, True)
sm.createQuestWithQRValue(64119, "dir1=1;chk1=1")
sm.warp(867202404)