• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Teh Blaziken's Scripting School

Status
Not open for further replies.

TB Pro

Old-timer
2,708
Posts
19
Years
Nice teh blaziken.
if you can't type/speak English well then i understand but if you do speak/type English well you should check your tutorial.
There are a lot of spelling errors for example:accually.Only 1 c and there needs to be a "T" between c and u.
Makes you seem unprofessional.

lol Yeh I'm an English-Speaker!
I just rushed through it tho!
*goes to fix*
 

Luck

¯\_(ツ)_/¯
6,779
Posts
16
Years
  • Seen May 20, 2023
That makes much more sense and thanks teh blaziken.
Alright i'll enroll in it.
Will we get a diploma since this is a scripting school?
 
Last edited:

ShyRayq

Unprofessional Unprofessional
1,856
Posts
16
Years
  • Seen Apr 2, 2024
OH NO! the assignment is due today!
i have to make my script's or i won't get a diploma!
"doing scripts now"
 

Twinx

s o m e t h i n g M O R E
1,802
Posts
17
Years
1st homework. :D
Code:
#ORG $begin
lock
faceplayer
message $wazzap
boxset 6
release
end

#ORG $wazzap
[B] $talk 1[/B] = \v\h01, whats up?
and

Code:
#ORG $begin
lock
faceplayer
message $howyadoin
boxset 6
release
end

#ORG $howyadoin
[B] $talk 1[/B] = Hey, buddy how ya' doin!
do i get a cookie? ^.^

I have a tiny question about that...
shouldn't "$talk 1" be "$wazzap 1" and "$howyadoin1" respectively? Or does that not matter?
Because that's the way it is in the tutorial.. Is it ok to a different value there?
 

TB Pro

Old-timer
2,708
Posts
19
Years
I have a tiny question about that...
shouldn't "$talk 1" be "$wazzap 1" and "$howyadoin1" respectively? Or does that not matter?
Because that's the way it is in the tutorial.. Is it ok to a different value there?

Oh dude thank you so much for pointing that out!
I can't believe Itman and I both missed that!
Yes you are right DarkChild!
 

Twinx

