mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
Loafing Around bug fix
This commit is contained in:
parent
a2813e63de
commit
1395a7d382
@ -6960,7 +6960,7 @@ BattleScript_IgnoresAndUsesRandomMove::
|
||||
jumptocalledmove FALSE
|
||||
|
||||
BattleScript_MoveUsedLoafingAround::
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x0, BattleScript_TruantLoafingAround
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x0, BattleScript_82DB6C7
|
||||
jumpifbyte CMP_NOT_EQUAL, cMULTISTRING_CHOOSER, 0x4, BattleScript_82DB6C7
|
||||
setbyte gBattleCommunication, 0x0
|
||||
various24 BS_ATTACKER
|
||||
@ -6970,7 +6970,7 @@ BattleScript_82DB6C7::
|
||||
waitmessage 0x40
|
||||
moveendto MOVEEND_NEXT_TARGET
|
||||
end
|
||||
BattleScript_TruantLoafingAround:
|
||||
BattleScript_TruantLoafingAround::
|
||||
call BattleScript_AbilityPopUp
|
||||
goto BattleScript_82DB6C7
|
||||
|
||||
|
@ -179,6 +179,7 @@ extern const u8 BattleScript_AbilityCuredStatus[];
|
||||
extern const u8 BattleScript_IgnoresWhileAsleep[];
|
||||
extern const u8 BattleScript_IgnoresAndUsesRandomMove[];
|
||||
extern const u8 BattleScript_MoveUsedLoafingAround[];
|
||||
extern const u8 BattleScript_TruantLoafingAround[];
|
||||
extern const u8 BattleScript_IgnoresAndFallsAsleep[];
|
||||
extern const u8 BattleScript_IgnoresAndHitsItself[];
|
||||
extern const u8 BattleScript_SubstituteFade[];
|
||||
|
@ -2208,7 +2208,7 @@ u8 AtkCanceller_UnableToUseMove(void)
|
||||
gHitMarker |= HITMARKER_UNABLE_TO_USE_MOVE;
|
||||
gBattleCommunication[MULTISTRING_CHOOSER] = 0;
|
||||
gBattlerAbility = gBattlerAttacker;
|
||||
gBattlescriptCurrInstr = BattleScript_MoveUsedLoafingAround;
|
||||
gBattlescriptCurrInstr = BattleScript_TruantLoafingAround;
|
||||
gMoveResultFlags |= MOVE_RESULT_MISSED;
|
||||
effect = 1;
|
||||
}
|
||||
|
@ -7296,7 +7296,7 @@ const struct BaseStats gBaseStats[] =
|
||||
.growthRate = GROWTH_SLOW,
|
||||
.eggGroup1 = EGG_GROUP_FLYING,
|
||||
.eggGroup2 = EGG_GROUP_FLYING,
|
||||
.abilities = {ABILITY_SLOW_START, ABILITY_SLOW_START},
|
||||
.abilities = {ABILITY_KEEN_EYE, ABILITY_STURDY},
|
||||
.safariZoneFleeRate = 0,
|
||||
.bodyColor = BODY_COLOR_GRAY,
|
||||
.noFlip = FALSE,
|
||||
|
Loading…
Reference in New Issue
Block a user