about summary refs log tree commit diff stats
path: root/Archipelago/pilgrimage_terminator.gd
blob: 29db2eeda1bee97cb6b47ee36bd7ca953f204f5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
extends Area


func _ready():
	var _connected = self.connect("body_entered", self, "_body_entered")


func _body_entered(body):
	if body.is_in_group("player"):
		global.sunwarp = 1
		body.get_node("pivot/camera/sunwarp_background").visible = false