s o m e t h i n g M O R E
1,802
Posts
17
Years
Code:
#ORG $begin
checkflag 0x200
lock[B] (I read somewhere that we shoudn't lock while using applymovement script. Does it work anway??)[/B]
faceplayer
if B_true goto $done
applymovement 0x01 $dudewalk
pausemove 0
message $dudetalk
boxset 6
checkflag 0x200 [B](should be setflag right?)[/B]
release
end

#ORG $done
release
end

#ORG $dudewalk
$dudewalk 1 ; #binary 0x13 0x13 0x13 0x13 0x4A 0xFE

#ORG $dudetalk
$dudetalk 1 = Hey, I'm a dude!\nDid you know that?\pOh then You're stupid!

Also you forgot to mention how to control the player.
Here it for reference since you are not on:
If you want to control the player then use the value 0xFF

Also the spoiler for the FR movements isn't working, i guess I'll post it here until you're on again, i hope you don't mind:
Code:
Special  Commands:

0x4A = Faceplayer
0x4B = Face against player
0x60 = Disappear (Removes The Sprite, But The Person Can Still Be Interacted With)
0x62 = ! Pops Up
0x63 = ? Pops Up
0x64 = X Pops Up (Vs-Seeker Can't Fight)
0x65 = !! Pops Up (Vs-Seeker Can Fight)
0x66 = "" Pops Up
0x01 = Face Up
0x02 = Face Left
0x03 = Face Right
0x04 = Face Down

Walking Commands:

0x08 = Super Slow-Step Down(Super Slow Speed)
0x09 = Super Slow-Step Up(Super Slow Speed)
0x0A = Suoer Slow-Step Left(Super Slow Speed)
0x0B = Super Slow-Step Right(Super Slow Speed)

0x0C = Slow-Step Down(Slow Speed)
0x0D = Slow-Step Up(Slow Speed)
0x0E = Slow-Step Left(Slow Speed)
0x0F = Slow-Step Right(Slow Speed)

0x10 = Step Down(Normal Speed)
0x11 = Step Up(Normal Speed)
0x12 = Step Left(Normal Speed)
0x13 = Step Right(Normal Speed)

0x1D = Run Down(Fast Speed)
0x1E = Run Up(Fast Speed)
0x1F = Run Left(Fast Speed)
0x20 = Run Right(Fast Speed)

Jump In Place Commands:

0x52 = Jump(Face Down)
0x53 = Jump(Face Up)
0x54 = Jump(Face Left)
0x55 = Jump(Face Right)

Jump In Place Commands:
0x56 = Jump(Face Down->Up)
0x57 = Jump(Face Up->Down)
0x58 = Jump(Face Left->Right)
0x59 = Jump(Face Right->Left)
 
Jump In Direction Commands:

0x4E = Jump Down(Normal Speed)
0x4F = Jump Up(Normal Speed)
0x50 = Jump Left(Normal Speed)
0x51 = Jump Right(Normal Speed)

0x14 = Jump Down(Fast Speed)
0x15 = Jump Up(Fast Speed)
0x16 = Jump Left(Fast Speed)
0x17 = Jump Right(Fast Speed)

0x46 = Look Left Jump->Down
0x47 = Look Down Jump->Up(Jump Backwards)
0x48 = Look Up Jump->Left
0x49 = Look Left Jump->Right(Jump Backwards)[/spoiler]
Anyway here is my apply movenemt homework XD

Spoiler:
 
Last edited:

Lyzo

Back from vacation
261
Posts
17
Years
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!
 
Last edited:

+Sneasel™

It's a meeee, itman!
1,032
Posts
16
Years
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.
 

Lyzo

Back from vacation
261
Posts
17
Years
Hey again! I have one small compiling problem...
When I press burn A small window comes up saying that I have to push the floating pointer and enter an offset...
what should i do?

Edit: Nvm fixed it!
 
Last edited:

+Sneasel™

It's a meeee, itman!
1,032
Posts
16
Years
Hey again! I have one small compiling problem...
When I press burn A small window comes up saying that I have to push the floating pointer and enter an offset...
what should i do?

that means your script is wrong, it means there is a $ at the top/bottom that doesn't match up with a $ at the top/bottom.

So, if at the top, you put $talk, but there is no $talk at the bottom, that will come up, go back and check yourself, or post it here.
 

Raimu Bito

Raimu Bito -- Facing erasure
37
Posts
16
Years
  • Seen Oct 28, 2008
Do you know a "follow-me" script? I want to remake Yellow in R/S/E/FR/LG, hehe...
 

Luck

¯\_(ツ)_/¯
6,779
Posts
16
Years
  • Seen May 20, 2023
do what the creator of jaune ecalir did...make it connected to your sprite.
I can do every simple script except the follow me script.
I mean the prof.Oak follow me script.
 

Jack of Bl♠des

Former goderator
194
Posts
16
Years
Hey Teh Blaziken, this is quite a nice tutorial you have here. Quite easy to understand as well. Also, I found the movement scripts for R/S/E in another thread (I think Wingzro's). Here they are in case anybody wants to use them

Spoiler:
 

Twinx

s o m e t h i n g M O R E
1,802
Posts
17
Years
Hey TB.. are you still working on these? I'm not rushing you or anything, but just wondering if you found any errors in my applymovement homework. It's in the 28th post.
Anyway, can't wait for the others :)
 

+Sneasel™

It's a meeee, itman!
1,032
Posts
16
Years
^^I'll correct it :)^^

#ORG $begin
checkflag 0x200
if B_True go to $nothing
applymovement 0x02 $walk1
pausemovement 0
applymovement 0x02 $walk2
pausemovement 0
message $koo
boxset 6
setflag 0x200
release
end

#ORG $nothing
release
end

#ORG $walk1
$walk1 1 ; #binary 0x13 0x13 0x1E 0x1E 0x1E 0x1E 0x1E 0xFE

#ORG $walk2
$walk2 1 ; #binary 0x0A 0x0A 0x0A 0x0A 0x0A 0x0A 0x0A 0x4A 0xFE

#ORG $koo
$koo 1 = Hi I'm Koo! Who Are You?

Only problem was you put 'lock' and 'faceplayer' in a movement script...do you want the person to stand still, or move? Lock will make it so they won't move lol. Faceplayer is not needed since there are movement commands for facing different directions.

Same thing with the second one, no 'lock' or 'faceplayer'!!!
 
Status
Not open for further replies.
Back
Top