diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/battle_controller_pokedude.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/battle_controller_pokedude.c b/src/battle_controller_pokedude.c index 07d3f8d31..b43df803e 100644 --- a/src/battle_controller_pokedude.c +++ b/src/battle_controller_pokedude.c @@ -1979,7 +1979,7 @@ static void PokedudeHandleCmd55(void) { gBattleOutcome = gBattleBufferA[gActiveBattler][1]; FadeOutMapMusic(5); - BeginFastPaletteFade(3); + BeginFastPaletteFade(FAST_FADE_OUT_TO_BLACK); PokedudeBufferExecCompleted(); if (!(gBattleTypeFlags & BATTLE_TYPE_IS_MASTER) && gBattleTypeFlags & BATTLE_TYPE_LINK) gBattlerControllerFuncs[gActiveBattler] = Pokedude_SetBattleEndCallbacks; @@ -1993,7 +1993,7 @@ static void PokedudeCmdEnd(void) struct PokedudeInputScript { - // 0-3 for selection, 4 to repeat, 255 to end + // 0-3 for selection, 4 to repeat action, 255 to repeat move u8 cursorPos[MAX_BATTLERS_COUNT]; u8 delay[MAX_BATTLERS_COUNT]; }; @@ -2425,13 +2425,6 @@ static const struct PokedudeBattlePartyInfo *const sPokedudeBattlePartyPointers[ struct PokedudeBattlerState *gPokedudeBattlerStates[MAX_BATTLERS_COUNT]; -#define PD_BTL_STATE(battler, idx) gPokedudeBattlerStates[battler]->idx] -#define PD_BTL_ACTION(battler) PD_BTL_STATE((battler), 0) -#define PD_BTL_MOVE(battler) PD_BTL_STATE((battler), 1) -#define PD_BTL_DELAY(battler) PD_BTL_STATE((battler), 2) -#define PD_BTL_MSG(battler) PD_BTL_STATE((battler), 3) -#define PD_BTL_BG0Y(battler) PD_BTL_STATE((battler), 4) - static void PokedudeSimulateInputChooseAction(void) { const struct PokedudeInputScript *script_p = sInputScripts_ChooseAction[gBattleStruct->pdScriptNum]; |