496D2059756E67686F7665
Banned
- 2
- Posts
- 15
- Years
- Seen Jan 25, 2009
Code:
#org $start
lock
checkflag 0x1000
if 0x1 goto $end
message $where
boxset 6
setflag 0x1000
release
end
#org $where
$where = Where...\pWhere am I...?
#org $end
release
end
#org $start
lock
checkflag 0x1000
if 0x1 goto $end
message $where
boxset 6
setflag 0x1000
release
end
#org $where
$where = Where...\pWhere am I...?
#org $end
release
end
You posted a PoketScript script. It clearly says (in my post) I'm using XSE. Anyway, how the hell is that suppose to help me?Code:#org $start lock checkflag 0x1000 if 0x1 goto $end message $where boxset 6 setflag 0x1000 release end #org $where $where = Where...\pWhere am I...? #org $end release end
Umm, if you use your brain, wonderful things happen. XSE and Pokescript vary only a small bit. He was trying to help, quit being a dick, please.You posted a PoketScript script. It clearly says (in my post) I'm using XSE. Anyway, how the hell is that suppose to help me?
#org @start
lock
checkflag 0x1000
if 0x1 goto @end
message @where 0x6
setflag 0x1000
release
end
#org @where
= Where...\pWhere am I...?
#org @end
release
end
once again i have another script
(im a bad scripter xD)
Code:#dynamic 0x26D9C0 #org @start lock faceplayer msgbox @hello boxset 0x6 msgbox @go boxset 0x5 [B]compare 0x800D 0x1[/B] or [B]compare LASTRESULT 1[/B] if 0x[B]0[/B] goto @end [B]message @go2 0x6[/B] applymovement 0x10 @move2 applymovement 0xFF @move3 applymovement 0xFF @move waitmovement 0x0 fadescreen 0x0 warp 0x3 0x1 0x0 0x23 0x11 release end #org @hello = Hello [PLAYER].\nThis [blue_fr]UNDERWATER TUNNEL[black_fr]Leads To\lThe Underwater Haven of\l[blue_fr]OCEANIA CITY.\l #org @go = [PLAYER], Would You Like To Vist\n[blue_fr]OCEANIA CITY[black_fr] via [blue_fr]UNDERWATER\lTUNNEL? #org @move2 #raw 0x0C 0x0E 0x02 0xFE #org @move3 #raw 0x1D 0xFE #org @go2 = Okay!\nTake This [blue_fr]DIVING GEAR[black_fr]and..\lDIVE! #org @move #raw 0x66 0x1E 0x15 0x60 0xFE #org @end release end
Problem: Once It Reaches The boxset 0x5
if 0x0 goto @go2
if 0x1 goto @end
it just stops when you press yes or no
(and btw which is which; is 0x0 yes and 0x1 no?)
it's possible, of course... you have to create a Rival's sprite in A.Map in a place that you want. Then, you set Its peopleID to a value between 2000-3000. Make a script somewhere in the game BEFORE you can enter the first time in OAK's Lab (Ex. in your room, a script next to the stairs) that set this id:Hi, i'm really new to scripting. Had a quick look through this thread and read a couple of XSE tutorials.
But couldn't find out what i want.
I want to know if its possible in firered to make the RIVAL appear from nowhere.
So once OAK takes you into the lab and you approach him, the RIVAL appears.
any form of help is appreciated. thank you
#dynamic 0x2ECA30
#org @start
lock
faceplayer
checkflag 0x2030
if 0x1 goto @emit
setflag 0x2030
msgbox @emit 0x6
cry 0x26 0x0
wildbattle 0x26 0x23 0xD7
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
release
end
#org @emit
= A [red_fr]Fierce Fiery[black_fr] Power Emits\nFrom This Stone..
Well, seeing how it's a level script, you probably didn't insert it correctly. Don't ask me to explain it. Cooley wrote a tutorial on it so look it up.Base: FireRed
Script compiler: XSE
Type: Levelscript..
Problem: This script dont start.. Why?
Spoiler:#dynamic 0x800000
#org @start
checkflag 0x828
lockall
givepokemon 0x29 0x5 0x0 0x0 0x0 0x0
applymovement 0xFF @gotonurse
waitmovement 0x0
msgbox @howmaywehelpyou 0x2
msgbox @haveyougot 0x2
msgbox @didyou 0x2
msgbox @yes 0x2
msgbox @wehave 0x2
fanfare 0x13E
msgbox @recieved 0x4
waitfanfare
closeonkeypress
showpokepic 0x020 0xA 0x3
msgbox @infomation 0x2
hidepokepic
msgbox @thanks 0x2
setflag 0x828
setvar 7000 0x2
releaseall
end
#org @gotonurse
#raw 0x11 0x11 0x11 0x11 0xFE
#org @howmaywehelpyou
= [red_fr]Nurse Joy: Hello. welcome to\nthe Revior town Pokémon Center.\lHow may I serve you?
#org @haveyougot
= [green_fr][player]: Errm yea. I was wandering\nif there were anymore Pokémon up\lfor grabs. And im sorry for\lcoming so late..
#org @didyou
= [green_fr][player]: Also.. Did you see a boy\nnamed [player], he was supposed to\lcome with me..
#org @yes
= [red_fr]Nurse Joy: Yes I did. He\ncame over Half an hour\lago.. [green_fr][player]: I knew it.. Its my\lfault for being so late..
#org @wehave
= [red_fr]Nurse Joy: Well its your\nluckey day, a Nidoran has just\lrecovered from a Fatal injory..\lAnd by the looks of you.. I\lthink you'd be the perfect\lperson for it. Here you go!
#org @infomation
= [red_fr]Nurse Joy: I have\nsome infomation about nidoran;\lIts a POISON type.\lAnymore infomation will be\lobtained through a Pokédex..\lWhich is somthing I can supply\lyou with..
#org @thanks
= [red_fr][green_fr]: Ohh thanks Nurse joy.\nI hope to see you again.\lPerhaps when I need to heal my\lpokemon? Bye!
#org @recieved
= [black_fr][player] Received [green_fr]NIDORAN.
changes are in bold... I think you went wrong with fadescreen, so I corrected itomfg sorry i have another script
Problem: The Script Doesn't StartCode:#dynamic 0x2ECA30 #org @start lock faceplayer checkflag 0x2030 if 0x1 goto @emit setflag 0x2030 msgbox @msg 0x6 cry 0x26 0x0 wildbattle 0x26 0x23 0xD7 fadescreen [B]0x0[/B] fadescreen [B]0x1[/B] hidesprite 0x800F release end [B] #org @emit msgbox @msg 6 release end #org @msg[/B] = A [red_fr]Fierce Fiery[black_fr] Power Emits\nFrom This Stone..
any ideas
The checkflag construct is simply:i looked through all the tutorials and understood th gist of it and was wonder if anyone could help me wit flags. i want to know how to make a flag in your room and then when your about to go down the stairs it says "[player], are you finished packing? [rival] was here an hour ago and left because you were still sleeping." i have the script but when i use the check flag and go to the stairs the game messes up. can somebody help?
#dynamic 0x2D511B
#org @start
checkflag 0x1555
if 0x1 goto @end
msgbox @havarna 0x6
msgbox @ticket 0x6
msgbox @737 0x6
fanfare 0x13E
waitfanfare
setflag 0x1555
special 0x17B
warp 0x3 0x58 0x1 0x10 0x18
release
end
#org @move
#raw 0x01 0xFE
#org @havarna
= Your Going To HAVARNA ACADEMY?\nOkay! Good Luck [PLAYER] !\l
#org @ticket
= I Almost Forgot [Player]!\lThe Last SHUTTLE Left.\lYou'll Have To Wait.\l
#org @737
= [red_fr]................................\n................................\lHAVARNA SHUTTLE 737 DOCKED.\l
#org @end
release
end
At the end of your movements, you need a "#raw 0xFE" to tell the script that that's the last movement. For example, your movements should be:heres an event tile script on fire red,with xse
Spoiler:#dynamic 0x80012A
#org @start
checkflag 0x300
if 0x1 goto @done
textcolor 0x01
applymovement 0x01 @move
waitmovement 0x0
msgbox @talk 0x2
applymovement 0x01 @move1
setflag 0x300
release
end
#org @done
release
end
#org @move
#raw 0x13
#raw 0x13
#raw 0x01
#org @move1
#raw 0x12
#raw 0x12
#org @talk
= Oh, \v\h01! Our neighbor, PROF.ELM,\nwas looking for you.\pHe said he wanted you to do some-\nthing for him.\pOh, and remember that your cell\n phone is in your pocket.
i step on the tile and the sprite does both movements right away then my sprite freezes.
whats wrong with it?
#org @move
#raw 0x13
#raw 0x13
#raw 0x01
[B]#raw 0xFE[/B]
#org @move1
#raw 0x12
#raw 0x12
[B]#raw 0xFE[/B]
Not only that, it also needs a waitmovement 0 after the last applymovement.At the end of your movements, you need a "#raw 0xFE" to tell the script that that's the last movement. For example, your movements should be:
Code:#org @move #raw 0x13 #raw 0x13 #raw 0x01 [B]#raw 0xFE[/B] #org @move1 #raw 0x12 #raw 0x12 [B]#raw 0xFE[/B]
uggh sorry im suck a bad scripter
Problem: When it gets to the warp it warps to the wrong placeCode:#dynamic 0x2D511B #org @start checkflag 0x1555 if 0x1 goto @end msgbox @havarna 0x6 msgbox @ticket 0x6 msgbox @737 0x6 fanfare 0x13E waitfanfare setflag 0x1555 special 0x17B warp 0x3 0x58 0x1 0x10 0x18 release end #org @move #raw 0x01 0xFE #org @havarna = Your Going To HAVARNA ACADEMY?\nOkay! Good Luck [PLAYER] !\l #org @ticket = I Almost Forgot [Player]!\lThe Last SHUTTLE Left.\lYou'll Have To Wait.\l #org @737 = [red_fr]................................\n................................\lHAVARNA SHUTTLE 737 DOCKED.\l #org @end release end
any ideas?