The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

ROM Hacking Hub General discussions about ROM Hacking and Emulation. Not sure where to start? This is the place for you.
Posting links to ROMs is illegal and is not tolerated anywhere on the forum.


Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #25101    
Old May 19th, 2013, 11:19 PM
Aemirch's Avatar
Aemirch
Hobbler
 
Join Date: May 2013
Location: Greece
Send a message via Skype™ to Aemirch
Quote:
Originally Posted by robin22gongon View Post
Still not working. Maybe I just have to make two maps. One with the level script one without.
Is the script type correct? As in, type 02 (it says something about validating values)-- and, check if the map has other scripts that resets offsets or pointers and if it does, delete said script.
__________________
WIP
  #25102    
Old May 19th, 2013, 11:25 PM
Shadowraze's Avatar
Shadowraze
Love and Peace
 
Join Date: Apr 2013
Location: Philippines
Age: 15
Gender: Male
Nature: Adamant
Send a message via Skype™ to Shadowraze
Quote:
Originally Posted by robin22gongon View Post
I have a question!

How do I make a level script run one time only?

And if it helps, here's my script:
Code:
#dynamic 0x750000

#org @start
lock
checkflag 0x6
if 0x1 goto @ended
fadescreen 0x1
preparemsg @msg1
waitmsg
multichoice 0x0 0x0 0x01 0x1
copyvar 0x8000 0x800D
compare 0x8000 0x0
if 0x1 goto @fire
compare 0x8000 0x1
if 0x1 goto @wind
compare 0x8000 0x2
if 0x1 goto @lightning
compare 0x8000 0x3
if 0x1 goto @earth
compare 0x8000 0x4
if 0x1 goto @water
release
end

#org @ended
release
end

#org @fire
setflag 0x1
goto @go1
release
end

#org @wind
setflag 0x2
goto @go2
release
end

#org @lightning
setflag 0x3
goto @go3
release
end

#org @earth
setflag 0x4
goto @go4
release
end

#org @water
setflag 0x5
goto @go5
release
end

#org @go1
msgbox @msg2 0x6
setflag 0x6
fadescreen 0x0
setvar 0x4000 0x1
release
end

#org @go2
msgbox @msg3 0x6
setflag 0x6
fadescreen 0x0
setvar 0x4000 0x1
release
end

#org @go3
msgbox @msg4 0x6
setflag 0x6
fadescreen 0x0
setvar 0x4000 0x1
release
end

#org @go4
msgbox @msg5 0x6
setflag 0x6
fadescreen 0x0
setvar 0x4000 0x1
release
end

#org @go5
msgbox @msg6 0x6
setflag 0x6
fadescreen 0x0
setvar 0x4000 0x1
release
end

#org @msg1
= Choose a town you want to start\nyour adventure from.

#org @msg2
= You have chosen the Fire Town.\nGood luck on your journey!

#org @msg3
= You have chosen the Wind Town.\nGood luck on your journey!

#org @msg4
= You have chosen the Lightning\nTown. Good luck on your journey!

#org @msg5
= You have chosen the Earth Town.\nGood luck on your journey!

#org @msg6
= You have chosen the Water Town.\nGood luck on your journey!
Change the var that you're using since 0x4000 resets it's value once you enter/leave the map.
__________________
  #25103    
Old May 19th, 2013, 11:28 PM
robin22gongon's Avatar
robin22gongon
 
Join Date: Sep 2012
Location: Want to know? VM me.
Age: 16
Gender: Male
Nature: Quirky
Send a message via Windows Live Messenger to robin22gongon
Quote:
Originally Posted by Aemirch View Post
Is the script type correct? As in, type 02 (it says something about validating values)-- and, check if the map has other scripts that resets offsets or pointers and if it does, delete said script.
Yes the script type is [02] and my map doesn't have other level scripts. I'm using JPAN's Engine.
__________________
LET'S PARTY!
  #25104    
Old May 19th, 2013, 11:45 PM
Aemirch's Avatar
Aemirch
Hobbler
 
Join Date: May 2013
Location: Greece
Send a message via Skype™ to Aemirch
Quote:
Originally Posted by robin22gongon View Post
Yes the script type is [02] and my map doesn't have other level scripts. I'm using JPAN's Engine.
Ouch. Weird stuff happens sometimes there. Can you do this? Compile the script into another, clean ROM and see what happens. If it works then it's JPAN's engine. If it doesn't... then we still have an issue with the variable you're using.
__________________
WIP
  #25105    
Old May 19th, 2013, 11:52 PM
Shadowraze's Avatar
Shadowraze
Love and Peace
 
