The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   [Archive] Script help thread (https://www.pokecommunity.com/showthread.php?t=120081)

Piplup-Trainer February 28th, 2008 10:54 AM

I've got a question again.

But before i ask I give you a example :
I opened PokeTronic 0.7, created and burned a WildBattle Script (Suicune Lv.70).
I tested it --> everything ok.
I done the same with a second Wildbattle Script (Celebi Lv.30).
I tested it again --> everthing was ok.
Then I burned a third Wild Battle Script (Ekans Evolution on L.35)
I tested it --> Mays Overworld Sprite became black hair (the pixels that I edited in Overworld Editor-RE were converted from brown to black).

Is this true that PokeTronic screws up your rom or not?

TB Pro February 28th, 2008 2:13 PM

Quote:

Originally Posted by derv1205 (Post 3378229)
Uhm, i know how to make it dissapear from the map but, not how to make it appear,
i mean, i insert the OW with AM and it appears there, what i want to do is that for
example, the OW is next to a tree but it only appears when you step on an script event.
So, i dont know how to dissappear it from the map until you step on that S
And, i didnt understand the first part, in FR moves i didnt see something that says Hide
or something like that =S please, can you show a script or something ^^

Ok on A-Map goto "movement Type for the person OW. Look for the SECOND Hidden command.(yes there is two)

Elite 4 Sam February 28th, 2008 4:54 PM

I cant compile my scripts. Does anyone know how to get them to be compile-able?

TB Pro February 28th, 2008 4:57 PM

Quote:

Originally Posted by Elite 4 Sam (Post 3379223)
I cant compile my scripts. Does anyone know how to get them to be compile-able?

Read my tutorial, it explains it step-by-step......

Elite 4 Sam February 28th, 2008 5:26 PM

where do i get Pokemon Advance?

Tyrantrum February 28th, 2008 5:36 PM

Quote:

Originally Posted by Elite 4 Sam (Post 3379302)
where do i get Pokemon Advance?

Okay, this is a SCRIPT help thread.
Not a WHERE CAN I GET A POKEMON ROM help thread.
I'm not saying it mean.
You should've posted this in the SIMPLE QUESTIONS help thread.

derv1205 February 28th, 2008 5:39 PM

Quote:

Originally Posted by Teh Blaziken (Post 3378763)
Ok on A-Map goto "movement Type for the person OW. Look for the SECOND Hidden command.(yes there is two)

Well, it does what i want, but... when the applymovement activates, it doesnt appear...
¿? =S what should i do?

Elite 4 Sam February 28th, 2008 6:10 PM

i cant do that because they closed that thread. so can someone please tell me where to get Pokemon Advance? because my SCRIPTS(shinypkmnfan13!) dont have the compile option.

TB Pro February 28th, 2008 6:46 PM

Quote:

Originally Posted by derv1205 (Post 3379342)
Well, it does what i want, but... when the applymovement activates, it doesnt appear...
¿? =S what should i do?

Ok look at my scripting tutorial, and look at the movement commands. There is a command that allows someone to appear.

Quote:

Originally Posted by Elite 4 Sam (Post 3379458)
i cant do that because they closed that thread. so can someone please tell me where to get Pokemon Advance? because my SCRIPTS(shinypkmnfan13!) dont have the compile option.

Take a look at my tutorial. It explains step-by-step how to compile a script:D

derv1205 February 28th, 2008 7:17 PM

Quote:

Originally Posted by Teh Blaziken (Post 3379591)
Ok look at my scripting tutorial, and look at the movement commands. There is a command that allows someone to appear.


Take a look at my tutorial. It explains step-by-step how to compile a script:D

I look at it, i but i just saw that command for Ruby and not for FR, I check that
in your tutorial...

TB Pro February 28th, 2008 7:41 PM

Quote:

Originally Posted by derv1205 (Post 3379709)
I look at it, i but i just saw that command for Ruby and not for FR, I check that
in your tutorial...

Alright, because it is there.

Elite 4 Sam February 28th, 2008 8:04 PM

i saved it as an .rbc file by litterally typing that in, like you said. and it still wont give me the option. you said presumubly that the person reading it has pokescript, which i have. you said also that the person Presumably has PKMN ADV. Where do I download that.

TB Pro February 28th, 2008 8:09 PM

Quote:

Originally Posted by Elite 4 Sam (Post 3379882)
i saved it as an .rbc file by litterally typing that in, like you said. and it still wont give me the option. you said presumubly that the person reading it has pokescript, which i have. you said also that the person Presumably has PKMN ADV. Where do I download that.

Ah I see. Well hm...I truthfully don't know. Try looking on the Pokescript threads.....I am sorry buddy!

Tyrantrum February 28th, 2008 9:10 PM

I'm having a little problem...
I'm making an apply movement script in my hack.
Every time I step on the tile, it freezes my game! :'(
I also set the Unknown, var numbers, and script offset.
And ya know how you have to enter 52 and 40 for var numbers?
Well, for certain scripts I was deleting had different var numbers, like 2 and 40 & 50 and 40. :\
Plz help!
Spoiler:
It's a hack of Fire Red, just in case someone helps me with a script.
And the script is supposed to say, "Better say bye to mom..." and him/her moves up one.
And the script is right on the doormat down/up-stairs(if I change it) before you leave your house.

Thanx!!! :)

