You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
More splitting of main.asm; remove unneeded rept 2
This commit is contained in:
@@ -58,7 +58,7 @@ Predef_LoadSGBLayoutCGB: ; 8d59
|
||||
dw _CGB_PokedexUnownMode
|
||||
dw _CGB17
|
||||
dw _CGB18
|
||||
dw _CGB19
|
||||
dw _CGB_GamefreakLogo ; called before copyright
|
||||
dw _CGB1a
|
||||
dw _CGB1b
|
||||
dw _CGB_FrontpicPals
|
||||
@@ -1002,7 +1002,7 @@ _CGB13: ; 94d0
|
||||
ret
|
||||
; 94fa
|
||||
|
||||
_CGB19: ; 94fa
|
||||
_CGB_GamefreakLogo: ; 94fa
|
||||
ld de, UnknBGPals
|
||||
ld a, $4e
|
||||
call GetPredefPal
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user