Join Date: Apr 2013
Location: Philippines
Age: 15
Gender: Male
Nature: Adamant
Send a message via Skype™ to Shadowraze
Quote:
Originally Posted by Aemirch View Post
Ouch. Weird stuff happens sometimes there. Can you do this? Compile the script into another, clean ROM and see what happens. If it works then it's JPAN's engine. If it doesn't... then we still have an issue with the variable you're using.
No, JPAN's engine doesn't have any conflict with level scripts I have tried it myself and it works.

@robin22gongon

It's most probably the var that you're using or you may have not done this in the proper way.

http://www.pokecommunity.com/showthread.php?t=279345

Follow the guide I made there if you follow it right I'm sure that level script of yours will work.
__________________
  #25106    
Old May 20th, 2013, 12:10 AM
robin22gongon's Avatar
robin22gongon
 
Join Date: Sep 2012
Location: Want to know? VM me.
Age: 16
Gender: Male
Nature: Quirky
Send a message via Windows Live Messenger to robin22gongon
Quote:
Originally Posted by Shadowraze View Post
No, JPAN's engine doesn't have any conflict with level scripts I have tried it myself and it works.

@robin22gongon

It's most probably the var that you're using or you may have not done this in the proper way.

http://www.pokecommunity.com/showthread.php?t=279345

Follow the guide I made there if you follow it right I'm sure that level script of yours will work.
Actually that's what I followed throughout making the script. It really, actually works. It's just that I don't want it repeated again and again every time I enter the map.
__________________
LET'S PARTY!
  #25107    
Old May 20th, 2013, 12:57 AM
Shadowraze's Avatar
Shadowraze
Love and Peace
 
Join Date: Apr 2013
Location: Philippines
Age: 15
Gender: Male
Nature: Adamant
Send a message via Skype™ to Shadowraze
Quote:
Originally Posted by robin22gongon View Post
Actually that's what I followed throughout making the script. It really, actually works. It's just that I don't want it repeated again and again every time I enter the map.
Didn't you saw my previous post do not use 0x4000 as your var if you don't want your script to be repeated again and again everytime you enter the map.
__________________
  #25108    
Old May 20th, 2013, 03:18 AM
robin22gongon's Avatar
robin22gongon
 
Join Date: Sep 2012
Location: Want to know? VM me.
Age: 16
Gender: Male
Nature: Quirky
Send a message via Windows Live Messenger to robin22gongon
Quote:
Originally Posted by Shadowraze View Post
Didn't you saw my previous post do not use 0x4000 as your var if you don't want your script to be repeated again and again everytime you enter the map.
So what should I do? Can I use 4050?
__________________
LET'S PARTY!
  #25109    
Old May 20th, 2013, 03:50 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
Quote:
Originally Posted by robin22gongon View Post
So what should I do? Can I use 4050?
Use 0x40F8. There is soooo little chance it has been used, it isn't funny.
__________________

Paired with Simba
  #25110    
Old May 20th, 2013, 03:56 AM
robin22gongon's Avatar
robin22gongon
 
Join Date: Sep 2012
Location: Want to know? VM me.
Age: 16
Gender: Male
Nature: Quirky
Send a message via Windows Live Messenger to robin22gongon
Quote:
Originally Posted by karatekid552 View Post
Use 0x40F8. There is soooo little chance it has been used, it isn't funny.
Is there still a chance some vars are still not safe even if I use JPAN's Engine?

Oh and also how do I make that automatically black? The screen. When I use the script I used with fadescreen 0x1, it still shows the screen before it fades to black. What I wanted to do is automatically black. Let me know if I don't make sense.
__________________
LET'S PARTY!

Last edited by robin22gongon; May 20th, 2013 at 04:03 AM.
  #25111    
Old May 20th, 2013, 04:04 AM
GoGoJJTech's Avatar
GoGoJJTech
GoGo
 
Join Date: Nov 2012
Location: Earth
Age: 15
Gender: Male
Nature: Quiet
Anyone know the location of the ruby and emerald special tables? I got FR already.
__________________
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
Proof that I'm the third best Temple Run player in the Universe
The SoulSilver Music Patch - The Black Music Patch - Mega-Huge Sappy Tutorial - Time-Based Events - Yet Another Sprite Resource

Pokémon Platinum Red and Blue

Join me in the chat! Get help or just talk, I really don't care :D | Click here: http://chat.linkandzelda.com:9090/?c...omhacking,GoGo
  #25112    
Old May 20th, 2013, 04:22 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
Quote:
Originally Posted by robin22gongon View Post
Is there still a chance some vars are still not safe even if I use JPAN's Engine?

Oh and also how do I make that automatically black? The screen. When I use the script I used with fadescreen 0x1, it still shows the screen before it fades to black. What I wanted to do is automatically black. Let me know if I don't make sense.
The restrictions on vars are the same with his engine. So, only vars up 0x40FF are safe.

