So I just solved the problem, it's this line:

Code:
'********************************************************************************************************
'
'
'Configuration Bit Definitions
@ __config _CONFIG1, _INTRC_IO	'sets the INTRC-OSC2 as RA6
'
'
'********************************************************************************************************
This of course brings up new problems, I'm not 100% sure what this line does, but now I've gotta try to figure that out.