Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
That kind of command probably only works with a type 02 level script, as that is most similar to an event script.
If you want to know how the different types of (level) scripts work, check out Anthroyd's Gen III ROM Hacking tutorials on Youtube, specifically the one about instant script activation. Although you can probably only fully understand that one if you also take the tutorials prior to that.