The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Problems with the battle A.I.

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 April 14th, 2020 (12:44 AM).
Turn20Negate Turn20Negate is offline
 
Join Date: Mar 2020
Posts: 143
Hello there everyone,
While editing a Pokémon game I ran into a problem with the A.I..Multiple Poison type Pokemon don't attack at all (skip their turn) when fighting against a Steel type. For example this Crobat: "CROBAT,75,LEFTOVERS,BRAVEBIRD,ROOST,TOXICSPIKES,POISONFANG,0,,,,IMPISH,31" doesn't attack at all when sent out against Steel types, but when I change one of its moves it attacks. F. ex. :("CROBAT,75,LEFTOVERS,BRAVEBIRD,ROOST,TOXICSPIKES,HEATWAVE,0,,,,IMPISH,31").
If anybody knows why this would be the case I would be grateful.

Here is the battlelog I recorded:
|
***Round 1***
Initial switchscore building: Statuses (0)
Initial switchscore building: Stat Stages (0)
Initial switchscore building: Healing
Initial switchscore building: fsteak (0)
Initial switchscore building: Typing (0)
Initial switchscore building: Specific Switches (-20)
Crobat: initial switchscore: -20

Initial noswitchscore building: Stat Stages (0)
Initial noswitchscore building: Entry Hazards (0)
Initial noswitchscore building: Better Switching Options (0)
Initial noswitchscore building: Second Wind Situations (0)
Crobat: initial noswitchscore: 66

{

Brave Bird: initial score: 49
Brave Bird: final score: 44

Roost: initial score: 25
Roost: final score: 0

Toxic Spikes: initial score: 30
Toxic Spikes: final score: 39

Poison Fang: initial score: 1
[The foe Crobat lost 14 HP, now has 237 HP]
[The foe Crobat gained 14 HP, now has 251 HP]
|
If any of you need further data to know what's going on just tell me.
Thx in advance :)
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:18 AM.