The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

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.

Reply
 
Thread Tools
  #26    
Old December 14th, 2012, 10:41 AM
Zeoka
Unhatched Egg
 
Join Date: Dec 2012
Gender: Male
Man. I hate bothering people with noob questions. Anyway. My script completely works untill the end.
When I talk with the trainer after the battle the messagebox with "Can you feel the despair" does not appear.
This is my script:

#dynamic 0x800000

#org @start
trainerbattle 0x0 0x001 0x0 @begin @what?
msgbox @beaten 0x6
release
end

#org @begin
= We're back!!

#org @what?
= As if I'm alone..

#org @beaten
= Can you feel the despair?
Reply With Quote
  #27    
Old February 10th, 2013, 09:00 AM
AriArk's Avatar
AriArk
 
Join Date: Aug 2010
Location: UK
Gender: Male
How do I put text on the next line?
Reply With Quote
  #28    
Old February 10th, 2013, 09:16 AM
.parado✗'s Avatar
.parado✗
paranormal user
 
Join Date: Sep 2012
Location: Ha✗land
Age: 19
Gender: Male
Nature: Gentle
Send a message via Skype™ to .parado✗
@Zeoka
Maybe you still use XSE 1.0.0.0
If that is the case, instead of msgbox @pointer 0x6
you write..

msgbox @pointer
callstd 6

@AriArk
with \L you can make a new line.
with \p you can open a clear new msgbox.

If you use \p once, you must use \n and then \l afterwards
__________________
If you are interested in a german romhacker forum, go to

www.board.romresources.net

I'm registered under the name: "Laz0r" there.
Reply With Quote
  #29    
Old February 10th, 2013, 10:40 AM
AriArk's Avatar
AriArk
 
Join Date: Aug 2010
Location: UK
Gender: Male
Quote:
Originally Posted by .parado✗ View Post
@Zeoka
Maybe you still use XSE 1.0.0.0
If that is the case, instead of msgbox @pointer 0x6
you write..

msgbox @pointer
callstd 6

@AriArk
with \L you can make a new line.
with \p you can open a clear new msgbox.

If you use \p once, you must use \n and then \l afterwards
Thanks - that worked, if it doesn't take a huge amount of time, could you explain how flags work too. I go to prof.birch's lab to get Riolu but before that I could go onto the route and see Missingno (i'm not 100% sure if this is what flags are).
Reply With Quote
  #30    
Old February 10th, 2013, 11:54 AM
.parado✗'s Avatar
.parado✗
paranormal user
 
Join Date: Sep 2012
Location: Ha✗land
Age: 19
Gender: Male
Nature: Gentle
Send a message via Skype™ to .parado✗
Flags are nothing else than "checkers" in a Pokémon Game.
If someone gives you an item, you set a flag, that he can't give it to you twice, three times, endless.

It works this way..

#dynamic 0xXXXXX
#org @start
checkflag 0xyour_flag
if 0x1 call @got_it <---- this checks if the flag 0xyour_flag is set. If 0x1 (yes), call a pointer.
giveitem 0xItem 0xAmount 0x0 0x0 0x0
waitfanfare
closeonkeypress
setflag 0xyour_flag <---- Sets a flag. I prefer starting at 0x450 up to 0x7FF and 0x900-0xFFF
end

#org @got_it
end

Well, if you click the person again, it will automatically jump to @got_it and the script ends.
Attention! You can set every flag only once!
If you set for example setflag 0x500, you can check this flag everytime, to remove it, type

clearflag 0xyour_flag

Hope I helped
__________________
If you are interested in a german romhacker forum, go to

www.board.romresources.net

I'm registered under the name: "Laz0r" there.
Reply With Quote
  #31    
Old February 12th, 2013, 04:34 PM
AriArk's Avatar
AriArk
 
Join Date: Aug 2010
Location: UK
Gender: Male
I have one more question - how do you add the POKéMON tab on the menu if you don't have a starter that you chose from professor birch's case.
Reply With Quote
  #32    
Old February 12th, 2013, 07:17 PM
destinedjagold's Avatar
destinedjagold
Oh Hai Thar~ 'ω'
Community Supporter
 
Join Date: May 2007
Location: Philippines
Gender: Male
Nature: Careful
Quote:
Originally Posted by AriArk View Post
I have one more question - how do you add the POKéMON tab on the menu if you don't have a starter that you chose from professor birch's case.
If I recall correctly, you would need to add the code...
Code:
setflag 0x800
...to your script.
__________________
Reply With Quote
  #33    
Old May 16th, 2014, 10:09 AM
Tao Dragon's Avatar
Tao Dragon
 
Join Date: Mar 2014
Age: 20
Gender: Male
Nature: Lonely
I'm aiming to do something like events. I suppose I have to script. I want for example: to animate a Groudon sprite in a fire red cartridge. I suppose I need some OW sprites and do a script. I want for the main character to aquire the red orb from somewhere and then go to this place I will build and when he get's close to Groudon for the red orb to flash red. After that the Groudon sprite will turn from grey to red. It will aproach the player, roar and a battle will start. How can I achieve things like this?
__________________
3DS Friend Code: 4012 - 4565 - 2182
3DS IGN: Raymond
Pokemon X IGN: Calem
Vivillon: Archipelago
Friend Safari Type:
Friend Safari Pokemon: Pumpkaboo, Dusclops, Lampent
Reply With Quote
  #34    
Old May 17th, 2014, 09:35 AM
parth9's Avatar
parth9
God is busy...May i help you
 
Join Date: May 2013
Location: India
Gender: Male
Nature: Lonely
Yah this is preety much basic....will surely help begginers
__________________
Reply With Quote
Reply
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 05:15 PM.


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.