The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking
Register New Account FAQ/Rules Chat Blogs Mark Forums Read

Notices

Emulation & ROM Hacking The center for the community emulation scene. Come and discuss all things emulation and develop your own hacks!



Reply
Thread Tools
  #3551  
Unread April 12th, 2010, 12:03 PM
mariovstoad
Beginning Trainer
 
Join Date: Jun 2009
Gender:
well, this is just a quick question regarding scripts so I found it appropriate to post it here
Is it possible to be able to edit ingame scripts? i'm saying this because I want to make a minor edit to the "oak gives you the pokedex" scene in firered
if I had to rewrite it, counting all the mistakes i'd make it'd take hours, and by editing, it would take minutes...
p.s. im using XSE if this helps

minor edit, it's to change gary/blue/green's sprite, but only the time when oak gives you and gary/blue/green the pokedex.
Reply With Quote
  #3552  
Unread April 12th, 2010, 02:47 PM
Petz94's Avatar
Petz94
Beginning Trainer
 
Join Date: Apr 2010
Age: 27
Gender: Male
Send a message via Skype™ to Petz94
Nvm, I fixed my script problem. Thank you anyways.
__________________
Hack in Progress: Pokemon - Black Opal(Working Title)

Hack Tools I Use:
Advance Map 1.90
Advance Text
Advance Mart
Advance Pokemon Sprite Editor
Advance Pokemon Icon Editor
A-Trainer
Intro Ed
YAPE
Overworld Editor
XSE
FSF
Reply With Quote
  #3553  
Unread April 12th, 2010, 03:28 PM
mariovstoad
Beginning Trainer
 
Join Date: Jun 2009
Gender:
does anyone know if my above question is possible?
Reply With Quote
  #3554  
Unread April 12th, 2010, 03:51 PM
SwiftSign's Avatar
SwiftSign
Scary Fire Demon
 
Join Date: Jan 2009
Location: England
Age: 21
Gender: Male
Nature: Rash
Quote:
Originally Posted by mariovstoad View Post
does anyone know if my above question is possible?
In A-Map find the script and click 'open Script'.

Pretty simple, you can then copy/paste that into a new script and edit as you please.
__________________
Reply With Quote
  #3555  
Unread April 12th, 2010, 09:10 PM
Fr0z3n's Avatar
Fr0z3n
Beginning Trainer
 
Join Date: Mar 2009
Hi again, its been a few days and no one has told me anything on how to get this script to work. The problem is, as soon as i walk out of the house, i want this script to activate, but it doesn't, and I set the flags and added a setvar, but nothing still works. If there is something wrong with his script could someone please fix it?

Spoiler:

#dynamic 0x16545A

#org @start
checkflag 0x9C4
if 0x1 goto @done
setvar 0x1B58 0x1
applymovement 0x02 @move
waitmovement 0x02
playsong 0x13E 0x0
msgbox @1 0x2
applymovement 0x02 @comemove
applymovement 0xFF @comemove2
waitmovement 0x02
waitmovement 0xFF
msgbox @2 0x2
applymovement 0x02 @move2
applymovement 0xFF @move3
waitmovement 0x02
waitmovement 0xFF
msgbox @3 0x2
applymovement 0x02 @move4
waitmovement 0x02
fadesong 0x12C
setflag 0x9C4
hidesprite 0x02
release
end

#org @done
release
end

#org @move
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x12
#raw 0x01
#raw 0xFE

#org @comemove
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x01
#raw 0xFE

#org @comemove2
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x01
#raw 0xFE

#org @move2
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x13
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x01
#raw 0xFE

#org @move3
#raw 0x63
#raw 0x00
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x13
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x01
#raw 0xFE

#org @move4
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x1E
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0xFE

#org @1
= DON'T GO ANYWHERE... YET! COME\nWITH ME!\l...\l...\lQUICKLY!!

#org @2
= So? How do you like it?\n...\l...\lWhat do you mean you don't see\lit?! It's right in FRONT of you!!\lOh, and you should come back with\lme to the lab. There's 3\lPOK\h1BMON left, so let's go\lbefore they run out!\l...\l...\lOH MY GOSH!! Your so useless\lsometimes. Come! I'll show you\lwhere it is!

