- 11
- Posts
- 1
- Years
- Seen Sep 28, 2024
Im trying to implement a multi battle but for some reason the partner trainer party doesn't display and when the battle starts the game just crashes with a "jump to invalid address" error message. This is the code i have for the multi battle:
MauvilleCity_EventScript_WallyTagBattle::
multi_fixed_2_vs_1 TRAINER_CALVIN_1, MauvilleCity_Text_TrainerDefeated, TRAINER_WALLY_MAUVILLE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_LOST
goto_if_ne MauvilleCity_EventScript_PostBattle
end
I don't know whats wrong with it, TRAINER_WALLY_MAUVILLE is defined and has a party of less than 3 mons.
MauvilleCity_EventScript_WallyTagBattle::
multi_fixed_2_vs_1 TRAINER_CALVIN_1, MauvilleCity_Text_TrainerDefeated, TRAINER_WALLY_MAUVILLE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_LOST
goto_if_ne MauvilleCity_EventScript_PostBattle
end
I don't know whats wrong with it, TRAINER_WALLY_MAUVILLE is defined and has a party of less than 3 mons.