summaryrefslogtreecommitdiff
path: root/engine/color.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/color.asm')
-rw-r--r--engine/color.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/color.asm b/engine/color.asm
index 74d194176..d9961613a 100644
--- a/engine/color.asm
+++ b/engine/color.asm
@@ -405,9 +405,9 @@ LoadStatsScreenPals:
Function8cb4:
ld l, e
ld h, 0
-rept 3
add hl, hl
-endr
+ add hl, hl
+ add hl, hl
ld de, Palettes_8d05
add hl, de
call CheckCGB
@@ -855,9 +855,9 @@ Function97e5:
GetMonPalettePointer:
ld l, a
ld h, $0
-rept 3
add hl, hl
-endr
+ add hl, hl
+ add hl, hl
ld bc, PokemonPalettes
add hl, bc
ret
@@ -1101,9 +1101,9 @@ endr
call SGBDelayCycles
ld a, $30
ld [rJOYP], a
-rept 3
ld a, [rJOYP]
-endr
+ ld a, [rJOYP]
+ ld a, [rJOYP]
call SGBDelayCycles
call SGBDelayCycles
ld a, [rJOYP]
@@ -1946,9 +1946,9 @@ LoadMapPals:
ld a, [MapGroup]
ld l, a
ld h, 0
-rept 3
add hl,hl
-endr
+ add hl,hl
+ add hl,hl
ld de, RoofPals
add hl, de
ld a, [TimeOfDayPal]