Binary February 29th, 2008 7:20 AM

Quote:

Originally Posted by shinypkmnfan13 (Post 3380001)
I'm having a little problem...
I'm making an apply movement script in my hack.
Every time I step on the tile, it freezes my game! :'(
I also set the Unknown, var numbers, and script offset.
And ya know how you have to enter 52 and 40 for var numbers?
Well, for certain scripts I was deleting had different var numbers, like 2 and 40 & 50 and 40. :\
Plz help!
Spoiler:
It's a hack of Fire Red, just in case someone helps me with a script.
And the script is supposed to say, "Better say bye to mom..." and him/her moves up one.
And the script is right on the doormat down/up-stairs(if I change it) before you leave your house.

Thanx!!! :)

I think this should work....
Spoiler:
#org $mom
checkflag 0x200
if B_true goto $done
applymovement 0xFF $walkback
pausemove 0
message $goback
boxset 6
setflag 0x200
release
end

#org $done
release
end

#org #walkback
$walkback 1 ; #binary 0x11 0xFE

#org $goback
$goback 1 = better say bye to mom...

If it dosen't...then I'm not too sure about var numbers...:/

derv1205 February 29th, 2008 6:53 PM

Quote:

Originally Posted by Teh Blaziken (Post 3379897)
Ah I see. Well hm...I truthfully don't know. Try looking on the Pokescript threads.....I am sorry buddy!

Ok bud, dont worry, Cooley tell me what should i do ^^ and for the people that have
this problem, this is you should put in your script:

Code:

Showsprite 0x(sprite no.)


OR
Code:

#raw 0x55 0x(spite no.) 0x00


Sincerely i havent try that, i will do it now, but i think it should work since cooley is
a good hacker and he told me that ^^

Tyrantrum February 29th, 2008 7:16 PM

Quote:

Originally Posted by C3LEBI♥ (Post 3380497)
I think this should work....
Spoiler:
#org $mom
checkflag 0x200
if B_true goto $done
applymovement 0xFF $walkback
pausemove 0
message $goback
boxset 6
setflag 0x200
release
end

#org $done
release
end

#org #walkback
$walkback 1 ; #binary 0x11 0xFE

#org $goback
$goback 1 = better say bye to mom...

If it dosen't...then I'm not too sure about var numbers...:/

Thanks, but it still froze.
I don't get why it freezes for me, but not for everyone else.
I need help...

+Sneasel™ February 29th, 2008 7:18 PM

Quote:

Originally Posted by shinypkmnfan13 (Post 3382141)
Thanks, but it still froze.
I don't get why it freezes for me, but not for everyone else.
I need help...

Did you fill out the Unknowns + Var numbers in the script?

If your using advance map 1.9, its:

Unknown 0003
Var number 4052

Tyrantrum February 29th, 2008 7:53 PM

Ah, thanx itman, it confuses me cause it doesn't have the separate boxes like in A-map 1.82

EDIT:
It still froze.
I don't know what's wrong.

TB Pro February 29th, 2008 7:56 PM

Quote:

Originally Posted by shinypkmnfan13 (Post 3382141)
Thanks, but it still froze.
I don't get why it freezes for me, but not for everyone else.
I need help...

Lol there was also a mistake in C3ELEBI's script.

Quote:

Originally Posted by C3LEBI♥ (Post 3380497)
I think this should work....
Spoiler:
#org $mom
checkflag 0x200
if B_true goto $done
applymovement 0xFF $walkback
pausemove 0
message $goback
boxset 6
setflag 0x200
release
end

#org $done
release
end

#org #walkback should be--->$walkback
$walkback 1 ; #binary 0x11 0xFE

#org $goback
$goback 1 = better say bye to mom...

If it dosen't...then I'm not too sure about var numbers...:/


Tyrantrum February 29th, 2008 8:12 PM

This script is really starting to piss me off!
I really don't know what's wrong.
IT JUST KEEPS FREEZING!!!!!
I don't think anything will work...
Thanx a trillion to all of you for helping me.

TB Pro February 29th, 2008 8:20 PM

Quote:

Originally Posted by shinypkmnfan13 (Post 3382327)
This script is really starting to piss me off!
I really don't know what's wrong.
IT JUST KEEPS FREEZING!!!!!
I don't think anything will work...
Thanx a trillion to all of you for helping me.

Try this one out:
Spoiler:
Code:

#ORG $begin
checkflag 0x200
if B_goto $done
applymovement 0xFF $playerwalk
pausemove 0
message $back
boxset 6
setflag 0x200
release
end

#ORG $done
release
end

#ORG $playerwalk
#RAW 0x11
#RAW 0xFE

#ORG $back
$back 1 = Better go back and say goodbye to mother....



Tyrantrum February 29th, 2008 8:28 PM

I actually think this was going to work!
Except when I went downstairs to test it, the screen stayed black.
That sucks, huh?
Could you tell me how to post a video and I'll show you what happens.
Thanx.

derv1205 February 29th, 2008 9:58 PM

Quote:

Originally Posted by shinypkmnfan13 (Post 3382376)
I actually think this was going to work!
Except when I went downstairs to test it, the screen stayed black.
That sucks, huh?
Could you tell me how to post a video and I'll show you what happens.
Thanx.

To post videos upload them in YouTube.
There was an error on Teh
I think it should be like this:

Code:

#ORG $begin
checkflag 0x200
if B_True goto $done
applymovement 0xFF $playerwalk
pausemove 0
message $back
boxset 6
setflag 0x200
release
end

#ORG $done
release
end

#ORG $playerwalk
#RAW 0x11
#RAW 0xFE

#ORG $back
$back 1 = Better go back and say goodbye to mother....


And i think in the S you should put:
Code:

Unknown 0300
Var number 4050


That's what i usually put ^^

Also, you can put this:
Code:

Unknown 0300
Var Number 7C40



Megiddo-san March 1st, 2008 9:05 AM

Can someone tell me what is wrong with this script?

Spoiler:
#ORG $start
checkflag 0x204
if 0x1 goto $activategivepoke
message $1
boxset 6
release
end

#org $activategivepoke
message $garu
boxset 5
compare LASTRESULT 1
if B_true goto $rec
message $no
boxset 6
release
end

#org $rec
message $tada
boxset 6
release
end

#org $garu
$garu 1 = Do you want a GARURIBI?

#org $no
release
end

#org $tada
checkflag 0x205
message $you
boxset 6
givepokemon 1 5 0
setflag 0x205
setflag 0x828
#raw 0x53
#raw 0x5
#raw 0x00
applymovement 0x00 $rival2
pausemove 0
message $I
boxset 6
#raw 0x53
#raw 0x6
#raw 0x00
applymovement 0x03 $other2
pausemove 0
message $get
boxset 6
#raw 0x53
#raw 0x7
#raw 0x00
release
end

#org $you
$you 1 = You received a GARURIBI!

#org $rival2
$rival2 ; 0x13 0x13 0x13 0xFE

#org $I
$I = I get this one then.

#org $other2
$other2 ; 0x10 0x13 0x13 0x13 0x11 0xFE

#org $get
$get 1 = And this one is left for me.

#org $1
$1 1 = I should talk to the prof. first
.


All times are GMT -8. The time now is 2:34 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.