Script Help Thread (DO NOT REQUEST SCRIPTS)
View Single Post
March 5th, 2013, 09:13 PM
Hi I'm dawg
Join Date: Apr 2012
Originally Posted by
I have 2 questions to ask TPC.
Problem numbers one: I created a level script. Yes I did it the proper way by getting the map offset and such. It is an  level script where you walk into the room for the first time and the mom gives you your shoes. It works perfectly fine but everytime I enter the room, the script activates again. I have the right variable under the flags section. Anyone know what the problem might be? Here is the script for you to look at.
applymovement 0x1 @Move1
msgbox @Talk1 MSG_KEEPOPEN
applymovement 0x1 @Move2
msgbox @Talk2 MSG_KEEPOPEN
msgbox @shoe 0x6
msgbox @yay 0x6
applymovement 0x1 @Move3
setvar 0x4000 0x1
= Hey! \v\h01!
= [Player], received RUNNING SHOES!
= Hold the B button to run!\nDon't run indoors!\pYou can use these to get around\nfaster!\pPROFESSOR OAK is waiting for you!\nGo see him at his lab!
= Your dad has still not come home\nyet ...\pI'm sure he will be home soon!\pPROFESSOR OAK told me you are\nstarting your POKéMON adventure\ltoday! I think you will need these!
Note I created another level script the same way and that one works perfectly fine, it's just this one that keeps repeating.
Problem numbers two: I wrote a script where you pick up a pokeball containing a Pokemon (It's a long script) and the Pokeball is gone (which is suppose to happen) but when you leave the room and come back, the Pokeball reappears. I don't know what I am doing wrong! I these comands
and I also made the person ID 7. That should work, shouldn't it?
Please PC help me!
Change the var you are using, you can't use 0x4000 for your level scripts since it reactivates every time you leave the map or something like that.
Try changing it to 0x4010 or some other var.
Pixel Art Gallery
Also Known As:
Val Rique Tajaros
View Public Profile
Send a private message to tajaros
Find all posts by tajaros
Find threads started by tajaros