Yeah, line 30 is fine. That's where one of your gosubs go. GOSUB @HPBAR means it's going to go to the label @HPBAR, and somewhere on a line below line 30 there should should be a RETURN.