You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
comment and relabel more battle functions
This commit is contained in:
@@ -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
|
||||
|
@@ -10,7 +10,7 @@ BattleCommand5a: ; 3766f
|
||||
call _GetBattleVar
|
||||
set SUBSTATUS_ENDURE, [hl]
|
||||
|
||||
call Function37e01
|
||||
call AnimateCurrentMove
|
||||
|
||||
ld hl, BracedItselfText
|
||||
jp StdBattleTextBox
|
||||
|
@@ -14,7 +14,7 @@ BattleCommand57: ; 376a0
|
||||
jr nz, .failed
|
||||
|
||||
set SUBSTATUS_IDENTIFIED, [hl]
|
||||
call Function37e01
|
||||
call AnimateCurrentMove
|
||||
ld hl, IdentifiedText
|
||||
jp StdBattleTextBox
|
||||
|
||||
|
@@ -15,7 +15,7 @@ BattleCommand1b: ; 373c9
|
||||
jr nz, .use
|
||||
|
||||
.failed
|
||||
call Function37e77
|
||||
call AnimateFailedMove
|
||||
|
||||
ld hl, MirrorMoveFailedText
|
||||
call StdBattleTextBox
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -17,7 +17,7 @@ BattleCommand56: ; 37683
|
||||
|
||||
set SCREENS_SPIKES, [hl]
|
||||
|
||||
call Function37e01
|
||||
call AnimateCurrentMove
|
||||
|
||||
ld hl, SpikesText
|
||||
jp StdBattleTextBox
|
||||
|
Reference in New Issue
Block a user