#org @3
= Oh bother, I forgot! Mum needs me!\nGotta run!\lCatch ya' later!
__________________
To be or not to be is a question asked by many... But many do not know what the answer is to this question.



75% of Pokemon gamers use cheats and specially made codes to make their pokemon battle-worthy. If you are one of the 25% percent that level their Pokemon up legally, put this in your signature.
Reply With Quote
  #3556  
Unread April 12th, 2010, 09:31 PM
SwiftSign's Avatar
SwiftSign
Scary Fire Demon
 
Join Date: Jan 2009
Location: England
Age: 21
Gender: Male
Nature: Rash
Quote:
Originally Posted by Fr0z3n View Post
Hi again, its been a few days and no one has told me anything on how to get this script to work. The problem is, as soon as i walk out of the house, i want this script to activate, but it doesn't, and I set the flags and added a setvar, but nothing still works. If there is something wrong with his script could someone please fix it?

Spoiler:

#dynamic 0x16545A

#org @start
checkflag 0x9C4
if 0x1 goto @done
setvar 0x1B58 0x1
applymovement 0x02 @move
waitmovement 0x02
playsong 0x13E 0x0
msgbox @1 0x2
applymovement 0x02 @comemove
applymovement 0xFF @comemove2
waitmovement 0x02
waitmovement 0xFF
msgbox @2 0x2
applymovement 0x02 @move2
applymovement 0xFF @move3
waitmovement 0x02
waitmovement 0xFF
msgbox @3 0x2
applymovement 0x02 @move4
waitmovement 0x02
fadesong 0x12C
setflag 0x9C4
hidesprite 0x02
release
end

#org @done
release
end

#org @move
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x12
#raw 0x01
#raw 0xFE

#org @comemove
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x01
#raw 0xFE

#org @comemove2
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x01
#raw 0xFE

#org @move2
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x13
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x01
#raw 0xFE

#org @move3
#raw 0x63
#raw 0x00
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x13
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x01
#raw 0xFE

#org @move4
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x1E
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0xFE

#org @1
= DON'T GO ANYWHERE... YET! COME\nWITH ME!\l...\l...\lQUICKLY!!

#org @2
= So? How do you like it?\n...\l...\lWhat do you mean you don't see\lit?! It's right in FRONT of you!!\lOh, and you should come back with\lme to the lab. There's 3\lPOK\h1BMON left, so let's go\lbefore they run out!\l...\l...\lOH MY GOSH!! Your so useless\lsometimes. Come! I'll show you\lwhere it is!

#org @3
= Oh bother, I forgot! Mum needs me!\nGotta run!\lCatch ya' later!
You need to make it a level script, follow the XSE tutorial by Diego (it has a level script section)
__________________
Reply With Quote
  #3557  
Unread April 13th, 2010, 02:21 AM
EXTREMEPokemon
Beginning Trainer
 
Join Date: Apr 2010
Gender: Male
Nature: Jolly
Pokemon FireRed
Poketscript
I created this simple script but when ever i plug it in it doesnt work. Can someone tell why it doesnt work?

Spoiler:

#org $script
lock
faceplayer
checkflag 0x1200
if 0x01 goto $done
message $1
$1 = Heres a pokemon.
boxset 6
givepokemon 0x151 0x5 0x13
message $2
$2 = \v\h01 recieved \nMEW!!!
boxset 6
message $3
$3 = Take care of it!
boxset 6
setflag 0x1200
release
end

#org $done
message $hello
$hello = Hello again.
boxset 6
release
end
Reply With Quote
  #3558  
Unread April 13th, 2010, 07:47 AM
Ninja Caterpie's Avatar
Ninja Caterpie
Sonic Rainboom!
 
Join Date: Mar 2008
Location: The Sky, Equestria
Age: 17
Gender: Male
Nature: Bold
A quick check. 0x16F is the national dex flag for FRLG, right?
__________________
Brony represent.

