PHO - Pokémon Hackers Online
Go Back   PHO - Pokémon Hackers Online > Other Generations Hacking > Guides & Documentation > Questions & Answers

Questions & Answers Do you have a problem you need a straight answer for? Ask a question here and get an answer.

Reply
 
Thread Tools Display Modes
Old 30th July 2014, 05:44 PM   #71
HarmonyMaddie
Pokemon Harmony Girl
 
HarmonyMaddie's Avatar
 
Join Date: Jul 2014
Location: on my couch :3
Age: 19
Posts: 5
HarmonyMaddie
Question

Quote:
Originally Posted by Pia Carrot View Post
You might have to use a hex editor for the Pokedex, because the Pokedex is a bit more complex in FR/LG if I'm not mistaken. As for the selection that is in a script, you'll need XSE or PKSV for that.
Would you happen to know a decent tutorial for hex editing? I'm not sure how to even begin, but I did find XSE.
HarmonyMaddie is offline   Reply With Quote
Sponsored Links
Old 30th July 2014, 05:59 PM   #72
Pia Carrot
Orange Developer
Administrator
 
Pia Carrot's Avatar
 
Join Date: Aug 2010
Location: Valencia Island
Age: 22
Posts: 848
Pia Carrot Pia Carrot Pia Carrot Pia Carrot
Default

Not much to hex editing. You'll need for find a Firered .tbl file and a hex editor like gold finger or transhexlation. Then you search for the terms you need and look through offsets until you find what you're looking for.

Yes, it's a very tedious process but it works.
__________________

I'm a boob
Pia Carrot is offline   Reply With Quote
Old 3rd August 2014, 10:31 PM   #73
qaz015393
pokemon revenge developer
 
Join Date: Jul 2014
Posts: 24
qaz015393
Default

I have a quick question which I didn't see on here. When doing script that occur when I step on the tile, since there are a certain number of Safe Vars and Safe Flags can I recycle the vars and flags or do i need different ones in each script. Bc since I use my working scripts as basses for other scripts sometime they get messed up and I want to know which should I change the Var or the flags to make sure everything works safely.
qaz015393 is offline   Reply With Quote
Old 3rd August 2014, 10:33 PM   #74
Pia Carrot
Orange Developer
Administrator
 
Pia Carrot's Avatar
 
Join Date: Aug 2010
Location: Valencia Island
Age: 22
Posts: 848
Pia Carrot Pia Carrot Pia Carrot Pia Carrot
Default

Umm, look for a list of flags that correspond to the rom you're hacking. Unless I'm misunderstanding your question, the only other way is to test them yourself.
__________________

I'm a boob
Pia Carrot is offline   Reply With Quote
Old 3rd August 2014, 10:50 PM   #75
qaz015393
pokemon revenge developer
 
Join Date: Jul 2014
Posts: 24
qaz015393
Default

ok. Sorry for that let me make it a bit clearer,
in my fire red hack Im adding some new events that are trip scripts. So for those should I use the safe Var and flags.

Safe Vars:
->0x4011-0x40FF

Safe Flags:
->200-2FF


I have like about more than 10 I think. Some are different rival encounters and some are events.
qaz015393 is offline   Reply With Quote
Old 3rd August 2014, 10:55 PM   #76
Pia Carrot
Orange Developer
Administrator
 
Pia Carrot's Avatar
 
Join Date: Aug 2010
Location: Valencia Island
Age: 22
Posts: 848
Pia Carrot Pia Carrot Pia Carrot Pia Carrot
Default

I'm sure there are a few you can use that are being used by FireRed's default scripts. You'd have to look for them though. Always use safe ones if you can.
__________________

I'm a boob
Pia Carrot is offline   Reply With Quote
Old 4th August 2014, 02:59 AM   #77
qaz015393
pokemon revenge developer
 
Join Date: Jul 2014
Posts: 24
qaz015393
Default

Quote:
Originally Posted by Pia Carrot View Post
I'm sure there are a few you can use that are being used by FireRed's default scripts. You'd have to look for them though. Always use safe ones if you can.
thanks just wanted to double check.

EDIT:

Can I get some help with my 2 intro scripts. I can't seem to make it work the way the script is. The only thing that happens is the 1st text part but if i go back inside a house all sprites disappear [but some times i get the trip script again] not to mention a few times the script tile moves my iteslf when i put it in a certain spot. Anyway here are my two scripts that i need help fixing:

part1:
Spoiler:

Code:
#dynamic 0x80ACB1