Ummm, I do understand you. I looked through the command list and I don't see anything that will do it without a fade. You may need to write a small ASM routine for it.

Or, I just had another idea, you could create a completely black room and hide the player. Then you could warp and show the player when you are done with your messages.

Quote:
Originally Posted by gogojjtech View Post
Anyone know the location of the ruby and emerald special tables? I got FR already.
The easiest way to do this is to go to the location of the special 0x0 (heal pokemon) in a FR rom and copy the bytes at the beginning of the routine up to the first pointer. (16 bytes should be a good length) Then go search in an RSE rom for that line (make sure you only get one result) and then turn the location of the data into a pointer and search for that. The only location of this pointer should be the beginning of the table.
__________________

Paired with Simba

Last edited by karatekid552; May 20th, 2013 at 04:26 AM. Reason: Your double post has been automatically merged.
  #25113    
Old May 20th, 2013, 04:41 AM
kearnseyboy6's Avatar
kearnseyboy6
Aussie's Toughest Mudder
 
Join Date: Dec 2008
Quote:
Originally Posted by karatekid552 View Post
Or, I just had another idea, you could create a completely black room and hide the player. Then you could warp and show the player when you are done with your messages.
This is an awesome idea ^. I have made mini videos by warping a player to a black tile and moving the camera. The possibilities are endless.

A question though, sometime simple talking scripts on people don't work, instead using talking scripts from another person in the map. Even though the script offsets are different they still run the same commands... Anyone else had this problem?
  #25114    
Old May 20th, 2013, 09:53 AM
marcus_dom
Unhatched Egg
 
Join Date: May 2013
Gender: Male
Hi there,
This is my first time posting here, so I hope I'm asking in the right place.
I am a complete noob regarding Pokemon hacking, but I'm trying to learn and this is what I'm doing:

I grabbed an original FireRed ROM and with WindHex I am translating dialogue to a different language. I have found a table to translate hex values to normal letters and have been doing great with it, because it lets me pretty much edit every word and title in the game.
My question is: I would like to make every Pokemon from the first 150 catchable in FireRed. Is this doable?
For example, I'd like to make Bellsprouts and other LeafGreen exclusives to appear as wild Pokemon (let's say in Route 10 and Safari Zone). Is there a way to do this?
I've searched a lot here on the forum, but I couldn't find an answer. Maybe I'm not looking in the right places though, I bet this is asked a lot.
  #25115    
Old May 20th, 2013, 10:17 AM
GoGoJJTech's Avatar
GoGoJJTech
GoGo
 
Join Date: Nov 2012
Location: Earth
Age: 15
Gender: Male
Nature: Quiet
You could use advance map, you make maps edit wild pokemon data, create events, all sorts of stuff. It's also very user friendly so you should have no problem witb it. If you need help send me a message and ill help you, no problem
__________________
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
Proof that I'm the third best Temple Run player in the Universe
The SoulSilver Music Patch - The Black Music Patch - Mega-Huge Sappy Tutorial - Time-Based Events - Yet Another Sprite Resource

Pokémon Platinum Red and Blue

Join me in the chat! Get help or just talk, I really don't care :D | Click here: http://chat.linkandzelda.com:9090/?c...omhacking,GoGo
  #25116    
Old May 20th, 2013, 10:18 AM
miksy91's Avatar
miksy91
A GB/C Rom Hacker since 2010
 
Join Date: Oct 2008
Location: A small country in the North
Gender: Male
Nature: Relaxed
Quote:
Originally Posted by marcus_dom View Post
Hi there,
This is my first time posting here, so I hope I'm asking in the right place.
I am a complete noob regarding Pokemon hacking, but I'm trying to learn and this is what I'm doing:

I grabbed an original FireRed ROM and with WindHex I am translating dialogue to a different language. I have found a table to translate hex values to normal letters and have been doing great with it, because it lets me pretty much edit every word and title in the game.
My question is: I would like to make every Pokemon from the first 150 catchable in FireRed. Is this doable?
For example, I'd like to make Bellsprouts and other LeafGreen exclusives to appear as wild Pokemon (let's say in Route 10 and Safari Zone). Is there a way to do this?
I've searched a lot here on the forum, but I couldn't find an answer. Maybe I'm not looking in the right places though, I bet this is asked a lot.
Hey there,

Well so far, you've been doing an exactly similar thing - working out with data with a hex editor. You could easily re-write the wild pokemon data for every area the exact same way but there are in-game specific tools for that so you don't have to hex edit everything.

