Showing Visitor Messages 631 to 645 of 656
-
June 24th, 2011 1:14 AMWinter Wonderland5:13 AM here.
Having trouble with History? Maybe I could help? -
June 24th, 2011 1:13 AMcountryemoI'm good 2:13am
Was gonna try to pass history, its no use. -
June 24th, 2011 12:55 AMWinter WonderlandI wasn't requesting any to begin with. :) How're you?
-
June 24th, 2011 12:47 AMcountryemoHaha
Travis
You aint getting no more :) -
June 24th, 2011 12:43 AMWinter WonderlandHello, -insert your full name here-.
-
June 24th, 2011 12:40 AMcountryemoHello Winter Sophia Kelly
-
June 21st, 2011 12:50 AMWinter WonderlandAlright, let me see how I can do this.. I'll show you using the script I used for my little project to get the starter.
Spoiler:
#dynamic 0x800000 (That's the offset. You know that.)
#org @start (Starting the main piece of the script)
checkflag 0x828 (Checking to see if you've set that flag. In this case, if you've had a Pokemon before)
if 0x1 goto @done ( = If you've set this flag, continue the script from @done)
showpokepic 0x9E 0x0A 0x03 (This will show you the picture of the Pokemon. It goes in order from Pokemon - X Coord - Y coord. 0x9E = Totodile; 0x0A 0x03 = Center of the screen)
msgbox @1 0x5
compare LASTRESULT 0x1 (This is used to see if you've done this before and it compares your previous answer to this. All 0x5 messages need this)
if 0x1 goto @take (0x1, like I said, basically means YES. So, if you say yes, it'll pick up the script from @take)
hidepokepic (Just what it says. Hides the pokemon picture of the totodile.)
msgbox @2 0x6 (If you say no, it'll go to that message)
release
end
#org @take
givepokemon 0x9E 0xA 0x0 0x0 0x0 0x0 (Gives a pokemon (Pokemon, level, item, filler, filler) All numbers are in hexidecimal. In XSE, you have a little calculator type thing that converts Decimal(DEC) to hexidecimal(Hex)
fanfare 0x13E (Plays the song that plays when you receive and item or Pokemon)
msgbox @3 0x4
hidesprite 0x800F (Hidesprite 0x800F will hide the sprite you last talked to. This is used on a person event. To hide the person on a script, you'd have to do hidesprite 0xpeoplenumber, or 0x03 to hide people number 3)
waitfanfare (Waits for the song to end)
closeonkeypress (This is used for all the 0x4 message boxes. It closes the text box whenever you press a button)
hidepokepic (same as before)
setflag 0x828 (activates the Pokemon menu)
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name (Jumps to that script. Gosub goes to that part of the script, then jumps back to this part whenever the return command is used)
msgbox @5 0x6
release
end
#org @name
call 0x1A74EB (This is used to give a Pokemon a nickname. Call basically just calls an action within a ROM)
return (Jumps back to the script just like I said I would. :))
#org @done (If you've already gotten the Pokemon, it just end the script)
release
end
(then you've got all your strings of text)
#org @1
= Will you take this Totodile?
#org @2
= Please decide when you want it.
#org @3
= [black_fr]You received a Totodile!
#org @4
= [black_fr]Would you like to give a\nnickname to Totodile?
#org @5
= Ah, very good then! Please come\nhere.
Did this help you any? If not, I'll try to re-explain it. :) -
June 21st, 2011 12:23 AMcountryemoWell I guess one problem I have is like,
say you want a give pokemon, yes/no, message, and flag script but all in one
tl;dr I dont really know how to 'mix' scripts -
June 20th, 2011 11:01 PMWinter WonderlandWell, what's something you didn't understand? Like, where did it stop clicking in your head?
-
June 20th, 2011 5:48 PMcountryemoWell my teacher (very on/off) taught me the basics <messages>,and <flags> I tried looking into that more. Well I just kinda got tired of it and gave up (teacher was off)
-
June 20th, 2011 3:26 PMWinter WonderlandWhere did you stop understanding scripting?
-
June 20th, 2011 3:25 PMcountryemoWell then, I guess what can you teach? :)
-
June 20th, 2011 3:10 PMWinter WonderlandMhmm! :D
-
June 20th, 2011 3:09 PMcountryemoHaha cool. :P
-
June 20th, 2011 3:07 PMWinter WonderlandYeah. He called me and told me to come over. And he asked me to figure it out for him. So I did and explained it to him. :D

