comment and relabel more battle functions

This commit is contained in:
yenatch
2014-01-01 08:09:15 -05:00
parent a18cab495d
commit 4dbf0d44e0
12 changed files with 300 additions and 258 deletions

View File

@@ -41,7 +41,7 @@ BattleCommand54: ; 37588
ld a, $1
ld [$c689], a
call Function37e01
call AnimateCurrentMove
ld a, $2
call Function36532
call SwitchTurn
@@ -71,7 +71,7 @@ BattleCommand54: ; 37588
jr nz, .failed
set 1, [hl]
call Function37e01
call AnimateCurrentMove
ld hl, GetHalfMaxHP
call CallBattleCore
ld hl, Function3cc3f
@@ -81,7 +81,7 @@ BattleCommand54: ; 37588
jp StdBattleTextBox
.failed
call Function37e77
call AnimateFailedMove
jp PrintButItFailed
@@ -91,7 +91,7 @@ BattleCommand54: ; 37588
ld b, $8 ; ABILITY
call GetStatName
call Function37e77
call AnimateFailedMove
ld hl, WontRiseAnymoreText
jp StdBattleTextBox
; 37618

View File

@@ -10,7 +10,7 @@ BattleCommand5a: ; 3766f
call _GetBattleVar
set SUBSTATUS_ENDURE, [hl]
call Function37e01
call AnimateCurrentMove
ld hl, BracedItselfText
jp StdBattleTextBox

View File

@@ -14,7 +14,7 @@ BattleCommand57: ; 376a0
jr nz, .failed
set SUBSTATUS_IDENTIFIED, [hl]
call Function37e01
call AnimateCurrentMove
ld hl, IdentifiedText
jp StdBattleTextBox

View File

@@ -15,7 +15,7 @@ BattleCommand1b: ; 373c9
jr nz, .use
.failed
call Function37e77
call AnimateFailedMove
ld hl, MirrorMoveFailedText
call StdBattleTextBox

View File

@@ -28,12 +28,12 @@ BattleCommand52: ; 37536
; Otherwise give the opponent a nightmare.
set SUBSTATUS_NIGHTMARE, [hl]
call Function37e01
call AnimateCurrentMove
ld hl, StartedNightmareText
jp StdBattleTextBox
.failed
call Function37e77
call AnimateFailedMove
jp PrintButItFailed
; 37563

View File

@@ -30,12 +30,12 @@ BattleCommand58: ; 376c2
ld [EnemyPerishCount], a
.done
call Function37e01
call AnimateCurrentMove
ld hl, StartPerishText
jp StdBattleTextBox
.failed
call Function37e77
call AnimateFailedMove
jp PrintButItFailed
; 376f8

View File

@@ -7,7 +7,7 @@ BattleCommand55: ; 37618
call _GetBattleVar
set SUBSTATUS_PROTECT, [hl]
call Function37e01
call AnimateCurrentMove
ld hl, ProtectedItselfText
jp StdBattleTextBox
@@ -73,7 +73,7 @@ ProtectChance: ; 3762c
.failed
xor a
ld [de], a
call Function37e77
call AnimateFailedMove
call PrintButItFailed
scf
ret

View File

@@ -9,12 +9,12 @@ BattleCommand59: ; 376f8
ld [Weather], a
ld a, 5
ld [WeatherCount], a
call Function37e01
call AnimateCurrentMove
ld hl, SandstormBrewedText
jp StdBattleTextBox
.failed
call Function37e77
call AnimateFailedMove
jp PrintButItFailed
; 37718

View File

@@ -17,7 +17,7 @@ BattleCommand56: ; 37683
set SCREENS_SPIKES, [hl]
call Function37e01
call AnimateCurrentMove
ld hl, SpikesText
jp StdBattleTextBox