2025-03-28 21:28:30 -04:00
|
|
|
--- TODO: find a way to hardcode it this way
|
|
|
|
EVENT_ID = 1245187
|
|
|
|
|
2025-03-28 22:34:34 -04:00
|
|
|
--- load defines from Opening Excel sheet, which has this and we don't need to hardcode it'
|
|
|
|
POS_START = 4101669
|
|
|
|
|
2025-03-28 21:28:30 -04:00
|
|
|
function Scene00000(player)
|
|
|
|
player:play_scene(EVENT_ID, 00000, 4959237, 1)
|
|
|
|
end
|
|
|
|
|
|
|
|
function Scene00001(player)
|
|
|
|
player:play_scene(EVENT_ID, 00001, 4959237, 1)
|
|
|
|
end
|
|
|
|
|
2025-03-28 22:34:34 -04:00
|
|
|
function onEnterTerritory(player, zone)
|
|
|
|
--- move the player into the starting position
|
|
|
|
start_pos = zone:get_pop_range(POS_START)
|
|
|
|
player:set_position(start_pos)
|
|
|
|
|
2025-03-28 21:28:30 -04:00
|
|
|
Scene00000(player);
|
|
|
|
end
|
|
|
|
|
|
|
|
function onSceneFinished(player, scene)
|
|
|
|
if scene == 0 then
|
|
|
|
Scene00001(player)
|
|
|
|
end
|
|
|
|
end
|