Code:#org $start lock faceplayer message $msgstart boxset 6 #raw 0x8F 0x03 0x00 compare 0x800D 0x0 if 0x1 goto $option1 compare 0x800D 0x1 if 0x1 goto $option2 compare 0x800D 0x2 if 0x1 goto $option3 end release #org $msgstart $msgstart 1 =Hi.\nWhen I was young,\p I was a super Trainer !\n But now,\l I get just this pokemon...\p I want you take it,\l and this egg... #org $option1 givepokemon 144 5 0 #raw 0x7A 0x00 0x97 #raw 53 #raw 3 #raw 00 end release #org $option2 givepokemon 145 5 0 #raw 0x7A 0x0 0xFB #raw 53 #raw 3 #raw 00 end release #org $option2 givepokemon 146 5 0 #raw 0x7A 0x01 0x99 #raw 53 #raw 3 #raw 00 end release
#org $start
[b]checkflag 0x200
if b_true goto $done[/b]
lock
faceplayer
message [b]$1[/b]
boxset [b]6[/b]
cry 0xA1 254
#raw 0x02 0x00
nop
nop
wildbattle 254 70 1
fadescreen 0
#raw 0x53 0x0F 0x80
setflag 0x200
release
end
[b]#org $done
release
end[/b]
#org $1
$1 1 =DIALGA: Doguyunn!
hi,
when i insert this script the game just freeze,
so what's the probleme?
[/FONT]Code:[FONT="Comic Sans MS"]#org $start message $1 boxset 6 applymovement 0x11 $move pausemove 0x0 applymovement 0x10 $move2 pausemove 0x0 applymovement 0x09 $move2 pause 0x30 playsound 0x112 [B]#raw 33[/B] message $2 boxset 6 applymovement 0x04 $move3 applymovement 0xFF $move3 pausemove 0 [B]fadesound 0x112[/B] release end #org $move #raw 0x1D 0x1D 0x1D 0x1D 0x1D 0x14 0x1F 0xFE #org $move2 #raw 0x1D 0x1D 0x1D 0x1D 0x1D 0xFE #org $move3 #raw 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0xFE #org $1 $1 1 = Ahhhhhhh!!! #org $2 $2 1 = Qui ose se mettre sur la\nroute de la TEAM ROCKET?\pOn se reverra...
A script like that would take long.
You have to make new trainers and give them a setflag
(Or the checktrainer command which I never used)
#org $start
checkflag 0x200
if B_true goto $done
message $the
$the 1 = We're still not in Vermillion City.
boxset 6
release
end
#org $done
message $we
$we 1 = We arrived at Vermillion.
boxset 6
applymovement 0x__ $2
pausemove 0
release
end
#org $2
$2 1 ; #binary 0x12 0x00 0xFE