Last edited by Ninja Caterpie; April 13th, 2010 at 07:53 AM. Reason: i'm so stupid @_@
Reply With Quote
  #3559  
Unread April 13th, 2010, 08:16 AM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
Quote:
Originally Posted by Ninja Caterpie View Post
A quick check. 0x16F is the national dex flag for FRLG, right?
Nope. It's a special actually:

Quote:
Originally Posted by std.rbh
#define SP_FRNATIONAL 0x16F
#define SP_EMNATIONAL 0x1F3
__________________
Reply With Quote
  #3560  
Unread April 13th, 2010, 07:54 PM
pringles_king's Avatar
pringles_king
Beginning Trainer
 
Join Date: Mar 2010
Gender: Male
EXTREMEPokemon!
Hexing is involved in this and i made you a script to do what you want right here!
71A6B3

Spoiler:
#dynamic 0x71A5C3

#org @start
checkflag 0x1200
if 0x1 goto @done
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @2 0x6
release
end

#org @take
givepokemon 0x97 0x05 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x4
waitfanfare
closeonkeypress
setflag 0x1200
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5 0x6
release
end

#org @name
call 0x1A47EB
return

#org @done
msgbox @6 0x6
release
end

#org @1
= Heres a Mew!

#org @2
= How the **** dare you refuse him!

#org @3
= [black_fr] You received a Mew!

#org @4
= Would you like to give a nickname\nto mew?

#org @5
= Make him deadly.

#org @6
= Hi again [player]


That is the script if u wanna look and tweak it
lmk how it works
Reply With Quote
  #3561  
Unread April 13th, 2010, 09:56 PM
Binary's Avatar
Binary
え?
 
Join Date: Aug 2007
Age: 18
Okay, I'm having a problem with 'setmaptile'.
setmaptile [X Coordinate] [Y Coordinate] [Tile Number] [Movement allowed?]
I know the values of everything else except the tile number. What value is supposed to be put there? I put the block number displayed on the bottom left, but it doesn't turn out right.
__________________
Reply With Quote
  #3562  
Unread April 13th, 2010, 10:01 PM
SwiftSign's Avatar
SwiftSign
Scary Fire Demon
 
Join Date: Jan 2009
Location: England
Age: 21
Gender: Male
Nature: Rash
Quote:
Originally Posted by Binary View Post
Okay, I'm having a problem with 'setmaptile'.
setmaptile [X Coordinate] [Y Coordinate] [Tile Number] [Movement allowed?]
I know the values of everything else except the tile number. What value is supposed to be put there? I put the block number displayed on the bottom left, but it doesn't turn out right.
That should be right, eg: 0x168 for the Gym Sign tile in tileset 0.

Are you sure that the X and Y co-ordinate are correct?

Also remember to use Special 0x8E after the setmaptile command to reset the map so the changes are visible straight away.
__________________
Reply With Quote
  #3563  
Unread April 13th, 2010, 10:13 PM
Binary's Avatar
Binary
え?
 
Join Date: Aug 2007
Age: 18
Quote:
Originally Posted by SwiftSign View Post
That should be right, eg: 0x168 for the Gym Sign tile in tileset 0.

Are you sure that the X and Y co-ordinate are correct?

Also remember to use Special 0x8E after the setmaptile command to reset the map so the changes are visible straight away.
Yeah, I also figured it out myself.
It seems that I tried changing the numbers into hex even though they were already in hex. lol.
Anyways, thanks.
__________________
Reply With Quote
  #3564  
Unread April 14th, 2010, 01:48 AM
Scytha's Avatar
Scytha
mass effect freak
 
Join Date: Apr 2010
Location: Australia
Gender: Male
Nature: Naughty
im not so good at scripting....can anyone tell me how i could, instead of Birch giving you the Hoenn dex he will give you the National Dex? This is ruby by the way.
Reply With Quote
  #3565  
Unread April 14th, 2010, 04:34 AM
Jonny Buuz's Avatar
Jonny Buuz
La di da di do di da di dum...
 
Join Date: Oct 2005
Location: Behind you.
Age: 22
Gender: Male
Nature: Modest
Send a message via AIM to Jonny Buuz
Could anyone tell me what I'm doing wrong here? I am at a complete loss.

