Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Reload this Page [Tutorial] Flags and Special Commands [R/FR/E]

Notices
For all updates, view the main page.

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
 
Thread Tools
  #26    
Old September 6th, 2007 (02:39 AM).
urzzz urzzz is offline
 
Join Date: May 2006
Gender:
Nature: Naughty
Posts: 9
Just thought i'd contribute a little

FR running shoes - Flag 0x82F
  #27    
Old September 6th, 2007 (02:55 PM).
foullump's Avatar
foullump foullump is offline
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Posts: 220
Quote originally posted by urzzz:
Just thought i'd contribute a little

FR running shoes - Flag 0x82F
Awesome! Now I can put the running shoes from the beginning of my game!
__________________
  #28    
Old September 18th, 2007 (08:07 AM).
Sergio--'s Avatar
Sergio-- Sergio-- is offline
...call me Serg!o...
 
Join Date: Jun 2005
Location: Madrid
Gender:
Posts: 101
Quote originally posted by Teh Baro:
Anyone knows a way to check if you are mounting the bike (a flag for it?) or a special to dismount the bike (no, 0x157 doesn't work the other way round)
Hey baro!
I don't know if there it's coded something for dismount the bike.
For check if you're in the bike, I used this:

#org 0x
special2 LASTRESULT 0xE3
compare LASTRESULT 0x2
if 0x1 call 0x(MACH BIKE)
compare LASTRESULT 0x0
if 0x1 jump 0x(BY FOOT)
(ACRO BIKE)
end

#org 0x(MACH BIKE)
msgbox '"¡Comienza la carrera..."

end

#org 0x(BY FOOT)
msgbox '"¡No te acerques al b..."
end

This is tested in ruby, I suppose you're asking for FR, but well, try it.
Maybe you'll need to 'compare' the 0x1 for be in the FR bike, like in FR there is only one.
__________________
  #29    
Old September 18th, 2007 (08:23 PM).
ZodiacDaGreat's Avatar
ZodiacDaGreat ZodiacDaGreat is offline
Working on a Mobile System
 
Join Date: Feb 2007
Location: South Pacific
Age: 22
Gender: Male
Nature: Relaxed
Posts: 429
Send a message via ICQ to ZodiacDaGreat
Quote:
Pokémon Image (This is cool but needs decoding):
special 0x140
I tried the special in a script in Ruby, and the "? poke" appears. So how do you decode it, so it can show other Pokemon species???
  #30    
Old September 18th, 2007 (10:15 PM). Edited September 19th, 2007 by thethethethe.
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
If you want the pokemon picture in FR to appear use this(haven't tried it in ruby), I got this from the script discussion thread from Hackmew(Rom-raiders)
PP and QQ are the pokemon's hex number and
XX and YY are the location of the box(0A,03 is the middle in FR)
Add #raw 76 when you want the picture box to close.

#raw 75
#raw PP
#raw QQ
#raw XX
#raw YY

Close Box Code:
#raw 76
__________________
Gone.
  #31    
Old September 20th, 2007 (08:09 PM).
ZodiacDaGreat's Avatar
ZodiacDaGreat ZodiacDaGreat is offline
Working on a Mobile System
 
Join Date: Feb 2007
Location: South Pacific
Age: 22
Gender: Male
Nature: Relaxed
Posts: 429
Send a message via ICQ to ZodiacDaGreat
Quote:
If you want the pokemon picture in FR to appear use this(haven't tried it in ruby), I got this from the script discussion thread from Hackmew(Rom-raiders)
PP and QQ are the pokemon's hex number and
XX and YY are the location of the box(0A,03 is the middle in FR)
Add #raw 76 when you want the picture box to close.

#raw 75
#raw PP
#raw QQ
#raw XX
#raw YY

Close Box Code:
#raw 76
I tried that in Ruby, but the image appears in different palletes if its in indoors, but works fine in routes and towns.

But the special 0x140 it only shows the ? poke, I want to make it show something else??
  #32    
Old September 22nd, 2007 (06:48 AM).
falkner's Avatar
falkner falkner is offline
 
Join Date: Jun 2007
Location: Eterna City, Sinnoh
Gender:
Nature: Adamant
Posts: 9
On emerald when i put special 0x98 (mountain) i get a black screen and a fanfare tune... HELP!
__________________
Falkner's PokePet

Pingu the level 1 Piplup!
  #33    
Old October 3rd, 2007 (01:04 PM). Edited October 7th, 2007 by OMNIPOTENT.
OMNIPOTENT OMNIPOTENT is offline
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Posts: 55
looking the beginning scripts in ruby i found these:

special 0x9A
special 0x9B

these should open the menu to set the clock (one for girl, one for man). if anybody can try them and check if they're enough or some setvar/compare/LASTRESULT is needed, it could be great.

[rejected] and about the national dex... mmh i found something else looking the birch's script, look at it, i'm asking in the script thread for infos on the decripting.

Spoiler:

'-----------------------
#org 0x1A0D5A
setvar 0x8004 0x0
special2 LASTRESULT 0xD4
copyvar 0x8008 0x8005
copyvar 0x8009 0x8006
copyvar 0x800A LASTRESULT
#raw 0x83
nop
jumpstd 0x80
#raw 0x83
nop
callstd 0x80
msgbox 0x81C61FA '"Mhmm...\pDunque, hai..."
callstd 0x4
call 0x81A0D4F
compare 0x800A 0x0
if 0x1 jump 0x1A1EF7
setvar 0x8004 0x1
special2 LASTRESULT 0xD4
copyvar 0x8008 0x8005
copyvar 0x8009 0x8006
#raw 0x83
nop
jumpstd 0x80
#raw 0x83
nop
callstd 0x80
msgbox 0x81C6809 '"Uhm...\nSu base nazi..."
callstd 0x4
return

'-----------------------
#org 0x1A0D4F
copyvar 0x8004 0x8009
special 0xD5
#raw 0x66
#raw 0x6D
return
'-----------------------
#org 0x1A1EF7
return
  #34    
Old October 7th, 2007 (12:37 PM).
Knox's Avatar
Knox Knox is offline
I dont know what to say
 
Join Date: Sep 2007
Location: In a pillow case
Nature: Quirky
Posts: 29
Yay. Special commands.

But does anyone know how to use earthquake? I never get it to work
  #35    
Old October 17th, 2007 (05:58 AM).
Dr.Razor's Avatar
Dr.Razor Dr.Razor is offline
Yellow Remaker
 
Join Date: Aug 2007
Location: Switzerland
Posts: 101
Quote originally posted by thethethethe:
If you want the pokemon picture in FR to appear use this(haven't tried it in ruby), I got this from the script discussion thread from Hackmew(Rom-raiders)
PP and QQ are the pokemon's hex number and
XX and YY are the location of the box(0A,03 is the middle in FR)
Add #raw 76 when you want the picture box to close.

#raw 75
#raw PP
#raw QQ
#raw XX
#raw YY

Close Box Code:
#raw 76
Where can i find pokemon's hex number?
I need the hex of jirachi.
  #36    
Old October 17th, 2007 (07:49 AM).
D-Trogh's Avatar
D-Trogh D-Trogh is offline
Dead
 
Join Date: Jul 2005
Location: Belgium
Age: 23
Gender: Male
Posts: 439
Send a message via Windows Live Messenger to D-Trogh
Why are people to lazy to search for it before they ask - -'
Jirachi's HEX = 0199
__________________
[NTME | WPEDS | HTPE | SGPE | TGPE | PDEDS]
  #37    
Old January 20th, 2008 (05:00 AM).
rsr13's Avatar
rsr13 rsr13 is offline
PokéHelp Creator
 
Join Date: Jun 2007
Gender:
Nature: Adamant
Posts: 18
Does any one knows te commands of:

(Ruby) Runnging shoe's
(Ruby) Region map


Already thanks!
  #38    
Old January 21st, 2008 (11:04 AM).
pokeglitch86 pokeglitch86 is offline
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Posts: 28
Does anybody know the flag for the abilty to surf. The special 0x161 makes you start surfing wherever you are standing and the flag for the 6th badge just gives you the 6th badge.
  #39    
Old January 23rd, 2008 (08:19 AM).
zaayid zaayid is offline
 
Join Date: Jan 2008
Gender:
Posts: 13
Quote:
If you want the pokemon picture in FR to appear use this(haven't tried it in ruby), I got this from the script discussion thread from Hackmew(Rom-raiders)
PP and QQ are the pokemon's hex number and
XX and YY are the location of the box(0A,03 is the middle in FR)
Add #raw 76 when you want the picture box to close.

#raw 75
#raw PP
#raw QQ
#raw XX
#raw YY

Close Box Code:
#raw 76
How do find the pokemon's hex number? I need Dragonite's.
__________________
Zaayid's PokePet

Mr Muggles the level 56 Charizard!
/color]
  #40    
Old February 20th, 2008 (11:49 PM).
Flashpoint's Avatar
Flashpoint Flashpoint is offline
→ P e r s i s t e n c e
Crystal Tier
 
Join Date: Jan 2008
Location: SRU Headquarters
Age: 22
Gender: Male
Nature: Relaxed
Posts: 723
Send a message via Windows Live Messenger to Flashpoint Send a message via Skype™ to Flashpoint
I got a question

When using the surf special
Is there a way to get off the pokemon youre surfing on

offtopic : Wow,almost a month without reply's
  #41    
Old February 25th, 2008 (01:03 AM). Edited February 25th, 2008 by Darthatron.
Darthatron's Avatar
Darthatron Darthatron is offline
巨大なトロール。
Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Posts: 1,152
I think I should contribute... Here is what I've found so far:
Code:
[Fire Red]

special 0x9D - The Old Man showing you how to catch a Pokemon. (Could be edited somehow for a Yellow Remake?)
__________________
あなた は しきしゃ です
わたし は ばか です
  #42    
Old February 25th, 2008 (02:31 AM).
X-Buster X-Buster is offline
 
Join Date: Feb 2008
Posts: 713
Ahh..! why does anyone always asking for the hex value of a pokemon..!
Its very simple to convert you know? just take the pokédex number and convert it into hex..! (e.g. Mew/dex#:151/hex value:97)
__________________
  #43    
Old March 28th, 2009 (06:52 AM).
sab's Avatar
sab sab is offline
Now too much of a life.
 
Join Date: Jul 2008
Location: Midgar
Age: 18
Gender: Male
Nature: Timid
Posts: 979
does anyone know what the command for nationl dex is in ruby? btw It was a great idea to start this thread.
__________________
anCay ouyay eakspay igpay atinlay? Ifay osay easeplay m.p.ay
emay enthay opycay anday astepay isthay inay ouryay ignaturesay.
  #44    
Old March 28th, 2009 (11:37 AM).
Went's Avatar
Went Went is offline
Goomba of wisdom
Moderator
CS
 
Join Date: Mar 2007
Location: Madrid
Age: 24
Gender: Male
Posts: 18,817
Send a message via Skype™ to Went
Sorry, but reviving threads that are over a month old is against the rules.

~Closed
__________________
Mod of The Playground, Advance Gen and 5th Gen
Closed Thread
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 -8. The time now is 08:54 PM.