BattleCommand labels copied from macros

This commit is contained in:
PikalaxALT
2015-11-06 14:45:10 -05:00
parent f0830f084f
commit 46e66077a5
22 changed files with 549 additions and 542 deletions

View File

@@ -1,4 +1,4 @@
BattleCommand54: ; 37588
BattleCommand_Curse: ; 37588
; curse
ld de, BattleMonType1
@@ -45,14 +45,14 @@ BattleCommand54: ; 37588
ld a, $2
call Function36532
call BattleCommand_SwitchTurn
call BattleCommand8d
call BattleCommand_StatMessageTarget
call ResetMiss
call BattleCommand_SwitchTurn
call BattleCommand70
call BattleCommand8c
call BattleCommand_AttackUp
call BattleCommand_StatMessageUser
call ResetMiss
call BattleCommand71
jp BattleCommand8c
call BattleCommand_DefenseUp
jp BattleCommand_StatMessageUser
.ghost

View File

@@ -1,4 +1,4 @@
BattleCommand5a: ; 3766f
BattleCommand_Endure: ; 3766f
; endure
; Endure shares code with Protect. See protect.asm.

View File

@@ -1,4 +1,4 @@
BattleCommand57: ; 376a0
BattleCommand_Foresight: ; 376a0
; foresight
ld a, [AttackMissed]

View File

@@ -1,4 +1,4 @@
BattleCommand34: ; 37418
BattleCommand_Metronome: ; 37418
; metronome
call Function372d8

View File

@@ -1,4 +1,4 @@
BattleCommand1b: ; 373c9
BattleCommand_MirrorMove: ; 373c9
; mirrormove
call Function372d8
@@ -47,6 +47,6 @@ BattleCommand1b: ; 373c9
ld [wc689], a
.done
call BattleCommandaa
call BattleCommand_MoveDelay
jp ResetTurn
; 37418

View File

@@ -1,4 +1,4 @@
BattleCommand52: ; 37536
BattleCommand_Nightmare: ; 37536
; nightmare
; Can't hit an absent opponent.

View File

@@ -1,4 +1,4 @@
BattleCommand58: ; 376c2
BattleCommand_PerishSong: ; 376c2
; perishsong

View File

@@ -1,4 +1,4 @@
BattleCommand55: ; 37618
BattleCommand_Protect: ; 37618
; protect
call ProtectChance
ret c

View File

@@ -1,7 +1,7 @@
MAX_ROLLOUT_COUNT EQU 5
BattleCommand5b: ; 37718
BattleCommand_CheckCurl: ; 37718
; checkcurl
ld de, PlayerRolloutCount
@@ -25,7 +25,7 @@ BattleCommand5b: ; 37718
; 37734
BattleCommand5c: ; 37734
BattleCommand_RolloutPower: ; 37734
; rolloutpower
ld a, BATTLE_VARS_STATUS

View File

@@ -1,4 +1,4 @@
BattleCommand59: ; 376f8
BattleCommand_StartSandstorm: ; 376f8
; startsandstorm
ld a, [Weather]

View File

@@ -1,4 +1,4 @@
BattleCommand56: ; 37683
BattleCommand_Spikes: ; 37683
; spikes
ld hl, EnemyScreens

View File

@@ -1,4 +1,4 @@
BattleCommand50: ; 37492
BattleCommand_Thief: ; 37492
; thief
ld a, [hBattleTurn]