That's because it HAS to be hardcoded, by definition. The GBA does nothing without code, and having a sprite "follow" you is among the more difficult things to achieve in ASM.
However, writing a new engine from scratch actually makes it relatively simple to achieve.
Anyway, technically, everything is hardcoded into the GBA games. Scripts are just combinations of pre-set pieces of code, after all.