Spoiler:
'---------------
#org 0x80007D
checkflag 0x828
if 0x1 goto 0x880009B
msgbox 0x880009E MSG_NORMAL '"Wait a sec..."
applymovement MOVE_PLAYER 0x88000AE
waitmovement 0x0
release
end

'---------------
#org 0x80009B
release
end


'---------
' Strings
'---------
#org 0x80009E
= Wait a sec...


'-----------
' Movements
'-----------
#org 0x8000AE
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements


This is my actual XSE script, here.

Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x828
if 0x1 goto @fin
msgbox @1 0x6
applymovement 0xFF @move
waitmovement 0x0
release
end

#org @fin
release
end

#org @1
= Wait a sec...

#org @move
#raw 0x11
#raw 0xFE
__________________
</signature>
Reply With Quote
  #3566  
Unread April 14th, 2010, 06:37 AM
Ninja Caterpie's Avatar
Ninja Caterpie
Sonic Rainboom!
 
Join Date: Mar 2008
Location: The Sky, Equestria
Age: 17
Gender: Male
Nature: Bold
Quote:
Originally Posted by Jonny Buuz View Post
Could anyone tell me what I'm doing wrong here? I am at a complete loss.

Spoiler:
'---------------
#org 0x80007D
checkflag 0x828
if 0x1 goto 0x880009B
msgbox 0x880009E MSG_NORMAL '"Wait a sec..."
applymovement MOVE_PLAYER 0x88000AE
waitmovement 0x0
release
end

'---------------
#org 0x80009B
release
end


'---------
' Strings
'---------
#org 0x80009E
= Wait a sec...


'-----------
' Movements
'-----------
#org 0x8000AE
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements


This is my actual XSE script, here.

Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x828
if 0x1 goto @fin
msgbox @1 0x6
applymovement 0xFF @move
waitmovement 0x0
release
end

#org @fin
release
end

#org @1
= Wait a sec...

#org @move
#raw 0x11
#raw 0xFE
Might want to explain the problem first.

Alright, so I made a level script;
Code:
#org @start
lockall
textcolor 0x0
applymovement MOVE_PLAYER @move1
msgbox @string1 MSG_NORMAL '"You're here to help me with my\nre..."
setflag 0x202
setvar 0x4055 0x2
end


'---------
' Strings
'---------
#org @string1
= You're here to help me with my\nresearch, right?\pOn the table there are three\nspecial POKéMON from KANTO.\pPick one!


'-----------
' Movements
'-----------
#org @move1
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements
But, uhm, when I go into the map, the shop menu comes up instead.
__________________
Brony represent.
Reply With Quote
  #3567  
Unread April 14th, 2010, 09:12 AM
Johnhconnor's Avatar
Johnhconnor
Learning Trainer
 
Join Date: Apr 2010
Gender: Male
Nature: Jolly
Game:Fire Red
Type:Gba
Editor:pokescript
Script: movement script (sound)

Spoiler:
#org $script
jingle
message $1
$1 1 = Hey \v\h01!
boxset 6
checkflag 0x1201
showsprite 10
applymovement 0xFF $surprised
$surprised 1 ; #binary 0x62 0xFE
pausemove 0
applymovement 10 $walk
pausemove 0
message $lazy
$lazy 1 = You're finally up then! \nAnyway \v\h01 Professor OAK is looking \pfor you so you better hurry \nI'll meet you there
boxset 6
applymovement 10 $walkaway
pausemove 0
removesprite 10
setflag 0x1201
setvar 0x6001 0x0001
release
end

#org $walk
#raw 0x0B 0x0B 0x0B 0x09 0x09 0x09 0x09 0x0B 0x0B 0xFE

#org $walkaway
#raw 0x0A 0x0A 0x08 0x08 0x08 0x08 0x0A 0x0A 0x0A 0x0A 0x0A 0x0A 0x0A 0x0A 0xFE

Screenshots and/or Videos:

