Merge pull request #1411 from BuffelSaft/Batte_Engine_Only

Fix Spiky Shield/Jump Kick freeze
This commit is contained in:
ExpoSeed 2021-03-08 17:24:36 -06:00 committed by GitHub
commit 685c8283ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7326,6 +7326,7 @@ BattleScript_RockyHelmetActivatesDmg:
return
BattleScript_SpikyShieldEffect::
jumpifabsent BS_ATTACKER, BattleScript_SpikyShieldRet
orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_x100000
bichalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT
healthbarupdate BS_ATTACKER
@ -7333,6 +7334,7 @@ BattleScript_SpikyShieldEffect::
printstring STRINGID_PKMNHURTSWITH
waitmessage 0x40
tryfaintmon BS_ATTACKER, FALSE, NULL
BattleScript_SpikyShieldRet::
return
BattleScript_KingsShieldEffect::