Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub > Beginner’s Lounge
Reload this Page [ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION)

Notices
For all updates, view the main page.

Beginner’s Lounge Where all good (and bad) ideas start. This is the Beginner’s Lounge, where if you need a helping hand or want to develop your small ideas, you bring it here. We won't bite.



Closed Thread
 
Thread Tools
  #25101    
Old May 19th, 2013 (11:25 PM).
Shadowraze's Avatar
Shadowraze Shadowraze is offline
Agent of Chaos
 
Join Date: Apr 2013
Location: ur mum
Age: 16
Gender: Male
Nature: Jolly
Posts: 788
Quote originally posted by robin22gongon:
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.
__________________
  #25102    
Old May 19th, 2013 (11:28 PM).
BlackWhiteRobin's Avatar
BlackWhiteRobin BlackWhiteRobin is offline
 
Join Date: Sep 2012
Location: Want to know? VM me.
Age: 17
Gender: Male
Nature: Quirky
Posts: 409
Send a message via Windows Live Messenger to BlackWhiteRobin
Quote originally posted by Aemirch:
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!
  #25103    
Old May 19th, 2013 (11:45 PM).
Aemirch's Avatar
Aemirch Aemirch is offline
Hobbler
 
Join Date: May 2013
Location: Greece
Posts: 28
Send a message via Skype™ to Aemirch
Quote originally posted by robin22gongon:
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
  #25104    
Old May 19th, 2013 (11:52 PM).
Shadowraze's Avatar
Shadowraze Shadowraze is offline
Agent of Chaos
 
Join Date: Apr 2013
Location: ur mum
Age: 16
Gender: Male
Nature: Jolly
Posts: 788
Quote originally posted by Aemirch:
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.
__________________
  #25105    
Old May 20th, 2013 (12:10 AM).
BlackWhiteRobin's Avatar
BlackWhiteRobin BlackWhiteRobin is offline
 
Join Date: Sep 2012
Location: Want to know? VM me.
Age: 17
Gender: Male
Nature: Quirky
Posts: 409
Send a message via Windows Live Messenger to BlackWhiteRobin
Quote originally posted by Shadowraze:
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!
  #25106    
Old May 20th, 2013 (12:57 AM).
Shadowraze's Avatar
Shadowraze Shadowraze is offline
Agent of Chaos
 
Join Date: Apr 2013
Location: ur mum
Age: 16
Gender: Male
Nature: Jolly
Posts: 788
Quote originally posted by robin22gongon:
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.
__________________
  #25107    
Old May 20th, 2013 (03:18 AM).
BlackWhiteRobin's Avatar
BlackWhiteRobin BlackWhiteRobin is offline
 
Join Date: Sep 2012
Location: Want to know? VM me.
Age: 17
Gender: Male
Nature: Quirky
Posts: 409
Send a message via Windows Live Messenger to BlackWhiteRobin
Quote originally posted by Shadowraze:
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!
  #25108    
Old May 20th, 2013 (03:50 AM).
karatekid552's Avatar
karatekid552 karatekid552 is offline
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Posts: 1,767
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:
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
  #25109    
Old May 20th, 2013 (03:56 AM). Edited May 20th, 2013 by BlackWhiteRobin.
BlackWhiteRobin's Avatar
BlackWhiteRobin BlackWhiteRobin is offline
 
Join Date: Sep 2012
Location: Want to know? VM me.
Age: 17
Gender: Male
Nature: Quirky
Posts: 409
Send a message via Windows Live Messenger to BlackWhiteRobin
Quote originally posted by karatekid552:
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!
  #25110    
Old May 20th, 2013 (04:04 AM).
GoGoJJTech's Avatar
GoGoJJTech GoGoJJTech is offline
http://GoGoJJTech.com (WIP!)
Gold Tier
 
Join Date: Nov 2012
Location: Earth
Age: 16
Gender: Female
Nature: Jolly
Posts: 2,186
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.
The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
Romhack.me Profile - Pokecommunity Profile - Pokemonhackersonline Profile - Youtube Channel

Join us in the romhacking chat
Pokémon Platinum Red and Blue
  #25111    
Old May 20th, 2013 (04:22 AM). Edited May 20th, 2013 by karatekid552.
karatekid552's Avatar
karatekid552 karatekid552 is offline
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Posts: 1,767
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:
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:
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
  #25112    
Old May 20th, 2013 (04:41 AM).
kearnseyboy6's Avatar
kearnseyboy6 kearnseyboy6 is offline
Aussie's Toughest Mudder
 
Join Date: Dec 2008
Posts: 294
Quote originally posted by karatekid552:
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?
  #25113    
Old May 20th, 2013 (09:53 AM).
marcus_dom marcus_dom is offline
 
Join Date: May 2013
Gender: Male
Posts: 4
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.
  #25114    
