mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-14 07:33:44 +01:00
Merge branch 'upcoming' of https://github.com/rh-hideout/pokeemerald-expansion into castform_fix
This commit is contained in:
commit
5a8715e608
@ -6984,8 +6984,6 @@ BattleScript_TerrainEnds_Ret::
|
|||||||
playanimation BS_ATTACKER, B_ANIM_RESTORE_BG
|
playanimation BS_ATTACKER, B_ANIM_RESTORE_BG
|
||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_GrassyTerrainEnds:
|
|
||||||
setbyte cMULTISTRING_CHOOSER, B_MSG_TERRAINENDS_GRASS
|
|
||||||
BattleScript_TerrainEnds::
|
BattleScript_TerrainEnds::
|
||||||
call BattleScript_TerrainEnds_Ret
|
call BattleScript_TerrainEnds_Ret
|
||||||
end2
|
end2
|
||||||
@ -7182,8 +7180,10 @@ BattleScript_MistProtected::
|
|||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_RageIsBuilding::
|
BattleScript_RageIsBuilding::
|
||||||
|
statbuffchange STAT_CHANGE_ALLOW_PTR, BattleScript_RageIsBuildingEnd
|
||||||
printstring STRINGID_PKMNRAGEBUILDING
|
printstring STRINGID_PKMNRAGEBUILDING
|
||||||
waitmessage B_WAIT_TIME_LONG
|
waitmessage B_WAIT_TIME_LONG
|
||||||
|
BattleScript_RageIsBuildingEnd:
|
||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_MoveUsedIsDisabled::
|
BattleScript_MoveUsedIsDisabled::
|
||||||
@ -8520,10 +8520,12 @@ BattleScript_AbilityPopUp:
|
|||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_SpeedBoostActivates::
|
BattleScript_SpeedBoostActivates::
|
||||||
|
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_SpeedBoostActivatesEnd
|
||||||
call BattleScript_AbilityPopUp
|
call BattleScript_AbilityPopUp
|
||||||
playanimation BS_ATTACKER, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
|
playanimation BS_ATTACKER, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
|
||||||
printstring STRINGID_PKMNRAISEDSPEED
|
printstring STRINGID_PKMNRAISEDSPEED
|
||||||
waitmessage B_WAIT_TIME_LONG
|
waitmessage B_WAIT_TIME_LONG
|
||||||
|
BattleScript_SpeedBoostActivatesEnd:
|
||||||
end3
|
end3
|
||||||
|
|
||||||
@ Can't compare directly to a value, have to compare to value at pointer
|
@ Can't compare directly to a value, have to compare to value at pointer
|
||||||
@ -9036,8 +9038,8 @@ BattleScript_MoveStatDrain::
|
|||||||
setgraphicalstatchangevalues
|
setgraphicalstatchangevalues
|
||||||
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
|
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
|
||||||
waitanimation
|
waitanimation
|
||||||
.if B_ABSORBING_ABILITY_STRING >= GEN_5
|
|
||||||
statbuffchange STAT_CHANGE_ALLOW_PTR, BattleScript_MoveStatDrain_Cont
|
statbuffchange STAT_CHANGE_ALLOW_PTR, BattleScript_MoveStatDrain_Cont
|
||||||
|
.if B_ABSORBING_ABILITY_STRING >= GEN_5
|
||||||
printfromtable gStatUpStringIds
|
printfromtable gStatUpStringIds
|
||||||
waitmessage B_WAIT_TIME_LONG
|
waitmessage B_WAIT_TIME_LONG
|
||||||
.else
|
.else
|
||||||
@ -9176,7 +9178,6 @@ BattleScript_GrassyTerrainLoopIncrement::
|
|||||||
BattleScript_GrassyTerrainLoopEnd::
|
BattleScript_GrassyTerrainLoopEnd::
|
||||||
bicword gHitMarker, HITMARKER_SKIP_DMG_TRACK | HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE
|
bicword gHitMarker, HITMARKER_SKIP_DMG_TRACK | HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE
|
||||||
jumpifword CMP_COMMON_BITS, gFieldStatuses, STATUS_FIELD_TERRAIN_PERMANENT, BattleScript_GrassyTerrainHealEnd
|
jumpifword CMP_COMMON_BITS, gFieldStatuses, STATUS_FIELD_TERRAIN_PERMANENT, BattleScript_GrassyTerrainHealEnd
|
||||||
jumpifbyte CMP_EQUAL, gFieldTimers + 5, 0, BattleScript_GrassyTerrainEnds
|
|
||||||
BattleScript_GrassyTerrainHealEnd:
|
BattleScript_GrassyTerrainHealEnd:
|
||||||
end2
|
end2
|
||||||
|
|
||||||
@ -9317,6 +9318,7 @@ BattleScript_WeakArmorActivatesEnd:
|
|||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_RaiseStatOnFaintingTarget::
|
BattleScript_RaiseStatOnFaintingTarget::
|
||||||
|
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_RaiseStatOnFaintingTarget_End
|
||||||
copybyte gBattlerAbility, gBattlerAttacker
|
copybyte gBattlerAbility, gBattlerAttacker
|
||||||
call BattleScript_AbilityPopUp
|
call BattleScript_AbilityPopUp
|
||||||
setgraphicalstatchangevalues
|
setgraphicalstatchangevalues
|
||||||
@ -9324,9 +9326,11 @@ BattleScript_RaiseStatOnFaintingTarget::
|
|||||||
waitanimation
|
waitanimation
|
||||||
printstring STRINGID_LASTABILITYRAISEDSTAT
|
printstring STRINGID_LASTABILITYRAISEDSTAT
|
||||||
waitmessage B_WAIT_TIME_LONG
|
waitmessage B_WAIT_TIME_LONG
|
||||||
|
BattleScript_RaiseStatOnFaintingTarget_End:
|
||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_AttackerAbilityStatRaise::
|
BattleScript_AttackerAbilityStatRaise::
|
||||||
|
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_AttackerAbilityStatRaise_End
|
||||||
copybyte gBattlerAbility, gBattlerAttacker
|
copybyte gBattlerAbility, gBattlerAttacker
|
||||||
call BattleScript_AbilityPopUp
|
call BattleScript_AbilityPopUp
|
||||||
setgraphicalstatchangevalues
|
setgraphicalstatchangevalues
|
||||||
@ -9334,6 +9338,7 @@ BattleScript_AttackerAbilityStatRaise::
|
|||||||
waitanimation
|
waitanimation
|
||||||
printstring STRINGID_ATTACKERABILITYSTATRAISE
|
printstring STRINGID_ATTACKERABILITYSTATRAISE
|
||||||
waitmessage B_WAIT_TIME_LONG
|
waitmessage B_WAIT_TIME_LONG
|
||||||
|
BattleScript_AttackerAbilityStatRaise_End:
|
||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_FellStingerRaisesStat::
|
BattleScript_FellStingerRaisesStat::
|
||||||
|
@ -90,3 +90,22 @@ Debug_Script_7::
|
|||||||
|
|
||||||
Debug_Script_8::
|
Debug_Script_8::
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Debug_CheckSaveBlock::
|
||||||
|
callnative CheckSaveBlock1Size
|
||||||
|
msgbox Debug_SaveBlock1Size, MSGBOX_DEFAULT
|
||||||
|
callnative CheckSaveBlock2Size
|
||||||
|
msgbox Debug_SaveBlock2Size, MSGBOX_DEFAULT
|
||||||
|
callnative CheckPokemonStorageSize
|
||||||
|
msgbox Debug_PokemonStorageSize, MSGBOX_DEFAULT
|
||||||
|
release
|
||||||
|
end
|
||||||
|
|
||||||
|
Debug_SaveBlock1Size::
|
||||||
|
.string "SaveBlock1 size: {STR_VAR_1}/{STR_VAR_2}.$"
|
||||||
|
|
||||||
|
Debug_SaveBlock2Size::
|
||||||
|
.string "SaveBlock2 size: {STR_VAR_1}/{STR_VAR_2}.$"
|
||||||
|
|
||||||
|
Debug_PokemonStorageSize::
|
||||||
|
.string "{PKMN}Storage size: {STR_VAR_1}/{STR_VAR_2}.$"
|
||||||
|
@ -197,7 +197,7 @@
|
|||||||
#define B_WILD_NATURAL_ENEMIES TRUE // If set to TRUE, certain wild mon species will attack other species when partnered in double wild battles (eg. Zangoose vs Seviper)
|
#define B_WILD_NATURAL_ENEMIES TRUE // If set to TRUE, certain wild mon species will attack other species when partnered in double wild battles (eg. Zangoose vs Seviper)
|
||||||
#define B_AFFECTION_MECHANICS FALSE // In Gen6+, there's a stat called affection that can trigger different effects in battle. From LGPE onwards, those effects use friendship instead.
|
#define B_AFFECTION_MECHANICS FALSE // In Gen6+, there's a stat called affection that can trigger different effects in battle. From LGPE onwards, those effects use friendship instead.
|
||||||
#define B_TRAINER_CLASS_POKE_BALLS GEN_LATEST // In Gen7+, trainers will use certain types of Poké Balls depending on their trainer class.
|
#define B_TRAINER_CLASS_POKE_BALLS GEN_LATEST // In Gen7+, trainers will use certain types of Poké Balls depending on their trainer class.
|
||||||
#define B_OBEDIENCE_MECHANICS GEN_LATEST // In PLA+ (here Gen8+), obedience restrictions also apply to non-outsider Pokémon, albeit based on their level met rather than actual level
|
#define B_OBEDIENCE_MECHANICS GEN_7 // In PLA+ (here Gen8+), obedience restrictions also apply to non-outsider Pokémon, albeit based on their level met rather than actual level
|
||||||
#define B_USE_FROSTBITE FALSE // In PLA, Frostbite replaces Freeze. Enabling this flag does the same here. Moves can still be cherry-picked to either Freeze or Frostbite. Freeze-Dry, Secret Power & Tri Attack depend on this config.
|
#define B_USE_FROSTBITE FALSE // In PLA, Frostbite replaces Freeze. Enabling this flag does the same here. Moves can still be cherry-picked to either Freeze or Frostbite. Freeze-Dry, Secret Power & Tri Attack depend on this config.
|
||||||
|
|
||||||
// Animation Settings
|
// Animation Settings
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
#define I_VITAMIN_EV_CAP GEN_LATEST // In Gen8+, the Vitamins no longer have a cap of 100 EV per stat.
|
#define I_VITAMIN_EV_CAP GEN_LATEST // In Gen8+, the Vitamins no longer have a cap of 100 EV per stat.
|
||||||
#define I_BERRY_EV_JUMP GEN_LATEST // In Gen4 only, EV-lowering Berries lower a stat's EV to 100 if it is above 100.
|
#define I_BERRY_EV_JUMP GEN_LATEST // In Gen4 only, EV-lowering Berries lower a stat's EV to 100 if it is above 100.
|
||||||
#define I_GRISEOUS_ORB_FORM_CHANGE GEN_LATEST // In Gen9+, the Griseous Orb no longer changes Giratina's form when held.
|
#define I_GRISEOUS_ORB_FORM_CHANGE GEN_LATEST // In Gen9+, the Griseous Orb no longer changes Giratina's form when held.
|
||||||
|
#define I_USE_EVO_HELD_ITEMS_FROM_BAG FALSE // If TRUE, items such as Razor Claw or Electirizer will be usable from the bag to evolve a Pokémon just like in LA.
|
||||||
|
|
||||||
// TM config
|
// TM config
|
||||||
#define I_REUSABLE_TMS FALSE // In Gen5-8, TMs are reusable. Setting this to TRUE will make all vanilla TMs reusable, though they can also be cherry-picked by setting their importance to 1.
|
#define I_REUSABLE_TMS FALSE // In Gen5-8, TMs are reusable. Setting this to TRUE will make all vanilla TMs reusable, though they can also be cherry-picked by setting their importance to 1.
|
||||||
|
@ -312,7 +312,9 @@
|
|||||||
#define EVO_SCRIPT_TRIGGER_DMG 36 // Pokémon has specified HP below max, then player interacts trigger
|
#define EVO_SCRIPT_TRIGGER_DMG 36 // Pokémon has specified HP below max, then player interacts trigger
|
||||||
#define EVO_DARK_SCROLL 37 // interacts with Scroll of Darkness
|
#define EVO_DARK_SCROLL 37 // interacts with Scroll of Darkness
|
||||||
#define EVO_WATER_SCROLL 38 // interacts with Scroll of Waters
|
#define EVO_WATER_SCROLL 38 // interacts with Scroll of Waters
|
||||||
#define EVO_ITEM_NIGHT 39 // specified item is used on Pokémon at night
|
#define EVO_ITEM_NIGHT 39 // specified item is used on Pokémon, is night
|
||||||
|
#define EVO_ITEM_DAY 40 // specified item is used on Pokémon, is day
|
||||||
|
#define EVO_ITEM_HOLD 41 // Pokémon levels up, holds specified item
|
||||||
|
|
||||||
#define EVOS_PER_MON 10
|
#define EVOS_PER_MON 10
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#ifndef GUARD_MONEY_H
|
#ifndef GUARD_MONEY_H
|
||||||
#define GUARD_MONEY_H
|
#define GUARD_MONEY_H
|
||||||
|
|
||||||
|
#define MAX_MONEY 999999
|
||||||
|
|
||||||
u32 GetMoney(u32 *moneyPtr);
|
u32 GetMoney(u32 *moneyPtr);
|
||||||
void SetMoney(u32 *moneyPtr, u32 newValue);
|
void SetMoney(u32 *moneyPtr, u32 newValue);
|
||||||
bool8 IsEnoughMoney(u32 *moneyPtr, u32 cost);
|
bool8 IsEnoughMoney(u32 *moneyPtr, u32 cost);
|
||||||
|
@ -591,7 +591,8 @@ void SetBattlerData(u8 battlerId)
|
|||||||
{
|
{
|
||||||
if (!BattlerHasAi(battlerId))
|
if (!BattlerHasAi(battlerId))
|
||||||
{
|
{
|
||||||
u32 i, species, illusionSpecies;
|
u32 i, species, illusionSpecies, side;
|
||||||
|
side = GetBattlerSide(battlerId);
|
||||||
|
|
||||||
// Simulate Illusion
|
// Simulate Illusion
|
||||||
species = gBattleMons[battlerId].species;
|
species = gBattleMons[battlerId].species;
|
||||||
@ -609,8 +610,8 @@ void SetBattlerData(u8 battlerId)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Use the known battler's ability.
|
// Use the known battler's ability.
|
||||||
if (BATTLE_HISTORY->abilities[battlerId] != ABILITY_NONE)
|
if (AI_PARTY->mons[side][gBattlerPartyIndexes[battlerId]].ability != ABILITY_NONE)
|
||||||
gBattleMons[battlerId].ability = BATTLE_HISTORY->abilities[battlerId];
|
gBattleMons[battlerId].ability = AI_PARTY->mons[side][gBattlerPartyIndexes[battlerId]].ability;
|
||||||
// Check if mon can only have one ability.
|
// Check if mon can only have one ability.
|
||||||
else if (gSpeciesInfo[species].abilities[1] == ABILITY_NONE
|
else if (gSpeciesInfo[species].abilities[1] == ABILITY_NONE
|
||||||
|| gSpeciesInfo[species].abilities[1] == gSpeciesInfo[species].abilities[0])
|
|| gSpeciesInfo[species].abilities[1] == gSpeciesInfo[species].abilities[0])
|
||||||
@ -619,12 +620,12 @@ void SetBattlerData(u8 battlerId)
|
|||||||
else
|
else
|
||||||
gBattleMons[battlerId].ability = ABILITY_NONE;
|
gBattleMons[battlerId].ability = ABILITY_NONE;
|
||||||
|
|
||||||
if (BATTLE_HISTORY->itemEffects[battlerId] == 0)
|
if (AI_PARTY->mons[side][gBattlerPartyIndexes[battlerId]].heldEffect == 0)
|
||||||
gBattleMons[battlerId].item = 0;
|
gBattleMons[battlerId].item = 0;
|
||||||
|
|
||||||
for (i = 0; i < 4; i++)
|
for (i = 0; i < MAX_MON_MOVES; i++)
|
||||||
{
|
{
|
||||||
if (BATTLE_HISTORY->usedMoves[battlerId][i] == 0)
|
if (AI_PARTY->mons[side][gBattlerPartyIndexes[battlerId]].moves[i] == 0)
|
||||||
gBattleMons[battlerId].moves[i] = 0;
|
gBattleMons[battlerId].moves[i] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5582,7 +5582,7 @@ static void Cmd_moveend(void)
|
|||||||
&& gBattleMoves[gCurrentMove].power != 0
|
&& gBattleMoves[gCurrentMove].power != 0
|
||||||
&& CompareStat(gBattlerTarget, STAT_ATK, MAX_STAT_STAGE, CMP_LESS_THAN))
|
&& CompareStat(gBattlerTarget, STAT_ATK, MAX_STAT_STAGE, CMP_LESS_THAN))
|
||||||
{
|
{
|
||||||
gBattleMons[gBattlerTarget].statStages[STAT_ATK]++;
|
SET_STATCHANGER(STAT_ATK, 1, FALSE);
|
||||||
BattleScriptPushCursor();
|
BattleScriptPushCursor();
|
||||||
gBattlescriptCurrInstr = BattleScript_RageIsBuilding;
|
gBattlescriptCurrInstr = BattleScript_RageIsBuilding;
|
||||||
effect = TRUE;
|
effect = TRUE;
|
||||||
@ -9494,7 +9494,6 @@ static void Cmd_various(void)
|
|||||||
&& !NoAliveMonsForEitherParty()
|
&& !NoAliveMonsForEitherParty()
|
||||||
&& CompareStat(gBattlerAttacker, STAT_ATK, MAX_STAT_STAGE, CMP_LESS_THAN))
|
&& CompareStat(gBattlerAttacker, STAT_ATK, MAX_STAT_STAGE, CMP_LESS_THAN))
|
||||||
{
|
{
|
||||||
gBattleMons[gBattlerAttacker].statStages[STAT_ATK]++;
|
|
||||||
SET_STATCHANGER(STAT_ATK, 1, FALSE);
|
SET_STATCHANGER(STAT_ATK, 1, FALSE);
|
||||||
PREPARE_STAT_BUFFER(gBattleTextBuff1, STAT_ATK);
|
PREPARE_STAT_BUFFER(gBattleTextBuff1, STAT_ATK);
|
||||||
BattleScriptPush(cmd->nextInstr);
|
BattleScriptPush(cmd->nextInstr);
|
||||||
@ -9518,7 +9517,6 @@ static void Cmd_various(void)
|
|||||||
&& !NoAliveMonsForEitherParty()
|
&& !NoAliveMonsForEitherParty()
|
||||||
&& CompareStat(gBattlerAttacker, STAT_SPATK, MAX_STAT_STAGE, CMP_LESS_THAN))
|
&& CompareStat(gBattlerAttacker, STAT_SPATK, MAX_STAT_STAGE, CMP_LESS_THAN))
|
||||||
{
|
{
|
||||||
gBattleMons[gBattlerAttacker].statStages[STAT_SPATK]++;
|
|
||||||
SET_STATCHANGER(STAT_SPATK, 1, FALSE);
|
SET_STATCHANGER(STAT_SPATK, 1, FALSE);
|
||||||
PREPARE_STAT_BUFFER(gBattleTextBuff1, STAT_SPATK);
|
PREPARE_STAT_BUFFER(gBattleTextBuff1, STAT_SPATK);
|
||||||
BattleScriptPush(cmd->nextInstr);
|
BattleScriptPush(cmd->nextInstr);
|
||||||
@ -9570,7 +9568,6 @@ static void Cmd_various(void)
|
|||||||
&& !NoAliveMonsForEitherParty()
|
&& !NoAliveMonsForEitherParty()
|
||||||
&& CompareStat(gBattlerAttacker, i, MAX_STAT_STAGE, CMP_LESS_THAN))
|
&& CompareStat(gBattlerAttacker, i, MAX_STAT_STAGE, CMP_LESS_THAN))
|
||||||
{
|
{
|
||||||
gBattleMons[gBattlerAttacker].statStages[i]++;
|
|
||||||
SET_STATCHANGER(i, 1, FALSE);
|
SET_STATCHANGER(i, 1, FALSE);
|
||||||
PREPARE_STAT_BUFFER(gBattleTextBuff1, i);
|
PREPARE_STAT_BUFFER(gBattleTextBuff1, i);
|
||||||
BattleScriptPush(cmd->nextInstr);
|
BattleScriptPush(cmd->nextInstr);
|
||||||
@ -9590,7 +9587,6 @@ static void Cmd_various(void)
|
|||||||
&& !NoAliveMonsForEitherParty()
|
&& !NoAliveMonsForEitherParty()
|
||||||
&& CompareStat(gBattleScripting.battler, STAT_SPATK, MAX_STAT_STAGE, CMP_LESS_THAN))
|
&& CompareStat(gBattleScripting.battler, STAT_SPATK, MAX_STAT_STAGE, CMP_LESS_THAN))
|
||||||
{
|
{
|
||||||
gBattleMons[gBattleScripting.battler].statStages[STAT_SPATK]++;
|
|
||||||
SET_STATCHANGER(STAT_SPATK, 1, FALSE);
|
SET_STATCHANGER(STAT_SPATK, 1, FALSE);
|
||||||
PREPARE_STAT_BUFFER(gBattleTextBuff1, STAT_SPATK);
|
PREPARE_STAT_BUFFER(gBattleTextBuff1, STAT_SPATK);
|
||||||
BattleScriptPushCursor();
|
BattleScriptPushCursor();
|
||||||
|
@ -2056,20 +2056,17 @@ static bool32 EndTurnTerrain(u32 terrainFlag, u32 stringTableId)
|
|||||||
{
|
{
|
||||||
if (gFieldStatuses & terrainFlag)
|
if (gFieldStatuses & terrainFlag)
|
||||||
{
|
{
|
||||||
|
if (terrainFlag & STATUS_FIELD_GRASSY_TERRAIN)
|
||||||
|
BattleScriptExecute(BattleScript_GrassyTerrainHeals);
|
||||||
if (!(gFieldStatuses & STATUS_FIELD_TERRAIN_PERMANENT) && --gFieldTimers.terrainTimer == 0)
|
if (!(gFieldStatuses & STATUS_FIELD_TERRAIN_PERMANENT) && --gFieldTimers.terrainTimer == 0)
|
||||||
{
|
{
|
||||||
gFieldStatuses &= ~terrainFlag;
|
gFieldStatuses &= ~terrainFlag;
|
||||||
TryToRevertMimicry();
|
TryToRevertMimicry();
|
||||||
if (!(terrainFlag & STATUS_FIELD_GRASSY_TERRAIN))
|
|
||||||
{
|
|
||||||
gBattleCommunication[MULTISTRING_CHOOSER] = stringTableId;
|
gBattleCommunication[MULTISTRING_CHOOSER] = stringTableId;
|
||||||
BattleScriptExecute(BattleScript_TerrainEnds);
|
BattleScriptExecute(BattleScript_TerrainEnds);
|
||||||
}
|
|
||||||
}
|
|
||||||
if (terrainFlag & STATUS_FIELD_GRASSY_TERRAIN)
|
|
||||||
BattleScriptExecute(BattleScript_GrassyTerrainHeals);
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4462,7 +4459,6 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u16 ability, u8 special, u16 move
|
|||||||
|
|
||||||
if (CompareStat(battler, statId, MAX_STAT_STAGE, CMP_LESS_THAN))
|
if (CompareStat(battler, statId, MAX_STAT_STAGE, CMP_LESS_THAN))
|
||||||
{
|
{
|
||||||
gBattleMons[battler].statStages[statId]++;
|
|
||||||
SET_STATCHANGER(statId, 1, FALSE);
|
SET_STATCHANGER(statId, 1, FALSE);
|
||||||
gBattlerAttacker = battler;
|
gBattlerAttacker = battler;
|
||||||
PREPARE_STAT_BUFFER(gBattleTextBuff1, statId);
|
PREPARE_STAT_BUFFER(gBattleTextBuff1, statId);
|
||||||
@ -4829,9 +4825,7 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u16 ability, u8 special, u16 move
|
|||||||
case ABILITY_SPEED_BOOST:
|
case ABILITY_SPEED_BOOST:
|
||||||
if (CompareStat(battler, STAT_SPEED, MAX_STAT_STAGE, CMP_LESS_THAN) && gDisableStructs[battler].isFirstTurn != 2)
|
if (CompareStat(battler, STAT_SPEED, MAX_STAT_STAGE, CMP_LESS_THAN) && gDisableStructs[battler].isFirstTurn != 2)
|
||||||
{
|
{
|
||||||
gBattleMons[battler].statStages[STAT_SPEED]++;
|
SET_STATCHANGER(STAT_SPEED, 1, FALSE);
|
||||||
gBattleScripting.animArg1 = 14 + STAT_SPEED;
|
|
||||||
gBattleScripting.animArg2 = 0;
|
|
||||||
BattleScriptPushCursorAndCallback(BattleScript_SpeedBoostActivates);
|
BattleScriptPushCursorAndCallback(BattleScript_SpeedBoostActivates);
|
||||||
gBattleScripting.battler = battler;
|
gBattleScripting.battler = battler;
|
||||||
effect++;
|
effect++;
|
||||||
@ -5126,7 +5120,6 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u16 ability, u8 special, u16 move
|
|||||||
|
|
||||||
SET_STATCHANGER(statId, statAmount, FALSE);
|
SET_STATCHANGER(statId, statAmount, FALSE);
|
||||||
#if B_ABSORBING_ABILITY_STRING < GEN_5
|
#if B_ABSORBING_ABILITY_STRING < GEN_5
|
||||||
gBattleMons[battler].statStages[statId]++;
|
|
||||||
PREPARE_STAT_BUFFER(gBattleTextBuff1, statId);
|
PREPARE_STAT_BUFFER(gBattleTextBuff1, statId);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
#if I_USE_EVO_HELD_ITEMS_FROM_BAG == TRUE
|
||||||
|
#define EVO_HELD_ITEM_TYPE ITEM_USE_PARTY_MENU
|
||||||
|
#define EVO_HELD_ITEM_FIELD_FUNC ItemUseOutOfBattle_EvolutionStone
|
||||||
|
#else
|
||||||
|
#define EVO_HELD_ITEM_TYPE ITEM_USE_BAG_MENU
|
||||||
|
#define EVO_HELD_ITEM_FIELD_FUNC ItemUseOutOfBattle_CannotUse
|
||||||
|
#endif
|
||||||
|
|
||||||
const struct Item gItems[] =
|
const struct Item gItems[] =
|
||||||
{
|
{
|
||||||
[ITEM_NONE] =
|
[ITEM_NONE] =
|
||||||
@ -2890,8 +2898,8 @@ const struct Item gItems[] =
|
|||||||
.holdEffectParam = 10,
|
.holdEffectParam = 10,
|
||||||
.description = sDragonScaleDesc,
|
.description = sDragonScaleDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 30,
|
.flingPower = 30,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -2903,8 +2911,8 @@ const struct Item gItems[] =
|
|||||||
.holdEffect = HOLD_EFFECT_UPGRADE,
|
.holdEffect = HOLD_EFFECT_UPGRADE,
|
||||||
.description = sUpgradeDesc,
|
.description = sUpgradeDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 30,
|
.flingPower = 30,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -2915,8 +2923,8 @@ const struct Item gItems[] =
|
|||||||
.price = 2000,
|
.price = 2000,
|
||||||
.description = sProtectorDesc,
|
.description = sProtectorDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 80,
|
.flingPower = 80,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -2927,8 +2935,8 @@ const struct Item gItems[] =
|
|||||||
.price = 2000,
|
.price = 2000,
|
||||||
.description = sElectirizerDesc,
|
.description = sElectirizerDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 80,
|
.flingPower = 80,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -2939,8 +2947,8 @@ const struct Item gItems[] =
|
|||||||
.price = 2000,
|
.price = 2000,
|
||||||
.description = sMagmarizerDesc,
|
.description = sMagmarizerDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 80,
|
.flingPower = 80,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -2951,8 +2959,8 @@ const struct Item gItems[] =
|
|||||||
.price = 2000,
|
.price = 2000,
|
||||||
.description = sDubiousDiscDesc,
|
.description = sDubiousDiscDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 50,
|
.flingPower = 50,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -2963,8 +2971,8 @@ const struct Item gItems[] =
|
|||||||
.price = 2000,
|
.price = 2000,
|
||||||
.description = sReaperClothDesc,
|
.description = sReaperClothDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 10,
|
.flingPower = 10,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -2975,8 +2983,8 @@ const struct Item gItems[] =
|
|||||||
.price = 2000,
|
.price = 2000,
|
||||||
.description = sPrismScaleDesc,
|
.description = sPrismScaleDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 30,
|
.flingPower = 30,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -2987,8 +2995,8 @@ const struct Item gItems[] =
|
|||||||
.price = 2000,
|
.price = 2000,
|
||||||
.description = sWhippedDreamDesc,
|
.description = sWhippedDreamDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 80,
|
.flingPower = 80,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -2999,8 +3007,8 @@ const struct Item gItems[] =
|
|||||||
.price = 2000,
|
.price = 2000,
|
||||||
.description = sSachetDesc,
|
.description = sSachetDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 80,
|
.flingPower = 80,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -3011,8 +3019,8 @@ const struct Item gItems[] =
|
|||||||
.price = 2000,
|
.price = 2000,
|
||||||
.description = sOvalStoneDesc,
|
.description = sOvalStoneDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 80,
|
.flingPower = 80,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -5199,8 +5207,8 @@ const struct Item gItems[] =
|
|||||||
.holdEffect = HOLD_EFFECT_DEEP_SEA_SCALE,
|
.holdEffect = HOLD_EFFECT_DEEP_SEA_SCALE,
|
||||||
.description = sDeepSeaScaleDesc,
|
.description = sDeepSeaScaleDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 30,
|
.flingPower = 30,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -5212,8 +5220,8 @@ const struct Item gItems[] =
|
|||||||
.holdEffect = HOLD_EFFECT_DEEP_SEA_TOOTH,
|
.holdEffect = HOLD_EFFECT_DEEP_SEA_TOOTH,
|
||||||
.description = sDeepSeaToothDesc,
|
.description = sDeepSeaToothDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 90,
|
.flingPower = 90,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -5806,8 +5814,8 @@ const struct Item gItems[] =
|
|||||||
.holdEffectParam = 20,
|
.holdEffectParam = 20,
|
||||||
.description = sMetalCoatDesc,
|
.description = sMetalCoatDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 30,
|
.flingPower = 30,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -6141,8 +6149,8 @@ const struct Item gItems[] =
|
|||||||
.holdEffectParam = 10,
|
.holdEffectParam = 10,
|
||||||
.description = sKingsRockDesc,
|
.description = sKingsRockDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 30,
|
.flingPower = 30,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -6503,8 +6511,8 @@ const struct Item gItems[] =
|
|||||||
.holdEffect = HOLD_EFFECT_SCOPE_LENS,
|
.holdEffect = HOLD_EFFECT_SCOPE_LENS,
|
||||||
.description = sRazorClawDesc,
|
.description = sRazorClawDesc,
|
||||||
.pocket = POCKET_ITEMS,
|
.pocket = POCKET_ITEMS,
|
||||||
.type = ITEM_USE_BAG_MENU,
|
.type = EVO_HELD_ITEM_TYPE,
|
||||||
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
|
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
|
||||||
.flingPower = 80,
|
.flingPower = 80,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -39,7 +39,8 @@ const struct Evolution gEvolutionTable[NUM_SPECIES][EVOS_PER_MON] =
|
|||||||
[SPECIES_GROWLITHE] = {{EVO_ITEM, ITEM_FIRE_STONE, SPECIES_ARCANINE}},
|
[SPECIES_GROWLITHE] = {{EVO_ITEM, ITEM_FIRE_STONE, SPECIES_ARCANINE}},
|
||||||
[SPECIES_POLIWAG] = {{EVO_LEVEL, 25, SPECIES_POLIWHIRL}},
|
[SPECIES_POLIWAG] = {{EVO_LEVEL, 25, SPECIES_POLIWHIRL}},
|
||||||
[SPECIES_POLIWHIRL] = {{EVO_ITEM, ITEM_WATER_STONE, SPECIES_POLIWRATH},
|
[SPECIES_POLIWHIRL] = {{EVO_ITEM, ITEM_WATER_STONE, SPECIES_POLIWRATH},
|
||||||
{EVO_TRADE_ITEM, ITEM_KINGS_ROCK, SPECIES_POLITOED}},
|
{EVO_TRADE_ITEM, ITEM_KINGS_ROCK, SPECIES_POLITOED},
|
||||||
|
{EVO_ITEM, ITEM_KINGS_ROCK, SPECIES_POLITOED}},
|
||||||
[SPECIES_ABRA] = {{EVO_LEVEL, 16, SPECIES_KADABRA}},
|
[SPECIES_ABRA] = {{EVO_LEVEL, 16, SPECIES_KADABRA}},
|
||||||
[SPECIES_KADABRA] = {{EVO_TRADE, 0, SPECIES_ALAKAZAM},
|
[SPECIES_KADABRA] = {{EVO_TRADE, 0, SPECIES_ALAKAZAM},
|
||||||
{EVO_ITEM, ITEM_LINKING_CORD, SPECIES_ALAKAZAM}},
|
{EVO_ITEM, ITEM_LINKING_CORD, SPECIES_ALAKAZAM}},
|
||||||
@ -54,7 +55,8 @@ const struct Evolution gEvolutionTable[NUM_SPECIES][EVOS_PER_MON] =
|
|||||||
{EVO_ITEM, ITEM_LINKING_CORD, SPECIES_GOLEM}},
|
{EVO_ITEM, ITEM_LINKING_CORD, SPECIES_GOLEM}},
|
||||||
[SPECIES_PONYTA] = {{EVO_LEVEL, 40, SPECIES_RAPIDASH}},
|
[SPECIES_PONYTA] = {{EVO_LEVEL, 40, SPECIES_RAPIDASH}},
|
||||||
[SPECIES_SLOWPOKE] = {{EVO_LEVEL, 37, SPECIES_SLOWBRO},
|
[SPECIES_SLOWPOKE] = {{EVO_LEVEL, 37, SPECIES_SLOWBRO},
|
||||||
{EVO_TRADE_ITEM, ITEM_KINGS_ROCK, SPECIES_SLOWKING}},
|
{EVO_TRADE_ITEM, ITEM_KINGS_ROCK, SPECIES_SLOWKING},
|
||||||
|
{EVO_ITEM, ITEM_KINGS_ROCK, SPECIES_SLOWKING}},
|
||||||
[SPECIES_MAGNEMITE] = {{EVO_LEVEL, 30, SPECIES_MAGNETON}},
|
[SPECIES_MAGNEMITE] = {{EVO_LEVEL, 30, SPECIES_MAGNETON}},
|
||||||
#if P_GEN_4_POKEMON == TRUE
|
#if P_GEN_4_POKEMON == TRUE
|
||||||
[SPECIES_MAGNETON] = {{EVO_MAPSEC, MAPSEC_NEW_MAUVILLE, SPECIES_MAGNEZONE},
|
[SPECIES_MAGNETON] = {{EVO_MAPSEC, MAPSEC_NEW_MAUVILLE, SPECIES_MAGNEZONE},
|
||||||
@ -67,7 +69,8 @@ const struct Evolution gEvolutionTable[NUM_SPECIES][EVOS_PER_MON] =
|
|||||||
[SPECIES_GASTLY] = {{EVO_LEVEL, 25, SPECIES_HAUNTER}},
|
[SPECIES_GASTLY] = {{EVO_LEVEL, 25, SPECIES_HAUNTER}},
|
||||||
[SPECIES_HAUNTER] = {{EVO_TRADE, 0, SPECIES_GENGAR},
|
[SPECIES_HAUNTER] = {{EVO_TRADE, 0, SPECIES_GENGAR},
|
||||||
{EVO_ITEM, ITEM_LINKING_CORD, SPECIES_GENGAR}},
|
{EVO_ITEM, ITEM_LINKING_CORD, SPECIES_GENGAR}},
|
||||||
[SPECIES_ONIX] = {{EVO_TRADE_ITEM, ITEM_METAL_COAT, SPECIES_STEELIX}},
|
[SPECIES_ONIX] = {{EVO_TRADE_ITEM, ITEM_METAL_COAT, SPECIES_STEELIX},
|
||||||
|
{EVO_ITEM, ITEM_METAL_COAT, SPECIES_STEELIX}},
|
||||||
[SPECIES_DROWZEE] = {{EVO_LEVEL, 26, SPECIES_HYPNO}},
|
[SPECIES_DROWZEE] = {{EVO_LEVEL, 26, SPECIES_HYPNO}},
|
||||||
[SPECIES_KRABBY] = {{EVO_LEVEL, 28, SPECIES_KINGLER}},
|
[SPECIES_KRABBY] = {{EVO_LEVEL, 28, SPECIES_KINGLER}},
|
||||||
[SPECIES_VOLTORB] = {{EVO_LEVEL, 30, SPECIES_ELECTRODE}},
|
[SPECIES_VOLTORB] = {{EVO_LEVEL, 30, SPECIES_ELECTRODE}},
|
||||||
@ -81,21 +84,26 @@ const struct Evolution gEvolutionTable[NUM_SPECIES][EVOS_PER_MON] =
|
|||||||
[SPECIES_KOFFING] = {{EVO_LEVEL, 35, SPECIES_WEEZING}},
|
[SPECIES_KOFFING] = {{EVO_LEVEL, 35, SPECIES_WEEZING}},
|
||||||
[SPECIES_RHYHORN] = {{EVO_LEVEL, 42, SPECIES_RHYDON}},
|
[SPECIES_RHYHORN] = {{EVO_LEVEL, 42, SPECIES_RHYDON}},
|
||||||
#if P_GEN_4_POKEMON == TRUE
|
#if P_GEN_4_POKEMON == TRUE
|
||||||
[SPECIES_RHYDON] = {{EVO_TRADE_ITEM, ITEM_PROTECTOR, SPECIES_RHYPERIOR}},
|
[SPECIES_RHYDON] = {{EVO_TRADE_ITEM, ITEM_PROTECTOR, SPECIES_RHYPERIOR},
|
||||||
|
{EVO_ITEM, ITEM_PROTECTOR, SPECIES_RHYPERIOR}},
|
||||||
#endif
|
#endif
|
||||||
[SPECIES_CHANSEY] = {{EVO_FRIENDSHIP, 0, SPECIES_BLISSEY}},
|
[SPECIES_CHANSEY] = {{EVO_FRIENDSHIP, 0, SPECIES_BLISSEY}},
|
||||||
#if P_GEN_4_POKEMON == TRUE
|
#if P_GEN_4_POKEMON == TRUE
|
||||||
[SPECIES_TANGELA] = {{EVO_MOVE, MOVE_ANCIENT_POWER, SPECIES_TANGROWTH}},
|
[SPECIES_TANGELA] = {{EVO_MOVE, MOVE_ANCIENT_POWER, SPECIES_TANGROWTH}},
|
||||||
#endif
|
#endif
|
||||||
[SPECIES_HORSEA] = {{EVO_LEVEL, 32, SPECIES_SEADRA}},
|
[SPECIES_HORSEA] = {{EVO_LEVEL, 32, SPECIES_SEADRA}},
|
||||||
[SPECIES_SEADRA] = {{EVO_TRADE_ITEM, ITEM_DRAGON_SCALE, SPECIES_KINGDRA}},
|
[SPECIES_SEADRA] = {{EVO_TRADE_ITEM, ITEM_DRAGON_SCALE, SPECIES_KINGDRA},
|
||||||
|
{EVO_ITEM, ITEM_DRAGON_SCALE, SPECIES_KINGDRA}},
|
||||||
[SPECIES_GOLDEEN] = {{EVO_LEVEL, 33, SPECIES_SEAKING}},
|
[SPECIES_GOLDEEN] = {{EVO_LEVEL, 33, SPECIES_SEAKING}},
|
||||||
[SPECIES_STARYU] = {{EVO_ITEM, ITEM_WATER_STONE, SPECIES_STARMIE}},
|
[SPECIES_STARYU] = {{EVO_ITEM, ITEM_WATER_STONE, SPECIES_STARMIE}},
|
||||||
[SPECIES_SCYTHER] = {{EVO_TRADE_ITEM, ITEM_METAL_COAT, SPECIES_SCIZOR},
|
[SPECIES_SCYTHER] = {{EVO_TRADE_ITEM, ITEM_METAL_COAT, SPECIES_SCIZOR},
|
||||||
{EVO_ITEM, ITEM_BLACK_AUGURITE, SPECIES_KLEAVOR}},
|
{EVO_ITEM, ITEM_BLACK_AUGURITE, SPECIES_KLEAVOR},
|
||||||
|
{EVO_ITEM, ITEM_METAL_COAT, SPECIES_SCIZOR}},
|
||||||
#if P_GEN_4_POKEMON == TRUE
|
#if P_GEN_4_POKEMON == TRUE
|
||||||
[SPECIES_ELECTABUZZ] = {{EVO_TRADE_ITEM, ITEM_ELECTIRIZER, SPECIES_ELECTIVIRE}},
|
[SPECIES_ELECTABUZZ] = {{EVO_TRADE_ITEM, ITEM_ELECTIRIZER, SPECIES_ELECTIVIRE},
|
||||||
[SPECIES_MAGMAR] = {{EVO_TRADE_ITEM, ITEM_MAGMARIZER, SPECIES_MAGMORTAR}},
|
{EVO_ITEM, ITEM_ELECTIRIZER, SPECIES_ELECTIVIRE}},
|
||||||
|
[SPECIES_MAGMAR] = {{EVO_TRADE_ITEM, ITEM_MAGMARIZER, SPECIES_MAGMORTAR},
|
||||||
|
{EVO_ITEM, ITEM_MAGMARIZER, SPECIES_MAGMORTAR}},
|
||||||
#endif
|
#endif
|
||||||
[SPECIES_MAGIKARP] = {{EVO_LEVEL, 20, SPECIES_GYARADOS}},
|
[SPECIES_MAGIKARP] = {{EVO_LEVEL, 20, SPECIES_GYARADOS}},
|
||||||
[SPECIES_EEVEE] = {{EVO_ITEM, ITEM_THUNDER_STONE, SPECIES_JOLTEON},
|
[SPECIES_EEVEE] = {{EVO_ITEM, ITEM_THUNDER_STONE, SPECIES_JOLTEON},
|
||||||
@ -113,7 +121,8 @@ const struct Evolution gEvolutionTable[NUM_SPECIES][EVOS_PER_MON] =
|
|||||||
{EVO_MOVE_TYPE, TYPE_FAIRY, SPECIES_SYLVEON}
|
{EVO_MOVE_TYPE, TYPE_FAIRY, SPECIES_SYLVEON}
|
||||||
#endif
|
#endif
|
||||||
},
|
},
|
||||||
[SPECIES_PORYGON] = {{EVO_TRADE_ITEM, ITEM_UPGRADE, SPECIES_PORYGON2}},
|
[SPECIES_PORYGON] = {{EVO_TRADE_ITEM, ITEM_UPGRADE, SPECIES_PORYGON2},
|
||||||
|
{EVO_ITEM, ITEM_UPGRADE, SPECIES_PORYGON2}},
|
||||||
[SPECIES_OMANYTE] = {{EVO_LEVEL, 40, SPECIES_OMASTAR}},
|
[SPECIES_OMANYTE] = {{EVO_LEVEL, 40, SPECIES_OMASTAR}},
|
||||||
[SPECIES_KABUTO] = {{EVO_LEVEL, 40, SPECIES_KABUTOPS}},
|
[SPECIES_KABUTO] = {{EVO_LEVEL, 40, SPECIES_KABUTOPS}},
|
||||||
[SPECIES_DRATINI] = {{EVO_LEVEL, 30, SPECIES_DRAGONAIR}},
|
[SPECIES_DRATINI] = {{EVO_LEVEL, 30, SPECIES_DRAGONAIR}},
|
||||||
@ -154,11 +163,13 @@ const struct Evolution gEvolutionTable[NUM_SPECIES][EVOS_PER_MON] =
|
|||||||
#endif
|
#endif
|
||||||
[SPECIES_PINECO] = {{EVO_LEVEL, 31, SPECIES_FORRETRESS}},
|
[SPECIES_PINECO] = {{EVO_LEVEL, 31, SPECIES_FORRETRESS}},
|
||||||
#if P_GEN_4_POKEMON == TRUE
|
#if P_GEN_4_POKEMON == TRUE
|
||||||
[SPECIES_GLIGAR] = {{EVO_ITEM_HOLD_NIGHT, ITEM_RAZOR_FANG, SPECIES_GLISCOR}},
|
[SPECIES_GLIGAR] = {{EVO_ITEM_HOLD_NIGHT, ITEM_RAZOR_FANG, SPECIES_GLISCOR},
|
||||||
|
{EVO_ITEM_NIGHT, ITEM_RAZOR_FANG, SPECIES_GLISCOR}},
|
||||||
#endif
|
#endif
|
||||||
[SPECIES_SNUBBULL] = {{EVO_LEVEL, 23, SPECIES_GRANBULL}},
|
[SPECIES_SNUBBULL] = {{EVO_LEVEL, 23, SPECIES_GRANBULL}},
|
||||||
#if P_GEN_4_POKEMON == TRUE
|
#if P_GEN_4_POKEMON == TRUE
|
||||||
[SPECIES_SNEASEL] = {{EVO_ITEM_HOLD_NIGHT, ITEM_RAZOR_CLAW, SPECIES_WEAVILE}},
|
[SPECIES_SNEASEL] = {{EVO_ITEM_HOLD_NIGHT, ITEM_RAZOR_CLAW, SPECIES_WEAVILE},
|
||||||
|
{EVO_ITEM_NIGHT, ITEM_RAZOR_CLAW, SPECIES_WEAVILE}},
|
||||||
#endif
|
#endif
|
||||||
[SPECIES_TEDDIURSA] = {{EVO_LEVEL, 30, SPECIES_URSARING}},
|
[SPECIES_TEDDIURSA] = {{EVO_LEVEL, 30, SPECIES_URSARING}},
|
||||||
[SPECIES_SLUGMA] = {{EVO_LEVEL, 38, SPECIES_MAGCARGO}},
|
[SPECIES_SLUGMA] = {{EVO_LEVEL, 38, SPECIES_MAGCARGO}},
|
||||||
@ -170,7 +181,8 @@ const struct Evolution gEvolutionTable[NUM_SPECIES][EVOS_PER_MON] =
|
|||||||
[SPECIES_HOUNDOUR] = {{EVO_LEVEL, 24, SPECIES_HOUNDOOM}},
|
[SPECIES_HOUNDOUR] = {{EVO_LEVEL, 24, SPECIES_HOUNDOOM}},
|
||||||
[SPECIES_PHANPY] = {{EVO_LEVEL, 25, SPECIES_DONPHAN}},
|
[SPECIES_PHANPY] = {{EVO_LEVEL, 25, SPECIES_DONPHAN}},
|
||||||
#if P_GEN_4_POKEMON == TRUE
|
#if P_GEN_4_POKEMON == TRUE
|
||||||
[SPECIES_PORYGON2] = {{EVO_TRADE_ITEM, ITEM_DUBIOUS_DISC, SPECIES_PORYGON_Z}},
|
[SPECIES_PORYGON2] = {{EVO_TRADE_ITEM, ITEM_DUBIOUS_DISC, SPECIES_PORYGON_Z},
|
||||||
|
{EVO_ITEM, ITEM_DUBIOUS_DISC, SPECIES_PORYGON_Z}},
|
||||||
#endif
|
#endif
|
||||||
[SPECIES_TYROGUE] = {{EVO_LEVEL_ATK_LT_DEF, 20, SPECIES_HITMONCHAN},
|
[SPECIES_TYROGUE] = {{EVO_LEVEL_ATK_LT_DEF, 20, SPECIES_HITMONCHAN},
|
||||||
{EVO_LEVEL_ATK_GT_DEF, 20, SPECIES_HITMONLEE},
|
{EVO_LEVEL_ATK_GT_DEF, 20, SPECIES_HITMONLEE},
|
||||||
@ -211,7 +223,8 @@ const struct Evolution gEvolutionTable[NUM_SPECIES][EVOS_PER_MON] =
|
|||||||
[SPECIES_BARBOACH] = {{EVO_LEVEL, 30, SPECIES_WHISCASH}},
|
[SPECIES_BARBOACH] = {{EVO_LEVEL, 30, SPECIES_WHISCASH}},
|
||||||
[SPECIES_CORPHISH] = {{EVO_LEVEL, 30, SPECIES_CRAWDAUNT}},
|
[SPECIES_CORPHISH] = {{EVO_LEVEL, 30, SPECIES_CRAWDAUNT}},
|
||||||
[SPECIES_FEEBAS] = {{EVO_BEAUTY, 170, SPECIES_MILOTIC},
|
[SPECIES_FEEBAS] = {{EVO_BEAUTY, 170, SPECIES_MILOTIC},
|
||||||
{EVO_TRADE_ITEM, ITEM_PRISM_SCALE, SPECIES_MILOTIC}},
|
{EVO_TRADE_ITEM, ITEM_PRISM_SCALE, SPECIES_MILOTIC},
|
||||||
|
{EVO_ITEM, ITEM_PRISM_SCALE, SPECIES_MILOTIC}},
|
||||||
[SPECIES_CARVANHA] = {{EVO_LEVEL, 30, SPECIES_SHARPEDO}},
|
[SPECIES_CARVANHA] = {{EVO_LEVEL, 30, SPECIES_SHARPEDO}},
|
||||||
[SPECIES_TRAPINCH] = {{EVO_LEVEL, 35, SPECIES_VIBRAVA}},
|
[SPECIES_TRAPINCH] = {{EVO_LEVEL, 35, SPECIES_VIBRAVA}},
|
||||||
[SPECIES_VIBRAVA] = {{EVO_LEVEL, 45, SPECIES_FLYGON}},
|
[SPECIES_VIBRAVA] = {{EVO_LEVEL, 45, SPECIES_FLYGON}},
|
||||||
@ -233,7 +246,8 @@ const struct Evolution gEvolutionTable[NUM_SPECIES][EVOS_PER_MON] =
|
|||||||
[SPECIES_WYNAUT] = {{EVO_LEVEL, 15, SPECIES_WOBBUFFET}},
|
[SPECIES_WYNAUT] = {{EVO_LEVEL, 15, SPECIES_WOBBUFFET}},
|
||||||
[SPECIES_DUSKULL] = {{EVO_LEVEL, 37, SPECIES_DUSCLOPS}},
|
[SPECIES_DUSKULL] = {{EVO_LEVEL, 37, SPECIES_DUSCLOPS}},
|
||||||
#if P_GEN_4_POKEMON == TRUE
|
#if P_GEN_4_POKEMON == TRUE
|
||||||
[SPECIES_DUSCLOPS] = {{EVO_TRADE_ITEM, ITEM_REAPER_CLOTH, SPECIES_DUSKNOIR}},
|
[SPECIES_DUSCLOPS] = {{EVO_TRADE_ITEM, ITEM_REAPER_CLOTH, SPECIES_DUSKNOIR},
|
||||||
|
{EVO_ITEM, ITEM_REAPER_CLOTH, SPECIES_DUSKNOIR}},
|
||||||
[SPECIES_ROSELIA] = {{EVO_ITEM, ITEM_SHINY_STONE, SPECIES_ROSERADE}},
|
[SPECIES_ROSELIA] = {{EVO_ITEM, ITEM_SHINY_STONE, SPECIES_ROSERADE}},
|
||||||
#endif
|
#endif
|
||||||
[SPECIES_SLAKOTH] = {{EVO_LEVEL, 18, SPECIES_VIGOROTH}},
|
[SPECIES_SLAKOTH] = {{EVO_LEVEL, 18, SPECIES_VIGOROTH}},
|
||||||
@ -242,7 +256,9 @@ const struct Evolution gEvolutionTable[NUM_SPECIES][EVOS_PER_MON] =
|
|||||||
[SPECIES_WHISMUR] = {{EVO_LEVEL, 20, SPECIES_LOUDRED}},
|
[SPECIES_WHISMUR] = {{EVO_LEVEL, 20, SPECIES_LOUDRED}},
|
||||||
[SPECIES_LOUDRED] = {{EVO_LEVEL, 40, SPECIES_EXPLOUD}},
|
[SPECIES_LOUDRED] = {{EVO_LEVEL, 40, SPECIES_EXPLOUD}},
|
||||||
[SPECIES_CLAMPERL] = {{EVO_TRADE_ITEM, ITEM_DEEP_SEA_TOOTH, SPECIES_HUNTAIL},
|
[SPECIES_CLAMPERL] = {{EVO_TRADE_ITEM, ITEM_DEEP_SEA_TOOTH, SPECIES_HUNTAIL},
|
||||||
{EVO_TRADE_ITEM, ITEM_DEEP_SEA_SCALE, SPECIES_GOREBYSS}},
|
{EVO_TRADE_ITEM, ITEM_DEEP_SEA_SCALE, SPECIES_GOREBYSS},
|
||||||
|
{EVO_ITEM, ITEM_DEEP_SEA_TOOTH, SPECIES_HUNTAIL},
|
||||||
|
{EVO_ITEM, ITEM_DEEP_SEA_SCALE, SPECIES_GOREBYSS}},
|
||||||
[SPECIES_SHUPPET] = {{EVO_LEVEL, 37, SPECIES_BANETTE}},
|
[SPECIES_SHUPPET] = {{EVO_LEVEL, 37, SPECIES_BANETTE}},
|
||||||
[SPECIES_ARON] = {{EVO_LEVEL, 32, SPECIES_LAIRON}},
|
[SPECIES_ARON] = {{EVO_LEVEL, 32, SPECIES_LAIRON}},
|
||||||
[SPECIES_LAIRON] = {{EVO_LEVEL, 42, SPECIES_AGGRON}},
|
[SPECIES_LAIRON] = {{EVO_LEVEL, 42, SPECIES_AGGRON}},
|
||||||
@ -289,7 +305,8 @@ const struct Evolution gEvolutionTable[NUM_SPECIES][EVOS_PER_MON] =
|
|||||||
[SPECIES_BRONZOR] = {{EVO_LEVEL, 33, SPECIES_BRONZONG}},
|
[SPECIES_BRONZOR] = {{EVO_LEVEL, 33, SPECIES_BRONZONG}},
|
||||||
[SPECIES_BONSLY] = {{EVO_MOVE, MOVE_MIMIC, SPECIES_SUDOWOODO}},
|
[SPECIES_BONSLY] = {{EVO_MOVE, MOVE_MIMIC, SPECIES_SUDOWOODO}},
|
||||||
[SPECIES_MIME_JR] = {{EVO_MOVE, MOVE_MIMIC, SPECIES_MR_MIME}},
|
[SPECIES_MIME_JR] = {{EVO_MOVE, MOVE_MIMIC, SPECIES_MR_MIME}},
|
||||||
[SPECIES_HAPPINY] = {{EVO_ITEM_HOLD_DAY, ITEM_OVAL_STONE, SPECIES_CHANSEY}},
|
[SPECIES_HAPPINY] = {{EVO_ITEM_HOLD_DAY, ITEM_OVAL_STONE, SPECIES_CHANSEY},
|
||||||
|
{EVO_ITEM_DAY, ITEM_OVAL_STONE, SPECIES_CHANSEY}},
|
||||||
[SPECIES_GIBLE] = {{EVO_LEVEL, 24, SPECIES_GABITE}},
|
[SPECIES_GIBLE] = {{EVO_LEVEL, 24, SPECIES_GABITE}},
|
||||||
[SPECIES_GABITE] = {{EVO_LEVEL, 48, SPECIES_GARCHOMP}},
|
[SPECIES_GABITE] = {{EVO_LEVEL, 48, SPECIES_GARCHOMP}},
|
||||||
[SPECIES_MUNCHLAX] = {{EVO_FRIENDSHIP, 0, SPECIES_SNORLAX}},
|
[SPECIES_MUNCHLAX] = {{EVO_FRIENDSHIP, 0, SPECIES_SNORLAX}},
|
||||||
@ -400,8 +417,10 @@ const struct Evolution gEvolutionTable[NUM_SPECIES][EVOS_PER_MON] =
|
|||||||
{EVO_LEVEL_FEMALE, 25, SPECIES_MEOWSTIC_FEMALE}},
|
{EVO_LEVEL_FEMALE, 25, SPECIES_MEOWSTIC_FEMALE}},
|
||||||
[SPECIES_HONEDGE] = {{EVO_LEVEL, 35, SPECIES_DOUBLADE}},
|
[SPECIES_HONEDGE] = {{EVO_LEVEL, 35, SPECIES_DOUBLADE}},
|
||||||
[SPECIES_DOUBLADE] = {{EVO_ITEM, ITEM_DUSK_STONE, SPECIES_AEGISLASH}},
|
[SPECIES_DOUBLADE] = {{EVO_ITEM, ITEM_DUSK_STONE, SPECIES_AEGISLASH}},
|
||||||
[SPECIES_SPRITZEE] = {{EVO_TRADE_ITEM, ITEM_SACHET, SPECIES_AROMATISSE}},
|
[SPECIES_SPRITZEE] = {{EVO_TRADE_ITEM, ITEM_SACHET, SPECIES_AROMATISSE},
|
||||||
[SPECIES_SWIRLIX] = {{EVO_TRADE_ITEM, ITEM_WHIPPED_DREAM, SPECIES_SLURPUFF}},
|
{EVO_ITEM, ITEM_SACHET, SPECIES_AROMATISSE}},
|
||||||
|
[SPECIES_SWIRLIX] = {{EVO_TRADE_ITEM, ITEM_WHIPPED_DREAM, SPECIES_SLURPUFF},
|
||||||
|
{EVO_ITEM, ITEM_WHIPPED_DREAM, SPECIES_SLURPUFF}},
|
||||||
[SPECIES_INKAY] = {{EVO_LEVEL, 30, SPECIES_MALAMAR}},
|
[SPECIES_INKAY] = {{EVO_LEVEL, 30, SPECIES_MALAMAR}},
|
||||||
[SPECIES_BINACLE] = {{EVO_LEVEL, 39, SPECIES_BARBARACLE}},
|
[SPECIES_BINACLE] = {{EVO_LEVEL, 39, SPECIES_BARBARACLE}},
|
||||||
[SPECIES_SKRELP] = {{EVO_LEVEL, 48, SPECIES_DRAGALGE}},
|
[SPECIES_SKRELP] = {{EVO_LEVEL, 48, SPECIES_DRAGALGE}},
|
||||||
@ -565,5 +584,7 @@ const struct Evolution gEvolutionTable[NUM_SPECIES][EVOS_PER_MON] =
|
|||||||
#if P_GEN_8_POKEMON == TRUE
|
#if P_GEN_8_POKEMON == TRUE
|
||||||
[SPECIES_SINISTEA_ANTIQUE] = {{EVO_ITEM, ITEM_CHIPPED_POT, SPECIES_POLTEAGEIST_ANTIQUE}},
|
[SPECIES_SINISTEA_ANTIQUE] = {{EVO_ITEM, ITEM_CHIPPED_POT, SPECIES_POLTEAGEIST_ANTIQUE}},
|
||||||
[SPECIES_URSARING] = {{EVO_ITEM_NIGHT, ITEM_PEAT_BLOCK, SPECIES_URSALUNA}},
|
[SPECIES_URSARING] = {{EVO_ITEM_NIGHT, ITEM_PEAT_BLOCK, SPECIES_URSALUNA}},
|
||||||
|
[SPECIES_SNEASEL_HISUIAN] = {{EVO_ITEM_DAY, ITEM_RAZOR_CLAW, SPECIES_SNEASLER},
|
||||||
|
{EVO_ITEM_HOLD_DAY, ITEM_RAZOR_CLAW, SPECIES_SNEASLER}},
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
@ -550,6 +550,22 @@ const u8 *const gItemEffectTable[ITEMS_COUNT] =
|
|||||||
[ITEM_CHIPPED_POT] = gItemEffect_EvoItem,
|
[ITEM_CHIPPED_POT] = gItemEffect_EvoItem,
|
||||||
[ITEM_GALARICA_CUFF] = gItemEffect_EvoItem,
|
[ITEM_GALARICA_CUFF] = gItemEffect_EvoItem,
|
||||||
[ITEM_GALARICA_WREATH] = gItemEffect_EvoItem,
|
[ITEM_GALARICA_WREATH] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_DRAGON_SCALE] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_UPGRADE] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_PROTECTOR] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_ELECTIRIZER] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_MAGMARIZER] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_DUBIOUS_DISC] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_REAPER_CLOTH] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_PRISM_SCALE] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_WHIPPED_DREAM] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_SACHET] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_OVAL_STONE] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_DEEP_SEA_SCALE] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_DEEP_SEA_TOOTH] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_METAL_COAT] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_KINGS_ROCK] = gItemEffect_EvoItem,
|
||||||
|
[ITEM_RAZOR_CLAW] = gItemEffect_EvoItem,
|
||||||
[ITEM_AUSPICIOUS_ARMOR] = gItemEffect_EvoItem,
|
[ITEM_AUSPICIOUS_ARMOR] = gItemEffect_EvoItem,
|
||||||
[ITEM_MALICIOUS_ARMOR] = gItemEffect_EvoItem,
|
[ITEM_MALICIOUS_ARMOR] = gItemEffect_EvoItem,
|
||||||
[ITEM_SCROLL_OF_DARKNESS] = gItemEffect_EvoItem,
|
[ITEM_SCROLL_OF_DARKNESS] = gItemEffect_EvoItem,
|
||||||
|
37
src/debug.c
37
src/debug.c
@ -57,6 +57,7 @@
|
|||||||
#include "constants/songs.h"
|
#include "constants/songs.h"
|
||||||
#include "constants/species.h"
|
#include "constants/species.h"
|
||||||
#include "constants/weather.h"
|
#include "constants/weather.h"
|
||||||
|
#include "save.h"
|
||||||
|
|
||||||
#if DEBUG_OVERWORLD_MENU == TRUE
|
#if DEBUG_OVERWORLD_MENU == TRUE
|
||||||
// *******************************
|
// *******************************
|
||||||
@ -292,6 +293,7 @@ extern u8 Debug_ShowFieldMessageStringVar4[];
|
|||||||
extern u8 Debug_CheatStart[];
|
extern u8 Debug_CheatStart[];
|
||||||
extern u8 PlayersHouse_2F_EventScript_SetWallClock[];
|
extern u8 PlayersHouse_2F_EventScript_SetWallClock[];
|
||||||
extern u8 PlayersHouse_2F_EventScript_CheckWallClock[];
|
extern u8 PlayersHouse_2F_EventScript_CheckWallClock[];
|
||||||
|
extern u8 Debug_CheckSaveBlock[];
|
||||||
|
|
||||||
#include "data/map_group_count.h"
|
#include "data/map_group_count.h"
|
||||||
|
|
||||||
@ -1165,18 +1167,35 @@ static void DebugAction_Util_PoisonMons(u8 taskId)
|
|||||||
PlaySE(SE_FIELD_POISON);
|
PlaySE(SE_FIELD_POISON);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CheckSaveBlock1Size(void)
|
||||||
|
{
|
||||||
|
u32 currSb1Size = sizeof(struct SaveBlock1);
|
||||||
|
u32 maxSb1Size = SECTOR_DATA_SIZE * (SECTOR_ID_SAVEBLOCK1_END - SECTOR_ID_SAVEBLOCK1_START + 1);
|
||||||
|
ConvertIntToDecimalStringN(gStringVar1, currSb1Size, STR_CONV_MODE_LEFT_ALIGN, 6);
|
||||||
|
ConvertIntToDecimalStringN(gStringVar2, maxSb1Size, STR_CONV_MODE_LEFT_ALIGN, 6);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CheckSaveBlock2Size(void)
|
||||||
|
{
|
||||||
|
u32 currSb2Size = (sizeof(struct SaveBlock2));
|
||||||
|
u32 maxSb2Size = SECTOR_DATA_SIZE;
|
||||||
|
ConvertIntToDecimalStringN(gStringVar1, currSb2Size, STR_CONV_MODE_LEFT_ALIGN, 6);
|
||||||
|
ConvertIntToDecimalStringN(gStringVar2, maxSb2Size, STR_CONV_MODE_LEFT_ALIGN, 6);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CheckPokemonStorageSize(void)
|
||||||
|
{
|
||||||
|
u32 currPkmnStorageSize = sizeof(struct PokemonStorage);
|
||||||
|
u32 maxPkmnStorageSize = SECTOR_DATA_SIZE * (SECTOR_ID_PKMN_STORAGE_END - SECTOR_ID_PKMN_STORAGE_START + 1);
|
||||||
|
ConvertIntToDecimalStringN(gStringVar1, currPkmnStorageSize, STR_CONV_MODE_LEFT_ALIGN, 6);
|
||||||
|
ConvertIntToDecimalStringN(gStringVar2, maxPkmnStorageSize, STR_CONV_MODE_LEFT_ALIGN, 6);
|
||||||
|
}
|
||||||
|
|
||||||
static void DebugAction_Util_CheckSaveBlock(u8 taskId)
|
static void DebugAction_Util_CheckSaveBlock(u8 taskId)
|
||||||
{
|
{
|
||||||
static const u8 sDebugText_SaveBlockSize[] = _("SaveBlock1 is {STR_VAR_1} bytes long.\nMax size is 15872 bytes.\pSaveBlock2 is {STR_VAR_2} bytes long.\nMax size is 3968 bytes.\pPokemonStorage is {STR_VAR_3} bytes long.\nMax size is 35712 bytes.");
|
|
||||||
|
|
||||||
ConvertIntToDecimalStringN(gStringVar1, sizeof(struct SaveBlock1), STR_CONV_MODE_LEFT_ALIGN, 6);
|
|
||||||
ConvertIntToDecimalStringN(gStringVar2, sizeof(struct SaveBlock2), STR_CONV_MODE_LEFT_ALIGN, 6);
|
|
||||||
ConvertIntToDecimalStringN(gStringVar3, sizeof(struct PokemonStorage), STR_CONV_MODE_LEFT_ALIGN, 6);
|
|
||||||
StringExpandPlaceholders(gStringVar4, sDebugText_SaveBlockSize);
|
|
||||||
|
|
||||||
Debug_DestroyMenu_Full(taskId);
|
Debug_DestroyMenu_Full(taskId);
|
||||||
LockPlayerFieldControls();
|
LockPlayerFieldControls();
|
||||||
ScriptContext_SetupScript(Debug_ShowFieldMessageStringVar4);
|
ScriptContext_SetupScript(Debug_CheckSaveBlock);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const u8 sWeatherNames[22][24] = {
|
static const u8 sWeatherNames[22][24] = {
|
||||||
@ -2758,7 +2777,7 @@ static void DebugAction_Give_Pokemon_ComplexCreateMon(u8 taskId) //https://githu
|
|||||||
|
|
||||||
static void DebugAction_Give_MaxMoney(u8 taskId)
|
static void DebugAction_Give_MaxMoney(u8 taskId)
|
||||||
{
|
{
|
||||||
SetMoney(&gSaveBlock1Ptr->money, 999999);
|
SetMoney(&gSaveBlock1Ptr->money, MAX_MONEY);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void DebugAction_Give_MaxCoins(u8 taskId)
|
static void DebugAction_Give_MaxCoins(u8 taskId)
|
||||||
|
@ -10,8 +10,6 @@
|
|||||||
#include "strings.h"
|
#include "strings.h"
|
||||||
#include "decompress.h"
|
#include "decompress.h"
|
||||||
|
|
||||||
#define MAX_MONEY 999999
|
|
||||||
|
|
||||||
EWRAM_DATA static u8 sMoneyBoxWindowId = 0;
|
EWRAM_DATA static u8 sMoneyBoxWindowId = 0;
|
||||||
EWRAM_DATA static u8 sMoneyLabelSpriteId = 0;
|
EWRAM_DATA static u8 sMoneyLabelSpriteId = 0;
|
||||||
|
|
||||||
|
@ -6598,6 +6598,14 @@ u16 GetEvolutionTargetSpecies(struct Pokemon *mon, u8 mode, u16 evolutionItem, s
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case EVO_ITEM_HOLD:
|
||||||
|
if (heldItem == gEvolutionTable[species][i].param)
|
||||||
|
{
|
||||||
|
heldItem = 0;
|
||||||
|
SetMonData(mon, MON_DATA_HELD_ITEM, &heldItem);
|
||||||
|
targetSpecies = gEvolutionTable[species][i].targetSpecies;
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -6647,6 +6655,11 @@ u16 GetEvolutionTargetSpecies(struct Pokemon *mon, u8 mode, u16 evolutionItem, s
|
|||||||
if (gLocalTime.hours >= 0 && gLocalTime.hours < 12 && gEvolutionTable[species][i].param == evolutionItem)
|
if (gLocalTime.hours >= 0 && gLocalTime.hours < 12 && gEvolutionTable[species][i].param == evolutionItem)
|
||||||
targetSpecies = gEvolutionTable[species][i].targetSpecies;
|
targetSpecies = gEvolutionTable[species][i].targetSpecies;
|
||||||
break;
|
break;
|
||||||
|
case EVO_ITEM_DAY:
|
||||||
|
RtcCalcLocalTime();
|
||||||
|
if (gLocalTime.hours >= 12 && gLocalTime.hours < 24 && gEvolutionTable[species][i].param == evolutionItem)
|
||||||
|
targetSpecies = gEvolutionTable[species][i].targetSpecies;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -601,6 +601,514 @@ static const u8 sSpeciesToBackAnimSet[NUM_SPECIES] =
|
|||||||
[SPECIES_JIRACHI] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
[SPECIES_JIRACHI] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
[SPECIES_DEOXYS] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
[SPECIES_DEOXYS] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
[SPECIES_CHIMECHO] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
[SPECIES_CHIMECHO] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
|
||||||
|
// Gen 4
|
||||||
|
[SPECIES_TURTWIG] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_GROTLE] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_TORTERRA] = BACK_ANIM_SHAKE_GLOW_GREEN,
|
||||||
|
[SPECIES_CHIMCHAR] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_MONFERNO] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_INFERNAPE] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
[SPECIES_PIPLUP] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_PRINPLUP] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_EMPOLEON] = BACK_ANIM_SHAKE_GLOW_BLUE,
|
||||||
|
[SPECIES_STARLY] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_STARAVIA] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_STARAPTOR] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_BIDOOF] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_BIBAREL] = BACK_ANIM_DIP_RIGHT_SIDE,
|
||||||
|
[SPECIES_KRICKETOT] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_KRICKETUNE] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_SHINX] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_LUXIO] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_LUXRAY] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_BUDEW] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_ROSERADE] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_CRANIDOS] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_RAMPARDOS] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_SHIELDON] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_BASTIODON] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_BURMY] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_WORMADAM] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_MOTHIM] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_COMBEE] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_VESPIQUEN] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_PACHIRISU] = BACK_ANIM_SHAKE_FLASH_YELLOW,
|
||||||
|
[SPECIES_BUIZEL] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_FLOATZEL] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_CHERUBI] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_CHERRIM] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_SHELLOS] = BACK_ANIM_H_SPRING,
|
||||||
|
[SPECIES_GASTRODON] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_AMBIPOM] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_DRIFLOON] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_DRIFBLIM] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_BUNEARY] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_LOPUNNY] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_MISMAGIUS] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_HONCHKROW] = BACK_ANIM_H_STRETCH,
|
||||||
|
[SPECIES_GLAMEOW] = BACK_ANIM_SHRINK_GROW,
|
||||||
|
[SPECIES_PURUGLY] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_CHINGLING] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_STUNKY] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_SKUNTANK] = BACK_ANIM_H_STRETCH,
|
||||||
|
[SPECIES_BRONZOR] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_BRONZONG] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_BONSLY] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_MIME_JR] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_HAPPINY] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_CHATOT] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_SPIRITOMB] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_GIBLE] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_GABITE] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_GARCHOMP] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_MUNCHLAX] = BACK_ANIM_GROW,
|
||||||
|
[SPECIES_RIOLU] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_LUCARIO] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_HIPPOPOTAS] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_HIPPOWDON] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_SKORUPI] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_DRAPION] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_CROAGUNK] = BACK_ANIM_GROW,
|
||||||
|
[SPECIES_TOXICROAK] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_CARNIVINE] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_FINNEON] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_LUMINEON] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_MANTYKE] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_SNOVER] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_ABOMASNOW] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_WEAVILE] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_MAGNEZONE] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_LICKILICKY] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_RHYPERIOR] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_TANGROWTH] = BACK_ANIM_GROW,
|
||||||
|
[SPECIES_ELECTIVIRE] = BACK_ANIM_SHAKE_FLASH_YELLOW,
|
||||||
|
[SPECIES_MAGMORTAR] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
[SPECIES_TOGEKISS] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_YANMEGA] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_LEAFEON] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_GLACEON] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_GLISCOR] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_MAMOSWINE] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_PORYGON_Z] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_GALLADE] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_PROBOPASS] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_DUSKNOIR] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_FROSLASS] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_ROTOM] = BACK_ANIM_SHAKE_FLASH_YELLOW,
|
||||||
|
[SPECIES_UXIE] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_MESPRIT] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_AZELF] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_DIALGA] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_PALKIA] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_HEATRAN] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
[SPECIES_REGIGIGAS] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_GIRATINA] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_CRESSELIA] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_PHIONE] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_MANAPHY] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_DARKRAI] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_SHAYMIN] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_ARCEUS] = BACK_ANIM_GROW,
|
||||||
|
|
||||||
|
//Gen 4 Forms
|
||||||
|
[SPECIES_DEOXYS_ATTACK] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_DEOXYS_DEFENSE] = BACK_ANIM_DIP_RIGHT_SIDE,
|
||||||
|
[SPECIES_DEOXYS_SPEED] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_BURMY_SANDY_CLOAK] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_BURMY_TRASH_CLOAK] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_WORMADAM_SANDY_CLOAK] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_WORMADAM_TRASH_CLOAK] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_CHERRIM_SUNSHINE] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_SHELLOS_EAST_SEA] = BACK_ANIM_H_SPRING,
|
||||||
|
[SPECIES_GASTRODON_EAST_SEA] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_ROTOM_HEAT] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
[SPECIES_ROTOM_WASH] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_ROTOM_FROST] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_ROTOM_FAN] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_ROTOM_MOW] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_GIRATINA_ORIGIN] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_SHAYMIN_SKY] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_ARCEUS_FIGHTING] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_FLYING] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_POISON] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_GROUND] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_ROCK] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_BUG] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_GHOST] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_STEEL] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_FIRE] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_WATER] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_GRASS] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_ELECTRIC] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_PSYCHIC] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_ICE] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_DRAGON] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_DARK] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ARCEUS_FAIRY] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
|
||||||
|
// Gen 5
|
||||||
|
[SPECIES_VICTINI] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_SNIVY] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_SERVINE] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_SERPERIOR] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_TEPIG] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_PIGNITE] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_EMBOAR] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
[SPECIES_OSHAWOTT] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_DEWOTT] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_SAMUROTT] = BACK_ANIM_SHAKE_GLOW_BLUE,
|
||||||
|
[SPECIES_PATRAT] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_WATCHOG] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_LILLIPUP] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_HERDIER] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_STOUTLAND] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_PURRLOIN] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_LIEPARD] = BACK_ANIM_H_STRETCH,
|
||||||
|
[SPECIES_PANSAGE] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_SIMISAGE] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_PANSEAR] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_SIMISEAR] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_PANPOUR] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_SIMIPOUR] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_MUNNA] = BACK_ANIM_SHRINK_GROW,
|
||||||
|
[SPECIES_MUSHARNA] = BACK_ANIM_GROW,
|
||||||
|
[SPECIES_PIDOVE] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_TRANQUILL] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_UNFEZANT] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_BLITZLE] = BACK_ANIM_DIP_RIGHT_SIDE,
|
||||||
|
[SPECIES_ZEBSTRIKA] = BACK_ANIM_SHAKE_FLASH_YELLOW,
|
||||||
|
[SPECIES_ROGGENROLA] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_BOLDORE] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_GIGALITH] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_WOOBAT] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_SWOOBAT] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_DRILBUR] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_EXCADRILL] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_AUDINO] = BACK_ANIM_SHRINK_GROW,
|
||||||
|
[SPECIES_TIMBURR] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_GURDURR] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_CONKELDURR] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_TYMPOLE] = BACK_ANIM_H_SPRING,
|
||||||
|
[SPECIES_PALPITOAD] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_SEISMITOAD] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_THROH] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_SAWK] = BACK_ANIM_H_STRETCH,
|
||||||
|
[SPECIES_SEWADDLE] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_SWADLOON] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_LEAVANNY] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_VENIPEDE] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_WHIRLIPEDE] = BACK_ANIM_DIP_RIGHT_SIDE,
|
||||||
|
[SPECIES_SCOLIPEDE] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_COTTONEE] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_WHIMSICOTT] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_PETILIL] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_LILLIGANT] = BACK_ANIM_SHRINK_GROW,
|
||||||
|
[SPECIES_BASCULIN] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_SANDILE] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_KROKOROK] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_KROOKODILE] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_DARUMAKA] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_DARMANITAN] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_MARACTUS] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_DWEBBLE] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_CRUSTLE] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_SCRAGGY] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_SCRAFTY] = BACK_ANIM_GROW,
|
||||||
|
[SPECIES_SIGILYPH] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_YAMASK] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_COFAGRIGUS] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_TIRTOUGA] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_CARRACOSTA] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_ARCHEN] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_ARCHEOPS] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_TRUBBISH] = BACK_ANIM_SHRINK_GROW,
|
||||||
|
[SPECIES_GARBODOR] = BACK_ANIM_H_STRETCH,
|
||||||
|
[SPECIES_ZORUA] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_ZOROARK] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_MINCCINO] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_CINCCINO] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_GOTHITA] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_GOTHORITA] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_GOTHITELLE] = BACK_ANIM_H_STRETCH,
|
||||||
|
[SPECIES_SOLOSIS] = BACK_ANIM_SHRINK_GROW,
|
||||||
|
[SPECIES_DUOSION] = BACK_ANIM_GROW,
|
||||||
|
[SPECIES_REUNICLUS] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_DUCKLETT] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_SWANNA] = BACK_ANIM_H_STRETCH,
|
||||||
|
[SPECIES_VANILLITE] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_VANILLISH] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_VANILLUXE] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_DEERLING] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_SAWSBUCK] = BACK_ANIM_DIP_RIGHT_SIDE,
|
||||||
|
[SPECIES_EMOLGA] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_KARRABLAST] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_ESCAVALIER] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_FOONGUS] = BACK_ANIM_SHRINK_GROW,
|
||||||
|
[SPECIES_AMOONGUSS] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_FRILLISH] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_JELLICENT] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_ALOMOMOLA] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_JOLTIK] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_GALVANTULA] = BACK_ANIM_SHAKE_FLASH_YELLOW,
|
||||||
|
[SPECIES_FERROSEED] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_FERROTHORN] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_KLINK] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_KLANG] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_KLINKLANG] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_TYNAMO] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_EELEKTRIK] = BACK_ANIM_SHRINK_GROW,
|
||||||
|
[SPECIES_EELEKTROSS] = BACK_ANIM_SHAKE_FLASH_YELLOW,
|
||||||
|
[SPECIES_ELGYEM] = BACK_ANIM_SHRINK_GROW,
|
||||||
|
[SPECIES_BEHEEYEM] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_LITWICK] = BACK_ANIM_SHRINK_GROW,
|
||||||
|
[SPECIES_LAMPENT] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_CHANDELURE] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_AXEW] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_FRAXURE] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_HAXORUS] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_CUBCHOO] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_BEARTIC] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_CRYOGONAL] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_SHELMET] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_ACCELGOR] = BACK_ANIM_H_SPRING_REPEATED,
|
||||||
|
[SPECIES_STUNFISK] = BACK_ANIM_H_STRETCH,
|
||||||
|
[SPECIES_MIENFOO] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_MIENSHAO] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_DRUDDIGON] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_GOLETT] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_GOLURK] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_PAWNIARD] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_BISHARP] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_BOUFFALANT] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_RUFFLET] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_BRAVIARY] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_VULLABY] = BACK_ANIM_DIP_RIGHT_SIDE,
|
||||||
|
[SPECIES_MANDIBUZZ] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_HEATMOR] = BACK_ANIM_DIP_RIGHT_SIDE,
|
||||||
|
[SPECIES_DURANT] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_DEINO] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_ZWEILOUS] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_HYDREIGON] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_LARVESTA] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_VOLCARONA] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
[SPECIES_COBALION] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_TERRAKION] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_VIRIZION] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_TORNADUS] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_THUNDURUS] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_RESHIRAM] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
[SPECIES_ZEKROM] = BACK_ANIM_SHAKE_GLOW_BLUE,
|
||||||
|
[SPECIES_LANDORUS] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_KYUREM] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_KELDEO] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_MELOETTA] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_GENESECT] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
|
||||||
|
//Gen 5 Forms
|
||||||
|
[SPECIES_BASCULIN_BLUE_STRIPED] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_DARMANITAN_ZEN_MODE] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_DEERLING_SUMMER] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_DEERLING_AUTUMN] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_DEERLING_WINTER] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_SAWSBUCK_SUMMER] = BACK_ANIM_DIP_RIGHT_SIDE,
|
||||||
|
[SPECIES_SAWSBUCK_AUTUMN] = BACK_ANIM_DIP_RIGHT_SIDE,
|
||||||
|
[SPECIES_SAWSBUCK_WINTER] = BACK_ANIM_DIP_RIGHT_SIDE,
|
||||||
|
[SPECIES_TORNADUS_THERIAN] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_THUNDURUS_THERIAN] = BACK_ANIM_SHAKE_FLASH_YELLOW,
|
||||||
|
[SPECIES_LANDORUS_THERIAN] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_KYUREM_WHITE] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
[SPECIES_KYUREM_BLACK] = BACK_ANIM_SHAKE_GLOW_BLUE,
|
||||||
|
[SPECIES_KELDEO_RESOLUTE] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_MELOETTA_PIROUETTE] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_GENESECT_DOUSE_DRIVE] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_GENESECT_SHOCK_DRIVE] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_GENESECT_BURN_DRIVE] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_GENESECT_CHILL_DRIVE] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
|
||||||
|
//Gen 6
|
||||||
|
[SPECIES_CHESPIN] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_QUILLADIN] = BACK_ANIM_GROW,
|
||||||
|
[SPECIES_CHESNAUGHT] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_FENNEKIN] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_BRAIXEN] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_DELPHOX] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_FROAKIE] = BACK_ANIM_SHRINK_GROW,
|
||||||
|
[SPECIES_FROGADIER] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_GRENINJA] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_BUNNELBY] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_DIGGERSBY] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_FLETCHLING] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_FLETCHINDER] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_TALONFLAME] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
[SPECIES_SCATTERBUG] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_SPEWPA] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_VIVILLON] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_LITLEO] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_PYROAR] = BACK_ANIM_H_STRETCH,
|
||||||
|
[SPECIES_FLABEBE] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_FLOETTE] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_FLORGES] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_SKIDDO] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_GOGOAT] = BACK_ANIM_DIP_RIGHT_SIDE,
|
||||||
|
[SPECIES_PANCHAM] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_PANGORO] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_FURFROU] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_ESPURR] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_MEOWSTIC] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_HONEDGE] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_DOUBLADE] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_AEGISLASH] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_SPRITZEE] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_AROMATISSE] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_SWIRLIX] = BACK_ANIM_H_SPRING,
|
||||||
|
[SPECIES_SLURPUFF] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_INKAY] = BACK_ANIM_SHRINK_GROW,
|
||||||
|
[SPECIES_MALAMAR] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_BINACLE] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_BARBARACLE] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_SKRELP] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_DRAGALGE] = BACK_ANIM_H_STRETCH,
|
||||||
|
[SPECIES_CLAUNCHER] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_CLAWITZER] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_HELIOPTILE] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_HELIOLISK] = BACK_ANIM_SHAKE_FLASH_YELLOW,
|
||||||
|
[SPECIES_TYRUNT] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_TYRANTRUM] = BACK_ANIM_V_SHAKE_H_SLIDE,
|
||||||
|
[SPECIES_AMAURA] = BACK_ANIM_H_SLIDE,
|
||||||
|
[SPECIES_AURORUS] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_SYLVEON] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_HAWLUCHA] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_DEDENNE] = BACK_ANIM_SHAKE_FLASH_YELLOW,
|
||||||
|
[SPECIES_CARBINK] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_GOOMY] = BACK_ANIM_H_SPRING,
|
||||||
|
[SPECIES_SLIGGOO] = BACK_ANIM_SHRINK_GROW,
|
||||||
|
[SPECIES_GOODRA] = BACK_ANIM_SHRINK_GROW,
|
||||||
|
[SPECIES_KLEFKI] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_PHANTUMP] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_TREVENANT] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_PUMPKABOO] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_GOURGEIST] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_BERGMITE] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_AVALUGG] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_NOIBAT] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_NOIVERN] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_XERNEAS] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_YVELTAL] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
[SPECIES_ZYGARDE] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_DIANCIE] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_HOOPA] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_VOLCANION] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
|
||||||
|
//Gen 6 Forms
|
||||||
|
[SPECIES_GRENINJA_ASH] = BACK_ANIM_SHAKE_GLOW_BLUE,
|
||||||
|
[SPECIES_GRENINJA_BATTLE_BOND] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_VIVILLON_POLAR] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_TUNDRA] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_CONTINENTAL] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_GARDEN] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_ELEGANT] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_MEADOW] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_MODERN] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_MARINE] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_ARCHIPELAGO] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_HIGH_PLAINS] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_SANDSTORM] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_RIVER] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_MONSOON] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_SAVANNA] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_SUN] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_OCEAN] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_JUNGLE] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_FANCY] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_VIVILLON_POKE_BALL] = BACK_ANIM_CIRCLE_COUNTERCLOCKWISE,
|
||||||
|
[SPECIES_FLABEBE_YELLOW_FLOWER] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_FLABEBE_ORANGE_FLOWER] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_FLABEBE_BLUE_FLOWER] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_FLABEBE_WHITE_FLOWER] = BACK_ANIM_CONCAVE_ARC_SMALL,
|
||||||
|
[SPECIES_FLOETTE_YELLOW_FLOWER] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_FLOETTE_ORANGE_FLOWER] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_FLOETTE_BLUE_FLOWER] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_FLOETTE_WHITE_FLOWER] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_FLOETTE_ETERNAL_FLOWER] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_FLORGES_YELLOW_FLOWER] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_FLORGES_ORANGE_FLOWER] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_FLORGES_BLUE_FLOWER] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_FLORGES_WHITE_FLOWER] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_FURFROU_HEART_TRIM] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_FURFROU_STAR_TRIM] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_FURFROU_DIAMOND_TRIM] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_FURFROU_DEBUTANTE_TRIM] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_FURFROU_MATRON_TRIM] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_FURFROU_DANDY_TRIM] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_FURFROU_LA_REINE_TRIM] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_FURFROU_KABUKI_TRIM] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_FURFROU_PHARAOH_TRIM] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_MEOWSTIC_FEMALE] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_AEGISLASH_BLADE] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_PUMPKABOO_SMALL] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_PUMPKABOO_LARGE] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_PUMPKABOO_SUPER] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_GOURGEIST_SMALL] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_GOURGEIST_LARGE] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_GOURGEIST_SUPER] = BACK_ANIM_V_STRETCH,
|
||||||
|
[SPECIES_XERNEAS_ACTIVE] = BACK_ANIM_SHAKE_GLOW_BLUE,
|
||||||
|
[SPECIES_ZYGARDE_10] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_ZYGARDE_10_POWER_CONSTRUCT] = BACK_ANIM_SHAKE_GLOW_GREEN,
|
||||||
|
[SPECIES_ZYGARDE_50_POWER_CONSTRUCT] = BACK_ANIM_SHAKE_GLOW_GREEN,
|
||||||
|
[SPECIES_ZYGARDE_COMPLETE] = BACK_ANIM_SHAKE_GLOW_GREEN,
|
||||||
|
[SPECIES_HOOPA_UNBOUND] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
|
||||||
|
//Gen 6 Megas (Thanks Furret/CyanSMP64!)
|
||||||
|
[SPECIES_VENUSAUR_MEGA] = BACK_ANIM_SHAKE_GLOW_GREEN,
|
||||||
|
[SPECIES_CHARIZARD_MEGA_X] = BACK_ANIM_SHAKE_GLOW_BLUE,
|
||||||
|
[SPECIES_CHARIZARD_MEGA_Y] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
[SPECIES_BLASTOISE_MEGA] = BACK_ANIM_SHAKE_GLOW_BLUE,
|
||||||
|
[SPECIES_BEEDRILL_MEGA] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_PIDGEOT_MEGA] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_ALAKAZAM_MEGA] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_SLOWBRO_MEGA] = BACK_ANIM_DIP_RIGHT_SIDE,
|
||||||
|
[SPECIES_GENGAR_MEGA] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_KANGASKHAN_MEGA] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_PINSIR_MEGA] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_GYARADOS_MEGA] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_AERODACTYL_MEGA] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_MEWTWO_MEGA_X] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_MEWTWO_MEGA_Y] = BACK_ANIM_GROW_STUTTER,
|
||||||
|
[SPECIES_AMPHAROS_MEGA] = BACK_ANIM_SHAKE_FLASH_YELLOW,
|
||||||
|
[SPECIES_STEELIX_MEGA] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_SCIZOR_MEGA] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_HERACROSS_MEGA] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_HOUNDOOM_MEGA] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_TYRANITAR_MEGA] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_SCEPTILE_MEGA] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_BLAZIKEN_MEGA] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
[SPECIES_SWAMPERT_MEGA] = BACK_ANIM_SHAKE_GLOW_BLUE,
|
||||||
|
[SPECIES_GARDEVOIR_MEGA] = BACK_ANIM_SHAKE_GLOW_GREEN,
|
||||||
|
[SPECIES_SABLEYE_MEGA] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_MAWILE_MEGA] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_AGGRON_MEGA] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_MEDICHAM_MEGA] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_MANECTRIC_MEGA] = BACK_ANIM_SHAKE_FLASH_YELLOW,
|
||||||
|
[SPECIES_SHARPEDO_MEGA] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_CAMERUPT_MEGA] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
[SPECIES_ALTARIA_MEGA] = BACK_ANIM_CONVEX_DOUBLE_ARC,
|
||||||
|
[SPECIES_BANETTE_MEGA] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_ABSOL_MEGA] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_GLALIE_MEGA] = BACK_ANIM_TRIANGLE_DOWN,
|
||||||
|
[SPECIES_SALAMENCE_MEGA] = BACK_ANIM_H_SHAKE,
|
||||||
|
[SPECIES_METAGROSS_MEGA] = BACK_ANIM_V_SHAKE,
|
||||||
|
[SPECIES_LATIAS_MEGA] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_LATIOS_MEGA] = BACK_ANIM_H_VIBRATE,
|
||||||
|
[SPECIES_LOPUNNY_MEGA] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_GARCHOMP_MEGA] = BACK_ANIM_JOLT_RIGHT,
|
||||||
|
[SPECIES_LUCARIO_MEGA] = BACK_ANIM_CONCAVE_ARC_LARGE,
|
||||||
|
[SPECIES_ABOMASNOW_MEGA] = BACK_ANIM_V_SHAKE_LOW,
|
||||||
|
[SPECIES_GALLADE_MEGA] = BACK_ANIM_SHRINK_GROW_VIBRATE,
|
||||||
|
[SPECIES_RAYQUAZA_MEGA] = BACK_ANIM_SHAKE_GLOW_GREEN,
|
||||||
|
[SPECIES_KYOGRE_PRIMAL] = BACK_ANIM_SHAKE_GLOW_BLUE,
|
||||||
|
[SPECIES_GROUDON_PRIMAL] = BACK_ANIM_SHAKE_GLOW_RED,
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Equivalent to struct YellowFlashData, but doesn't match as a struct
|
// Equivalent to struct YellowFlashData, but doesn't match as a struct
|
||||||
|
@ -402,7 +402,7 @@ const void *RandomElementArray(enum RandomTag tag, const void *array, size_t siz
|
|||||||
|
|
||||||
if (turn && turn->rng.tag == tag)
|
if (turn && turn->rng.tag == tag)
|
||||||
{
|
{
|
||||||
u32 element;
|
u32 element = 0;
|
||||||
for (index = 0; index < count; index++)
|
for (index = 0; index < count; index++)
|
||||||
{
|
{
|
||||||
memcpy(&element, (const u8 *)array + size * index, size);
|
memcpy(&element, (const u8 *)array + size * index, size);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user