summaryrefslogtreecommitdiff
path: root/data/battle_scripts_1.s
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-10-30 11:18:24 -0500
committerGitHub <noreply@github.com>2018-10-30 11:18:24 -0500
commitf3af20d3cf4c5a51b991e7f605f7cbea217a3cad (patch)
treea38ed794cbd11054086cb18f96d2b8bb1cec8bee /data/battle_scripts_1.s
parentb1b97c1da9f8190ef3d145acf30eb1708f50e3f3 (diff)
parent0e6fbbfe091a260f627427ce4f204c192c9dbcc3 (diff)
Merge pull request #370 from DizzyEggg/battle_tower
Decompile Battle Tower
Diffstat (limited to 'data/battle_scripts_1.s')
-rw-r--r--data/battle_scripts_1.s16
1 files changed, 8 insertions, 8 deletions
diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s
index d8f681686..edf49eda5 100644
--- a/data/battle_scripts_1.s
+++ b/data/battle_scripts_1.s
@@ -1601,12 +1601,12 @@ BattleScript_EffectPerishSong::
waitanimation
printstring STRINGID_FAINTINTHREE
waitmessage 0x40
- setbyte sBANK, 0x0
+ setbyte sBATTLER, 0x0
BattleScript_PerishSongLoop::
jumpifability BS_SCRIPTING, ABILITY_SOUNDPROOF, BattleScript_PerishSongNotAffected
BattleScript_PerishSongLoopIncrement::
- addbyte sBANK, 0x1
- jumpifbytenotequal sBANK, gBattlersCount, BattleScript_PerishSongLoop
+ addbyte sBATTLER, 0x1
+ jumpifbytenotequal sBATTLER, gBattlersCount, BattleScript_PerishSongLoop
goto BattleScript_MoveEnd
BattleScript_PerishSongNotAffected::
@@ -2493,7 +2493,7 @@ BattleScript_EffectYawn::
waitmessage 0x40
goto BattleScript_MoveEnd
BattleScript_PrintBankAbilityMadeIneffective::
- copybyte sBANK, sBANK_WITH_ABILITY
+ copybyte sBATTLER, sBATTLER_WITH_ABILITY
BattleScript_PrintAbilityMadeIneffective::
pause 0x20
printstring STRINGID_PKMNSXMADEITINEFFECTIVE
@@ -3523,7 +3523,7 @@ BattleScript_RapidSpinAway::
BattleScript_WrapFree::
printstring STRINGID_PKMNGOTFREE
waitmessage 0x40
- copybyte gBattlerTarget, sBANK
+ copybyte gBattlerTarget, sBATTLER
return
BattleScript_LeechSeedFree::
@@ -4030,11 +4030,11 @@ BattleScript_ShedSkinActivates::
end3
BattleScript_WeatherFormChanges::
- setbyte sBANK, 0x0
+ setbyte sBATTLER, 0x0
BattleScript_WeatherFormChangesLoop::
trycastformdatachange
- addbyte sBANK, 0x1
- jumpifbytenotequal sBANK, gBattlersCount, BattleScript_WeatherFormChangesLoop
+ addbyte sBATTLER, 0x1
+ jumpifbytenotequal sBATTLER, gBattlersCount, BattleScript_WeatherFormChangesLoop
return
BattleScript_CastformChange::