• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Akari, Red, Kris, May - which Pokémon protagonist is your favorite? Let us know by voting in our semifinal favorite protagonist poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Gen III]: Battle Scripting with BSP

How do you think they get called in the first place? You do realize that all scripting is just a higher level of ASM right? It is basically a macro ASM language.

Yes, I know, but how? I don't think a simple jump is enough, because the game has to know it should execute a battle script. How do I do this?
 
Yes, I know, but how? I don't think a simple jump is enough, because the game has to know it should execute a battle script. How do I do this?

The battle script loader. If you set a break on loading of the first command, it should be the battle script loader which does this. You will have to work backwards to the top of the routine. Now, my question is, why?
 
The battle script loader. If you set a break on loading of the first command, it should be the battle script loader which does this. You will have to work backwards to the top of the routine. Now, my question is, why?

I'm trying to add a check for the opponent pokemon's type and status ailment to implement in the code for a custom ball. Thank you for the tip, I'm going to try it.
 
Last edited:
Sorry for being noob in my question

Can I add new abilities with this tool?(because it has abilities.blah blah)

Second thing, Can I make a new battle script for legendary battles...

example, instead of Wild GROUDON appeared, Legendary GROUDON appeared
 
Sorry for being noob in my question

Can I add new abilities with this tool?(because it has abilities.blah blah)

Second thing, Can I make a new battle script for legendary battles...

example, instead of Wild GROUDON appeared, Legendary GROUDON appeared

1: No, abilities are handled by asm, the abilities is just an ini file
2: That's not battle scripting, that's a battle string
 
1: No, abilities are handled by asm, the abilities is just an ini file
2: That's not battle scripting, that's a battle string

how to do that battle string?
 
So can i create a custom battle with this? Like the Oak tutorial battle at the start of FireRed?

No you cannot, you can make move effects and only move effects.
 
Hi, I just wanted to ask what determines how long status moves last for? Can you make them last for a set number of turns like sleep when resting? Also what's the command for doing damage to yourself? Does it have to be like recoil damage or can you set it so that a percentage of max health is lost?

Thanks
 
I understood 75% ,
but I dunno how to execute a new message string.
like when the effects are applied, it shows "POKEMON had been trapped in FOE's Magic Aura"
I had seen this in Mrdollsteak rom, the worry seed
 
Hey there everyone. I'm getting ready to dive into this program with the intention of having additional text pop up after a wild pokemon battle ends. I have a variable being stored in 8001 after a pokemon battle, and if its anything other than FF, or 00, the text should appear. From what I've been told by FBI, this is the best method to make this happen. If anyone can give me some pointers, I would love to hear them! Also! I'm using JPAN / Dollsteak engine, and it seems that the offsets aren't set up to handle this. Anyone know what offsets need changed?
 
Hey there everyone. I'm getting ready to dive into this program with the intention of having additional text pop up after a wild pokemon battle ends. I have a variable being stored in 8001 after a pokemon battle, and if its anything other than FF, or 00, the text should appear. From what I've been told by FBI, this is the best method to make this happen. If anyone can give me some pointers, I would love to hear them!

This tool edits moves and their effects, not battle engine calls and workings.
For example, you can edit what tackle does in this program, but you can't edit the entire level up stuff in battle via this tool. That's just engine routine stuff and things.
 
This tool edits moves and their effects, not battle engine calls and workings.
For example, you can edit what tackle does in this program, but you can't edit the entire level up stuff in battle via this tool. That's just engine routine stuff and things.

I assumed this same thing.
 
Last edited:
Back
Top