sweetgum83/scripts/map/onUserEnter/200090000.js
2024-01-19 03:56:28 -05:00

14 lines
411 B
JavaScript

// Author: Ronan
var mapId = 200090000;
function start(ms) {
var map = ms.getClient().getChannelServer().getMapFactory().getMap(mapId);
if (map.getDocked()) {
const PacketCreator = Java.type('tools.PacketCreator');
ms.getClient().sendPacket(PacketCreator.musicChange("Bgm04/ArabPirate"));
ms.getClient().sendPacket(PacketCreator.crogBoatPacket(true));
}
return true;
}