Old May 20th, 2013 (10:17 AM).
GoGoJJTech's Avatar
GoGoJJTech GoGoJJTech is offline
http://GoGoJJTech.com (WIP!)
Gold Tier
 
Join Date: Nov 2012
Location: Earth
Age: 16
Gender: Female
Nature: Jolly
Posts: 2,186
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.
The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
Romhack.me Profile - Pokecommunity Profile - Pokemonhackersonline Profile - Youtube Channel

Join us in the romhacking chat
Pokémon Platinum Red and Blue
  #25115    
Old May 20th, 2013 (10:18 AM).
miksy91's Avatar
miksy91 miksy91 is offline
Dark Energy is back in action! ;)
 
Join Date: Oct 2008
Location: A small country in the North
Gender: Male
Nature: Relaxed
Posts: 1,336
Quote originally posted by marcus_dom:
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




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
  #25116    
Old May 20th, 2013 (10:29 AM).
Kurapika's Avatar
Kurapika Kurapika is offline
Grudgebearer
 
Join Date: Feb 2013
Location: Lavendar Town - Morocco
Gender: Male
Nature: Naughty
Posts: 398
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!
__________________
  #25117    
Old May 20th, 2013 (10:32 AM).
marcus_dom marcus_dom is offline
 
Join Date: May 2013
Gender: Male
Posts: 4
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!
  #25118    
Old May 20th, 2013 (10:34 AM).
red5677 red5677 is offline
Non-Existent Elite Four Champ
 
Join Date: Jun 2008
Location: 'Merica
Gender: Male
Nature: Brave
Posts: 20
Quote originally posted by DeltaSalamence:
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?
  #25119    
Old May 20th, 2013 (10:35 AM).
GoGoJJTech's Avatar
GoGoJJTech GoGoJJTech is offline
http://GoGoJJTech.com (WIP!)
Gold Tier
 
Join Date: Nov 2012
Location: Earth
Age: 16
Gender: Female
Nature: Jolly
Posts: 2,186
Quote originally posted by marcus_dom:
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.
The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
Romhack.me Profile - Pokecommunity Profile - Pokemonhackersonline Profile - Youtube Channel

Join us in the romhacking chat
Pokémon Platinum Red and Blue
  #25120    
Old May 20th, 2013 (11:00 AM).
Uikri's Avatar
Uikri Uikri is offline
 
Join Date: May 2013
Gender: Male
Posts: 22
Is it possible to implement the physical/special split in Gen III ROMs?
  #25121    
Old May 20th, 2013 (11:06 AM).
GoGoJJTech's Avatar
GoGoJJTech GoGoJJTech is offline
http://GoGoJJTech.com (WIP!)
Gold Tier
 
Join Date: Nov 2012
Location: Earth
Age: 16
Gender: Female
Nature: Jolly
Posts: 2,186
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.
The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
Romhack.me Profile - Pokecommunity Profile - Pokemonhackersonline Profile - Youtube Channel

Join us in the romhacking chat
Pokémon Platinum Red and Blue
  #25122    
Old May 20th, 2013 (11:15 AM).
Uikri's Avatar
Uikri Uikri is offline
 
Join Date: May 2013
Gender: Male
Posts: 22
Quote originally posted by gogojjtech:
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.
  #25123    
Old May 20th, 2013 (11:26 AM).
Kurapika's Avatar
Kurapika Kurapika is offline
Grudgebearer
 
Join Date: Feb 2013
Location: Lavendar Town - Morocco
Gender: Male
Nature: Naughty
Posts: 398
Uikri, you can find one in the Research & Developement forum.
__________________
  #25124    
Old May 20th, 2013 (12:00 PM).
GoGoJJTech's Avatar
GoGoJJTech GoGoJJTech is offline
http://GoGoJJTech.com (WIP!)
Gold Tier
 
Join Date: Nov 2012
Location: Earth
Age: 16
Gender: Female
Nature: Jolly
Posts: 2,186
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.
The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
Romhack.me Profile - Pokecommunity Profile - Pokemonhackersonline Profile - Youtube Channel

Join us in the romhacking chat
Pokémon Platinum Red and Blue
  #25125    
Old May 20th, 2013 (12:06 PM).
Uikri's Avatar
Uikri Uikri is offline
 
Join Date: May 2013
Gender: Male
Posts: 22
Quote originally posted by Kurapika:
Uikri, you can find one in the Research and Development Forum.
Thanks bro. Now for the final question. If I patched a R/S/E ROM with the Physical/Special split, could I then use pokehacks(DOT)dabomstew(DOT)com(SLASH)randomizer(SLASH)acks(DOT)php
to randomize the ROM, or would the ROM not be compatible after P/S patching? What if I used the randomizer first?
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 08:15 PM.