LOL, I'm a moron I had a spoiler window opened in the middle of your script and I copied just a tiny part of it. hahaha It works now but starts with 1B 49, not 17 49.
I'm sorry for wasting your time and my clumsiness.
It still don't do anything. I also tried your original FireRed routines (including your correction earlier) on MrDollSteak's rombase. But, they do not do anything as well. I went back checking what have I done and I really did it correctly. I dunno what's wrong then. :/
Hm, so I just got done implementing this and it freezes after the Burn or Poison animation plays (when the flame appears / the holder shivers purple). The string doesn't show, nor does the PSN / BRN icons, either.
Any idea why that might be happening? It's clearly partially working as it manages to differentiate between the Toxic and Flame Orbs and display the appropriate animation, and I've checked my implementation and nothing seems obviously to be wrong.