diff options
author | Astatin <[email protected]> | 2025-01-24 18:49:12 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2025-01-24 18:49:12 +0900 |
commit | cf80989154bbb8985bec1d2e089c680714b9b804 (patch) | |
tree | 4dd903e51d5a8f997ae84ce5dd4bd78bec8c30bf /entity/utils.gbasm | |
parent | 1a6621e5b1da42ee4b6b9132790ec744efc009c2 (diff) |
Fix XY/YX/BC/CB issue thingy
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 |