The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Disable bag in trainer battles

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old May 15th, 2014 (10:23 AM). Edited May 15th, 2014 by DarkDown.
DarkDown DarkDown is offline
 
Join Date: Apr 2014
Gender: Male
Posts: 24
Is there any way to prevent the use of items in trainer battles like in battle frontier IN FIRERED?
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old May 15th, 2014 (10:31 AM).
Logan's Avatar
Logan Logan is offline
 
Join Date: Nov 2008
Location: Salisbury, England
Age: 28
Gender: Male
Nature: Sassy
Posts: 10,414
Which game are you hacking? If it's Emerald I'm sure you could use some clever manipulating of the Battle Frontier specials.
__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old May 15th, 2014 (11:37 AM). Edited May 15th, 2014 by Mystery Man.
Mystery Man's Avatar
Mystery Man Mystery Man is offline
Don't be like me!
 
Join Date: Dec 2011
Age: 27
Nature: Quirky
Posts: 205
Change what I circled to 0 for items that have effects during battle:
Spoiler:



By doing this, the player will not be able to use items during battle. For some items (i.e. Potion), setting Battle Usage to 0 does the trick, but for others, such as the berries, I also had to set Code to 0 in order for them to stop working during battle. I should mention that this does not take out their held item effects, so it will be exactly like the Battle Frontier.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old May 15th, 2014 (11:45 AM).
DarkDown DarkDown is offline
 
Join Date: Apr 2014
Gender: Male
Posts: 24
Thank you very much I appreciate that.
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old May 22nd, 2014 (3:31 PM).
DoesntKnowHowToPlay's Avatar
DoesntKnowHowToPlay DoesntKnowHowToPlay is offline
Tiny Umbrella with Lots and Lots of Good
 
Join Date: Jan 2012
Posts: 264
If you care for a less global solution, FR's multi-player check is at x143d6- you'll need to write some ASM but it shouldn't be that hard to branch away from there and check a flag instead. This would allow you to stop the player from opening the bag at all during only specific battles.
__________________

Yet Another Fire Red Hack

Physical/Special Split
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

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 -8. The time now is 9:13 AM.