Save boss and player statuses
This commit is contained in:
parent
b0c5798328
commit
6ea21b3181
9 changed files with 43 additions and 3 deletions
|
@ -11,7 +11,8 @@ func set_door_lock(value):
|
|||
DoorLock.set_collision_mask_bit(PLAYER_BIT, value)
|
||||
|
||||
func _on_Trigger_triggered():
|
||||
set_door_lock(true)
|
||||
if not SaverLoader.custom_data.boss_defeated:
|
||||
set_door_lock(true)
|
||||
|
||||
func _on_BossEnemy_died():
|
||||
set_door_lock(false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue