You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
BattleCommand labels copied from macros
This commit is contained in:
@@ -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
|
||||
|
@@ -1,4 +1,4 @@
|
||||
BattleCommand5a: ; 3766f
|
||||
BattleCommand_Endure: ; 3766f
|
||||
; endure
|
||||
|
||||
; Endure shares code with Protect. See protect.asm.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
BattleCommand57: ; 376a0
|
||||
BattleCommand_Foresight: ; 376a0
|
||||
; foresight
|
||||
|
||||
ld a, [AttackMissed]
|
||||
|
@@ -1,4 +1,4 @@
|
||||
BattleCommand34: ; 37418
|
||||
BattleCommand_Metronome: ; 37418
|
||||
; metronome
|
||||
|
||||
call Function372d8
|
||||
|
@@ -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
|
||||
|
@@ -1,4 +1,4 @@
|
||||
BattleCommand52: ; 37536
|
||||
BattleCommand_Nightmare: ; 37536
|
||||
; nightmare
|
||||
|
||||
; Can't hit an absent opponent.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
BattleCommand58: ; 376c2
|
||||
BattleCommand_PerishSong: ; 376c2
|
||||
; perishsong
|
||||
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
BattleCommand55: ; 37618
|
||||
BattleCommand_Protect: ; 37618
|
||||
; protect
|
||||
call ProtectChance
|
||||
ret c
|
||||
|
@@ -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
|
||||
|
@@ -1,4 +1,4 @@
|
||||
BattleCommand59: ; 376f8
|
||||
BattleCommand_StartSandstorm: ; 376f8
|
||||
; startsandstorm
|
||||
|
||||
ld a, [Weather]
|
||||
|
@@ -1,4 +1,4 @@
|
||||
BattleCommand56: ; 37683
|
||||
BattleCommand_Spikes: ; 37683
|
||||
; spikes
|
||||
|
||||
ld hl, EnemyScreens
|
||||
|
@@ -1,4 +1,4 @@
|
||||
BattleCommand50: ; 37492
|
||||
BattleCommand_Thief: ; 37492
|
||||
; thief
|
||||
|
||||
ld a, [hBattleTurn]
|
||||
|
Reference in New Issue
Block a user