maple-v206/scripts/field/enter_867202403.py

60 lines
2.6 KiB
Python

# id 867202403 (Abrup Basin : Training Grounds), field 867202403
sm.lockInGameUI(True, False)
sm.spawnNpc(9400636, -530, -70)
sm.showNpcSpecialActionByTemplateId(9400636, "summon", 0)
sm.spawnNpc(9400596, -400, -70)
sm.showNpcSpecialActionByTemplateId(9400596, "summon", 0)
sm.spawnNpc(9400597, -150, -70)
sm.showNpcSpecialActionByTemplateId(9400597, "summon", 0)
sm.spawnNpc(9400599, -80, -70)
sm.showNpcSpecialActionByTemplateId(9400599, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400636, "attack1", -1)
sm.showNpcSpecialActionByTemplateId(9400596, "attack1", -1)
sm.sendDelay(1000)
sm.createQuestWithQRValue(49004, "QET=20190623142524")
sm.createQuestWithQRValue(49000, "count=1;Quest=49004;day=152844;QET=20190623125240;state=1")
sm.createQuestWithQRValue(49000, "count=1;Quest=49004;day=152844;QET=20190623125240;state=2")
sm.createQuestWithQRValue(49000, "count=1;Quest=49004;day=152844;QET=20190623135524;state=2")
sm.createQuestWithQRValue(49004, "QET=20190623142524")
sm.createQuestWithQRValue(49004, "QET=20190623142524")
sm.startQuest(49004)
sm.moveNpcByTemplateId(9400597, True, 50, 30)
sm.moveNpcByTemplateId(9400599, True, 50, 30)
sm.sendDelay(1000)
sm.resetNpcSpecialActionByTemplateId(9400636)
sm.resetNpcSpecialActionByTemplateId(9400596)
sm.sendDelay(250)
sm.flipNpcByTemplateId(9400636, False)
sm.sendDelay(250)
sm.sendDelay(2500)
sm.speechBalloon(False, 0, 0, "What are you looking at?!", 2000, 1, 0, 0, 0, 4, 9400597, 4878499)
sm.sendDelay(2500)
sm.speechBalloon(False, 0, 0, "What, we're not allowed over here?", 2000, 1, 0, 0, 0, 4, 9400597, 4878499)
sm.sendDelay(2500)
sm.speechBalloon(False, 0, 0, "I didn't say anything! I was happy because we're finally training together.", 2000, 1, 0, 0, 0, 4, 9400636, 4878499)
sm.sendDelay(1500)
sm.speechBalloon(False, 0, 0, "...Ahem!", 2000, 1, 0, 0, 0, 4, 9400597, 4878499)
sm.flipNpcByTemplateId(9400596, True)
sm.flipNpcByTemplateId(9400636, True)
sm.sendDelay(250)
sm.moveNpcByTemplateId(9400596, True, 100, 50)
sm.moveNpcByTemplateId(9400636, True, 80, 30)
sm.sendDelay(1500)
sm.setSpeakerType(3)
sm.setParam(57)
sm.setColor(1)
sm.sendNext("#bIt's not hard. ")
sm.flipNpcByTemplateId(9400636, False)
sm.flipNpcByTemplateId(9400596, False)
sm.forcedFlip(True)
sm.sendDelay(250)
sm.sendNext("#bCome at me with your harpoon like I'm a fish jumping out of the water! ")
sm.setParam(37)
sm.setInnerOverrideSpeakerTemplateID(9400597) # Gurnardson
sm.sendSay("#face0#...Huh?! ")
sm.setInnerOverrideSpeakerTemplateID(9400599) # Harpooner
sm.sendSay("Attack you? #h0#? ")
sm.setParam(57)
sm.sendSay("#bYes! Let's get started! ")
sm.warp(867202440)