This repository was archived by the owner on Sep 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ GBPrinter_TestPrint:
3939 call GBPrinter_Detect
4040 ret nz
4141 ; TODO
42- ld b , b
4342 ret
4443
4544; INPUT: A = data
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ GM_Level:
6262 pop hl
6363 call LoadMap
6464
65- ld a , $ 80
65+ ld a , high(_VRAM)
6666 ld [ Engine_ParallaxDest ], a
6767
6868 ; initialize camera
@@ -240,7 +240,7 @@ LevelLoop::
240240 ld a , $ 01
241241
242242.dohoriz
243- call Parallax_ShiftHorizontal
243+ farcall Parallax_ShiftHorizontal
244244
245245.skipX
246246 pop de
@@ -251,7 +251,7 @@ LevelLoop::
251251 cpl
252252 inc a
253253 ld c , 1
254- call Parallax_ShiftVertical
254+ farcall Parallax_ShiftVertical
255255.skipY
256256
257257.nocamera
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ COLLISION_SOLID equ 1
1010COLLISION_TOPSOLID equ 2
1111COLLISION_WATER equ 3
1212COLLISION_COIN equ 4
13- COLLISION_GOAL equ 5
13+ COLLISION_UNUSED5 equ 5
1414COLLISION_KILL equ 6
1515COLLISION_UNUSED7 equ 7
1616
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Engine_ParallaxTemp2: db
66Engine_ParallaxTemp3: db
77Engine_ParallaxTemp4: db
88
9- section "Parallax routines" , rom0
9+ section "Parallax routines" , romx
1010; INPUT: a = amount to shift by
1111Parallax_ShiftHorizontal::
1212 push de
You can’t perform that action at this time.
0 commit comments