It cannot be simply "HP-5" as Hanzo pointed out. My recommended changes: IF BUTTON() AND #A && SPHITSP(0,1) THEN HP = HP - 5 ENDIF