- 4
- Posts
- 1
- Years
- Seen Sep 20, 2024
Hi everyone, I recently became interested in decomp romhacking.
I would like to do this:
when you select "fight" during a battle, ai chooses the move to make.
I think I found the point where I can insert the code:
in battle_main_c
case B_ACTION_USE_MOVE:
...
and maybe can i copy the code from:
battle_controller_opponent
static void OpponentHandleChooseMove(void)
{
....
any suggestions?
Thx.
I would like to do this:
when you select "fight" during a battle, ai chooses the move to make.
I think I found the point where I can insert the code:
in battle_main_c
case B_ACTION_USE_MOVE:
...
and maybe can i copy the code from:
battle_controller_opponent
static void OpponentHandleChooseMove(void)
{
....
any suggestions?
Thx.