You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
CheckCGB
This commit is contained in:
12
main.asm
12
main.asm
@@ -12065,7 +12065,7 @@ PredefPointers: ; 856b
|
|||||||
|
|
||||||
Function864c: ; 864c
|
Function864c: ; 864c
|
||||||
; LoadSGBLayout
|
; LoadSGBLayout
|
||||||
call Function8d55
|
call CheckCGB
|
||||||
jp nz, Function8d59
|
jp nz, Function8d59
|
||||||
ld a, b
|
ld a, b
|
||||||
cp $ff
|
cp $ff
|
||||||
@@ -12236,7 +12236,7 @@ Function8ade: ; 8ade
|
|||||||
; 8b07
|
; 8b07
|
||||||
|
|
||||||
Function8b07: ; 8b07
|
Function8b07: ; 8b07
|
||||||
call Function8d55
|
call CheckCGB
|
||||||
ret z
|
ret z
|
||||||
ld hl, $4b2f
|
ld hl, $4b2f
|
||||||
ld de, $d000
|
ld de, $d000
|
||||||
@@ -12317,7 +12317,7 @@ Function8cb4: ; 8cb4
|
|||||||
add hl, hl
|
add hl, hl
|
||||||
ld de, $4d05
|
ld de, $4d05
|
||||||
add hl, de
|
add hl, de
|
||||||
call Function8d55
|
call CheckCGB
|
||||||
jr nz, .asm_8cf0
|
jr nz, .asm_8cf0
|
||||||
push hl
|
push hl
|
||||||
ld hl, $5ce6
|
ld hl, $5ce6
|
||||||
@@ -12355,7 +12355,7 @@ Function8cb4: ; 8cb4
|
|||||||
INCBIN "baserom.gbc", $8d05, $8d55 - $8d05
|
INCBIN "baserom.gbc", $8d05, $8d55 - $8d05
|
||||||
|
|
||||||
|
|
||||||
Function8d55: ; 8d55
|
CheckCGB: ; 8d55
|
||||||
ld a, [hCGB]
|
ld a, [hCGB]
|
||||||
and a
|
and a
|
||||||
ret
|
ret
|
||||||
@@ -12939,7 +12939,7 @@ Function981a: ; 981a
|
|||||||
; 9853
|
; 9853
|
||||||
|
|
||||||
Function9853: ; 9853
|
Function9853: ; 9853
|
||||||
call Function8d55
|
call CheckCGB
|
||||||
ret nz
|
ret nz
|
||||||
di
|
di
|
||||||
ld a, [$cfbe]
|
ld a, [$cfbe]
|
||||||
@@ -12972,7 +12972,7 @@ Function9853: ; 9853
|
|||||||
|
|
||||||
|
|
||||||
Function9890: ; 9890
|
Function9890: ; 9890
|
||||||
call Function8d55
|
call CheckCGB
|
||||||
ret z
|
ret z
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ld [rVBK], a
|
ld [rVBK], a
|
||||||
|
Reference in New Issue
Block a user