Basicly what im trying to do is get Gary to walk towards tell me
something and then walk away.
Ive done that fine all works perfectly now i want to add his music 0x13B
whilst he is in motion does anyone know how to do this because i cant find anyone
who can yet
I would be incredibly gratefull for any help
Reply With Quote
  #3568  
Unread April 14th, 2010, 10:50 AM
Scytha's Avatar
Scytha
mass effect freak
 
Join Date: Apr 2010
Location: Australia
Gender: Male
Nature: Naughty
OK i am having trouble getting a script right. I made an item, CLEANSE STONE, that evolves pokemon. In Item Manager it is after the LEAF STONE. I use pskvui. Can someone help me with the script?
Spoiler:
#dyn 0x740000
#org @start
copyvarifnotzero 0x8000 CLEANSESTONE
copyvarifnotzero 0x8001 1=1
callstd MSG_FIND
end
Reply With Quote
  #3569  
Unread April 14th, 2010, 11:39 AM
Ninja Caterpie's Avatar
Ninja Caterpie
Sonic Rainboom!
 
Join Date: Mar 2008
Location: The Sky, Equestria
Age: 17
Gender: Male
Nature: Bold
Quote:
Originally Posted by Johnhconnor View Post
Game:Fire Red
Type:Gba
Editor:pokescript
Script: movement script (sound)

Spoiler:
#org $script
jingle
message $1
$1 1 = Hey \v\h01!
boxset 6
checkflag 0x1201
showsprite 10
applymovement 0xFF $surprised
$surprised 1 ; #binary 0x62 0xFE
pausemove 0
applymovement 10 $walk
pausemove 0
message $lazy
$lazy 1 = You're finally up then! \nAnyway \v\h01 Professor OAK is looking \pfor you so you better hurry \nI'll meet you there
boxset 6
applymovement 10 $walkaway
pausemove 0
removesprite 10
setflag 0x1201
setvar 0x6001 0x0001
release
end

#org $walk
#raw 0x0B 0x0B 0x0B 0x09 0x09 0x09 0x09 0x0B 0x0B 0xFE

#org $walkaway
#raw 0x0A 0x0A 0x08 0x08 0x08 0x08 0x0A 0x0A 0x0A 0x0A 0x0A 0x0A 0x0A 0x0A 0xFE

Screenshots and/or Videos:

Basicly what im trying to do is get Gary to walk towards tell me
something and then walk away.
Ive done that fine all works perfectly now i want to add his music 0x13B
whilst he is in motion does anyone know how to do this because i cant find anyone
who can yet
I would be incredibly gratefull for any help
You can split the movements into two different ones and put a song command thing in the middle or you could use fadesong (or w/e its Pokescript equivalent is) and have it fade into his theme as he's walking.
__________________
Brony represent.
Reply With Quote
  #3570  
Unread April 14th, 2010, 11:49 AM
Pokepal17's Avatar
Pokepal17
More cowbell~
 
Join Date: Oct 2008
Location: Steeltown
Age: 18
Gender: Male
Nature: Modest
Quote:
Originally Posted by Ninja Caterpie View Post
Might want to explain the problem first.

Alright, so I made a level script;
Code:
#org @start
lockall
textcolor 0x0
applymovement MOVE_PLAYER @move1
msgbox @string1 MSG_NORMAL '"You're here to help me with my\nre..."
setflag 0x202
setvar 0x4055 0x2
end
 
 
'---------
' Strings
'---------
#org @string1
= You're here to help me with my\nresearch, right?\pOn the table there are three\nspecial POKéMON from KANTO.\pPick one!
 
 
'-----------
' Movements
'-----------
#org @move1
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements
But, uhm, when I go into the map, the shop menu comes up instead.
Okay, first can you please alsoshow us the #raws at the beginning of the script.

Also, you need a waitmovement 0x0 under the applymovement.
__________________
Pokémon Stardrop
Reply With Quote
  #3571  
Unread April 14th, 2010, 07:15 PM
pringles_king's Avatar
pringles_king
Beginning Trainer
 
Join Date: Mar 2010
Gender: Male
I kinda need help!
Spoiler:

