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
  #1    
Old July 15th, 2007 (10:09 AM).
Argent Crusader's Avatar
Argent Crusader Argent Crusader is offline
Isn't Falstad dead?
 
Join Date: Sep 2006
Location: Paraguay
Age: 23
Nature: Lax
Posts: 300
Hi, i gonna post some commands that are kinda unknown, some know them, some not, but anyways they are helpful sometimes:

Quote:
Fire Red Commands

Earthquake:
special 0x136

Select Three PKMN for something:
special 0x29

Access BILL's PC:
special 0x3C

KANTO POKéDEX Doc:
special 0x108

Elevator Animation:
special 0x111

HALL OF FAME & Credits:
special 0x110

Shows Floors:
special 0x132

O HP Haunter Battle:
special 0x139

Light:
special 0x13D

Battle with Ghost:
special 0x156

Bike:
special 0x157

Surf:
special 0x161

Nickname:
special 0x166

Seagallop Animation (Can Be used as Train ):
special 0x17B

S.S. Anne Leaving:
special 0x191



Ruby Commands

Choose an Pokémon:
special 0x9F

POKéBLOCK CASE:
special 0xD0

MoveTutor:
special 0xE0

HALL OF FAME & Credits:
special 0x110

Elevator Animation:
special 0x111

Restart Game:
special 0x10F

Pokémon Image (This is cool but needs decoding):
special 0x140

Falls in the first warp of the map:
special 0x13F

Uses the first warp of the map:
special 0x13E

Light:
special 0x13D

Groudon's Orb:
special 0x119

Earthquake:
special 0x131

Show floors:
special 0x132

Weird Quake:
special 0x136

Lava Battle:
special 0x137

Legendary Battle:
special 0x138

Legendary Battle 2:
special 0x139

Strange Message (Is like the Unowns or Something):
special 0x67

Going up to the Mountain:
special 0x98



Emerald:

Set Party Menu:
setflag 0x860

Set Pokédex Menu:
setflag 0x861

Set Navigator Menu:
setflag 0x862

Set Match Call + Devon Pres. Number:
setflag 0x130
Also there's one more ting for emerald:

The POKéNAV Call:
Quote:
#org 0x(offset)
#raw 0x69
#raw 0xDF
#raw 0x(text byte 03)
#raw 0x(text byte 02)
#raw 0x(text byte 01)
#raw 0x08
#raw 0x66
#raw 0x28
#raw 0x1E
nop
end
__________________
  #2    
