Hey great tutorial!
I tried the homework and it all worked!
Then i made my own script with lots of moving and it won't compile.
it says run time error 13! Type mismatch
anyway this is the script:
#org $begin
checkflag 0x200
lock
faceplayer
if B_true goto $done
applymovement 0x04 $nutcase
Pause 0x340
message $crazy
boxset 6
setflag 0x200
release
end
#org $done
release
end
#org $nutcase
$nutcase 1 ; #binary 0x1F 0x1F 0x1D 0x47 0x1F 0x20 0x20 0x20 0x1F 0x20 0x20 0x1D 0x1D
0x1D 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1E 0x1E 0x20 0x20 0x20 0x20 0x20 0x1E 0x1F
0x1D 0x20 0x62 0xFE
#org $crazy
$crazy 1 = Hi,\nI'm Brendan and i'm Dumm!
Sorry Teh Blaziken, but I like to help around here too lol!
There is a reason why that happens: there are too many movements on one line. Try this script, it should work. It breaks up the movements on each line. Look at the way I do it...also, make sure there are only 8-9 movements on each line, not counting 0xFE.
#org $begin
checkflag 0x200
lock
faceplayer
if B_true goto $done
applymovement 0x04 $nutcase
pausemove 0
applymovement 0x04 $nutcase1
pausemove 0
applymovement 0x04 $nutcase2
pausemove 0
applymovement 0x04 $nutcase3
pausemove 0
message $crazy
boxset 6
setflag 0x200
release
end
#org $done
release
end
#org $nutcase
$nutcase 1 ; 0x1F 0x1F 0x1D 0x47 0x1F 0x20 0x20 0x20 0xFE
#org $nutcase1
$nutcase1 1 ; 0x1F 0x20 0x20 0x1D 0x1D 0x1D 0x1F 0x1F 0xFE
#org $nutcase2
$nutcase2 1 ; 0x1F 0x1F 0x1F 0x1F 0x1F 0x1E 0x1E 0x20 0xFE
#org $nutcase3
$nutcase3 1 ; 0x20 0x20 0x20 0x20 0x1E 0x1F 0x1D 0x20 0x62 0xFE
#org $crazy
$crazy 1 = Hi,\nI'm Brendan and i'm Dumm!
That right there should work now. If not, make an extra line, and just put '0x62 0xFE' but i don't think you will have to.