So if I wanted to make a setmaptile script, I would choose the X and Y and then the number of the tile block?
What I mean is, say I wanted to set Tile 01A6, the water tile for a lake. I would do
Code:
special 0x8E
setmaptile 0x13 0x21 0x01A6 0x?
And what would I do for the movement permission?
Also, I make this script, but
1. After it says message $whoa, The person walks one step too much, but all of the scripts should not make that happen.
2. After the battle, it doesn't continue on Further.
Code:
$org $begin
checkflag 0x828
if 1 goto $done
checkflag 0x201
if 1 goto $done
applymovement 17 $mw1
pausemove 0
message $whoa
boxset 6
applymovement 17 $mw2
applymovement 0xFF $mw2
pausemove 0
applymovement 0xFF $mw3
pausemove 0
applymovement 17 $mw4
applymovement 0xFF $mw4
pausemove 0
message $man
boxset 6
applymovement 7 $mw5
pausemove 0
cry 0xA1 0x131
#raw 0x02 0x00
message $lapcry
boxset 6
message $d
boxset 6
setflag 0x204
setflag 0x828
givepokemon 131 5 8B
jingle
message $gotpoke
boxset 6
#raw 53
#raw 01
#raw 00
message $namepoke
boxset 5
compare LASTRESULT 1
if 0 goto $next
namepoke
applymovement 23 $mw6
pausemove 0
message $hey
boxset 6
trainerbattle 0x00 0x009 $before $after $further
release
end
#org $next
applymovement 23 $mw6
pausemove 0
message $hey
boxset 6
trainerbattle 0x00 0x009 $before $after $further
release
end
#org $namepoke
$namepoke 1 = Would you like to give\nLapras a nickname?
#org $mw1
$mw1 1 ; #binary 0x11 0x13 0x4A 0xFE
#org $whoa
$whoa 1 = Whoa, this is really cool.\nHey, \v\h01, come\psee the Lapras!
#org $mw2
$mw2 1 ; #binary 0x12 0xFE
#org $mw3
$mw3 1 ; #binary 0x10 0x12 0XFE
#org $mw4
$mw4 1 ; #binary 0x10 0xFE
#org $man
$man 1 = Man, that lapras looks so sad.\nMaybe you should\ptry to cheer it\nup, \v\h01.
#org $mw5
$mw5 1 ; #binary 0x11 0xFE
#org $d
$d 1 = Whoa! Lapras looks\nlike it wants to\pcome with you!\nHere, I have a pokeball.\pHere, catch it!
#org $gotpoke
$gotpoke 1 = You obtained a Lapras!
#org $lapcry
$lapcry 1 = Laaaaa...
#org $mw6
$mw6 1 ; #binary 0x12 0x10 0x10 0xFE
#org $hey
$hey 1 = HEY! You can't catch\nthe pokemon here!\pGive it back!
#org $before
$before 1 = You won't give it\nback? Fine, I'll\pbattle you for\nit back!
#org $after
$after 1 = Why you little...
#org $further
message $he
boxset 6
applymovement 23 $mw7
pausemove 0
message $wow
boxset 6
applymovement 17 $mw8
pausemove 0
setflag 0x201
release
end
#org $he
$he 1 = Eh, what the... GAH!
#org $mw7
$mw7 1 ; #binary 0x11 0x11 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x60 0xFE
#org $wow
$wow 1 = Wow, \v\h01,\nthat was amazing!\pI can't wait until\nI get my pokemon!\nCome on,\plet's head back to\nmy house.
#org $mw8
$mw8 1 ; #binary 0x11 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x60 0xFE
#org $done
release
end