ok so i've been scripting for about 10 days (literally) and i've come up with a few questions i just can't figure out. so i thought i'll ask them here and hopefully get some answers!
A) what does altering the var number on tile scripts do? (the ones you walk on)
B) my givepokemon scripts won't work and i don't know why [not asking for one] here mine is
msgbox @talk 0x6
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
= here, take this
[neither will my give item scripts, but my additem ones do.]
when doing flags, my events happen again if i go through a warp and then come back.
i assume it has something to do with the 0x828 flag. but i don't know what that even means!
anyway any help is appreciated!
okay me again.
i tryed makign a script (complicated for me).
it's ment to: talk to them, ask a yes/no question. yes goes to a fight and then they move. no ends the script.
problems: atm i doesn't work at all, i think LASTRESULT isn't even a command.?????
anyways here the script. appreciate it if you could point out what's wrong and how i can fix it? thanks.
if 0x1 goto @done
msgbox @talk1 0x6
message @talk2 0x5
if 0x1 goto @fight
else goto @no
msgbox @talk3 0x6
= Hello there, i am stood here\nrecruiting for the new breeders\lguild that is opening.\pTo join you must prove your woth as\na POKEMON trainer and beat me in a\lshort battle.
= Do you wish to join?
= You may continue down this road,\nthen speak to my partner.
= Go on, just down the road.
trainerbattle 0x0 0x02 0x0 @challenge @defeat
applymovement 0x4 @move
msgbox @talk4 0x6
= Are you ready?
= This was good, and you have\ndisplayed your worth as a trainer.\pI'm sure you'll be an asset to the\nguild.