summaryrefslogtreecommitdiff
path: root/predef/sgb.asm
diff options
context:
space:
mode:
Diffstat (limited to 'predef/sgb.asm')
-rw-r--r--predef/sgb.asm12
1 files changed, 4 insertions, 8 deletions
diff --git a/predef/sgb.asm b/predef/sgb.asm
index c79a173ba..f9e8348d9 100644
--- a/predef/sgb.asm
+++ b/predef/sgb.asm
@@ -75,9 +75,8 @@ Predef_LoadSGBLayout: ; 864c
ld a, [PlayerHPPal]
ld l, a
ld h, 0
-rept 2
add hl, hl
-endr
+ add hl, hl
ld de, Palettes_a8be
add hl, de
@@ -93,9 +92,8 @@ endr
ld a, [EnemyHPPal]
ld l, a
ld h, 0
-rept 2
add hl, hl
-endr
+ add hl, hl
ld de, Palettes_a8be
add hl, de
@@ -148,9 +146,8 @@ endr
ld hl, wSGBPals + 1
ld [hl], $10
-rept 2
inc hl
-endr
+ inc hl
ld a, [PlayerHPPal]
add $2f
@@ -174,9 +171,8 @@ endr
ld a, [wcda1]
ld l, a
ld h, 0
-rept 2
add hl, hl
-endr
+ add hl, hl
ld de, Palettes_a8be
add hl, de
ld a, [hli]