summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-06-04 17:23:57 -0400
committeryenatch <yenatch@gmail.com>2014-06-04 17:23:57 -0400
commitdfe221b9d15bd8ff90253d52796d86e5dfd4c222 (patch)
treea75de4f8c9cb6cb9094d7e616a072912f254d937 /battle/effect_commands.asm
parent1f3091903752841a00f86141543ec5f42c992ec7 (diff)
parent55972bfb83780f597ab30fd1c42475a194f3f0d1 (diff)
Merge pull request #254 from yenatch/master
Better compression, macro cleanup, use MAX_LEVEL everywhere. - move stats -> data (like pokered). - remove FuncCoord and use {hl,bc,de}coord for all tilemap loads. - use MAX_LEVEL where needed. - update pokemontools for better compression, and recomment related code. - growth rate constants
Diffstat (limited to 'battle/effect_commands.asm')
-rw-r--r--battle/effect_commands.asm20
1 files changed, 10 insertions, 10 deletions
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm
index 05cbc8146..d16528d22 100644
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -4657,7 +4657,7 @@ BattleCommand42: ; 35926
call .asm_3597d
ld a, $1
ld [$d10a], a
- ld hl, $c55e
+ hlcoord 10, 9
ld a, $b
call Predef
ld hl, EnemyMonHPHi
@@ -4673,7 +4673,7 @@ BattleCommand42: ; 35926
xor a
ld [$d10a], a
call ResetDamage
- ld hl, $c4ca
+ hlcoord 2, 2
ld a, $b
call Predef
callba Function178000
@@ -5383,7 +5383,7 @@ Function35d1c: ; 35d1c
ld [$d1ef], a
ld a, [hl]
ld [$d1ee], a
- ld hl, $c4ca
+ hlcoord 2, 2
xor a
ld [$d10a], a
ld a, $b
@@ -5441,7 +5441,7 @@ Function35d7e: ; 35d7e
ld [$d1eb], a
ld a, [hl]
ld [$d1ea], a
- ld hl, $c55e
+ hlcoord 10, 9
ld a, $1
ld [$d10a], a
ld a, $b
@@ -5884,10 +5884,10 @@ Function36011: ; 36011
.asm_36070
ld a, [hBattleTurn]
and a
- ld hl, $c55e
+ hlcoord 10, 9
ld a, $1
jr z, .asm_3607e ; 0x36078 $4
- ld hl, $c4ca
+ hlcoord 2, 2
xor a
.asm_3607e
ld [$d10a], a
@@ -7268,7 +7268,7 @@ BattleCommand23: ; 3680f
call AnimateCurrentMove
ld c, $14
call DelayFrames
- ld hl, $c4a1
+ hlcoord 1, 0
ld bc, $040a
call ClearBox
ld c, $14
@@ -7362,7 +7362,7 @@ BattleCommand23: ; 3680f
call AnimateCurrentMove
ld c, $14
call DelayFrames
- ld hl, $c535
+ hlcoord 9, 7
ld bc, $050b
call ClearBox
ld c, $14
@@ -8029,12 +8029,12 @@ BattleCommand27: ; 36cb2
ld [hli], a
ld [hl], a
.asm_36cfe
- ld hl, $c55e
+ hlcoord 10, 9
ld a, [hBattleTurn]
and a
ld a, $1
jr z, .asm_36d0c ; 36d06 $4
- ld hl, $c4ca
+ hlcoord 2, 2
xor a
.asm_36d0c
ld [$d10a], a