#org @start
trainerbattle 0x0 0x002 0x0 @before @after
msgbox @beaten 0x6
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
release
end

#org @before
= I'm from the Elite four!\nDon't be alarmed for\pThis is a team under Training!

#org @after
= You're pretty good!

#org @beaten
= I know i'll see you again\nIn the future!


Pokemon Ruby hacking im working on
and i put in a trainer with Elite four Sidney as the trainer but
when i battle him
he sends out the first pokemon i set for him properly but when he sends out another its a level 80 sandslash
and i cant change it why is that?
Reply With Quote
  #3572  
Unread April 15th, 2010, 12:18 AM
Ninja Caterpie's Avatar
Ninja Caterpie
Sonic Rainboom!
 
Join Date: Mar 2008
Location: The Sky, Equestria
Age: 17
Gender: Male
Nature: Bold
Oops, yeah, sorry about that. This, right?

Code:
'---------------
#org 0x721578
#raw 0x2
#raw pointer 0x871AF7A
#raw 0x0

'---------------
#org 0x71AF7A
#raw word 0x4055
#raw word 0x1
#raw pointer 0x8721589
#raw word 0x1

'---------------
#org 0x721589
lockall
textcolor 0x0
applymovement MOVE_PLAYER 0x872161A
msgbox 0x87215A5 MSG_NORMAL '"You're here to help me with my\nre..."
setflag 0x202
setvar 0x4055 0x2
end


'---------
' Strings
'---------
#org 0x7215A5
= You're here to help me with my\nresearch, right?\pOn the table there are three\nspecial POKéMON from KANTO.\pPick one!


'-----------
' Movements
'-----------
#org 0x72161A
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements
__________________
Brony represent.
Reply With Quote
  #3573  
Unread April 15th, 2010, 01:47 AM
Pokepal17's Avatar
Pokepal17
More cowbell~
 
Join Date: Oct 2008
Location: Steeltown
Age: 18
Gender: Male
Nature: Modest
Quote:
Originally Posted by Ninja Caterpie View Post
Oops, yeah, sorry about that. This, right?

Code:
'---------------
#org 0x721578
#raw 0x2
#raw pointer 0x871AF7A
#raw 0x0
 
'---------------
#org 0x71AF7A
#raw word 0x4055
#raw word 0x1
#raw pointer 0x8721589
#raw word 0x0
 
'---------------
#org 0x721589
lockall
textcolor 0x0
applymovement MOVE_PLAYER 0x872161A
msgbox 0x87215A5 MSG_NORMAL '"You're here to help me with my\nre..."
setflag 0x202
setvar 0x4055 0x2
end
 
 
'---------
' Strings
'---------
#org 0x7215A5
= You're here to help me with my\nresearch, right?\pOn the table there are three\nspecial POKéMON from KANTO.\pPick one!
 
 
'-----------
' Movements
'-----------
#org 0x72161A
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

Fixes in bold. That #raw word 0x0 should always be 0x0 because it acts as an "end" command for the level script header. If it's not #raw word 0x0, it does stupid things like item givings. It'd be cool if you could make it give a rare candy.
__________________
Pokémon Stardrop
Reply With Quote
  #3574  
Unread April 15th, 2010, 01:06 PM
Ash493's Avatar
Ash493
Destiny cannot be changed...
 
Join Date: Jul 2008
Location: Tachiwaki City, Isshu
Age: 20
Gender: Male
Nature: Calm
Quote:
Originally Posted by pringles_king View Post
I kinda need help!
he sends out the first pokemon i set for him properly but when he sends out another its a level 80 sandslash
and i cant change it why is that?
Did you re-check it with A-Trainer?
You might not have saved it properly.
__________________

Previous Sign
Reply With Quote
  #3575  
Unread April 16th, 2010, 03:07 AM
Reverse Dimension
Beginning Trainer
 
Join Date: Apr 2010
Gender: Male
how to a make a script (preferably with PKSV) where the pesron event is deleted after you use it once
Reply With Quote
Reply
Quick Reply

Sponsored Links


Thread Tools

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 UTC. The time now is 01:00 PM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 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 posts belong to the user.