![]() |
Bank Number
hello guys, I am now learning Battle Script and I encountered a tad problem.
Bank 0 is the target and Bank 1 is the user, what if I am in a double battle? What is the Bank number of the player's first and second pokemon and opponent's first and second pokemon. I tried bank 0x2 and Bank 0x3 but nothing happened. |
Banks 2 and 3 are the defender's ally and the attacker's ally respectively. What commands are you using that this is not working for?
|
Quote:
I am trying to make an attack that when the user hits the target, the target's partner's Attack will decrease by one stage. And.. Is there a way to check whether you are in double battle? |
Quote:
Also you can check for double battle by checking the battle flags bitfield. This is at 02022B4C in FireRed. Bit 0 is the double battle flag, so a double battle check would be something like "jumpifword 4 0x02022B4C 1 JUMPHEREIFDOUBLEBATTLE". Jumpifword mode 4 is bitwise AND so you can check if the first bit is set like that |
Quote:
|
| All times are GMT -8. The time now is 9:13 AM. |
![]()
© 2002 - 2018 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 - 2016 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.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.