2025-05-05 23:30:36 -04:00
|
|
|
-- generic warp, use this for most warps that are just a yes/no option
|
2025-05-05 22:28:45 -04:00
|
|
|
|
2025-06-24 14:38:16 -04:00
|
|
|
-- Scene 1000 - despawns player, angles camera upward, softlocks
|
|
|
|
-- Scene 1001 - same as 1000
|
2025-05-05 22:28:45 -04:00
|
|
|
function onTalk(target, player)
|
|
|
|
player:play_scene(target, EVENT_ID, 00000, 8192, 0)
|
|
|
|
end
|
|
|
|
|
2025-05-05 23:04:53 -04:00
|
|
|
function onReturn(scene, results, player)
|
|
|
|
player:finish_event(EVENT_ID)
|
|
|
|
|
2025-05-05 22:28:45 -04:00
|
|
|
if results[1] == 1 then
|
|
|
|
-- get warp
|
2025-06-21 14:23:56 -04:00
|
|
|
player:warp(EVENT_ID)
|
2025-05-05 22:28:45 -04:00
|
|
|
end
|
|
|
|
end
|