- 47
- Posts
- 17
- Years
- A gerbil cage
- Seen Jan 24, 2009
You have a random item thing, like the Poke Balls you find on routes?
#ORG $begin
lock
faceplayer
checkflag 0x200
if B_true goto $done
message $aidtalk
boxset 6
giveitem 0xD
setflag 0x200
release
end
#org $done
message $aidtalk2
boxset 6
release
end
#org $aidtalk
$aidtalk 1 = Oh, hello \v\h01.\pHere, take this potion!
#org $aidtalk2
$aidtalk2 1 = Hello.
Alright now...
I'm testing one of the scripts you posted, Follump. Everytime I finish compiling it do I just get the last set of offset numbers? And if so then I must be doing something wrong because the screen goes red...
Here is the script:
#org $StartWild
lock
faceplayer
cry 146
message $moltCry
moltcry 1 = Gyaoo!
boxset 6
checkflag 0x808
if 0x1 goto $WildBatt
release
end
org $Wildbatt
lock
wildbattle 146 50 2
release
setflag 0x500
fadescreen 0
end
#ORG $ShowText
Lock
Faceplayer
message $car
$car 1 = This is the Cable Car!\lWant to go up?
boxset 5
compare LASTRESUILT B_TRUE
if B_False goto $DontGo
special 0x98
warp 0x02 0x06 0x02
goto $endme
$DontGo
message $ok
$ok 1 = Okay. Bye Then!
boxset 6
$endme
release
end
My text is german, but thats equal ^^".#ORG $begin
lock
checkflag 0x200
applymovement 0x07 $aidwalk1
pause 0x20
message $aidtalk
boxset 6
release
end
#ORG $aidwalk1
$aidwalk1 1 ; #binary 0x52 0x4A 0xFE
#ORG $aidtalk
$aidtalk 1 = Puh, \v\h01.\pdu hast mich erschrekt!
The Game Freezed if i talk to the person...
And i dont know why T__T .
Uh... I have another question... How do I assign scripts to someone? Like let's say I want to change someone's script all the way in the E4, and yet I have done no scripting proor to that, and I'm using Advance Map. How do I assign that certian script to a person far off from the beginning?
Just use the command call I guess, but then you would have to use the command return afterwards. Or maybe I'm just misunderstanding your question.
Read the beginning of Irish Witch's tutorial. That should explain compiling and assigning scripts to people in Advance map.
Thanks for the help... Now anyways. Another question.
How would I make a script similar to the one in Yellow with the Pikachu following you? (I mean through out all the game.) Unless it's; Fainted, or in the PC?