PKSV - Pokémon Script Editor + GUI
View Single Post
July 8th, 2010 (12:11 PM). Edited July 8th, 2010 by xxerox9009.
Quote originally posted by
Well it didn't work.....Could you try it and send me or tell me what you did?
Oh yes, and I can't make a trainer battle script.(How embarassing)It enters the battle but then he fights with a ?, how do i make him use a pokemon?
View original post
Okay, I'll see how your script turns out on my computer.
When you make a trainer battle script, if you use the Script Generator built into PKSV, find the 3 letter/digit offset of the trainer you want to battle using PET, Advance Trainer or an equivalent. Then type that in with a 0x before it. It should should work.
If you did do this, then a possible problem occuring could be the trainer. Choose a different trainer with PET or Advance Trainer or maybe just edit that trainers Pokemon. And if it is a fire red or leaf green rom, then dont choose the first trainers that appear (with offsets like 001) because they don't work. Wait until you get to the offset of about 800 (or at least where the trainers have names).
Inferno7453, I think this version of your script may work better.
msgbox @text ' Hey, you, want some POKéMON?
if 0x1 jump :end
compare LASTRESULT 6
if == jump @noroom
addpokemon SNEASEL 5 = 5 NONE 0 0 0
storepokemon 0 SNEASEL
= Hey, you, want some POKéMON?
= You don't have enough room in your party.
= You got a \v\h02!
I took your first @start and put it with your second. If you make a new #org, make sure it has a different name than the first. You don't have to have a second #dyn either, you only need it at the top. Also, your script wouldn't have gone to the second @start without a 'jump' script. e.g.
if true jump @second
in that case if a script had a setflag 0x1400 in it, that would jump to a second part that starts with a #org @second.
I hope this helps!
Joined Jan 2010
View Public Profile
Send a private message to xxerox9009
Find all posts by xxerox9009
Find threads started by xxerox9009
Ignore Posts by xxerox9009