In this sentence, the word SLOWLY is describing how he walked home.
This means that it has to be an adjective.
Readers can use context clues to figure out the definition of a difficult/unusual word. It can be in the same sentence as the word or follow in another sentence.