You should definitely follow some basic tutorials and come back to this once you can write basic routines that are called from scripts. This is quite a complex multi-routine hack that modifies the inner workings on the engine and is definitely not something I'd expect a beginner to be able to even understand - let alone modify. I'm willing to help you with any questions you have, should you decide to learn.
Reading a flag requires that you call a function - that is something which you shouldn't attempt until you have a thorough understanding of the basics. How much ASM have you written?
So im going to try it with the flag check. Would I put ex. @mov r0, #0x[flag/4] in the main: of the warp.s script or is there another thing I have to do with that.
Ya you're right but I might have a sollution. A flag check at the beginning of the warp.s script. So you can have no one follow you at the beginning of the game and then have a script so that NPC can follow while setting that flag, so they can follow you everywhere. Would that work.
There's absolutely nothing you can do about that short of writing more ASM. This isn't in any sense complete - the warp.s code has to be completed to get rid of bugs. People just haven't wanted to contribute. At the moment this is only suitable for something like GoGo did in Platinum Red. If you feel up to it, reporting issues like this on GitHub would be great.
OK but when you warp to somewhere else the NPC doesn't follow you. So is there a script that can do that or do I have to insert the warp.s and try to go around the random NPC sprite at the beginning of the game.
Oh I keep forgetting about this error - I don't use Windows so I tend to forget how it works. Download yourself a copy of "HackMew's assembler" (check FBI's ASM tut) copy the 'as' and 'objcopy' files into the same directory as this assemble.py and change (again -_-) those lines 9 and 10 to AS = 'as' and OBJCOPY = 'objcopy' respectively.