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.
There might be something wrong with the scripts you're using, either that or your ROM is corrupted... Else I'm not sure right now, could I see one of the scripts you use?
Hey.
Looking at what you have said here, I think I know your problem. It used to happen to me. When you compile the script, do not press copy and then paste it in, type it in manually using the code given. I know it sounds quite silly but it happened to me when I first started, for some reason...
If that is the problem then I am afraid that the script is not the problem, although there were a few problems with it anyway. The problem must lie with XSE as I am sure that it lets you compile the script even with script errors, it just notifies you that there is an error. I suggest just...
I kept the check flag part of the script in because I figured that this script may be part of another one. So something happens in another script and then it sets a flag, which he is using in this one (probably to make the script only run at a certain part of the game).
But as for the wait...
Okay, I've rewritten your script to the way I would do it and fixed all of the problems; this script should compile (I'd try myself but I'm getting ready to go to college):
#dynamic 0x800000
#org @start
Lock
checkflag 0x7492
if 1 goto @true
msgbox @door 0x6
applymovement 0xFF @move
release
end...
There is no other problem with your script, the script I made compiled perfectly for me, try copying it and adding that extra parameter and see if it works?
The only other problem I can think of is that sometimes with mine, the text doesn't work when compiling even though there is nothing wrong...
There is too many parameters on line 9, otherwise the script is fine (unless that is the wrong ID of the player on line 11, but I assume you're correct). This would be the complete correct code:
#dynamic 0x800000
#org @start
lock
faceplayer
cry 0x185 0x0
msgbox @roar 0x6
waitcry
wildbattle 0xB9...
Could someone please tell me what is wrong with this script?
It sounds so stupid considering how non-complex the script actually is but for some reason whenever i run my script, it works completely but freezes the game as it ends.
this happens with all of my scripts that i try to use...