Old July 16th, 2007 (01:26 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
Aahh.. Handy
Some of them I didn't knew, mostly because I haven't searched them
Good job.. I hope people will add things to this list
__________________
[NTME | WPEDS | HTPE | SGPE | TGPE | PDEDS]
  #3    
Old July 16th, 2007 (01:44 AM).
Martin Yiu Martin Yiu is offline
disappeared... forever
 
Join Date: Jan 2006
Posts: 493
Oh, is there possibility to make a tut how to alter the segallop with different graphics?? Or just tell the offsets? Anyways, thank you for very helpful adviced in hacking
__________________

  #4    
Old July 16th, 2007 (05:11 AM).
Argent Crusader's Avatar
Argent Crusader Argent Crusader is offline
Isn't Falstad dead?
 
Join Date: Sep 2006
Location: Paraguay
Age: 23
Nature: Lax
Posts: 300
The Seagallop, ummm, i think the Overworld is in tiled or any overworld editor. I dont know about the water, but, is an animation, so, i think it's on tiled.
__________________
  #5    
Old July 17th, 2007 (12:21 PM).
<~F.M.P~>'s Avatar
<~F.M.P~> <~F.M.P~> is offline
I got you whistling Blue Box!
Silver Tier
 
Join Date: Jul 2006
Location: Germany
Age: 23
Gender: Male
Nature: Mild
Posts: 640
Send a message via AIM to <~F.M.P~> Send a message via Windows Live Messenger to <~F.M.P~>
Where do u put these special ones at?
  #6    
Old July 17th, 2007 (02:14 PM).
HackMew's Avatar
HackMew HackMew is offline
Mewtwo Strikes Back
Crystal Tier
 
Join Date: Jun 2006
Posts: 1,314
Quote originally posted by sumin90210:
Where do u put these special ones at?
Well, in a script of course. Or did you mean something else?
__________________
  #7    
Old July 17th, 2007 (08:06 PM).
<~F.M.P~>'s Avatar
<~F.M.P~> <~F.M.P~> is offline
I got you whistling Blue Box!
Silver Tier
 
Join Date: Jul 2006
Location: Germany
Age: 23
Gender: Male
Nature: Mild
Posts: 640
Send a message via AIM to <~F.M.P~> Send a message via Windows Live Messenger to <~F.M.P~>
Oh and What would the script look like?
  #8    
Old July 18th, 2007 (08:46 AM).
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 sumin90210:
Oh and What would the script look like?
Ask that question in a script request section or something.
But it would be like this

#org 0x800000
special 0x0
release
end
__________________
  #9    
Old July 18th, 2007 (09:35 AM). Edited July 19th, 2007 by Wuggles.
Wuggles's Avatar
Wuggles Wuggles is offline
Pokémon Omega
 
Join Date: Mar 2007
Nature: Adamant
Posts: 101
Nice!
I got some too

FireRed - Leafgreen
setflag 0x829 - Turn on Pokedex
setflag 0x828 - Turn on PokeMenu
special 0x16F - Turn on National Dex
setflag 0x820-0x827 - all badges

Ruby - Sapphire
setflag 0x800 - Turn on PokeMenu
setflag 0x801 - Turn on Pokedex
setflag 0x802 - Turn on Pokemon Navigator
setflag 0x807-80E - all badges
special 0x9C - ChoosePokemon (choose starterpokémon)
special 0x9D - WallyCatch (Wally catch the ralts..)

Emerald
special 0x1F3 - Turn on National Dex

General(these are just things for newbies ;3)
\v\h01 - your own chosen name
\v\h06 - chosen name of rival
__________________
Come visit Pokemon Omega sometime!
  #10    
Old July 18th, 2007 (12:45 PM).
HackMew's Avatar
HackMew HackMew is offline
Mewtwo Strikes Back
Crystal Tier
 
Join Date: Jun 2006
Posts: 1,314
Quote originally posted by Kike-Scott:
The POKéNAV Call:
Code:
#org 0x(offset)
#raw 0x69
#raw 0xDF
#raw 0x(text byte 03)
#raw 0x(text byte 02)
#raw 0x(text byte 01)
#raw 0x08
#raw 0x66
#raw 0x28
#raw 0x1E
nop
end
I think that that part would look better in this way:

Code:
#org 0x(offset)
#raw 0x69
#raw 0xDF
#raw 0x8(text offset)
#raw 0x66
pause 0x1E
nop
end

Quote originally posted by Wuggles:
setflag 0x829 - Turn on Pokedex
setflag 0x828 - Turn on PokeMenu
Sorry but you inverted that two flags :P
__________________
  #11    
Old July 19th, 2007 (12:13 AM).
Wuggles's Avatar
Wuggles Wuggles is offline
Pokémon Omega
 
Join Date: Mar 2007
Nature: Adamant
Posts: 101
Quote originally posted by - HackMew -:
Sorry but you inverted that two flags
Thnx Andrea Edited :-P
__________________
Come visit Pokemon Omega sometime!
  #12    
Old July 25th, 2007 (02:04 AM).
Short Range's Avatar
Short Range Short Range is offline
Chargin' mah Solarbeam!
 
Join Date: Jun 2007
Location: Australia
Nature: Naive
Posts: 270
Quote originally posted by Wuggles:
setflag 0x820-0x827 - all badges
Does that mean it gives you all the badges or does it mean you have to have all the badges?
__________________
MSN/E-mail ~ [email protected]

Nintendo Wii Code ~ 6691-5507-3921-0167
Pokemon Platinum Code ~ 1849-2990-6860

Feel free to drop me a line on Wii Message or MSN! :D
  #13    
Old July 25th, 2007 (03:51 AM).
Wuggles's Avatar
Wuggles Wuggles is offline
Pokémon Omega
 
Join Date: Mar 2007
Nature: Adamant
Posts: 101
Quote originally posted by Short Range:
Does that mean it gives you all the badges or does it mean you have to have all the badges?
setflag gives all badges
checkflag checks all badges
__________________
Come visit Pokemon Omega sometime!
  #14    
Old July 25th, 2007 (04:55 AM).
HackMew's Avatar
HackMew HackMew is offline
Mewtwo Strikes Back
Crystal Tier
 
Join Date: Jun 2006
Posts: 1,314
Quote originally posted by Short Range:
Does that mean it gives you all the badges or does it mean you have to have all the badges?
To make it clearer:

setflag 0x820 'enable 1st badge
setflag 0x821 'enable 2nd badge
setfalg 0x822 'enable 3rd badge
setflag 0x823 'enable 4th badge
setflag 0x824 'enable 5th badge
setflag 0x825 'enable 6th badge
setflag 0x826 'enable 7th badge
setflag 0x827 'enable 8th badge
__________________
  #15    
Old July 25th, 2007 (11:11 AM).
Hiidoran's Avatar
Hiidoran Hiidoran is offline
used Bone Club...?
Crystal Tier
 
Join Date: Oct 2005
Location: Indiana
Gender: Male
Nature: Jolly
Posts: 5,260
Thank you very much! It seems people are always asking which special or flag does what. Thanks to you, that problem will no longer exist!
  #16    
Old July 31st, 2007 (07:10 PM).
the new guy's Avatar
the new guy the new guy is offline
AKA damysteryman
 
Join Date: Jul 2007
Location: ???????????????????????????
Gender:
Nature: Brave
Posts: 4
Would there be a special command to enable the national dex in ruby? If so, does anybody know what it is? It would be highly appreciated.
  #17    
Old August 4th, 2007 (04:09 PM).
darklucario's Avatar
darklucario darklucario is offline
 
Join Date: Aug 2007
Posts: 1
what is special command to enable the national dex in ruby?(estou translate com help de um dicionary i am from brazil)!
  #18    
Old August 5th, 2007 (09:07 PM).
jdogpwnz's Avatar
jdogpwnz jdogpwnz is offline
Pokemon Elite Journey
 
Join Date: Jul 2007
Location: California
Age: 20
Gender:
Nature: Naughty
Posts: 25
thanks it really helped!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
__________________

Join Pokemon Elite Journey's team by clicknig the banner above!
  #19    
Old August 11th, 2007 (04:06 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Does anybody know the flags for when Oak checks your pokedex? Also the running shoes, please?
__________________
Gone.
  #20    
Old August 14th, 2007 (06:21 AM).
Teh Baro's Avatar
Teh Baro Teh Baro is offline
In my times...!
 
Join Date: Mar 2006
Location: Spain
Gender: Male
Nature: Quiet
Posts: 522
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)
__________________
what the fudge
  #22    
Old August 22nd, 2007 (08:41 AM).
Prof. 9 Prof. 9 is offline
 
Join Date: Jun 2006
Location: Netherlands
Gender: Male
Posts: 151
Cool, but... how does the Pokémon Image command (Ruby) work?

EDIT: And...

If you use
Quote:
Falls in the first warp of the map:
special 0x13F

Uses the first warp of the map:
special 0x13E
Will the script continue after warping?
  #23    
Old August 22nd, 2007 (09:15 AM).
boon's Avatar
boon boon is offline
Normal Trainer
 
Join Date: Aug 2007
Gender:
Posts: 26
thanks,it realy helped me.
  #24    
Old August 25th, 2007 (06:54 PM).
Derlo's Avatar
Derlo Derlo is offline
Working on Essence of light...
 
Join Date: Aug 2007
Posts: 117
Send a message via Skype™ to Derlo
how is the command that activates RUNNING SHOES in FR?
  #25    
Old September 2nd, 2007 (06:25 PM).
foullump's Avatar
foullump foullump is offline
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Posts: 220
I used the earhquake (special 0x136) but ehh... how do I make it stop? It continues until the end of the script.
__________________
Closed Thread
Quick Reply

Sponsored Links

You may also like.. (Beta)
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 03:26 PM.