Advertisement
Guest User

title

a guest
Sep 10th, 2023
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.95 KB | Source Code | 0 0
  1. BattleScript_FirstTurnSemiInvulnerable::
  2.     call BattleScriptFirstChargingTurn
  3.     setsemiinvulnerablebit
  4.     jumpifability BS_ATTACKER, ABILITY_VITAL_SPIRIT, BattleScript_EffectSemiInvulnerableChargeAbility
  5.     jumpifnoholdeffect BS_ATTACKER, HOLD_EFFECT_POWER_HERB, BattleScript_MoveEnd
  6.     call BattleScript_PowerHerbActivation
  7. BattleScript_SecondTurnSemiInvulnerable::
  8.     attackcanceler
  9.     setmoveeffect MOVE_EFFECT_CHARGING
  10.     setbyte sB_ANIM_TURN, 1
  11.     clearstatusfromeffect BS_ATTACKER
  12.     orword gHitMarker, HITMARKER_NO_PPDEDUCT
  13.     argumenttomoveeffect
  14. BattleScript_SemiInvulnerableTryHit::
  15.     accuracycheck BattleScript_SemiInvulnerableMiss, ACC_CURR_MOVE
  16.     clearsemiinvulnerablebit
  17.     goto BattleScript_HitFromAtkString
  18.  
  19. BattleScript_SemiInvulnerableMiss::
  20.     clearsemiinvulnerablebit
  21.     goto BattleScript_PrintMoveMissed
  22.  
  23. BattleScript_EffectSemiInvulnerableChargeAbility::
  24.     pause B_WAIT_TIME_SHORT
  25.     call BattleScript_AbilityPopUp
  26.     goto BattleScript_SemiInvulnerableTryHit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement