diff options
Diffstat (limited to 'entity/utils.gbasm')
-rw-r--r-- | entity/utils.gbasm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/entity/utils.gbasm b/entity/utils.gbasm index e2b7c1c..8a44d6d 100644 --- a/entity/utils.gbasm +++ b/entity/utils.gbasm @@ -43,7 +43,7 @@ $end: .END -Get_Position_After_Move: ; entity (whatever alignement) in HL, direction to test in A, X Result in C, Y result in B, E being how much tile entity will move +Get_Position_After_Move: ; entity (whatever alignement) in HL, direction to test in A, XY result in BC, E being how much tile entity will move PUSH HL PUSH DE LD D, A @@ -77,11 +77,6 @@ Get_Position_After_Move: ; entity (whatever alignement) in HL, direction to test .ADD_A_TO_DIRECTION_BC Get_Position_After_Move.Skip_Move: - - LD A, C - LD C, B - LD B, A - POP DE POP HL RET |