Juan
Brazilian with a bad English
- 92
- Posts
- 17
- Years
- Age 34
- Pindamonhangaba - SP
- Seen Sep 21, 2016
How functions the special 0x187?
Try the simpe questions thread, or, if you have XSE, you can decompile the script in the game.Ok for days ive been trying to find out how to make a script so that when you first talk to oak he will let you chose the pokemon you want but I cant find out what I need to put in my script to make it work and I tryed looking at the normal one off the normal rom but I cant find it can anyone please help me and I know this isnt the right place to put this but I dont know anywhere else.
Theres many good tutorials in the Documents and Tutorials Forum. It depends on the script editor you are using but I always recommend thethethethe's Scripting Tutorial just because its got information on more commands than any other scripting tutorial.Can some give me a link or something to a good scripting tutorial. I realy want to make my own pokemon game but i know very little about scripting.
Thanks
Ok I got the script now but when I try using it it crashes the game here it is.
Spoiler:
#dynamic 0x800724
#org @start
lock
faceplayer
checkflag 0x2
if 0x1 goto 0x8169600
compare 0x4055 0x9
if 0x1 goto 0x8169903
compare 0x4055 0x8
if 0x1 goto 0x8169A6E
checkflag 0x82C
if 0x1 goto 0x81699CE
compare 0x4052 0x1
if 0x1 goto 0x8169903
compare 0x4055 0x6
if 0x1 goto 0x81698D6
compare 0x4057 0x1
if 0x4 goto 0x816961E
compare 0x4055 0x4
if 0x1 goto 0x8169614
compare 0x4055 0x3
if 0x1 goto 0x816960A
msgbox 0x818E116 '"OAK: Now, [player].\pInside those t..."
callstd 0x4
release
end
I just started a few days ago so I can bet I messed something up help is much appreciated.
I have finally hit a stump in my scripting prowess... I need help using a level script... is there a tutorial on how to use them? A special way to insert them? I can never get them to work... please help me! ^_^
Ahh, Thank you Mini_Mac...
One more question though... How can I edit the Boat in Fire Red? The cut-scene where you ride the boat to/from the SevII Islands... I want it to be different... any Idea how?
i guess i should use this thread...
here's a script im working on...
Spoiler:
#Dynamic 0x800000
#org @start
lock
faceplayer
checkflag 0x828
if b_true goto @done
Message @givepoke
boxset 6
closeonkeypress
givepokemon 0x4 0x5 0xD7 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
Message @receivepoke
boxset 6
closeonkeypress
fanfare 0x13E
waitfanfare
Message @pokeballs
boxset 6
closeonkeypress
applymovement 0x4 @exclamationmark
waitmovement 0
Message @whataboutme2
boxset 6
closeonkeypress
applymovement 0xFF @whataboutme
waitmovement 0
applymovement 0x4 @move
waitmovement 0
applymovement 0xFF @reface
waitmovement 0
Message @okokok
boxset 6
closeonkeypress
fanfare 0x13E
waitfanfare
Message @rivalreceive
boxset 6
closeonkeypress
applymovement 0x4 @battlestance1
waitmovement 0
applymovement 0xFF @battlestance2
waitmovement 0
call @trainer
applymovement 0x4 @reface
waitmovement 0
applymovement 0xFF @reface
waitmovement 0
Message @timetogo
boxset 6
closeonkeypress
playsong 0x13B 0x0
Message @rivalgo
boxset 6
closeonkeypress
applymovement 0x4 @runoutdoor
waitmovement 0
fadedefault
hidesprite 0x4
setflag 0x1001
setflag 0x828
release
end
#org @done
Message @alreadygave
boxset 6
closeonkeypress
release
end
#org @trainer
trainerbattle 0 0x05A 0x0 @battleme @oh
return
#org @givepoke
= Hello \v\h01, my name is Bard and\nI am the Pokémon Professor here.\pI have a Pokémon here for you.\nHere you go!
#org @receivepoke
= \v\h01 received the Charmander.\n... ... ...\pYou can nickname it later.\nI also have these for you.
#org @pokeballs
= \v\h01 received 10 Pokéballs to use\nlater.\pYou can use those to catch Pokémon!
#org @alreadygave
= I've already given you your Pokémon,\nnow get going \v\h01!
#org @whataboutme2
= Gareth: MY TURN!
#org @okokok
= Bard: Ok \v\h06, here you go.\nBe patient next time!
#org @rivalreceive
= Gareth received the Mudkip.\n... ... ...
#org @battleme
= \v\h01, battle me now!!
#org @oh
= Gareth: Darn, I lost...
#org @timetogo
= Well, it seems that it's time for\nyou to go. Your goal is to\pbecome the strongest trainers\never! I'm counting on you!
#org @rivalgo
= Gareth: I will be better than you\n \v\h01! It'll be easy! \pYou'll see!\nSmell ya later!
#org @exclamationmark
#raw 0x62
#raw 0xFE
#org @whataboutme
#raw 0x20
#raw 0x02
#raw 0xFE
#org @move
#raw 0x20
#raw 0x01
#raw 0xFE
#org @reface
#raw 0x01
#raw 0xFE
#org @battlestance1
#raw 0x03
#raw 0xFE
#org @battlestance2
#raw 0x02
#raw 0xFE
#org @runoutdoor
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0xFE
problem ive got is that after the trainerbattle nothing happens and i have to exit the building, come back in, and the script restarts but instead without trainerbattle and finishes normally.
can anyone help with this?
cheers