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
Click here to go to the first staff post in this thread.  
Thread Tools
  #51    
Old October 23rd, 2014, 10:33 AM
eugarps
 
Join Date: Oct 2014
The Dropbox link seems to be broken. Could I get a mirror/email ([email protected])with the files? Thank you
Reply With Quote
  #53    
Old 3 Weeks Ago, 07:20 AM
Volt-Ikazuchi
 
Join Date: Dec 2013
Gender: Male
Just curious here, I would need to use ASM to block players from challenging certain trainers (Gym Leaders, Rivals) with pokémons above a certain level, right?
What if I need to block items during a certain battle?

I'm just starting out, so I wanted to make my first hack more simple to understand mapping and scripting better, but if I need ASM to get some level and item caps then I'll have to learn it as well.

Thanks for the tutorial, looks very interesting, I'll definitely read it later.
Reply With Quote
  #54    
Old 3 Weeks Ago, 08:27 AM
FBI agent's Avatar
FBI agent
Imagine something beautiful
 
Join Date: Jan 2013
Location: Unknown Island
Gender: Male
Quote:
Originally Posted by Volt-Ikazuchi View Post
Just curious here, I would need to use ASM to block players from challenging certain trainers (Gym Leaders, Rivals) with pokémons above a certain level, right?
What if I need to block items during a certain battle?

I'm just starting out, so I wanted to make my first hack more simple to understand mapping and scripting better, but if I need ASM to get some level and item caps then I'll have to learn it as well.

Thanks for the tutorial, looks very interesting, I'll definitely read it later.
For blocking players from challenging certain trainers depending on party pokemon level you need some asm, but it's just function calls, nothing down and dirty.

For the item one, you'd need a battle script (look up Jambo's battle script tutorial/tool). Though admittedly, battle scripts are also very technical P:
__________________
...

My name forum name is FBI Agent, though a lot of kids call me FBI because they're lazy. I run an ASM request/resource thread feel free to request me any cool ideas you have!

My current projects:
- PokeDex hack fixes
Reply With Quote
  #55    
Old 3 Weeks Ago, 07:48 AM
Volt-Ikazuchi
 
Join Date: Dec 2013
Gender: Male
Quote:
Originally Posted by FBI agent View Post
For blocking players from challenging certain trainers depending on party pokemon level you need some asm, but it's just function calls, nothing down and dirty.

For the item one, you'd need a battle script (look up Jambo's battle script tutorial/tool). Though admittedly, battle scripts are also very technical P:
Really? That's great news!

Mind to elaborate what asm routines I would need to do the level caps?
I really don't want to go in blind and break the game.
And are you saying that locking the items mid-battle require just some scripting? Can it be done in XSE or would I need Jambo's tool?

Thanks for the answers. Really helped.
Reply With Quote
  #56    
Old 3 Weeks Ago, 08:11 AM
FBI agent's Avatar
FBI agent
Imagine something beautiful
 
Join Date: Jan 2013
Location: Unknown Island
Gender: Male
Quote:
Originally Posted by Volt-Ikazuchi View Post
Really? That's great news!

Mind to elaborate what asm routines I would need to do the level caps?
I really don't want to go in blind and break the game.
And are you saying that locking the items mid-battle require just some scripting? Can it be done in XSE or would I need Jambo's tool?

Thanks for the answers. Really helped.
Sure, for the prevention of player challenging trainers, it's 90% handled by the trainer script.

I would do this:
Code:
#dyn 0x740000
#org @start
lock
faceplayer
setvar 0x4011 0x[max level of trainer]
callasm 0x[asm that returns max pokemon level in party]
compare 0x4001 LASTRESULT
if > jump @ignore
trainerbattle 0x0 0xID 0x0 @intro @defeat
msgbox @afterwards
callstd MSG_NORMAL
release
end

#org @ignore
msgbox @noThanks
callstd MSG_NORMAL
release
end

#org @noThanks
= Sorry, you wouldn't be a\nchallenge to me!

#org @intro
= Battle started, say something

#org @defeat
= defeat text

#org @afterwards
= Nice battle.
For the item blocking, I have no idea. I think Jambo's tutorial on Battle scripts covers it iirc.
__________________
...

My name forum name is FBI Agent, though a lot of kids call me FBI because they're lazy. I run an ASM request/resource thread feel free to request me any cool ideas you have!

My current projects:
- PokeDex hack fixes
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 04:10 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.