BtlController_EmitChosenMonReturnValue reads from NULL #5979
Labels
bug
Bug
category: battle-mechanic
Pertains to battle mechanics
status: unconfirmed
This bug has not been reproduced yet
Description
Vanilla issue.
BtlController_EmitChosenMonReturnValue
is sometimes called withbattlePartyOrder
equal toNULL
, which means we're reading garbage from bios(or it evaluates to zeroes, not sure)Affected code:
In
battle_controller_player.c
In
battle_controller_player_partner.c
I didn't look more into it, so I'm not sure if this causes anything visible in-game, but it still should be fixed.
Version
1.10.1 (Latest release)
Upcoming/master Version
No response
Discord contact info
No response
The text was updated successfully, but these errors were encountered: