Untitled

mail@pastecode.io avatar
unknown
python
a year ago
395 B
3
Indexable
Never
func _process(delta):

    if one_is_pressed and market:
        $HUD/EventUnfolder.hide()
        
        one_is_pressed = false
        
        get_tree().change_scene("res://Market.tscn")
    elif one_is_pressed and encounter:
        $HUD/EventUnfolder.hide()
        get_tree().paused = false
        enemy_attack = true

        encounter = false
        one_is_pressed = false