hey how do i make this script work?
#Dynamic 0xoffset
#org @start
lock
faceplayer
checkflag 0x828
if 0x1 goto @sry
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x828
msgbox @yay 0x6
release
end
#org @sry
msgbox @sorry 0x6
end
#org @yay
= You got Bulbasaur!
#org @sorry
= I can't give you anymore.
i put it in and when i go to talk to the person i click "a" and they don't say anything?A few things, first off, I hope you know that "offset" is actually going to be a number, like 0x800000...
2nd;
checkflag 0x828
if 0x0 goto @give
if 0x1 goto @sry
is incorrect, you only need to define one of the 2, so I'll modify your script a little... Edits will be in the quote, in BOLD RED. (EXCEPT for things I remove, since I can't highlight stuff that isn't there.)
The only other thing wrong is the "boxset" command isn't used anymore, and is now a part of msgbox, so if you use boxset 0x6, now just add an 0x6 after the message's pointer...
Try the script out now...
(ALSO, if you don't know how to insert a script, read a tutorial, or Press F2 in XSE...)
Toon Link said:What is the script to set the national pokedex in emerald?
Actually, I'm sure you mean octal.Octadecimal (OCT, not used in ROM hacking...) 7
Actually, I'm sure you mean octal.
Octadecimal goes from 0 to H, and is pretty illogical to use when programming. Almost as illogical as using decimal. ;)
1. For the trainer battle, how do you change the pokemon the trainer is battling with? Does it depend on what trainer ID you're using?
2. How do you change what Prof. Oak would say OUTSIDE and INSIDE the lab?
I'm using the latest XSE, 1.1.1. At the top of the thread, it says to update to the latest version.Is he using XSE 1.0.0 or 1.1.1?? sorry im new here XD