Kye McPie
#? Trainer wants to battle!
- 6
- Posts
- 16
- Years
- Seen Jan 19, 2009
I can tell this tutorial has a lot of information that's going to help me with hacking, even though I don't quite understand it all -_-;;. Good job, man.
Hey, could I get some help with my applymovement script? I want Mr. Oak here to say something, then take 2 fast steps to the right, then 1 fast steps up and 3 slides up and stop; then, the player will take 1 step down on the spot, Oak will again speak, and once he's done the player will follow Oak down 14 normal steps, then 5 steps to the right and finally 1 step up into a warp. When I try to compile the script I get this error;
"Run-time error '13'
Type mismatch"
Looking at the log behind the message the compiling seems to stop right after the first $move line.
Here's the script;
And while I'm at it, I wanna ask; can you insert a unlimited amount of movements into a single line?
Hey, could I get some help with my applymovement script? I want Mr. Oak here to say something, then take 2 fast steps to the right, then 1 fast steps up and 3 slides up and stop; then, the player will take 1 step down on the spot, Oak will again speak, and once he's done the player will follow Oak down 14 normal steps, then 5 steps to the right and finally 1 step up into a warp. When I try to compile the script I get this error;
"Run-time error '13'
Type mismatch"
Looking at the log behind the message the compiling seems to stop right after the first $move line.
Here's the script;
Spoiler:
#org $start
checkflag 0x828
if b_true goto $done
message $1
boxset 6
applymovement 0x03 $move
pausemove 0x0
applymovement 0xFF $move2
pause 0x30
message $2
boxset 6
playsound 0x13E
nop
applymovement 0x03 $move3
applymovement 0xFF $move3
pausemove 0
fadesound 0x12C
nop
release
end
#org $done
release
end
#org $move
#raw 0x20 0x20 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x32 0x32 0x32 0xFE
#org $move2
#raw 0x00 0xFE
#org $move3
#raw 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x12 0x12 0x12 0x12 0x12 0x11 0xFE
#org $1
$1 1 = \c\h01\h04message!
#org $2
$2 1 =message!
checkflag 0x828
if b_true goto $done
message $1
boxset 6
applymovement 0x03 $move
pausemove 0x0
applymovement 0xFF $move2
pause 0x30
message $2
boxset 6
playsound 0x13E
nop
applymovement 0x03 $move3
applymovement 0xFF $move3
pausemove 0
fadesound 0x12C
nop
release
end
#org $done
release
end
#org $move
#raw 0x20 0x20 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x32 0x32 0x32 0xFE
#org $move2
#raw 0x00 0xFE
#org $move3
#raw 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x12 0x12 0x12 0x12 0x12 0x11 0xFE
#org $1
$1 1 = \c\h01\h04message!
#org $2
$2 1 =message!
And while I'm at it, I wanna ask; can you insert a unlimited amount of movements into a single line?