The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Requests/Sharing/Discussion

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
  #476   Link to this post, but load the entire thread.  
Old August 3rd, 2007 (12:56 PM).
foullump's Avatar
foullump foullump is offline
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Posts: 221
Quote:
Originally Posted by Darkrai64 View Post
Okay, I need help. Where do I put the special 0x# in a script?
example:
#org $12AC4B
Lock
Faceplayer
checkflag 0x200
if B_TRUE goto $Sail
message $AskMe
$AskMe 1 = Would you like to go to (place)?
boxset 5
Release
end

#ORG $Sail
Lock
Faceplayer
message $Sail
$Sail 1 = Let's go then!
boxset 6
Here
release
end

#ORG $NoSail
Lock
Faceplayer
message $NoSail
$NoSail 1 = I'll be right here.
boxset 6
release
end
I put it in the quote. But shouldn't you know?
__________________
  #477   Link to this post, but load the entire thread.  
Old August 3rd, 2007 (1:55 PM).
gangabob gangabob is offline
 
Join Date: Jun 2007
Gender:
Nature: Adamant
Posts: 24
Quote:
Originally Posted by foullump View Post
Well, it sounds like you're asking for an already made script which well, doesn't exist. You will have to make it yourself or have someone make it for you.
That's kinda what I was asking, can somebody make these for me?
  #478   Link to this post, but load the entire thread.  
