about summary refs log tree commit diff stats
path: root/Archipelago/doorControl.gd
blob: f64f9e294153e48e725624a6e642d7a7707053a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extends "res://scripts/doorControl.gd"


func handle_correct():
	var apclient = global.get_node("Archipelago")
	if not apclient._door_shuffle or apclient.doorIsVanilla(self.get_parent().name + "/" + self.name):
		.handle_correct()


func openDoor():
	if !ran:
		# Basically do the same thing that the base game does.
		ran = true
		$AnimationPlayer.play("Open")