about summary refs log blame commit diff stats
path: root/Archipelago/doorControl.gd
blob: f64f9e294153e48e725624a6e642d7a7707053a5 (plain) (tree)
1
2
3
4
5
6


                                      
                                                     
                                                                                                          






                                                                      
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")