# id 1 (out00), field 240080200
sm.setSpeakerID(2085001) # Crimson Sky Doorway
res = sm.sendAskYesNo("Do you wish to abandon the battle and leave the Crimson Sky area? To enter again, you must form a new party.")
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.closeUI(1128)
sm.showFieldEffect("quest/party/clear", 0)
sm.playSound("Party1/Clear", 100)
sm.lockInGameUI(True, False)
sm.lockInGameUI(False, True)
sm.warp(240080300)
