# Created by MechAviv
# Quest ID :: 34902
# Not coded yet

from net.swordie.ms.enums import UIType

sm.setSpeakerID(3001500)
sm.setSpeakerType(3)
sm.removeEscapeButton()
sm.flipDialogue()
sm.setBoxChat()
sm.boxChatPlayerAsSpeaker()
sm.setBoxOverrideSpeaker()
sm.flipBoxChat()
sm.flipBoxChatPlayerAsSpeaker()
sm.setColor(1)
sm.sendNext("#face2#I think I might be strong enough to learn more powerful skills now...")


# Unhandled Message [47] Packet: 2F 02 00 00 00 B0 83 08 00 00 00 00 00 2E 02 00 00 00 00 00 80 05 BB 46 E6 17 02 00 00 CF 22 11 00 00 00 00 00 63 04 00 00 17 02 A0 B8 D0 66 8B D6 D4 01 0D 00 66 69 65 6C 64 5F 65 6E 74 65 72 3D 31
sm.setJob(15510)
sm.addSp(3, True)
# Unhandled Stat Changed [MHP] Packet: 00 00 00 08 00 00 00 00 00 00 BE 04 00 00 FF 00 00 00 00
# Unhandled Stat Changed [MMP] Packet: 00 00 00 20 00 00 00 00 00 00 23 03 00 00 FF 00 00 00 00
# [INVENTORY_GROW] [02 20 ]
# [INVENTORY_GROW] [04 20 ]
# Unhandled Stat Changed [HP] Packet: 00 00 00 04 00 00 00 00 00 00 BE 04 00 00 FF 00 00 00 00
# Unhandled Stat Changed [MP] Packet: 00 00 00 10 00 00 00 00 00 00 23 03 00 00 FF 00 00 00 00
sm.startQuest(34902)
sm.completeQuest(34902)
# Inventory Operation with 1 operations.
# Inventory Operation with 2 operations.
sm.systemMessage("You've obtained the <Crumbling Abyss> medal. ")
sm.chatScript("You've obtained the <Crumbling Abyss> medal.")
sm.completeQuest(34907)
sm.openUI(UIType.UI_STAT)
sm.openUIWithOption(UIType.UI_SKILL, 155101006)
sm.setSpeakerID(3001500)
sm.setSpeakerType(3)
sm.removeEscapeButton()
sm.flipDialogue()
sm.setBoxChat()
sm.boxChatPlayerAsSpeaker()
sm.setBoxOverrideSpeaker()
sm.flipBoxChat()
sm.flipBoxChatPlayerAsSpeaker()
sm.setColor(1)
sm.sendSay("#face0#With these new skills, I'll be able to fight stronger enemies and help my friends!")


sm.setSpeakerID(3001500)
sm.setSpeakerType(3)
sm.removeEscapeButton()
sm.flipDialogue()
sm.setBoxChat()
sm.boxChatPlayerAsSpeaker()
sm.setBoxOverrideSpeaker()
sm.flipBoxChat()
sm.flipBoxChatPlayerAsSpeaker()
sm.setColor(1)
sm.sendSay("#face6#My arm is where the Specter manifests the strongest. It's like it has a mind of its own now.")


# Unhandled Message [47] Packet: 2F 01 00 00 00 59 03 04 00 00 00 00 00 07 01 00 00 01 02 70 59 25 74 8B D6 D4 01 14 00 71 75 65 73 74 5F 73 74 61 74 65 5F 63 68 61 6E 67 65 3D 31
sm.setSpeakerID(3001500)
sm.setSpeakerType(3)
sm.removeEscapeButton()
sm.flipDialogue()
sm.setBoxChat()
sm.boxChatPlayerAsSpeaker()
sm.setBoxOverrideSpeaker()
sm.flipBoxChat()
sm.flipBoxChatPlayerAsSpeaker()
sm.setColor(1)
sm.sendSay("#face3#If the Specter's strength grows with mine, will I eventually turn into a monster too? Or am I already a monster...?")


# Unhandled Stat Changed [16448] Packet: 01 00 40 40 00 00 00 00 00 00 9E 00 00 00 FF 00 00 01 0D 00
