- 7
- Posts
- 12
- Years
- Seen Feb 15, 2021
You use the warp command. Simple as that.
Thanks for that. How exactly does the warp command work in scripting?
You use the warp command. Simple as that.
Thanks for that. How exactly does the warp command work in scripting?
You use the warp command. Simple as that.
Thanks for that. How exactly does the warp command work in scripting?
Check out this tutorial, you should find the warp command in it:
https://www.pokecommunity.com/threads/164276
Originally posted by tamsheel
I was facing with the same problem. What i did was-
1.write any script and assign in your game,i used pksvui.
2.note the offset and give to your ow character as usual,using a-map,and save.
3.now in A-map,you must have had pksvui selected as script editor in tools tab.
4.now click on the character and click open script.
5.the script will be open in pksvui,the script maybe
Good as you have written,or may have became corrupted with lots of unwanted lines added.dont worry.Ignore...
6.just cop everything and delete it,BUT DONT DELETE THE FIRST LINE,THAT IS THE OFFSET.
7.Now,open up your own script,you intend to write in your game.select all and copy,just leaving the first line,ie. The offset.
8. paste it in the pksvui window,in step 6.
9.now use the compile button on type and save.
10. Close this script window.
11. Now again check the ow character,you have just inserted the script.
12. If it has done,good, if not again repeat the process a few time.
I have done the same,and even inserted over 100 scripts in pokemon platinum to add several more legendry pokemon events,and others to further make it more better.
'---------------
#org 0x71AC40
#raw 0x2
#raw pointer 0x871AC12
#raw 0x0
'---------------
#org 0x71AC12
#raw word 0x300
#raw word 0x0
#raw pointer 0x8800600
#raw word 0x0
'---------------
#org 0x800600
hidesprite 0x1
setflag 0x300
end
Ok, I'm trying to get a sprite hidden in a map untill I need it (stepping on a script tile). I tried to make it work in a level script, but it's still there. How do I fix this?
Code:'--------------- #org 0x71AC40 #raw 0x2 #raw pointer 0x871AC12 #raw 0x0 '--------------- #org 0x71AC12 #raw word 0x300 #raw word 0x0 #raw pointer 0x8800600 #raw word 0x0 '--------------- #org 0x800600 hidesprite 0x1 setflag 0x300 end
Is this script a level script or a script box?
Levelscript. Need a sprite too dissapear.
What is the basic skeleton for an obtain pokemon script? You know, the basic pointers and such if, say, you were already carrying 6 pokemon and received this seventh.
I tried looking at the actual thing on a clean ROM, but it was soo big with flags being set everywhere and variables being changed every second. I know you guys probably have this easy method of doing it (including the "Bill/Someone's PC", party being full, and switching boxes, and that type of stuff) and I'd like to know as well so I'm not putting a bunch of other unneeded variable changes into my script.
Hello there!
I am working on my first hack, so please don't be to hard on me for asking such noob questions- I know this is basic stuff, but I could really use the help of experienced hackers.
Now, I know how to do most of what I need to do, what I need help with, are the movement scripts (or at least I think that's what they're called). Basically, I need to know how to get sprites to lead you (like when oak leads you to the lab), follow you (like the pikachu sprite in pokemon yellow, but a human sprite instead), and how to get events to start (like in fire red when you approach the League and Gary intercepts you, initiating a battle).
I ave no idea where to find the codes for these movements, or where to place them in the script. Every tutorial I find isn't mapped out for a beginner like myself, so if anyone can shed some light on how to do this, it would be much appreciated!