Community

The PokéCommunity

We are still working on a better slogan!

Visit Index



Advertise here

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Notices

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.

Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #26    
Old May 5th, 2012, 11:21 AM
Mr.Luigi's Avatar
Mr.Luigi
Trainer
 
Join Date: Aug 2010
Age: 20
Gender: Male

Advertise here
No matter what I try, the person that I set this script to won't respond at all when I face them and press "A." Any ideas on how to fix this in FireRed would be greatly appreciated.

#org $script
lock
faceplayer
checkflag 0x1200
if b_true goto $alreadygotone
message $wantpoke
$wantpoke 1 =Hey,\nit's dangerous out there.\pTake this Machop.
boxset 6
givepokemon 0x42 0x5 0x0
message $received
$received 1 = [PLAYER] received Machop!
boxset 6
setflag 0x1200
message $pokedex
$pokedex 1 = Here! \nTake this Pokédex, too!
boxset 6
setflag 0x828
setflag 0x829
message $recieved1
$recieved1 1 = [PLAYER] recieved the Pokédex!
boxset 6
message $gsball
$gsball 1 = Here's the GS Ball you needed.
boxset 6
setflag 0x825
message $recieved2
$recieved2 1 = [PLAYER] recieved the GS Ball!
boxset 6
message $league
$league 1 = You should challenge the \nOrange League!
boxset 6
setvar 0x6000 0x0001
release
end

#org $alreadygotone
lock
faceplayer
message $howsit
$howsit 1 =How are you and Machop?
boxset 6
release
end

Last edited by Mr.Luigi; May 5th, 2012 at 11:26 AM.
  #27    
Old May 6th, 2012, 02:43 AM
tajaros's Avatar
tajaros
Hi I'm dawg
 
Join Date: Apr 2012
Location: Philippines
Age: 15
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to tajaros
Quote:
Originally Posted by Mr.Luigi View Post
No matter what I try, the person that I set this script to won't respond at all when I face them and press "A." Any ideas on how to fix this in FireRed would be greatly appreciated.

#org $script
lock
faceplayer
checkflag 0x1200
if b_true goto $alreadygotone
message $wantpoke
$wantpoke 1 =Hey,\nit's dangerous out there.\pTake this Machop.
boxset 6
givepokemon 0x42 0x5 0x0
message $received
$received 1 = [PLAYER] received Machop!
boxset 6
setflag 0x1200
message $pokedex
$pokedex 1 = Here! \nTake this Pokédex, too!
boxset 6
setflag 0x828
setflag 0x829
message $recieved1
$recieved1 1 = [PLAYER] recieved the Pokédex!
boxset 6
message $gsball
$gsball 1 = Here's the GS Ball you needed.
boxset 6
setflag 0x825
message $recieved2
$recieved2 1 = [PLAYER] recieved the GS Ball!
boxset 6
message $league
$league 1 = You should challenge the \nOrange League!
boxset 6
setvar 0x6000 0x0001
release
end

#org $alreadygotone
lock
faceplayer
message $howsit
$howsit 1 =How are you and Machop?
boxset 6
release
end
Here's a Working script...

#org $script
lock
faceplayer
checkflag 0x1200
if b_true goto $alreadygotone
message $wantpoke
$wantpoke 1 =Hey,\nit's dangerous out there.\pTake this Machop.
boxset 6
givepokemon 66 5 0
fanfare 0x13E
message $received
$received 1 = \v\h01 received Machop!
boxset 6
waitfanfare
message $pokedex

$pokedex 1 = Here!\nTake this Pokédex, too!
boxset 6
fanfare 0x13E
message $recieved1
$recieved1 1 = \v\h01 recieved the Pokédex!
boxset 6
waitfanfare
message $gsball
$gsball 1 = Here's the GS Ball you needed.
boxset 6
fanfare 0x13E
message $recieved2

$recieved2 1 = \v\h01 recieved the GS Ball!
boxset 6
waitfanfare
message $league
$league 1 = You should challenge the\nOrange League!
boxset 6
setflag 0x828
setflag 0x829
setflag 0x1200
release
end

#org $alreadygotone

