You are viewing an archive of Victory Road.
Victory Road closed on January 8, 2018. Thank you for making us a part of your lives since 2006! Please read this thread for details if you missed it.
i made a script for my rom does anyone know what is wrong here is my script:
#org $start
lock
faceplayer
checkflag 0x1200
if b_true goto $done
release
end
#org $done
#raw 0x2F 0x15 0x00
applymovement 0x01 $move1
pausemove 0x0
message $1
boxset 6
checkgender
compare LASTRESULT 0x0
if b_true goto $boy
compare LASTRESULT 0x1
if b_true goto $girl
end
#org $girl
givepokemon 196 7 214
fanfare 0x13E
message $2
boxset 4
waitfanfare
#raw 0x68
setflag 0x828
message $3
boxset 5
compare LASTRESULT 0x01
if b_true gosub $name
message $4
boxset 6
applymovement 0x01 $move2
setflag 0x1200
release
end
#org $boy
givepokemon 197 7 206
fanfare 0x13E
message $6
boxset 4
waitfanfare
#raw 0x68
setflag 0x828
message $5
boxset 5
compare LASTRESULT 0x01
if b_true gosub $name
message $4
boxset 6
applymovement 0x01 $move2
setflag 0x1200
release
end
#org $name
call 0x1A74EB
return
'---------String----------
#org $1
$1 1 =Hello \v\h01! I think you\nare old enough to go on your\ladventure! But you will need\lyour own Pokémon. I went to \lthe professor and she gave me\lthis Pokémon for you!
#org $2
$2 1 =\c\h01\h02You received a Espeon!
#org $3
$3 1 =\c\h01\h02Would you like to rename Espeon?
#org $4
$4 1 =Take good care of it!\nAnd have fun on your trip!
#org $5
$5 1 =\c\h01\h02Would you like to rename Umbreon?
#org $6
$6 1 =\c\h01\h02You received a Umbreon!
'--------movement--------
#org $move1
#raw 0x03 0x13 0x13 0x11 0xFE
#org $move2
#raw 0x00 0x10 0x12 0x12 0xFE