summary refs log tree commit diff stats
path: root/res/scripts/hallucination_cliff.lua
blob: 250c0cf28e9918eedbbe4017454088a1193396f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
hallucination_cliff = {}

function hallucination_cliff.off_bottom()
  ChangeMap("hallucination_interior", "fromTop")
end

function hallucination_cliff.off_left()
  ChangeMap("hallucination_hot_spring", "fromRight")
end

function hallucination_cliff.enter_door()
  CreateAnimatedSpriteAtWarpPoint("entryway", "entryway", "entryway_appear", "pink_shell", Direction.DOWN, SpriteLayer.NORMAL)
  PlaySound("door_open.wav")
  ChangeMap("pink_shell", "fromOutside")
end