Sync src/battle_controllers.c
This commit is contained in:
@@ -173,7 +173,7 @@ static const u8 sTargetIdentities[] = { B_POSITION_PLAYER_LEFT, B_POSITION_PLAYE
|
||||
// not used
|
||||
static const u8 gUnknown_8250984[] = { 0x48, 0x48, 0x20, 0x5a, 0x50, 0x50, 0x50, 0x58 };
|
||||
|
||||
void PlayerDummy(void)
|
||||
void BattleControllerDummy(void)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -2523,7 +2523,7 @@ static void PlayerHandleExpUpdate(void)
|
||||
gTasks[taskId].tExpTask_monId = monId;
|
||||
gTasks[taskId].tExpTask_gainedExp = expPointsToGive;
|
||||
gTasks[taskId].tExpTask_battler = gActiveBattler;
|
||||
gBattlerControllerFuncs[gActiveBattler] = PlayerDummy;
|
||||
gBattlerControllerFuncs[gActiveBattler] = BattleControllerDummy;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2626,25 +2626,25 @@ static void PlayerHandleOneReturnValue_Duplicate(void)
|
||||
|
||||
static void PlayerHandleCmd37(void)
|
||||
{
|
||||
gUnknown_2022870.field_0 = 0;
|
||||
gUnusedControllerStruct.field_0 = 0;
|
||||
PlayerBufferExecCompleted();
|
||||
}
|
||||
|
||||
static void PlayerHandleCmd38(void)
|
||||
{
|
||||
gUnknown_2022870.field_0 = gBattleBufferA[gActiveBattler][1];
|
||||
gUnusedControllerStruct.field_0 = gBattleBufferA[gActiveBattler][1];
|
||||
PlayerBufferExecCompleted();
|
||||
}
|
||||
|
||||
static void PlayerHandleCmd39(void)
|
||||
{
|
||||
gUnknown_2022870.flag_x80 = 0;
|
||||
gUnusedControllerStruct.flag_x80 = 0;
|
||||
PlayerBufferExecCompleted();
|
||||
}
|
||||
|
||||
static void PlayerHandleCmd40(void)
|
||||
{
|
||||
gUnknown_2022870.flag_x80 ^= 1;
|
||||
gUnusedControllerStruct.flag_x80 ^= 1;
|
||||
PlayerBufferExecCompleted();
|
||||
}
|
||||
|
||||
@@ -2720,7 +2720,7 @@ static void PlayerHandleIntroTrainerBallThrow(void)
|
||||
if (gBattleSpritesDataPtr->healthBoxesData[gActiveBattler].partyStatusSummaryShown)
|
||||
gTasks[gBattlerStatusSummaryTaskId[gActiveBattler]].func = Task_HidePartyStatusSummary;
|
||||
gBattleSpritesDataPtr->animationData->introAnimActive = TRUE;
|
||||
gBattlerControllerFuncs[gActiveBattler] = PlayerDummy;
|
||||
gBattlerControllerFuncs[gActiveBattler] = BattleControllerDummy;
|
||||
}
|
||||
|
||||
void SpriteCB_FreePlayerSpriteLoadMonSprite(struct Sprite *sprite)
|
||||
|
||||
Reference in New Issue
Block a user