It's written in dialect. It sounds like it could be in backwoods America but the author was British so I'm at loss. In any case I wouldn't recommend trying to emulate the dialog in this story, it's decidedly non-standard.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.