You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Add commented numbers to map/group constants
This commit is contained in:
@@ -486,21 +486,23 @@ endr
|
||||
ret
|
||||
; 1fbf
|
||||
|
||||
Function1fbf:: ; 1fbf
|
||||
ResetTextRelatedRAM:: ; 1fbf
|
||||
ld hl, wcf71
|
||||
call Function1ff0
|
||||
call .bytefill
|
||||
ld hl, wcf81
|
||||
call Function1ff0
|
||||
call .bytefill
|
||||
ld hl, wcf91
|
||||
call Function1ff0
|
||||
call .bytefill
|
||||
ld hl, wcfa1
|
||||
call Function1ff0
|
||||
call .bytefill
|
||||
|
||||
ld a, [rSVBK]
|
||||
push af
|
||||
ld a, $7
|
||||
ld [rSVBK], a
|
||||
|
||||
xor a
|
||||
ld hl, $dfff
|
||||
ld hl, w7_dfff
|
||||
rept 2
|
||||
ld [hld], a
|
||||
endr
|
||||
@@ -508,12 +510,13 @@ endr
|
||||
ld [wcf71], a
|
||||
ld a, h
|
||||
ld [wcf72], a
|
||||
|
||||
pop af
|
||||
ld [rSVBK], a
|
||||
ret
|
||||
; 1ff0
|
||||
|
||||
Function1ff0:: ; 1ff0
|
||||
.bytefill: ; 1ff0
|
||||
ld bc, $0010
|
||||
xor a
|
||||
call ByteFill
|
||||
|
@@ -1,6 +1,6 @@
|
||||
ResetWindow:: ; 2dba
|
||||
|
||||
call Function1fbf
|
||||
call ResetTextRelatedRAM
|
||||
ld a, [hROMBank]
|
||||
push af
|
||||
ld a, BANK(Function6454) ; and BANK(Function64bf)
|
||||
@@ -30,7 +30,7 @@ Function2dcf:: ; 2dcf
|
||||
; 2de2
|
||||
|
||||
Function2de2:: ; 2de2
|
||||
call Function1fbf
|
||||
call ResetTextRelatedRAM
|
||||
xor a
|
||||
ld [hBGMapMode], a
|
||||
call Function2173
|
||||
@@ -46,8 +46,8 @@ Function2de2:: ; 2de2
|
||||
ret
|
||||
; 2e08
|
||||
|
||||
Function2e08:: ; 2e08
|
||||
call Function1fbf
|
||||
LoadFont:: ; 2e08
|
||||
call ResetTextRelatedRAM
|
||||
ld a, [hROMBank]
|
||||
push af
|
||||
ld a, BANK(Function6454) ; and BANK(Function64bf)
|
||||
@@ -68,7 +68,9 @@ Function2e20:: ; 2e20
|
||||
push af
|
||||
ld a, $1
|
||||
ld [hOAMUpdate], a
|
||||
|
||||
callba Function104110
|
||||
|
||||
pop af
|
||||
ld [hOAMUpdate], a
|
||||
ret
|
||||
|
Reference in New Issue
Block a user