message $howsit
$howsit 1 =How are you and Machop?
boxset 6
release
end


Isn't setflag 0x825 a badge flag
and you must only use setvar to script boxes....
and you already have lock and faceplayer twice....
Hope this helps....
  #28    
Old May 6th, 2012, 08:00 AM
Mr.Luigi's Avatar
Mr.Luigi
Trainer
 
Join Date: Aug 2010
Age: 20
Gender: Male
Yes, that flag is for the soul badge. There are only 4 badges in the orange league and i needed to use surf outside of battle.
Anyway, thanks for helping, I "copy-paste-d" your script, but the person still doesn't respond at all to facing and pressing "A." The sound that you hear when you scroll through the messages sounds every time i press "A," but no message pops up, the person doesn't face, and I can still move.
If it's not fixable, oh well, I'll have to deal with it.
  #29    
Old May 6th, 2012, 06:04 PM
tajaros's Avatar
tajaros
Hi I'm dawg
 
Join Date: Apr 2012
Location: Philippines
Age: 15
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to tajaros
@Mr.Luigi
I found the Problem you did not put in a space in the first message
-message $wantpoke
$wantpoke 1 =Hey,\nit's dangerous out there.\pTake this Machop.
boxset 6

Should be like this
message $wantpoke
$wantpoke 1 = Hey,\nit's dangerous out there.\pTake this Machop.
boxset 6

  #30    
Old June 25th, 2012, 07:30 AM
PokemonGiratinaX's Avatar
PokemonGiratinaX
Will be always PGX
 
Join Date: Mar 2012
Location: The Blue Earth
Nature: Modest
How to make a script for Updating Pokedex in FireRed ?
PS : Sorry if you can't understand.
  #31    
Old August 15th, 2012, 03:58 PM
noah0155's Avatar
noah0155
 
Join Date: Jul 2012
Gender: Male
#org $script
setvar 0x6001 0x00001
applymovement 3 $oh
$oh 1 ; #binary 0x62 0x13 0xFE
pausemove 0
setflag 0x2000
setflag 0x1215
message $guy
$guy 1 = Hey kid you can't pass\nBy you need\pTo Get a POKEMON from Prof.\nOak!
boxset 6
applymovement 3 $idk
$idk 1 ; #binary 0x62 0x60 0xFE
pausemove 0
message $2
$2 1 = Oh you got a POKEMON here\nYou go\pThen!
boxset 6
setmaptile 0xD 0x27 0xE7 0x1
release
end

check out my sig for a download of my beta of POKEMON FLAMING FIRE!
watch out for Pokemon Avengance

Last edited by noah0155; August 15th, 2012 at 06:12 PM. Reason: Your double post has been automatically merged.
  #32    
Old December 8th, 2013, 09:01 PM
Aeolus Gaming
 
Join Date: Dec 2013
Location: Southern California
Gender: Male
Nature: Relaxed
I am new to scripting, but since I followed everything in the video I watched, I don't think I made an error. I made the script and compiled it, then burned it into the rom, and gave the offset to one of the people in Pallet Town. When I go into the game and talk to said character, My player is locked, and so is the other character, but there is no message whatsoever, and the rest of the game still runs (the other people walk around, the flowers animate, and the music plays).

Here is the code (just in case):

#org $techey
lock
faceplayer
massage $tech
$tech 1 = Insert message here.
boxset 6
release
end
  #33    
Old December 9th, 2013, 05:26 AM
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
Please don't revive threads on out of date hacking techniques. Pokescript was to put to rest a long time ago. Go see tutorials for PKSVUI or XSE. I have used both and they are much more robust.

I personally use XSE and the latest version can be found on Gamer2020's tools thread. Diegoisawesome also has a great tutorial for it.

Closed.

~karatekid552

Edit: I know the thread revival limit doesn't apply here, however, I am doing you a favor because if you needed any help, no one would help you. If you post in the Script Help Thread using Pokescript, people will ignore you or tell you to use XSE. It is just the way of hacking.

Paired with Simba
Closed Thread
Quick Reply

Sponsored Links


Advertise here
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 01:03 AM.

About Us
© 2002 - 2014 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.

Copyright
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 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. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.