Harmonize home/ with pokegold

This commit is contained in:
Rangi
2020-06-16 15:49:32 -04:00
parent 7b2515d1e4
commit c552390a15
11 changed files with 49 additions and 42 deletions

View File

@@ -31,8 +31,9 @@ UpdateBGMapBuffer::
ldh a, [rVBK]
push af
ld [hSPBuffer], sp
; Relocate the stack pointer to wBGMapBufferPtrs
ld [hSPBuffer], sp
ld hl, wBGMapBufferPtrs
ld sp, hl
@@ -80,6 +81,7 @@ endr
jr nz, .next
; Restore the stack pointer
ldh a, [hSPBuffer]
ld l, a
ldh a, [hSPBuffer + 1]