Hi, welcome to the Rom Hacking community, I'm a new greenhorn like yourself here but I do have some knowledge :)
First of all, whenever you're sharing a script, make sure for the comfort of everyone to share it uncompiled, which means with the pointers instead of the offsets.
An example of an uncompiled script vs a compiled one.
In general, uncompiled scripts are much easier to work with, so make sure you're keeping your scripts saved uncompiled in a folder (I have like >50)
Also, please keep scripts in spoilers so nobody has to scroll down walls of texts.
I'm going to assume you're using XSE, and start helping out (hopefully)
Here's your script, which I uncompiled to make it easier to work with
Alright, so first, in @warp, you forgot a waitmovement 0x0 command after the applymovement 0x4 @move2 command, so that's something needs to get fixed.
Also, I'd change the flag you're using to be a different one, personally, I don't like using "big" flags, and some flags reset once you leave the room. Worth having that checked out.
The second problem you may have is that you're using a wrong event number.
In advanced map, click the person you want to move.
In the applymovement command, the "people # to use" is the person's event number (see picture).
imgur.com/a/KR0RW
Make sure that's the number you have in the command, e.g in the picture the person event number is 1 so I'd put applymovement 0x1 if I wanted to move it.
Also remember that if you have an event number that's 10 or bigger you need to translate it to hex, XSE has a built in feature for this.
For example - moving the person who's event number is 11 in advanced map:
applymovement 0xB @pointer
waitmovement 0x0
In case my help wasn't good enough please check out deigoisawesome's huge scripting tutorial.
That's where I got about 80% of my knowledge in scripting and probably 100% of my early knowledge in scripting.
Good luck. -Blade