Old August 3rd, 2007 (6:14 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Can a checkitem command be used with a key item?

For example;
Code:
#org $start
lock
faceplayer
checkitem 0x15D
compare LASTRESULT 1
if B_false goto $none
message $hi
boxset 6 ......
15D being Oak's Parcel
__________________
Gone.
  #479   Link to this post, but load the entire thread.  
Old August 3rd, 2007 (7:22 PM).
foullump's Avatar
foullump foullump is offline
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Posts: 221
Quote:
Originally Posted by thethethethe View Post
Can a checkitem command be used with a key item?

For example;
Code:
#org $start
lock
faceplayer
checkitem 0x15D
compare LASTRESULT 1
if B_false goto $none
message $hi
boxset 6 ......
15D being Oak's Parcel
I think so, but if not, you can just use a flag for when you get the parcel, then check that flag.
__________________
  #480   Link to this post, but load the entire thread.  
Old August 3rd, 2007 (7:52 PM).
bonaza bonaza is offline
Banned
 
Join Date: Apr 2007
Nature: Adamant
Posts: 23
I have a problem with my script. When I use it works fine but insted of the person dissapering th eplayer does and walks with the person I set the ID to. Anybody know how to fix this?

#org $Startscript
lock
faceplayer
message $AskMe
$AskMe 1 = Should I take this pokemon?
boxset 5
compare LASTRESULT 1
if 1 goto $Giveit
message $Forget
$Forget 1 = I guess I won't...
boxset 6
release
end

$GotIt
#raw 53 0x1234
release
end

#org $Giveit
givepokemon 32 5 0
message $Whatisit
$Whatisit 1 = You Recieved a NIDORAN!
boxset 6
setflag 0x200
if 1 goto $GotIt
release
end

This is for Ruby.
  #481   Link to this post, but load the entire thread.  
Old August 3rd, 2007 (9:15 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by foullump View Post
I think so, but if not, you can just use a flag for when you get the parcel, then check that flag.
That is my problem. Using Fire Red I don't know how to get rid of the event in the Viridian Pokemart. If I could get rid of that I wouldn't have needed the script.
__________________
Gone.
  #482   Link to this post, but load the entire thread.  
Old August 4th, 2007 (2:34 AM).
HackMew's Avatar
HackMew HackMew is offline
Mewtwo Strikes Back
 
Join Date: Jun 2006
Posts: 1,314
Quote:
Originally Posted by thethethethe View Post
That is my problem. Using Fire Red I don't know how to get rid of the event in the Viridian Pokemart. If I could get rid of that I wouldn't have needed the script.
The Oak's Parcel thingy cannot be removed with a setflag.
You have to use a setvar instead: setvar 0x4057 0x1.
After doing that, make sure to edit the clerk's script so it won't check that variable anymore.
__________________
  #483   Link to this post, but load the entire thread.  
Old August 4th, 2007 (3:09 AM).
linkandzelda's Avatar
linkandzelda linkandzelda is offline
n00b desu ka?
 
Join Date: Dec 2006
Location: Hastings, England
Gender: Male
Nature: Careful
Posts: 776
Quote:
Originally Posted by - HackMew - View Post
The Oak's Parcel thingy cannot be removed with a setflag.
You have to use a setvar instead: setvar 0x4057 0x1.
After doing that, make sure to edit the clerk's script so it won't check that variable anymore.
will that also make your mum give you the running shoes?
__________________
  #484   Link to this post, but load the entire thread.  
Old August 4th, 2007 (6:28 AM). Edited August 4th, 2007 by gangabob.
gangabob gangabob is offline
 
Join Date: Jun 2007
Gender:
Nature: Adamant
Posts: 24
Quote:
Originally Posted by gangabob View Post
I need help. I kinda understand how to script, but pokescript doesn't work on my comp. Can anybody give one of those advance map script things for a Lv. 30 Celebi person. (It looks like $46236F or something and you put it in script offset.) If it's too hard then you don't have to do it, but if it's easy can I also get one for a person who gives you a shiny beldum lv. 5? Or is that too hard?
Will anybody do this for me? You don't have to I just wanna know.


EDIT: What's wrong with this script?
Quote:
#org $StartChik
checkflag 0x800
if B_True goto $NoBall
message $Chick
$Chick 1 = *sigh*\lWould you mind.\ptaking my SCYTHER?
boxset 5
compare LASTRESULT 1
if B_False goto $PutBack

givepokemon 123 10 0
jingle
message $GotChick
$GotChick 1 = You Recieved a SCYTHER!
boxset 6

message $NameChick
$NameChick 1 = Would You like to give SCYTHER\la nickname?
boxset 5
compare LASTRESULT 1
if b_False goto $GiveDex
Namepokemon
I tried talking to the person and nothing happened.
  #485   Link to this post, but load the entire thread.  
Old August 4th, 2007 (12:14 PM).
Kasekopf Kasekopf is offline
 
Join Date: Aug 2007
Gender:
Posts: 17
Can anyone tell me what the problem is with this script?
Spoiler:

#ORG $Kasekopf1start
message $Kaseintro
boxset 6
applymovement 0x00 $kasewalk
pause 0x10
faceplayer
message $Kasegym
boxset 6
message $Kasegymchoice
boxset 5
compare LASTRESULT B_TRUE
if B_False gosub $KaseNo
message $KaseYes
boxset 6
end

#org $KaseNo
message $KaseNospeach
boxset 6

#org $Kaseintro
$Kaseintro 1 = Potions... Check!\nPokeballs... Check!

#org $KaseNospeach
$KaseNospeach 1 = Why not? Eight Gyms have been scattered\nacross the island in towns.\pAfter you collect all eight badges,\nYou can challenge the POKéMON Leauge\pAnd become the champion!

#org $Kasegym
$Kasegym 1 = Who're you?\p...\pOh, hello \v\h01!\nI'm Kasekopf!\pI'm getting ready to take on\nthe Island Gym challenge!

#org $Kasegymchoice
$Kasegymchoice 1 = Are you doing them as well?

#org $KaseYes
$KaseYes 1 = Just North of here is an\nentrance to an underground\pmaze of passages. You should\nhead there and explore.\pYou may find a path to\nthe other islands!

#org $Kasewalk
$kasewalk 1 ; #Binary 0x62

It's supposed to say $Kaseintro, then an exclamation point appears above the person's head (Person 0), and it faces the main character.
Then it should say $Kasegym and then $Kasegymchoice, which brings up a yes/no box. If yes, the script should continute to KaseYes. If no, the script should run KaseNo and then run KaseYes.

When I run it, it skips the movement and if I choose No it doesn't sub to the other message first.

This is on Pokemon Fire Red.
  #486   Link to this post, but load the entire thread.  
Old August 4th, 2007 (7:55 PM).
Hedgehogger's Avatar
Hedgehogger Hedgehogger is offline
Learning ASM, but struggling
 
Join Date: Feb 2007
Location: Somewhere near a box.
Gender: Male
Nature: Quiet
Posts: 204
Quote:
Originally Posted by gangabob View Post
Will anybody do this for me? You don't have to I just wanna know.
Spoiler:
#org 0x4623CF
cry 0xA1 0xFB
wildbattle 0xFB 0x24 0x2
setflag 0x11E
end


The answer to your first question (Seems like the 3rd time I've posted that exact script)...and as for making a shiny beldum in a GivePokemon script, that sounds extremely hard...it's already hard enough trying to understand how to do the shiny wildbattle.
__________________


Pokeymenz Am-nee-shaaah Beta 4 Released!
  #487   Link to this post, but load the entire thread.  
Old August 4th, 2007 (10:40 PM). Edited August 5th, 2007 by thethethethe.
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by gangabob View Post
EDIT: What's wrong with this script?


I tried talking to the person and nothing happened.
The problem with the script was that almost everything was wrong. I'll place my edited script in a spoiler. It's long. If you have any questions about it just ask.
Spoiler:
#org $startchik
checkflag 0x800
if B_true goto $noball
lock
faceplayer
message $chick
boxset 5
compare LASTRESULT 1
if B_false goto $putback
givepokemon 123 10 0
jingle
message $gotchick
boxset 6
setflag 0x800
setflag 0x801
message $poke
boxset 6
release
end

#org $noball
lock
faceplayer
message $hi
boxset 6
release
end

#org $putback
message $back
boxset 6
release
end

#org $poke
$poke 1 =Goodbye Scyther.

#org $chick
$chick 1 =Sigh...\pWould you mind.\ntaking my SCYTHER?

#org $gotchick
$gotchick 1 =You Recieved a SCYTHER!

#org $script
$script 1 =Thanks.

#org $hi
$hi 1 =How's that Scyther doing?

#org $back
$back 1 =That's okay. Somebody else\nmight like to have it.


Quote:
Originally Posted by Kasekopf View Post
Can anyone tell me what the problem is with this script?
Spoiler:

#ORG $Kasekopf1start
message $Kaseintro
boxset 6
applymovement 0x00 $kasewalk
pause 0x10
faceplayer
message $Kasegym
boxset 6
message $Kasegymchoice
boxset 5
compare LASTRESULT B_TRUE
if B_False gosub $KaseNo
message $KaseYes
boxset 6
end

#org $KaseNo
message $KaseNospeach
boxset 6

#org $Kaseintro
$Kaseintro 1 = Potions... Check!\nPokeballs... Check!

#org $KaseNospeach
$KaseNospeach 1 = Why not? Eight Gyms have been scattered\nacross the island in towns.\pAfter you collect all eight badges,\nYou can challenge the POKéMON Leauge\pAnd become the champion!

#org $Kasegym
$Kasegym 1 = Who're you?\p...\pOh, hello \v\h01!\nI'm Kasekopf!\pI'm getting ready to take on\nthe Island Gym challenge!

#org $Kasegymchoice
$Kasegymchoice 1 = Are you doing them as well?

#org $KaseYes
$KaseYes 1 = Just North of here is an\nentrance to an underground\pmaze of passages. You should\nhead there and explore.\pYou may find a path to\nthe other islands!

#org $Kasewalk
$kasewalk 1 ; #Binary 0x62

It's supposed to say $Kaseintro, then an exclamation point appears above the person's head (Person 0), and it faces the main character.
Then it should say $Kasegym and then $Kasegymchoice, which brings up a yes/no box. If yes, the script should continute to KaseYes. If no, the script should run KaseNo and then run KaseYes.

When I run it, it skips the movement and if I choose No it doesn't sub to the other message first.

This is on Pokemon Fire Red.
A few problems with this script. I'll put my edits in bold. Also you can't have 00 as a person because (using advance map) people numbers start at 01. My 06 is an example(you should change this).
Code:
#ORG $kasekopf1start
lock
faceplayer
message $kaseintro
boxset 6
applymovement 0x06 $kasewalk
pause 0x30
message $kasegym
boxset 6
message $kasegymchoice
boxset 5
compare LASTRESULT 1
if B_False goto $kaseno
message $kaseyes
boxset 6
release
end

#org $kaseno
message $kasenospeach
boxset 6
message $kaseyes2
boxset 6
return

#org $kaseintro
$Kaseintro 1 = Potions... Check!\nPokeballs... Check!

#org $kasenospeach
$KaseNospeach 1 = Why not? Eight Gyms have been scattered\nacross the island in towns.\pAfter you collect all eight badges,\nYou can challenge the POKéMON Leauge\pAnd become the champion!

#org $kasegym
$Kasegym 1 = Who're you?\p...\pOh, hello \v\h01!\nI'm Kasekopf!\pI'm getting ready to take on\nthe Island Gym challenge!

#org $kasegymchoice
$Kasegymchoice 1 = Are you doing them as well?

#org $kaseyes
$KaseYes 1 = Just North of here is an\nentrance to an underground\pmaze of passages. You should\nhead there and explore.\pYou may find a path to\nthe other islands!

#org $kasewalk
$kasewalk 1 ; #Binary 0x62 0xFE
#org $kaseyes2
$KaseYes2 1 = Just North of here is an\nentrance to an underground\pmaze of passages. You should\nhead there and explore.\pYou may find a path to\nthe other islands!
Hope this helps.

Could Somebody help me?
For some reason the town map won't disappear until I walk out of the room and then walk back in. I'll post my script in case there is something wrong with it. I put 0201 in the people ID.
Code:
#org $start
checkflag 0x828
if B_true goto $givemap
lock
faceplayer
message $oak
boxset 6
release
end

#org $givemap
checkflag 0x201
if B_true goto $done
lock
faceplayer
message $map
boxset 6
giveitem 0x169 1
setflag 0x201
release
end

#org $done
lock
faceplayer
message $hi
boxset 6
release
end

#org $oak
$oak 1 =Prof. Oak wants to see\nyou.

#org $map
$map 1 =Here take this map.\nYou'll need it.

#org $hi
$hi 1 =I hope you and \v\h06\nare enjoying yourselves.
__________________
Gone.
  #488   Link to this post, but load the entire thread.  
Old August 5th, 2007 (9:13 AM).
Michizcool Michizcool is offline
 
Join Date: Aug 2007
Gender:
Posts: 13
Hi I got a favor to ask anyone who is good at scripting(or willing to help) could you show me a script that when you talk to a person they ask you fiyou would like to join the neutral side and then if you say yes they give you a ticket which you have to have to catch a boat with to the neutral part of the island. To help you with the making of this script ill tell you the idea of my pokemon hack. You get a choice which root to take and once you have boarded the boat you can not come back. There are going to be three fractions in the game i wont go into that bit. But i need it that you can only get on ticket from one of the three fractions but you get to choose which one to join Thanks in advance Michael
  #489   Link to this post, but load the entire thread.  
Old August 6th, 2007 (4:44 AM).
BlackRainbow*'s Avatar
BlackRainbow* BlackRainbow* is offline
Pokemon Coralo Version ?
 
Join Date: Oct 2006
Location: Yiushu
Gender:
Nature: Bold
Posts: 518
Quote:
Originally Posted by thethethethe View Post
The problem with the script was that almost everything was wrong. I'll place my edited script in a spoiler. It's long. If you have any questions about it just ask.
Spoiler:
#org $startchik
checkflag 0x800
if B_true goto $noball
lock
faceplayer
message $chick
boxset 5
compare LASTRESULT 1
if B_false goto $putback
givepokemon 123 10 0
jingle
message $gotchick
boxset 6
setflag 0x800
setflag 0x801
message $poke
boxset 6
release
end

#org $noball
lock
faceplayer
message $hi
boxset 6
release
end

#org $putback
message $back
boxset 6
release
end

#org $poke
$poke 1 =Goodbye Scyther.

#org $chick
$chick 1 =Sigh...\pWould you mind.\ntaking my SCYTHER?

#org $gotchick
$gotchick 1 =You Recieved a SCYTHER!

#org $script
$script 1 =Thanks.

#org $hi
$hi 1 =How's that Scyther doing?

#org $back
$back 1 =That's okay. Somebody else\nmight like to have it.




A few problems with this script. I'll put my edits in bold. Also you can't have 00 as a person because (using advance map) people numbers start at 01. My 06 is an example(you should change this).
Code:
#ORG $kasekopf1start
lock
faceplayer
message $kaseintro
boxset 6
applymovement 0x06 $kasewalk
pause 0x30
message $kasegym
boxset 6
message $kasegymchoice
boxset 5
compare LASTRESULT 1
if B_False goto $kaseno
message $kaseyes
boxset 6
release
end

#org $kaseno
message $kasenospeach
boxset 6
message $kaseyes2
boxset 6
return

#org $kaseintro
$Kaseintro 1 = Potions... Check!\nPokeballs... Check!

#org $kasenospeach
$KaseNospeach 1 = Why not? Eight Gyms have been scattered\nacross the island in towns.\pAfter you collect all eight badges,\nYou can challenge the POKéMON Leauge\pAnd become the champion!

#org $kasegym
$Kasegym 1 = Who're you?\p...\pOh, hello \v\h01!\nI'm Kasekopf!\pI'm getting ready to take on\nthe Island Gym challenge!

#org $kasegymchoice
$Kasegymchoice 1 = Are you doing them as well?

#org $kaseyes
$KaseYes 1 = Just North of here is an\nentrance to an underground\pmaze of passages. You should\nhead there and explore.\pYou may find a path to\nthe other islands!

#org $kasewalk
$kasewalk 1 ; #Binary 0x62 0xFE
#org $kaseyes2
$KaseYes2 1 = Just North of here is an\nentrance to an underground\pmaze of passages. You should\nhead there and explore.\pYou may find a path to\nthe other islands!
Hope this helps.

Could Somebody help me?
For some reason the town map won't disappear until I walk out of the room and then walk back in. I'll post my script in case there is something wrong with it. I put 0201 in the people ID.
Code:
#org $start
checkflag 0x828
if B_true goto $givemap
lock
faceplayer
message $oak
boxset 6
release
end

#org $givemap
checkflag 0x201
if B_true goto $done
lock
faceplayer
message $map
boxset 6
giveitem 0x169 1
setflag 0x201
release
end

#org $done
lock
faceplayer
message $hi
boxset 6
release
end

#org $oak
$oak 1 =Prof. Oak wants to see\nyou.

#org $map
$map 1 =Here take this map.\nYou'll need it.

#org $hi
$hi 1 =I hope you and \v\h06\nare enjoying yourselves.

Try like this:
Code:
#org $start
checkflag 0x828
if B_true goto $givemap
lock
faceplayer
message $oak
boxset 6
setflag 0x828
release
end

#org $givemap
lock
faceplayer
message $map
boxset 6
giveitem 0x169 1
release
end

#org $done
lock
faceplayer
message $hi
boxset 6
release
end

#org $oak
$oak 1 =Prof. Oak wants to see\nyou.

#org $map
$map 1 =Here take this map.\nYou'll need it.

#org $hi
$hi 1 =I hope you and \v\h06\nare enjoying
and put 0828 in Poeple's ID
__________________
Pokemon Coralo Version...New Pokemon Petal.
Shyrika Region
  #490   Link to this post, but load the entire thread.  
Old August 6th, 2007 (5:38 AM).
Trodx's Avatar
Trodx Trodx is offline
That Guy Behind You
 
Join Date: Jul 2007
Gender: Male
Nature: Lax
Posts: 26
I'm trying to hack FR, and I run into a problem. I entered a simple script that is supposed to give the player an item but when I talk to the sprite nothing happens. The text box doesn't
even come up!

It was one of those beginner scripts to practice with:

Quote:
#ORG$gotcookie
Lock
Faceplayer
checkflag 0x200
if B_TRUE goto $gotcookie
message $AskMe
$AskMe 1 = Would you like a Lava Cookie?
boxset 5
compare LASTRESUILT B_TRUE
if B_False goto $DontGet
giveitem 0x26 1
setflag 0x200
Release
end

#ORG $gotCookie
Lock
Faceplayer
message $NoCookie
$NoCookie 1 = I'm not made of cookies!\lYou only get one.
boxset 6
release
end

#ORG $DontGet
Lock
Faceplayer
message $AllMine
$AllMine 1 = All the more for me!
boxset 6
release
end
Oh, and Zel is Scripted a program? Where can I download it?
__________________

Working On:
Pokemon Legends: The Resistance
  #491   Link to this post, but load the entire thread.  
Old August 6th, 2007 (6:12 AM).
BlackRainbow*'s Avatar
BlackRainbow* BlackRainbow* is offline
Pokemon Coralo Version ?
 
Join Date: Oct 2006
Location: Yiushu
Gender:
Nature: Bold
Posts: 518
Quote:
Originally Posted by Trodx View Post
I'm trying to hack FR, and I run into a problem. I entered a simple script that is supposed to give the player an item but when I talk to the sprite nothing happens. The text box doesn't
even come up!

It was one of those beginner scripts to practice with:



Oh, and Zel is Scripted a program? Where can I download it?
It comes with elitemap. You can download it at WAH
__________________
Pokemon Coralo Version...New Pokemon Petal.
Shyrika Region
  #492   Link to this post, but load the entire thread.  
Old August 6th, 2007 (6:14 AM).
Ivysaur's Avatar
Ivysaur Ivysaur is offline
Grass dinosaur extraordinaire
 
Join Date: Mar 2007
Location: Madrid, Europe
Age: 32
Gender: Male
Posts: 21,076
Quote:
Originally Posted by Trodx View Post
I'm trying to hack FR, and I run into a problem. I entered a simple script that is supposed to give the player an item but when I talk to the sprite nothing happens. The text box doesn't
even come up!

It was one of those beginner scripts to practice with:



Oh, and Zel is Scripted a program? Where can I download it?
This example is for Pokescript. If you are using it, you should check the program to see if it is correctly installed. And yes, Scripted is a program you can download in the toolbox here.
__________________
  #493   Link to this post, but load the entire thread.  
Old August 6th, 2007 (1:05 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by ~Shirin View Post
Try like this:
Code:
#org $start
checkflag 0x828
if B_true goto $givemap
lock
faceplayer
message $oak
boxset 6
setflag 0x828
release
end

#org $givemap
lock
faceplayer
message $map
boxset 6
giveitem 0x169 1
release
end

#org $done
lock
faceplayer
message $hi
boxset 6
release
end

#org $oak
$oak 1 =Prof. Oak wants to see\nyou.

#org $map
$map 1 =Here take this map.\nYou'll need it.

#org $hi
$hi 1 =I hope you and \v\h06\nare enjoying
and put 0828 in Poeple's ID
I have a problem with using that script. I'm using Fire Red, checkflag 0x828 is to activate the pokemon menu. So if I put 0x828 in the people ID the map would have disappeared when I picked the first pokemon. That's why I have the other setflag. Thanks anyway.
__________________
Gone.
  #494   Link to this post, but load the entire thread.  
Old August 7th, 2007 (2:21 AM).
linkandzelda's Avatar
linkandzelda linkandzelda is offline
n00b desu ka?
 
Join Date: Dec 2006
Location: Hastings, England
Gender: Male
Nature: Careful
Posts: 776
hi
i need help with the running shoes. i need to know what the flag is to enable them or the flag for the oringinl script to enable them. this is all for fire red.

thanks in advance
link
__________________
  #495   Link to this post, but load the entire thread.  
Old August 7th, 2007 (4:26 AM).
Gold Tom's Avatar
Gold Tom Gold Tom is offline
Krazier Than You
 
Join Date: Feb 2005
Location: A Trailer Full of Oz
Nature: Quirky
Posts: 438
I need a script for Ruby where a guy says "Here's your Pokemon back." And gives you a Pikachu or a Togepi depending on whether you are a boy or girl(respectively).
  #496   Link to this post, but load the entire thread.  
Old August 7th, 2007 (7:50 AM).
Knoxius's Avatar
Knoxius Knoxius is offline
Knoxskorner.com
 
Join Date: Jul 2007
Location: I dont know
Gender:
Nature: Adamant
Posts: 14
Hi!

I have a question:

Whenver I insert a script into the game and talk to the script I get a bunch of weird symbols.

The program I am using is PokeScript.
If anyone knows how to fix this I would greatly appreciate it.

Thanks in advance.
__________________


Click on the White version Picture to go to its home!
Or Click here!
  #497   Link to this post, but load the entire thread.  
Old August 7th, 2007 (8:44 AM).
EarthsVisitor EarthsVisitor is offline
Jolly Good
 
Join Date: May 2006
Location: New Jersey
Gender:
Nature: Calm
Posts: 385
I'm having a problem with one of my scripts.
:/

Maybe my eye is missing something, I would like to see if you guys might be able to pick it up.

When I walk over the trigger, the screen goes red.

Code:
#org $martbattle
lock
checflag 0x242
if 1 goto $already
applymovement 0x01 $martowner
$martowner 1 ; 0x03 0x02 0x01 0x04 0x62 0xFE
pausemove 0
message $owner
$owner 1 = AH!! The Rocket is back!\pPolice!!!
boxset 6
applymovement 0x02 $police
$police 1 ; 0x65 0x0C 0x0C 0x0C 0x0C 0xFE
pausemove 0
message $threat
$threat 1 = You are under arrest!
boxset 6
trainerbattle 1 100 $before $after $further
$before 1 = Bring it sucker!
$after 1 = Hmph!
release
end

#org $further
setflag 0x242
message  $failure
$failure 1 = Uhm.. Uh..\pMy name is Joshua! Don't you\nforget it!
boxset 6
applymovement 0x02 $policerun
$policerun 1 ; 0x47 0x02 0x03 0x13 0x10 0x10 0x12 0x04 0x60 0x10 0xFE
pause 0x10
release
applymovement 0xFF $jump
$jump 1 ; 0x11 0x01 0x01 0x03 0x03 0x04 0xFE
pausemove 0
end

#org $already
release
end
__________________

  #498   Link to this post, but load the entire thread.  
Old August 7th, 2007 (9:39 AM). Edited August 7th, 2007 by linkandzelda.
linkandzelda's Avatar
linkandzelda linkandzelda is offline
n00b desu ka?
 
Join Date: Dec 2006
Location: Hastings, England
Gender: Male
Nature: Careful
Posts: 776
Quote:
Originally Posted by EarthsVisitor View Post
I'm having a problem with one of my scripts.
:/

Maybe my eye is missing something, I would like to see if you guys might be able to pick it up.

When I walk over the trigger, the screen goes red.

Code:
#org $martbattle
lock
checflag 0x242
if 1 goto $already
applymovement 0x01 $martowner
$martowner 1 ; 0x03 0x02 0x01 0x04 0x62 0xFE
pausemove 0
message $owner
$owner 1 = AH!! The Rocket is back!\pPolice!!!
boxset 6
applymovement 0x02 $police
$police 1 ; 0x65 0x0C 0x0C 0x0C 0x0C 0xFE
pausemove 0
message $threat
$threat 1 = You are under arrest!
boxset 6
trainerbattle 1 100 $before $after $further
$before 1 = Bring it sucker!
$after 1 = Hmph!
release
end

#org $further
setflag 0x242
message  $failure
$failure 1 = Uhm.. Uh..\pMy name is Joshua! Don't you\nforget it!
boxset 6
applymovement 0x02 $policerun
$policerun 1 ; 0x47 0x02 0x03 0x13 0x10 0x10 0x12 0x04 0x60 0x10 0xFE
pause 0x10
release
applymovement 0xFF $jump
$jump 1 ; 0x11 0x01 0x01 0x03 0x03 0x04 0xFE
pausemove 0
end

#org $already
release
end

i think it might be the top bit. this is untested but change it to this:
#org $martbattle
checflag 0x242
if 0x1 goto $already

hope that works

edit: i tried it and it dont work. sorry. do you compile with pokescript or scripted? if its pokescript then i can help.
__________________
  #499   Link to this post, but load the entire thread.  
Old August 7th, 2007 (1:47 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by EarthsVisitor View Post
I'm having a problem with one of my scripts.
:/

Maybe my eye is missing something, I would like to see if you guys might be able to pick it up.

When I walk over the trigger, the screen goes red.
I couldn't find much wrong with it but I will put any edits in bold. I haven't tested this. Sorry if it still dosen't work.
Code:
#org $martbattle
(remove lock)
checkflag 0x242
if 1 goto $already
applymovement 0x01 $martowner
$martowner 1 ; #binary 0x03 0x02 0x01 0x04 0x62 0xFE
pausemove 0
message $owner
$owner 1 = AH!! The Rocket is back!\pPolice!!!
boxset 6
applymovement 0x02 $police
$police 1 ; #binary 0x65 0x0C 0x0C 0x0C 0x0C 0xFE
pausemove 0
message $threat
$threat 1 = You are under arrest!
boxset 6
trainerbattle 1 100 $before $after $further
$before 1 = Bring it sucker!
$after 1 = Hmph!
release
end

#org $further
setflag 0x242
message  $failure
$failure 1 = Uhm.. Uh..\pMy name is Joshua! Don't you\nforget it!
boxset 6
applymovement 0x02 $policerun
$policerun 1 ; #binary 0x47 0x02 0x03 0x13 0x10 0x10 0x12 0x04 0x60 0x10 0xFE
pause 0x120
release
applymovement 0xFF $jump
$jump 1 ; #binary 0x11 0x01 0x01 0x03 0x03 0x04 0xFE
pausemove 0
release
end

#org $already
release
end
__________________
Gone.
  #500   Link to this post, but load the entire thread.  
Old August 7th, 2007 (2:01 PM).
destinedjagold's Avatar
destinedjagold destinedjagold is offline
You can contact me in PC's discord server...
 
Join Date: May 2007
Age: 32
Gender: Male
Nature: Careful
Posts: 8,579
Sorry for the double post, but noone seems to help me...

Here's my problem again...

Well.., I really want to have a script for the legendary dogs.
I'm hacking Ruby Version...
It goes like this...


When the player sets their eyes on the three legendary dogs, the three will growl and then will run away in different directions, just like in POKEMON GOLD, SILVER and SHINY GOLD.

If anyone can help me, please send me a private message, or email me at [email protected], or visit my site at www.freewebs.com/darkjagold
__________________

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:22 AM.