chore: fix bugs
Some checks failed
CI / build (push) Failing after 1m18s

This commit is contained in:
Giulia Sanguineti
2025-10-01 10:11:42 +02:00
parent d138ed1bd4
commit 4c8d3e962f
44 changed files with 236 additions and 235 deletions

View File

@@ -579,14 +579,6 @@ TrainerWalkToPlayer:
ret
SurfStartStep:
call InitMovementBuffer
call .GetMovementData
call AppendToMovementBuffer
ld a, movement_step_end
call AppendToMovementBuffer
ret
.GetMovementData:
ld a, [wPlayerDirection]
srl a
srl a
@@ -595,14 +587,16 @@ SurfStartStep:
ld d, 0
ld hl, .movement_data
add hl, de
ld a, [hl]
ret
add hl, de
add hl, de
ld a, BANK(.movement_data)
jp StartAutoInput
.movement_data
slow_step DOWN
slow_step UP
slow_step LEFT
slow_step RIGHT
db PAD_DOWN, 0, -1
db PAD_UP, 0, -1
db PAD_LEFT, 0, -1
db PAD_RIGHT, 0, -1
FollowNotExact::
push bc