these two lines here are causing a warning about a conflict between the func name and the variable name.
var load_state: int = 0;
func load_state() -> void: