The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page [Archive] Script help thread

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Closed Thread
 
Thread Tools
  #301   Link to this post, but load the entire thread.  
Old January 23rd, 2008 (6:49 AM).
Piplup-Trainer's Avatar
Piplup-Trainer Piplup-Trainer is offline
This is my custom user title.
 
Join Date: Nov 2007
Location: Europe. Many people haven`t heard about the country in which I live.
Age: 31
Gender: Male
Nature: Relaxed
Posts: 228
Hi!
I have a problem (again).
I've burned the script into the rom.
But if I open the rom, then an error appears.
It says "Unsupported ARM mode 00".
Can someone help me?
__________________
I LEFT PC!
http://www.pokecommunity.com/member.php?u=66475&vmid=2790824#vmessage2790824


Short summary :

2007 : ROM Hacking - asking some questions regarding Pokemon Ruby/Sapphire
2008 : Trading - mostly to complePokemon keDex in Pokemon Diamond until 2009
2009 : Battling - battles without ev'd Pokemon until 2009, competitive battles until 2010
2010 : Chatting - talking to pc friends, but more often on ut more often on MSN), having a good time
2011 : Less activity - it dropped more because of Windows Live Messenger and Facebook
  #302   Link to this post, but load the entire thread.  
Old January 23rd, 2008 (6:57 AM).
Larsie13
Guest
 
Posts: n/a
Quote:
Originally Posted by thethethethe View Post
IF you're using Fire Red or leaf green, I'd assume you used setflag 0x800, somewhere in the script. Just change it to setflag 0x828.
I tried it, but now it doesn't give me the Pokédex at all. And I also tried the jingle command, but that doesn't work either. Do you have to enter that before or after the givepokemon command? (Yes, I use FireRed)
  #303   Link to this post, but load the entire thread.  
Old January 23rd, 2008 (8:40 AM). Edited January 23rd, 2008 by Derlo.
Derlo's Avatar
Derlo Derlo is offline
Tired....
 
Join Date: Aug 2007
Location: Mossoró-RN-BR
Gender: Male
Posts: 135
Quote:
Originally Posted by Larsie13 View Post
I tried it, but now it doesn't give me the Pokédex at all. And I also tried the jingle command, but that doesn't work either. Do you have to enter that before or after the givepokemon command? (Yes, I use FireRed)
the pokedex is: 0x829

and the JINGLE don"t work in FR...
Try
fanfare 0x13E
waitfanfare
----------------------------------------
Some questions:

-> How to put the symbol of the money in a normal message? (in FR)
-> Is there some command to just move MINISPRIT to count the script (similar to the one of the PLAYER 0xFF)?
-> Can anybody say if he/she has as adding new MINIS in the rom FR? (I only found to insert in RS)


That is everything, Bye!
  #304   Link to this post, but load the entire thread.  
Old January 23rd, 2008 (7:44 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by Derlo View Post
Some questions:

-> How to put the symbol of the money in a normal message? (in FR)
-> Is there some command to just move MINISPRIT to count the script (similar to the one of the PLAYER 0xFF)?
-> Can anybody say if he/she has as adding new MINIS in the rom FR? (I only found to insert in RS)


That is everything, Bye!
Code:
#org $1
message $msg
boxset 6
release
end

#org $msg
$1 1 = \hB7Hi.
Just use \hB7 in the message.

I don't understand what you're asking in the second question.

And the third question, what does that have to do with scripting? And I haven't tried it, but wouldn't it be the same. There aren't too many differences between ruby and FR.
__________________
Gone.
  #305   Link to this post, but load the entire thread.  
Old January 24th, 2008 (8:34 AM).
Satoshi Sugimori's Avatar
Satoshi Sugimori Satoshi Sugimori is offline
Hermit
 
Join Date: Dec 2006
Location: Tokyo, Japan
Age: 30
Gender: Male
Nature: Timid
Posts: 860
Does anybody know why my script doesnt go further after I used a warp command? Here is my script.
Spoiler:
#org $beginoak
lock
checkflag 0x206
if B_true goto $done
applymovement 0x3 $aha
pausemove 0
message $oaktalk
$oaktalk 1 =OAK: Ah...Finally found you!\nDid you get my card?\p...\n...\pAlright then!\nFollow me!
applymovement 0x3 $follow
applymovement 0xFF $follow
pausemove 0
fadescreen 0
warp 4 3 2
applymovement 0x3 $move
pausemove 0
setflag 0x206
release
end

#org $done
release
end

#org $aha
$aha 1 ; #binary (moves)

#org $follow
$follow 1 ; #binary (moves)

#org $move
$move 1 ; #binary (moves)

Didnt put in the moves yet.
__________________
  #306   Link to this post, but load the entire thread.  
Old January 24th, 2008 (8:48 AM). Edited January 25th, 2008 by Derlo.
Derlo's Avatar
Derlo Derlo is offline
Tired....
 
Join Date: Aug 2007
Location: Mossoró-RN-BR
Gender: Male
Posts: 135
Quote:
Originally Posted by Poke-Roy View Post
Does anybody know why my script doesnt go further after I used a warp command? Here is my script.
Spoiler:
#org $beginoak
lock
checkflag 0x206
if B_true goto $done
applymovement 0x3 $aha
pausemove 0
message $oaktalk
$oaktalk 1 =OAK: Ah...Finally found you!\nDid you get my card?\p...\n...\pAlright then!\nFollow me!
applymovement 0x3 $follow
applymovement 0xFF $follow
pausemove 0
fadescreen 0
warp 4 3 2
applymovement 0x3 $move
pausemove 0
setflag 0x206
release
end

#org $done
release
end

#org $aha
$aha 1 ; #binary (moves)

#org $follow
$follow 1 ; #binary (moves)

#org $move
$move 1 ; #binary (moves)

Didnt put in the moves yet.
it is that the after the command warp the script doesn't work!!
you have to do a level script in the next map to continue the movements after you to enter in him!!


PS: Excuse the spelling!
I am translating of the Portuguese for English with a translator XD!
  #307   Link to this post, but load the entire thread.  
Old January 24th, 2008 (10:56 AM).
Frostbite's Avatar
Frostbite Frostbite is offline
Ace Trainer
 
Join Date: Jan 2005
Location: New York
Nature: Modest
Posts: 723
I have a question that's been bothering me for a while...

I want to know, how can I make a custom message when a player receives an item?

I'll explain this a little more.
When you input the "giveitem" command in a script it automatically comes out something like this:

Quote:
[PLAYER] found a [ITEM]!

[PLAYER] put the [ITEM] in the ____ section.
Well I want to know how I can give the player an item without the default text above coming out and customize it something like:

Quote:
[PLAYER] got a [ITEM] from the boy!

[PLAYER] put the [ITEM] in the ____ section.
I saw this done on certain hacks, I'm just wondering how this is done.

Also second question - (I think this goes with the one above.)

How do I make make a message, put a fanfare in it and once the fanfare is finished the message goes on/closes (depending on the situation) and fades back into the original background music. An example from the FR game:

Quote:
[PLAYER] gave OAK the parcel!

*plays fanfare

*once fanfare is finished the message continues itself
__________________
  #308   Link to this post, but load the entire thread.  
Old January 24th, 2008 (1:23 PM).
Satoshi Sugimori's Avatar
Satoshi Sugimori Satoshi Sugimori is offline
Hermit
 
Join Date: Dec 2006
Location: Tokyo, Japan
Age: 30
Gender: Male
Nature: Timid
Posts: 860
Hello!
I got a Q
is the countpokemon command for counting 3 pokemon right this way:
Code:
countpokemon 3
if B_false goto $no3
Thanks in advance!
__________________
  #309   Link to this post, but load the entire thread.  
Old January 24th, 2008 (1:29 PM).
ryan123456789019's Avatar
ryan123456789019 ryan123456789019 is offline
 
Join Date: Aug 2007
Posts: 87
can some one help me make a script that is like the script in firered where bill takes you to island one.
  #310   Link to this post, but load the entire thread.  
Old January 25th, 2008 (7:58 AM).
Swampert 22's Avatar
Swampert 22 Swampert 22 is offline
Is making tools for you...
 
Join Date: Sep 2005
Location: Switzerland
Age: 32
Gender: Male
Nature: Brave
Posts: 393
Quote:
Originally Posted by ryan123456789019 View Post
can some one help me make a script that is like the script in firered where bill takes you to island one.
Basically, all you need to do is have what every you want in the script movements text or whatever, then use the warp command. It's explained really simply in the Documents and Tutorials thread!
__________________

I've made some tools for Pokémon hacking! Please check out the thread... Swampert Tools Showcase

Head over to my thread to check out my latest tool, Pokémon Red/Blue Trainer Editor!

Visit my site for Pokémon ROM Hacking tools! Swampert Tools Homepage
  #311   Link to this post, but load the entire thread.  
Old January 26th, 2008 (5:15 AM).
loratus's Avatar
loratus loratus is offline
Rom hacker
 
Join Date: Jan 2008
Location: Strijen, holland
Gender:
Nature: Calm
Posts: 7
Can someone help me, i want to know how i can make it that way that if i have 3 events and i do 1 of the events the 2 other events arent possible anymore, like choosing your starter, that if you pick 1 ball you cant take the other 2.

greets loratus
__________________

Pokemon Sky blue
beta 1 coming live soon

Features :
Johto, Hoenn, Kanto, Custom
All 386 pokemon
normal scripts as you've played in G/S/C and R/S/E and FR/LG
hundreds of scripts you've never played before

By loratus
  #312   Link to this post, but load the entire thread.  
Old January 26th, 2008 (6:30 AM).
+Sneasel™'s Avatar
+Sneasel™ +Sneasel™ is offline
It's a meeee, itman!
 
Join Date: May 2007
Location: None of your business!
Age: 29
Gender:
Nature: Lonely
Posts: 1,032
Quote:
Originally Posted by loratus View Post
Can someone help me, i want to know how i can make it that way that if i have 3 events and i do 1 of the events the 2 other events arent possible anymore, like choosing your starter, that if you pick 1 ball you cant take the other 2.

greets loratus
EIther set the events to the same flags, or on every one, put
if B_true goto $no

Then $no will just say "you already picked one"
__________________
Intentions that were pure have turned obscure,
Seconds into hours, minutes into years.
Don't ask me why,
PLEASE DON'T CRY!
I can't tell you lies...

Don't click this!

PPH - A great hacking forum :)
  #313   Link to this post, but load the entire thread.  
Old January 26th, 2008 (7:11 AM).
loratus's Avatar
loratus loratus is offline
Rom hacker
 
Join Date: Jan 2008
Location: Strijen, holland
Gender:
Nature: Calm
Posts: 7
Quote:
Originally Posted by itman1234 View Post
EIther set the events to the same flags, or on every one, put
if B_true goto $no

Then $no will just say "you already picked one"
Thanks for that, but if i make it like that how do i make sure every poke ball has a other pokemon

greets loratus
__________________

Pokemon Sky blue
beta 1 coming live soon

Features :
Johto, Hoenn, Kanto, Custom
All 386 pokemon
normal scripts as you've played in G/S/C and R/S/E and FR/LG
hundreds of scripts you've never played before

By loratus
  #314   Link to this post, but load the entire thread.  
Old January 26th, 2008 (9:06 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by loratus View Post
Thanks for that, but if i make it like that how do i make sure every poke ball has a other pokemon

greets loratus
Do something like this....
Don't worry about the grammer, I just wrote it quickly.
Pokemon 1
Spoiler:
Code:
#org $start
checkflag 0x828
if 1 goto $done
message $1
boxset 0x5
compare 0x800D 0x1
if 0x1 goto $take
message $2
boxset 6
release
end
 
#org $done
message $3
boxset 6
release
end
 
#org $take
givepokemon 152 5 0
fanfare 0x13E
message $4
boxset 4
waitfanfare
#raw 0x68
message $5
boxset 6
#raw 0x53 0x0F 0x80
setflag 0x828
release
end
 
#org $1
$1 1 =Would you like to take the\nchikorita?
 
#org $2
$2 1 =You put the pokemon back.
 
#org $3
$3 1 =You already have a pokemon.\nDon't get greedy!.
 
#org $4
$4 1 =You recieved a Chikorita
 
#org $5
$5 1 =Take care of Chikorita.

Pokemon 2
Spoiler:
Code:
#org $start
checkflag 0x828
if 1 goto $done
message $1
boxset 0x5
compare 0x800D 0x1
if 0x1 goto $take
message $2
boxset 6
release
end
 
#org $done
message $3
boxset 6
release
end
 
#org $take
givepokemon 155 5 0
fanfare 0x13E
message $4
boxset 4
waitfanfare
#raw 0x68
message $5
boxset 6
#raw 0x53 0x0F 0x80
setflag 0x828
release
end
 
#org $1
$1 1 =Would you like to take my\ncyndaquil?
 
#org $2
$2 1 =You gave the pokemon back.
 
#org $3
$3 1 =You already have a pokemon.\nDon't get greedy!.
 
#org $4
$4 1 =You recieved a cyndaquil
 
#org $5
$5 1 =Take care of cyndaquil.

Pokemon 3
Spoiler:
Code:
#org $start
checkflag 0x828
if 1 goto $done
message $1
boxset 0x5
compare 0x800D 0x1
if 0x1 goto $take
message $2
boxset 6
release
end
 
#org $done
message $3
boxset 6
release
end
 
#org $take
givepokemon 158 5 0
fanfare 0x13E
message $4
boxset 4
waitfanfare
#raw 0x68
message $5
boxset 6
#raw 0x53 0x0F 0x80
setflag 0x828
release
end
 
#org $1
$1 1 =Would you like to take my\ntotodile?
 
#org $2
$2 1 =You gave the pokemon back.
 
#org $3
$3 1 =You already have a pokemon.\nDon't get greedy!.
 
#org $4
$4 1 =You recieved a totodile
 
#org $5
$5 1 =Take care of totodile.

The checkflag 0x828 will check if you already have a pokemon.
__________________
Gone.
  #315   Link to this post, but load the entire thread.  
Old January 27th, 2008 (12:56 AM).
/Circa's Avatar
/Circa /Circa is offline
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Posts: 881
I'm having trouble with signpost scripts,
I use boxset 3 but only two of them actually work for some reason ;l.
I think they are different from a normal script?

Could someone show me one?
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #316   Link to this post, but load the entire thread.  
Old January 27th, 2008 (1:03 AM).
TB Pro's Avatar
TB Pro TB Pro is offline
Old-timer
 
Join Date: Nov 2004
Location: Midwestern USA
Age: 28
Gender: Male
Posts: 2,707
Quote:
Originally Posted by Crashink View Post
I'm having trouble with signpost scripts,
I use boxset 3 but only two of them actually work for some reason ;l.
I think they are different from a normal script?

Could someone show me one?
Well I just use Boxset 6 and it works fine for me...
__________________
--I'm a creepin'..
  #317   Link to this post, but load the entire thread.  
Old January 27th, 2008 (1:06 AM).
/Circa's Avatar
/Circa /Circa is offline
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Posts: 881
But for a signpost, it should pop up when you walk to it, and it should have a black and gray text box.
I want to know how to make it appear.
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #318   Link to this post, but load the entire thread.  
Old January 27th, 2008 (1:09 AM).
TB Pro's Avatar
TB Pro TB Pro is offline
Old-timer
 
Join Date: Nov 2004
Location: Midwestern USA
Age: 28
Gender: Male
Posts: 2,707
Quote:
Originally Posted by Crashink View Post
But for a signpost, it should pop up when you walk to it, and it should have a black and gray text box.
I want to know how to make it appear.
Oh ****,
no wonder that didn't work!
Lol!
Sorry man!
__________________
--I'm a creepin'..
  #319   Link to this post, but load the entire thread.  
Old January 27th, 2008 (1:15 AM).
hi sir tomato my password is syvniti's Avatar
hi sir tomato my password is syvniti hi sir tomato my password is syvniti is offline
gggggggggggggggggg
 
Join Date: Jan 2007
Location: My user name _ asciii_ +&h1!" lulz
Posts: 581
Hej, I need some help by my script... I can't make it work, Because after the first tranier battle, The it just stop? How can i make it as i keep going to the end? I did try use the "Futhere" Thing from follumps tuturiel...
Spoiler:
PHP Code:
#ORG $Fools 
checkflag 0x290 
if B_true goto $done 
applymovement 0x01 $Mark1 
pause 0x10 
applymovement 0x05 $mark1 
pause 0x10 
message $Talking 
boxset 6 
applymovement 0x01 $Mark1 
pause 0x10 
applymovement 0x05 $mark1 
pause 0x10 
message $Talking2 
boxset 6 
applymovement 0x01 $Mark2 
pause 0x10 
applymovement 0x05 $mark3 
pause 0x30 
trainerbattle 1 0x0DB $before $after $lose 
boxset 6 
applymovement 0x01 $mark4 
pause 0x20 
applymovement 0x05 $mark5 
pause 0x20 
trainerbattle 1 0x0DC $before1 $after1 $lose1 
boxset 6 
applymovement 0xff $mark6 
pause 0x10 
applymovement 0x05 $mark6 
pause 0x10 
applymovement 0x01 $mark6 
pause 0x10 
applymovement 0xff $mark6 
pause 0x10 
applymovement 0x05 $mark6 
pause 0x10 
applymovement 0x01 $mark6 
pause 0x10 
applymovement 0x05 $mark7 
pause 0x50 
applymovement 0x01 $mark6 
pause 0x10 
applymovement 0x01 $mark7 
pause 0x50 
applymovement 0xff $mark8 
pause 0x60 
message $Talking3 
boxset 6 
applymovement 0xff $mark6 
pause 0x10 
applymovement 0x04 $mark6 
pause 0x10 
applymovement 0xff $mark6 
pause 0x10 
applymovement 0x04 $mark6 
pause 0x10 
applymovement 0xff $mark9 
pause 0x10 
applymovement 0x04 $mark6 
pause 0x10 
applymovement 0x04 $mark9 
pause 0x10 
applymovement 0xff $mark6 
pause 0x10 
applymovement 0x04 $mark6 
pause 0x10 
applymovement 0xff $mark6 
pause 0x10 
applymovement 0x04 $mark6 
pause 0x10 
applymovement 0xff $mark6 
pause 0x10 
applymovement 0x04 $mark6 
pause 0x10 
setflag 0x290 
release 
end 

#org $mark1 
$mark1 1 #binary 0x62 0xFE 

#org $talking 
$talking 1 HeyWhat are you doing here

#org $talking2 
$talking2 1 We are only doing our job... 

#org $mark2 
$mark2 1 #binary 0x0A 0xFE 

#org $mark3 
$mark3 1 #binary 0x09 0x0A 0X01 0xFE 

#org $before 
$before 1 Let´s battle

#org $after 
$after 1 How did i lose

#org $lose 
$lose 1 How did i lose to

#org $mark4 
$mark4 1 #binary 0x0A 0x02 0xFE 

#org $mark5 
$mark5 1 #binary 0x09 0x02 0xFE 

#org $before1 
$before1 1 Now Its my turn... 

#org $after1 
$after1 1 How did i lose to

#org $lose1 
$lose1 1 How did i lose to

#org $mark6 
$mark6 1 #binary 0x0A 0xFE 

#org $mark7 
$mark7 1 #binary 0x09 0x09 0x0A 0x0A 0x60 0xFE 

#org $mark8 
$mark8 1 #binary 0x0B 0x0B 0x0B 0x0B 0x08 0x03 0xFE 

#org $talking3 
$talking3 1 vh01Heyare you okay?p GirlYeahThanks for saving mepvh01Listenyour brother is locking for you!p GirlOhhThen we better hurry

#org $mark9 
$mark9 1 #binary 0x09 0xFE 

#org $done 
release 
end 
__________________
THE CAKE IS A LIE!!!!!!!!!!!!!!!!!!!!!!!
  #320   Link to this post, but load the entire thread.  
Old January 27th, 2008 (1:43 AM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by Crashink View Post
I'm having trouble with signpost scripts,
I use boxset 3 but only two of them actually work for some reason ;l.
I think they are different from a normal script?

Could someone show me one?
I use boxset 3 sometimes, but it really doesn't matter. Boxset 3 and 6 do the same things.

I'm not 100% sure, but I think the black box only appear depending on something in the map (Header View). You'd have to look at the header view's to see the differences, between indoor and outdoor maps.

Quote:
Originally Posted by sebbe17 View Post
Hej, I need some help by my script... I can't make it work, Because after the first tranier battle, The it just stop? How can i make it as i keep going to the end? I did try use the "Futhere" Thing from follumps tuturiel...
Spoiler:
Code:
#ORG $Fools 
checkflag 0x290 
if B_true goto $done 
applymovement 0x01 $Mark1 
pause 0x10 
applymovement 0x05 $mark1 
pause 0x10 
message $Talking 
boxset 6 
applymovement 0x01 $Mark1 
pause 0x10 
applymovement 0x05 $mark1 
pause 0x10 
message $Talking2 
boxset 6 
applymovement 0x01 $Mark2 
pause 0x10 
applymovement 0x05 $mark3 
pause 0x30 
trainerbattle 1 0x0DB $before $after $f1

#org $f1
message $lose 
boxset 6 
applymovement 0x01 $mark4 
pause 0x20 
applymovement 0x05 $mark5 
pause 0x20 
trainerbattle 1 0x0DC $before1 $after1 $f2

#org $f2
message $lose1
boxset 6 
applymovement 0xff $mark6 
pause 0x10 
applymovement 0x05 $mark6 
pause 0x10 
applymovement 0x01 $mark6 
pause 0x10 
applymovement 0xff $mark6 
pause 0x10 
applymovement 0x05 $mark6 
pause 0x10 
applymovement 0x01 $mark6 
pause 0x10 
applymovement 0x05 $mark7 
pause 0x50 
applymovement 0x01 $mark6 
pause 0x10 
applymovement 0x01 $mark7 
pause 0x50 
applymovement 0xff $mark8 
pause 0x60 
message $Talking3 
boxset 6 
applymovement 0xff $mark6 
pause 0x10 
applymovement 0x04 $mark6 
pause 0x10 
applymovement 0xff $mark6 
pause 0x10 
applymovement 0x04 $mark6 
pause 0x10 
applymovement 0xff $mark9 
pause 0x10 
applymovement 0x04 $mark6 
pause 0x10 
applymovement 0x04 $mark9 
pause 0x10 
applymovement 0xff $mark6 
pause 0x10 
applymovement 0x04 $mark6 
pause 0x10 
applymovement 0xff $mark6 
pause 0x10 
applymovement 0x04 $mark6 
pause 0x10 
applymovement 0xff $mark6 
pause 0x10 
applymovement 0x04 $mark6 
pause 0x10 
setflag 0x290 
release 
end 

#org $mark1 
$mark1 1 ; #binary 0x62 0xFE 

#org $talking 
$talking 1 = Hey, What are you doing here? 

#org $talking2 
$talking2 1 = We are only doing our job... 

#org $mark2 
$mark2 1 ; #binary 0x0A 0xFE 

#org $mark3 
$mark3 1 ; #binary 0x09 0x0A 0X01 0xFE 

#org $before 
$before 1 = Let´s battle! 

#org $after 
$after 1 = How did i lose? 

#org $lose 
$lose 1 = How did i lose to? 

#org $mark4 
$mark4 1 ; #binary 0x0A 0x02 0xFE 

#org $mark5 
$mark5 1 ; #binary 0x09 0x02 0xFE 

#org $before1 
$before1 1 = Now Its my turn... 

#org $after1 
$after1 1 = How did i lose to? 

#org $lose1 
$lose1 1 = How did i lose to? 

#org $mark6 
$mark6 1 ; #binary 0x0A 0xFE 

#org $mark7 
$mark7 1 ; #binary 0x09 0x09 0x0A 0x0A 0x60 0xFE 

#org $mark8 
$mark8 1 ; #binary 0x0B 0x0B 0x0B 0x0B 0x08 0x03 0xFE 

#org $talking3 
$talking3 1 = vh01: Hey, are you okay\p Girl: Yeah! Thanks for saving me! \p\v\h\01: Listen, your brother is locking for you!\p Girl: Ohh, Then we better hurry! 

#org $mark9 
$mark9 1 ; #binary 0x09 0xFE 

#org $done 
release 
end
Just use the [code}{/code] button. The php code colours can be pretty annoying.

I changed it slightly. The third pointer isn't a message. It'll point to another part of the script. Look at the script and you'll see what I did.
__________________
Gone.
  #321   Link to this post, but load the entire thread.  
Old January 27th, 2008 (2:51 AM).
loratus's Avatar
loratus loratus is offline
Rom hacker
 
Join Date: Jan 2008
Location: Strijen, holland
Gender:
Nature: Calm
Posts: 7
Thanks a lot Thethethethe!!
__________________

Pokemon Sky blue
beta 1 coming live soon

Features :
Johto, Hoenn, Kanto, Custom
All 386 pokemon
normal scripts as you've played in G/S/C and R/S/E and FR/LG
hundreds of scripts you've never played before

By loratus
  #322   Link to this post, but load the entire thread.  
Old January 27th, 2008 (4:05 AM). Edited January 27th, 2008 by hi sir tomato my password is syvniti.
hi sir tomato my password is syvniti's Avatar
hi sir tomato my password is syvniti hi sir tomato my password is syvniti is offline
gggggggggggggggggg
 
Join Date: Jan 2007
Location: My user name _ asciii_ +&h1!" lulz
Posts: 581
Quote:
Originally Posted by thethethethe View Post
I use boxset 3 sometimes, but it really doesn't matter. Boxset 3 and 6 do the same things.

I'm not 100% sure, but I think the black box only appear depending on something in the map (Header View). You'd have to look at the header view's to see the differences, between indoor and outdoor maps.


Just use the [code}{/code] button. The php code colours can be pretty annoying.

I changed it slightly. The third pointer isn't a message. It'll point to another part of the script. Look at the script and you'll see what I did.
Thanks, You are a true heroXD

New ask, Did i do any thing wrong white my movements? The text box just start in the middle, and i placed the pause 0x60 when it's 6 moves? And some of the movement don't even start? It's the $mark7 second time?
__________________
THE CAKE IS A LIE!!!!!!!!!!!!!!!!!!!!!!!
  #323   Link to this post, but load the entire thread.  
Old January 27th, 2008 (11:00 AM).
ryan123456789019's Avatar
ryan123456789019 ryan123456789019 is offline
 
Join Date: Aug 2007
Posts: 87
#org $begin
lock
faceplayer
message $dontgoout
$dontgoout 1 =Hey!\nProf Oak said you where coming!
boxset 6
applymovement 0x10 $coming
pausemove 0
message $comeback
$comeback 1 =Come with me!
boxset 6
applymovement 0x1 $followone
applymovement 0xFF $followtwo
pausemove 0
message $hereyago
$hereyago 1 =You are going to\nJhoto!
boxset 6
release
end

#org $coming
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE

#org $followone
#raw 0x1F
#raw 0x0A
#raw 0x1E
#raw 0x09
#raw 0xFE

#org $followtwo
#raw 0x1F
#raw 0x0A
#raw 0x1E
#raw 0xFE
#raw 0x0B
#raw 0xFE

#org warp
warp 0x0 0x06 0x1




can someone figure out what is wrong because when i get to the spot where the script is the game just frezzes
  #324   Link to this post, but load the entire thread.  
Old January 27th, 2008 (12:27 PM). Edited January 27th, 2008 by efilonn.
efilonn's Avatar
efilonn efilonn is offline
 
Join Date: Aug 2007
Location: Long Island, New York
Age: 31
Gender:
Posts: 23
Can someone help me with my code?

Code:
#ORG $begin
checkflag 0x202
if b_true goto $done
checkflag 0x203
if b_true goto $done2
message $voices
boxset 6
setflag 0x202
goto $done

#ORG $done2
release
end

#ORG $done
applymovement 0xff $walk
pausemove 0
release
end

#ORG $walk
#raw 0x0A 
#raw 0xfe

#ORG $voices
$voices 1 = We have the prisoner\nupstairs knocked out.\p...Yes don't worry\nI'm sure he's not awake...\p...Yeah but he doesn't know\nthe computer password is\n 89565.

Basically I can say you should ignore the checkflags..... Just try to understand from where it goes from message to $done (the movement step back).

But yeah what happens is the game doesn't freeze but the guy doesn't move and no message pops up and nothing happens, the music keeps on playing though.... I have a feeling it's something I need to do with the script in Advance Map that makes it activate it when I walk on it? (Which is what I want) Is there something i need to put in those weird var spots for it to activate correctly?

I really don't understand what any of those var functions do.....



****Double Post - ryan123456789019, I think it may be because you can't use the lock function if you're going to use applymovement... Im not too sure though but that's the only thing I can think of after reading your script.
  #325   Link to this post, but load the entire thread.  
Old January 27th, 2008 (12:53 PM).
shane2243's Avatar
shane2243 shane2243 is offline
Dragonite Lover
 
Join Date: Jan 2008
Location: Croydon
Gender:
Nature: Naughty
Posts: 94
when using A-map i type my offset code into the script offset box, but it doesnt seem to work, when testing it, the rom crashes, in pokescript the code i get is "message1. $begin (D01000)", so i type "D01000" into the box in A-map, is there something im doing wrong?


im following a tutorial and the script im using is
Code:
#org $begin
lock
faceplayer
message $howareyou
$howareyou 1 =Hey \v\h01!\nHows your journey going?
boxset 6
release
end
Closed Thread

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:23 AM.