Lance Koijer 2.0
Lance Koijer
- 105
- Posts
- 7
- Years
- Criscanto Town
- Seen Jan 31, 2024
Hello guys!
0x2024020, based on my findings, holds the base power of a move that is being used. However, the offset is just a place to store some details of the moves being used (I think) and changing it to the base power you want your move to have will not affect the damage calculation of the attack. My question is, is there any RAM offset that holds the Base Power of the attack and used by the "calculatedamage" command of Battle Script Pro?
Or, does anyone know what possible battle scripting technique that will let you edit the Base Power into a byte set in a certain address? I am trying to make a move that the power varies in certain conditions but all I found were HP and Happiness..
Like, from 60 Base Power, it will become 100 when a Pokémon is holding a Berry.
0x2024020, based on my findings, holds the base power of a move that is being used. However, the offset is just a place to store some details of the moves being used (I think) and changing it to the base power you want your move to have will not affect the damage calculation of the attack. My question is, is there any RAM offset that holds the Base Power of the attack and used by the "calculatedamage" command of Battle Script Pro?
Or, does anyone know what possible battle scripting technique that will let you edit the Base Power into a byte set in a certain address? I am trying to make a move that the power varies in certain conditions but all I found were HP and Happiness..
Like, from 60 Base Power, it will become 100 when a Pokémon is holding a Berry.