The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Battle Way of making moves trigger automatically in battle

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 October 4th, 2020 (6:36 AM).
grazid grazid is offline
 
Join Date: Sep 2020
Posts: 15
My idea would be to have weather moves automatically trigger when a pokemon is sent out to allow weather control to not be centralized on certain mons. Also, these moves would have 1 PP so they can only be used once and take up a moveslot to further balance it.

I'm just wondering how I would do this. I'm using CFRU.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old October 4th, 2020 (6:48 AM).
mgriffin's Avatar
mgriffin mgriffin is offline
 
Join Date: Apr 2014
Posts: 1,406
That's a cool idea.

Roughly, I'd go find the bit of the code that handles weather abilities. Add some extra code that's roughly this psuedocode:
Code:
if not hasWeatherAbility:
  for move in moves:
    if move == SunnyDay:
      # copy the code that Drought uses to set up the sun.
      move.pp -= 1
      break
    elif move == RainDance:
      # copy the code that Drizzle uses to set up the rain.
      move.pp -= 1
    ...
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
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 GMT -8. The time now is 9:12 AM.