Console error brings up "undefined is not a function"

The following notetag code I'm using to ATTEMPT at counting my Emergency Tactics state is throwing an error to the console saying "undefined is not a function".

Notetag:
<Post-Damage Eval>
if (a.isStateAfffected(25)){
value = this.isHpEffect();
if (value < 0){
b.gainHp(value * 2);
}
}
</Post-Damage Eval>

Console:
Untitled.png

Plugins:
Plugins 1.png
Plugins 2.png
Plugins 3.png
Any ideas on this?
isStateAfffected

aFFFected.

3 Fs.

for Fail.
Wow, I don't know how I didn't notice that.

Original thread: https://forums.rpgmakerweb.com/threads/console-error-brings-up-undefined-is-not-a-function.95785/