'---------------
#org @start
lockall
setvar 0x4021 0x1
hidesprite 0x10
hidesprite 0x11
hidesprite 0x9
hidesprite 0x8
applymovement 0xFFF @move12
checkgender
compare 0x800D 0x1
if 0x1 goto @female
compare 0x800D 0x0
if 0x1 goto @male
applymovement 0xFFF @move14
waitmovement 0x0
applymovement 0x5 @move1
waitmovement 0x0
applymovement 0x6 @move2
waitmovement 0x0
applymovement 0x7 @move3
waitmovement 0x0
compare 0x800D 0x1
if 0x1 goto @female1
compare 0x800D 0x0
if 0x1 goto @male1
showsprite 0x8
showsprite 0x9
applymovement 0x8 @move4
applymovement 0x9 @move5
msgbox @string2 MSG_KEEPOPEN
hidesprite 0x8
showsprite 0x11
msgbox @win MSG_NORMAL
hidesprite 0x9
showsprite 0x10
msgbox @lose MSG_NORMAL
applymovement 0x10 @move6
hidesprite 0x10
msgbox @string4 MSG_NORMAL
applymovement 0x5 @move9
applymovement 0x7 @move10
closeonkeypress
waitmovement 0x0
fadescreen 0x1
hidesprite 0x5
hidesprite 0x6
hidesprite 0x7
hidesprite 0x4
setflag 0x206
warp 0x1 0x11 0x1 0x0 0x0
fadescreen 0x0
release 
end


'---------
' Strings
'---------
#org @string1
= [player]: Kira not you and\nTeam Obsidian again.\lKira: Yes. That is right [player]\lTeam Obsidian is back.\lHhaaaa!\l[player]: I don't think so.\l


#org @win
= Kira: Not quite. I made this\ndevice that just copied your\lpower. Now take a look at my\lnew Shadow Pokemon. You can't win!\l


#org @lose
= Kira: Go Shadow Mega Swampert!!\nUse Shadow Ball on Mega charizard\lX and [player].\pShadow Mega Swampert: Swaammpp!


#org @string4
= Kira: Now grunts capture them\nand lets return to our new hideout.

#org @string5
= [player]: Come on Abby. Lets go to\nsee that new horror movie.\lWait something seems off.\l


#org @string2
= Come on Kira, I got my Charizard\nand I'm powered up to destroy\lTeam Obsidian once and for all.\lGo Mega Charizard X!\l


#org @yourf
= [player]: Come on Matt. Lets go to\nsee that new horror movie.\lWait something seems off.\l


#org @6
= [player]: Kira not you and\nTeam Obsidian again.\lKira: Yes. That is right [player]\lTeam Obsidian is back.\lHhaaaa!\l[player]: I don't think so.\l



#org @female
closeonkeypress
msgbox @yourf 0x6
release
end

#org @female1
closeonkeypress
msgbox @6 0x6
release
end

#org @male
closeonkeypress
msgbox @string5 0x6
release
end

#org @male1
closeonkeypress
msgbox @string1 0x6
release
end

'-----------
' Movements
'-----------
#org @move1
#raw 0x10 0x10 0x10 0x10 0x10 0x2 0xFE

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

#org @move3
#raw 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x2 0x12 0x12 0xFE

#org @move4
#raw 0x55 0x55 0xFE

#org @move5
#raw 0x54 0x54 0xFE

#org @move6
#raw 0x54 0x54 0x66 0x54 0x3B 0xFE

#org @move9
#raw 0x066 0x1F 0x1F 0xFE

#org @move10
#raw 0x066 0x1F 0x1F 0x1F 0X12 0xFE

#org @move11
#raw 0x0 0x2 0x3 0x1 0x7 0x6 0x7 0x4 0xFE

#org @move12
#raw 0x3 0x13 0x1 0xFE

#org @move14
#raw 0x62 0x2 0x11 0x3 0x62 0xFE


now after this part you are then warped to another place to see more of the story.

part2:
Spoiler:

Code:
#dynamic 0x80DBD4

#org @start
lock
faceplayer
msgbox @1 0x4
closeonkeypress
fadescreen 0x1
fadescreen 0x0
waitmovement 0x0
msgbox @2 0x6
applymovement 14 @walk1
waitmovement 0x0
applymovement 15 @walk6
msgbox @3 0x6
applymovement 14 @walk2
waitmovement 0x0
hidesprite 14
waitmovement 0x0
setvar 0x8004 0xF
setvar 0x8005 0xF
setvar 0x8006 0xF
setvar 0x8007 0xF
special 0x136
applymovement 15 @walk5
msgbox @4 0x6
waitmovement 0x0
fadescreen 0x1
hidesprite 15
hidesprite 13
hidesprite 12
fadescreen 0x0
applymovement 11 @walk3
msgbox @5 0x6
applymovement 11 @walk4
waitmovement 0x0
fadescreen 0x1
hidesprite 11
warp 0x3 0x19 0x0 0x0 0x0
setvar 0x6000 0x1
setflag 0x1206
release
end

