Персонаж стоит на месте. Гугл не помогает в решении данной проблемы.
remove the and statement and the coin.type == “gold” because the coin type isn’t gold