Assuming it's not a copy/paste error, your script above is invalid syntax. The indentation is incorrect. Try
func _pressed():
load()
func load():
pass
EDIT: Also, as Tim Martin alluded to in another answer, you should generally shy away from shadowing built in functions and member variables.