name: "Y Plus First Floor" paintings { name: "UNDUE" path: "Components/Paintings/undue4" gravity: Y_PLUS orientation: "south" display_name: "E Side Painting On E" } paintings { name: "UNLESS" path: "Components/Paintings/unless2" gravity: Y_PLUS orientation: "east" display_name: "E Side First Floor Painting On Wall" } archipelago' title='lingo-archipelago Git repository'/>
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")