please help me with my TV-B-GONE project

Hello everyone, I am brand new to arduino and I’m currently taking a class at my school on it. For my first “real” project, I wanted to build a TV b Gone. However I’ve run into errors every time I try to verify or upload codes I’ve found online. I’ve tried using different versions (1.0.6 and 1.6.5) to no avail. I’m using the tv b gone sketch found here: Cornfield Electronics :: Arduino For Total Newbies Workshop
When I open the sketch I get 3 tabs, one labeled “TVBGone”, one labeled “WORLDcodes.cpp” and one called “main.h”. I am using a mac for reference.

TVBGone.ino: In function ‘void xmitCodeElement(uint16_t, uint16_t, uint8_t)’:
TVBGone:112: error: ‘TCNT2’ was not declared in this scope
TVBGone:128: error: ‘TCCR2A’ was not declared in this scope
In file included from /Users/XXXXX/Library/Arduino15/packages/arduino/tools/avr-gcc/4.8.1-arduino5/avr/include/avr/io.h:99:0,
from /Users/XXXXXX/Library/Arduino15/packages/arduino/tools/avr-gcc/4.8.1-arduino5/avr/include/avr/pgmspace.h:88,
from main.h:1,
from TVBGone.ino:50:
TVBGone:128: error: ‘COM2A0’ was not declared in this scope
TVBGone:128: error: ‘COM2B1’ was not declared in this scope
TVBGone:128: error: ‘WGM21’ was not declared in this scope
TVBGone:128: error: ‘WGM20’ was not declared in this scope
TVBGone:129: error: ‘TCCR2B’ was not declared in this scope
In file included from /Users/XXXXXX/Library/Arduino15/packages/arduino/tools/avr-gcc/4.8.1-arduino5/avr/include/avr/io.h:99:0,
from /Users/XXXXXX/Library/Arduino15/packages/arduino/tools/avr-gcc/4.8.1-arduino5/avr/include/avr/pgmspace.h:88,
from main.h:1,
from TVBGone.ino:50:
TVBGone:129: error: ‘WGM22’ was not declared in this scope
TVBGone:129: error: ‘CS21’ was not declared in this scope
TVBGone:149: error: ‘TCCR2A’ was not declared in this scope
TVBGone:150: error: ‘TCCR2B’ was not declared in this scope
TVBGone.ino: In function ‘void setup()’:
TVBGone:241: error: ‘Serial’ was not declared in this scope
TVBGone:252: error: ‘TCCR2A’ was not declared in this scope
TVBGone:253: error: ‘TCCR2B’ was not declared in this scope
In file included from TVBGone.ino:50:0:
TVBGone.ino: In function ‘void sendAllCodes()’:
TVBGone:62: error: ‘Serial’ was not declared in this scope
main.h:36:37: note: in definition of macro ‘DEBUGP’
#define DEBUGP(x) if (DEBUG == 1) { x ; }
^
TVBGone.ino:328:12: note: in expansion of macro ‘putstring’
TVBGone:62: error: ‘Serial’ was not declared in this scope
main.h:36:37: note: in definition of macro ‘DEBUGP’
#define DEBUGP(x) if (DEBUG == 1) { x ; }
^
TVBGone.ino:342:12: note: in expansion of macro ‘putstring’
TVBGone:353: error: ‘OCR2A’ was not declared in this scope
TVBGone:354: error: ‘OCR2B’ was not declared in this scope
In file included from TVBGone.ino:50:0:
TVBGone:62: error: ‘Serial’ was not declared in this scope
main.h:36:37: note: in definition of macro ‘DEBUGP’
#define DEBUGP(x) if (DEBUG == 1) { x ; }
^
TVBGone.ino:359:12: note: in expansion of macro ‘putstring’
TVBGone:62: error: ‘Serial’ was not declared in this scope
main.h:36:37: note: in definition of macro ‘DEBUGP’
#define DEBUGP(x) if (DEBUG == 1) { x ; }
^
TVBGone.ino:363:5: note: in expansion of macro ‘putstring’
TVBGone:62: error: ‘Serial’ was not declared in this scope
main.h:36:37: note: in definition of macro ‘DEBUGP’
#define DEBUGP(x) if (DEBUG == 1) { x ; }
^
TVBGone.ino:372:12: note: in expansion of macro ‘putstring’
TVBGone:62: error: ‘Serial’ was not declared in this scope
main.h:36:37: note: in definition of macro ‘DEBUGP’
#define DEBUGP(x) if (DEBUG == 1) { x ; }
^
TVBGone.ino:381:12: note: in expansion of macro ‘putstring’
‘TCNT2’ was not declared in this scope

What type of Arduino do you have? What board do you have selected in the IDE?

I am using arduino as ISP, trying to upload to an attiny85.

TvBGone808:
I am using arduino as ISP, trying to upload to an attiny85.

Is that the chip that the code in question was written for? I see many errors that say it isn't. Those register names all look like they're for a atmega328 or similar.