• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

RaiRai-kun's XSE Tutorial [Updated Big-Time!]

Status
Not open for further replies.
couldent..

As much as i tried i couldent understand, now i see that pokescript is easyer.
 
After events

I need the overworld sprite i talk to to dissapear after he gives me the pokemon and to never return, heres my script:

#Dynamic 0x812000

#org @start
lock
faceplayer
msgbox @text
boxset 0x6
checkflag 0x828
if 0x0 goto @give
if 0x1 goto @sry
release
end

#org @text
= Hey! sorry about this but i've got a \ntrain to catch i only\p stopped by to give you this!\nEnjoy!

#org @give
givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x828
msgbox @yay
boxset 0x6
release
end

#org @sry
msgbox @sorry
boxset 0x6
end

#org @yay
= You recieved Charmander!

#org @sorry
= I can't give you anymore.

It works perfectly i just need to know the command(s) to make sprites dissapear after events, ty.
 
That's a reasonable script for noobs, Seth. I might make good use of it.
But I still dunno how to write scripts to a ROM! I can't use the compiple button in any way!
 
Seth-kun said:
#dynamic 0xoffset

#org @start
lock
faceplayer
msgbox @yesno
boxset 0x5
if 0x1 goto @yes
if 0x0 goto @no
release
end

#org @yesno
= Yes or no?

#org @yes
= You pressed Yes!

#org @no
= You pressed No.

Bad, bad, bad... the msgbox will stay after the scripts ends for the rest of the game. this is how it should look like.

Code:
#dynamic 0xoffset

#org @start
lock
faceplayer
msgbox @yesno
callstd 0x5
if 0x1 goto @yes
if 0x1 goto @no
release
end

#org @yes
msgbox @yes2
callstd 0x6
release
end

#org @no
msgbox @no2
callstd 0x6
release
end

#org @yesno
= Yes or no?

#org @yes2
= You pressed Yes!

#org @no2
= You pressed No!
 
Last edited:
not sure if this is off topic but then again i'm not sure of anything but why do my scripts keep turning into weird symbold ¬¬ its kind of weird and thanks for the tut it was brilliant :D
 
yeah sorry about that i'm the sort who sees the rules that stick out like no less than 4 words :D
 
Hahah.... I'm Kind Of Lost...

Ah, Yo People. How are you guys?

Yeah, I have a question. A couple, actually.

One, I'm lost with something, you write @blah and yeah, nothing else. when I do this in XSE and try and compile it, it makes Offsets for them. Ah, do I change the @blah to the Offset it gives me? Leave it? Something else? Lend Binky a hand?

Two, (This may be caused from the lack of information in question One) I tried pretty much copying the code that was written for a Boolean Yes or No box, box comes up right, then, whether I press Yes or No, it just stands with the text box at the last lined written and i can walk around and the text box stays there... If you have No Idea what I'm talking about, thanks for trying...

Three, (Again may be because lack of knowledge) The give pokemon Script you wrote... ah... I tried that too and everything is fine except instead of saying the line of text I wrote after you get the pokemon, it just says a segment of what I put for, when you talk to him again... Again, if you have no idea what I'm babbling on about, never mind, just please answer my Firstt question.

Cheers

Binky
 
Two, (This may be caused from the lack of information in question One) I tried pretty much copying the code that was written for a Boolean Yes or No box, box comes up right, then, whether I press Yes or No, it just stands with the text box at the last lined written and i can walk around and the text box stays there... If you have No Idea what I'm talking about, thanks for trying...

It's because the Yes/No script in this tutorial is wrong.

Try this:
Code:
#dynamic 0xoffset

#org @start
lock
faceplayer
msgbox @yesno
callstd 0x5
if 0x1 goto @yes
msgbox @no
callstd 0x6
release
end

#org @yes
msgbox @yes2
callstd 0x6
release
end

#org @yesno
= Yes or no?

#org @yes2
= You pressed Yes!

#org @no
= You pressed No!
 
Hey, thanks man, you're a champion. One problem though... the script seems to be right except that whether you press yes or no, it comes up saying, "You Pressed No!" could you please check if you missed something or something? I'm still checking over mine again and again but it seems okay... Exactly the same as what you have there.

Cheers again

Binky
 
Try this:

Code:
#dynamic 0xoffset

#org @start
lock
faceplayer
msgbox @yesno
callstd 0x5
if 0x1 goto @yes
if 0x1 goto @no
release
end

#org @yes
msgbox @yes2
callstd 0x6
release
end

#org @no
msgbox @no2
callstd 0x6
release
end

#org @yesno
= Yes or no?

#org @yes2
= You pressed Yes!

#org @no2
= You pressed No!
 
i have the same problem as Oh Delilahno no matter if i chose yes or no it still says the i pressed no and iv tryed rearanging it a couple times but still nothing
heres my script


https://www.pokecommunity.com/members/64601
#dynamic 0x71AE89

#org @start
lock
faceplayer
message @yesno
boxset 0x5
if 0x1 goto @yes
if 0x0 goto @no
release
end

#org @yesno
= Yes or no?

#org @yes
lock
faceplayer
message @yes1
boxset 0x6
release
end

#org @yes1
= You pressed Yes!

#org @no
lock
faceplayer
message @no1
boxset 0x6
release
end

#org @no1
= You pressed No!



as im a newbi at this any help would be good
 
i have the same problem as Oh Delilahno no matter if i chose yes or no it still says the i pressed no and iv tryed rearanging it a couple times but still nothing
heres my script



#dynamic 0x71AE89

#org @start
lock
faceplayer
message @yesno
boxset 0x5
if 0x1 goto @yes
if 0x0 goto @no
release
end

#org @yesno
= Yes or no?

#org @yes
lock
faceplayer
message @yes1
boxset 0x6
release
end

#org @yes1
= You pressed Yes!

#org @no
lock
faceplayer
message @no1
boxset 0x6
release
end

#org @no1
= You pressed No!



as im a newbi at this any help would be good

What Mardista's post above yours said is what you should go by, Seth's is wrong.
 
So, I'm altering some things in the beginning.
Where you start, there's a guy standing at the only way out of the room you're in, so of course, you'd talk to him.
He's supposed to say something, give you a Pokemon, start walking away, face the player, say something AGAIN, then keep walking away.
Following this tutorial, this is what I made...

I edited my post, because I noticed some things I did wrong, now I have this, but it wont let me compile it, and keeps saying something about Line 16, which is the givepokemon line:


#dynamic 0x71AA88

#org @start
lock
faceplayer
msgbox @intro
boxset 0x6
checkflag 0x828
if 0x0 goto @Dratini
if 0x1 goto @Penis

#org @intro
= I bet you don't know why you're\ndown here. But I can't explain at this time.\pHere, take this for now.

#org @Dratini
givepokemon 0x147 0x5 0x0 0x0 0x0
fanfare 0x13E
setflag 0x828
msgbox @recieve
boxset 0x6
applymovement 0xFF @walkaway
waitmovement 0x0
msgbox @outro
boxset 0x6
applymovement 0xFF @byebye
waitmovement 0x0
release
end

#org @recieve
= You recieved a Dratini!
#org @walkaway
#raw 0x13 0xFE
#raw 0x10 0xFE
#raw 0x02 0xFE
#org @outro
= Please take care of Dratini...
#org @byebye
#raw 0x10 0xFE
#raw 0x10 0xFE
#raw 0x10 0xFE
#raw 0x10 0xFE

#org @Penis
msgbox @goaway
boxset 0x6
end

#org @goaway
= How is this possible!?
 
Last edited:
Status
Not open for further replies.
Back
Top