#org @1
= SCIENTIST 1: Alright Kira.\nEverything is ready to go and we\lcan start the experiment any time\lyou are ready.\pKira: Excellent. Soon\nwe will turn all Pokemon into\lDark Pokemon and brainwash\leverone into Team Dark members.\lNow start it up.\pSCIENTIST 2: Starting it up sir.\p[PLAYER]: Awwwww.\p\nCHARIZARD: RROOOAAAARRR\pSCIENTIST 1: Subject 1 and\nSubject 2 responding.\pSCIENTIST 2: Mechine at maximum\npower. Launching device.\pKira: Mwahaaa!

#org @2
= Kira: Yes finally! HAahaaa!\nIt worked. Look at this\lrandom Pokemon I just caught.\p\nSCIENTIST1: Yes Kira the\lexperimennt did indeed work.\p\nABBY: King KIRA. What are your\lorders my lord.

#org @3
= KIRA: Yes the brainwashing is a\nsuccess. Now I'm KING KIRA.\pLt. ABBY I want you to take these\nSHADOW BADGES and give them to the\lthe top members who are fit to be\l
called ADMINs\pLT. ABBY: As you wish my Lord.\pKIRA: Now go.

#org @4
= [PLAYER]: Aaaa hhhaaaaaaaa\pSCIENTEST2: Sir KIRA the power\nlevel is too much. It seems\l[PLAYER] is over loading the\lengines. This place is going to\lblow soon.\pKIRA: Who cares. We got what we\nwanted. Lets leave now and this\lplace can finally take out that\lannoying brat who kept getting in\lour way. Now move out.

#org @5
= [PLAYER]: Come on CHARIZARD.\nLets get out of here.


#org @walk1
#raw 0x10 0x10 0x3 0x13 0xFE

#org @walk2
#raw 0x0 0x10 0x3 0x13 0x0 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0xFE

#org @walk3
#raw 0x2 0x61 0x16 0x66 0xFE

#org @walk4
#raw 0x0 0x1D 0x1D 0x1D 0x1D 0x1D 0x1D 0x1D 0xFE

#org @walk5
#raw 0x62 0x63 0x65 0x3 0xFE

#org @walk6
#raw 0x2 0xFE

Last edited by qaz015393; 6th August 2014 at 02:17 AM. Reason: didn't want to double post since its only been 2 days
qaz015393 is offline   Reply With Quote
Old 23rd April 2015, 11:54 PM   #78
Cruztown
Fish are cool
 
Cruztown's Avatar
 
Join Date: Nov 2013
Location: Texas
Posts: 20
Cruztown
Default

Yo, would anyone happen to know where Deoxys' data is stored in FireRed? I was hoping to edit the base stats of its form, since its always reverted to Attack.
Cruztown is offline   Reply With Quote
Old 27th January 2016, 09:15 PM   #79
IceGod64
n00b
 
IceGod64's Avatar
 
Join Date: Jan 2016
Posts: 1
IceGod64
Default Generation II tools?

I've been jumping into Gen II ROM hacking, and while there are tools and guides readily available for basic things like mapping, editing sprites and whatnot, and I've even changed a few Pokemon/Trainer sprites without issue, I'm tempted to delve a bit deeper into the mysteries of Pokémon.

So it's known, I do have some programming and scripting experience, and I am capable of working with Hex - but would rather avoid it where possible.

1: Is there a G/S/C script editor available? Johtomap has options for working with scripts, but I don't have a script editor, so...I don't have much use for it.

2: Working with tilesets, I have a few questions. Is it possible to add new ones and have Johtomap read them? Also, is it save to edit garbage tiles I see in existing tilesets, or is is that game data and Johtomap is just reading past the end of the tile data?

2.5: How about editing existing ones? I have Tile Layer Pro, and know that some tilesets are completely uncompressed and just sitting at odd offsets, but there are some that are without a doubt compressed. How do I edit the compressed tilesets?

3: On the subject of tilesets, does anyone know where the animated graphics for tilesets in G/S are stored? I'm at a loss finding them.

With this all addressed, the main reason I'm asking about this is not only because I want to make a few small changes, but because I want to know where I should set the bar for this mini-hack.
IceGod64 is offline   Reply With Quote
Old 14th August 2017, 07:45 PM   #80
Knoxyt
n00b
 
Join Date: Aug 2017
Posts: 1
Knoxyt
Default

Hey!Is the Pokemon rom map Editor for Android​ done? I Need this app!I want to make my own Rom Hack but i don't have a PC
Knoxyt is offline   Reply With Quote
Reply

Tags
button, questions, search, simple

Thread Tools
Display Modes

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. The time now is 04:42 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc. User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo.
Pokémon Hackers Online (PHO) is in no way affiliated with or endorsed by Nintendo LLC, Creatures, GAMEFREAK inc,
The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast.
All forum/site content (unless noted otherwise) and site designs are © 2006-2013 Pokémon Hackers Online (PHO).
Green Charizard Christos TreeckoLv100

"Black 2" by ARTPOP. Kyurem artwork by XOUS.

no new posts