In fact, you can do almost any beginner-friendly thing with a game specific tool (not that you'd learn much by doing it that way...). Anyway, AdvanceMap is the tool you'd be looking for.
__________________
My Rom Hack



Hacks I support





Learn how to hack GB/C games:

Check my GameBoy/Color hacking videos in Youtube
-The video set uses Pokemon Silver (U) rom for demonstrations
  #25117    
Old May 20th, 2013, 10:29 AM
Kurapika's Avatar
Kurapika
Grudgebearer
 
Join Date: Feb 2013
Location: Lavendar Town - Morocco
Gender: Male
Nature: Naughty
Yeah, do as miksy said and download some tools from the tools forum. Rom hacking using tools is already time consuming, so doing everything in hex will be just life consuming!
__________________
  #25118    
Old May 20th, 2013, 10:32 AM
marcus_dom
Unhatched Egg
 
Join Date: May 2013
Gender: Male
Well gogojjtech and miksy91, I feel dumb now x)
I read that tool's name so many times and I never actually downloaded it because I thought it was only to modify map sprites and appearance.
Thanks for the tip, apparently the answer was right in front of me. Cheers!
  #25119    
Old May 20th, 2013, 10:34 AM
red5677
Non-Existent Elite Four Champ
 
Join Date: Jun 2008
Location: 'Merica
Gender: Male
Nature: Brave
Quote:
Originally Posted by DeltaSalamence View Post
You can create a sequence in which givepokemon is utilized.

As for the originally programmed choosing of Pokemon, you'd have to Hex Edit/A-Text the special.
Would I have to do a multi-choice thing? (Like would you like This..This..or this?) I've already edited what pokemon there are, and I changed the text using A-Text....soo now what?
  #25120    
Old May 20th, 2013, 10:35 AM
GoGoJJTech's Avatar
GoGoJJTech
GoGo
 
Join Date: Nov 2012
Location: Earth
Age: 15
Gender: Male
Nature: Quiet
Quote:
Originally Posted by marcus_dom View Post
Well gogojjtech and miksy91, I feel dumb now x)
I read that tool's name so many times and I never actually downloaded it because I thought it was only to modify map sprites and appearance.
Thanks for the tip, apparently the answer was right in front of me. Cheers!
Yeah, Advance Map is pretty cool. Well, you should download as many tools as possible to make your life easier!
__________________
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
Proof that I'm the third best Temple Run player in the Universe
The SoulSilver Music Patch - The Black Music Patch - Mega-Huge Sappy Tutorial - Time-Based Events - Yet Another Sprite Resource

Pokémon Platinum Red and Blue

Join me in the chat! Get help or just talk, I really don't care :D | Click here: http://chat.linkandzelda.com:9090/?c...omhacking,GoGo
  #25121    
Old May 20th, 2013, 11:00 AM
Uikri's Avatar
Uikri
 
Join Date: May 2013
Gender: Male
Is it possible to implement the physical/special split in Gen III ROMs?
  #25122    
Old May 20th, 2013, 11:06 AM
GoGoJJTech's Avatar
GoGoJJTech
GoGo
 
Join Date: Nov 2012
Location: Earth
Age: 15
Gender: Male
Nature: Quiet
There is already a patch made, its here somewhere because i already put it in my games.
__________________
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
Proof that I'm the third best Temple Run player in the Universe
The SoulSilver Music Patch - The Black Music Patch - Mega-Huge Sappy Tutorial - Time-Based Events - Yet Another Sprite Resource

Pokémon Platinum Red and Blue

Join me in the chat! Get help or just talk, I really don't care :D | Click here: http://chat.linkandzelda.com:9090/?c...omhacking,GoGo
  #25123    
Old May 20th, 2013, 11:15 AM
Uikri's Avatar
Uikri
 
Join Date: May 2013
Gender: Male
Quote:
Originally Posted by gogojjtech View Post
There is already a patch made, its here somewhere because i already put it in my games.
Any chance you could provide a link? "Here somewhere" is just kind of vague, is all.
  #25124    
Old May 20th, 2013, 11:26 AM
Kurapika's Avatar
Kurapika
Grudgebearer
 
Join Date: Feb 2013
Location: Lavendar Town - Morocco
Gender: Male
Nature: Naughty
Uikri, you can find one in the Research & Developement forum.
__________________
  #25125    
Old May 20th, 2013, 12:00 PM
GoGoJJTech's Avatar
GoGoJJTech
GoGo
 
Join Date: Nov 2012
Location: Earth
Age: 15
Gender: Male
Nature: Quiet
http://www.pokecommunity.com/showthread.php?t=234550
right there
__________________
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
Proof that I'm the third best Temple Run player in the Universe
The SoulSilver Music Patch - The Black Music Patch - Mega-Huge Sappy Tutorial - Time-Based Events - Yet Another Sprite Resource

Pokémon Platinum Red and Blue

Join me in the chat! Get help or just talk, I really don't care :D | Click here: http://chat.linkandzelda.com:9090/?c...omhacking,GoGo
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 10:46 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 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.
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.