Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
PikalaxALT committed Nov 7, 2019
1 parent 4410958 commit ed426e1
Show file tree
Hide file tree
Showing 3 changed files with 206 additions and 97 deletions.
5 changes: 0 additions & 5 deletions asm/macros/battle_script.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1242,11 +1242,6 @@
.byte 0xf7
.endm

.macro trainerslideout param0:req
.byte 0xf8
.byte \param0
.endm

@ various command changed to more readable macros
.macro cancelmultiturnmoves battler:req
various \battler, VARIOUS_CANCEL_MULTI_TURN_MOVES
Expand Down
22 changes: 11 additions & 11 deletions data/battle_scripts_2.s
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ gBattlescriptsForBallThrow::

gBattlescriptsForUsingItem::
.4byte BattleScript_PlayerUseItem
.4byte BattleScript_AIuseFullRestoreOrHpHeal
.4byte BattleScript_AIuseFullRestoreOrHpHeal
.4byte BattleScript_AIuseStatRestore
.4byte BattleScript_AIuseXstat
.4byte BattleScript_AIuseGuardSpec
.4byte BattleScript_AIUseFullRestoreOrHpHeal
.4byte BattleScript_AIUseFullRestoreOrHpHeal
.4byte BattleScript_AIUseStatRestore
.4byte BattleScript_AIUseXstat
.4byte BattleScript_AIUseGuardSpec

gBattlescriptsForRunningByItem::
.4byte BattleScript_UseFluffyTail
Expand All @@ -53,15 +53,15 @@ gBattlescriptsForSafariActions::

BattleScript_ThrowBall::
jumpifbattletype BATTLE_TYPE_OLD_MAN_TUTORIAL, BattleScript_OldManThrowBall
jumpifbattletype BATTLE_TYPE_POKEDUDE, BattleScript_PokeDudeThrowBall
jumpifbattletype BATTLE_TYPE_POKEDUDE, BattleScript_PokedudeThrowBall
printstring STRINGID_PLAYERUSEDITEM
handleballthrow

BattleScript_OldManThrowBall::
printstring STRINGID_OLDMANUSEDITEM
handleballthrow

BattleScript_PokeDudeThrowBall::
BattleScript_PokedudeThrowBall::
printstring STRINGID_POKEDUDEUSED
handleballthrow

Expand Down Expand Up @@ -131,7 +131,7 @@ BattleScript_PlayerUseItem::
moveendcase 15
end

BattleScript_AIuseFullRestoreOrHpHeal::
BattleScript_AIUseFullRestoreOrHpHeal::
printstring STRINGID_EMPTYSTRING3
pause 48
playse SE_KAIFUKU
Expand All @@ -147,7 +147,7 @@ BattleScript_AIuseFullRestoreOrHpHeal::
moveendcase 15
finishaction

BattleScript_AIuseStatRestore::
BattleScript_AIUseStatRestore::
printstring STRINGID_EMPTYSTRING3
pause 48
playse SE_KAIFUKU
Expand All @@ -160,7 +160,7 @@ BattleScript_AIuseStatRestore::
moveendcase 15
finishaction

BattleScript_AIuseXstat::
BattleScript_AIUseXstat::
printstring STRINGID_EMPTYSTRING3
pause 48
playse SE_KAIFUKU
Expand All @@ -172,7 +172,7 @@ BattleScript_AIuseXstat::
moveendcase 15
finishaction

BattleScript_AIuseGuardSpec::
BattleScript_AIUseGuardSpec::
printstring STRINGID_EMPTYSTRING3
pause 48
playse SE_KAIFUKU
Expand Down
Loading

0 comments on commit ed426e1

Please sign in to comment.