mirror of
https://github.com/redstrate/Kawari.git
synced 2025-06-30 11:47:45 +00:00

- Summoning bell now tells you you're not authorized - Armoire shows prompt but "remove items" option softlocks - Crystal Bell cutscenes work slightly better but still default to not authorized - Bed now plays cutscenes with proper fade to black, and dreamfitting works when forced in onTalk
16 lines
426 B
Lua
16 lines
426 B
Lua
-- generic warp, use this for most warps that are just a yes/no option
|
|
|
|
-- Scene 1000 - despawns player, angles camera upward, softlocks
|
|
-- Scene 1001 - same as 1000
|
|
function onTalk(target, player)
|
|
player:play_scene(target, EVENT_ID, 00000, 8192, 0)
|
|
end
|
|
|
|
function onReturn(scene, results, player)
|
|
player:finish_event(EVENT_ID)
|
|
|
|
if results[1] == 1 then
|
|
-- get warp
|
|
player:warp(EVENT_ID)
|
|
end
|
|
end
|