projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c04db0
)
Removed redundant hl push from collison routine
author
Lukas Krickl
<lukas@krickl.dev>
Mon, 14 Oct 2024 12:11:58 +0000
(14:11 +0200)
committer
Lukas Krickl
<lukas@krickl.dev>
Mon, 14 Oct 2024 12:11:58 +0000
(14:11 +0200)
src/collision.s
patch
|
blob
|
history
diff --git
a/src/collision.s
b/src/collision.s
index 91dcf8e68cddefe39edda28a5880cd0d0c8f7e29..7d1920c535bed037f3efdeeedfbc80ebeb7e4819 100644
(file)
--- a/
src/collision.s
+++ b/
src/collision.s
@@
-51,7
+51,6
@@
collision_tile_table_check:
@loop:
push af
push de
- push hl
ld a, [de]
ld l, a
@@
-71,7
+70,6
@@
collision_tile_table_check:
pop af
pop de
- pop hl
dec a ; a--
cp a, 0 ; again if not 0