Identify various "????"s (#1125)

This commit is contained in:
Sylvie
2024-06-11 20:54:45 -04:00
committed by GitHub
parent 23183bb9bb
commit 8819f7b117
11 changed files with 43 additions and 40 deletions

View File

@@ -477,8 +477,8 @@ CheckTimeEvents:
scf
ret
.unused ; unreferenced
ld a, $8 ; ???
.hatch ; unreferenced
ld a, PLAYEREVENT_HATCH
scf
ret

View File

@@ -1957,7 +1957,7 @@ ApplyMovementToFollower:
ret z
cp movement_step_end
ret z
cp movement_step_4b
cp movement_step_stop
ret z
cp movement_step_bump
ret z

View File

@@ -73,10 +73,10 @@ MovementPointers:
dw Movement_step_sleep_8 ; 45
dw Movement_step_sleep ; 46
dw Movement_step_end ; 47
dw Movement_48 ; 48
dw Movement_step_wait_end ; 48
dw Movement_remove_object ; 49
dw Movement_step_loop ; 4a
dw Movement_4b ; 4b
dw Movement_stop ; 4b
dw Movement_teleport_from ; 4c
dw Movement_teleport_to ; 4d
dw Movement_skyfall ; 4e
@@ -213,7 +213,7 @@ Movement_step_end:
ld [hl], STEP_TYPE_FROM_MOVEMENT
ret
Movement_48:
Movement_step_wait_end:
call RestoreDefaultMovement
ld hl, OBJECT_MOVEMENT_TYPE
add hl, bc
@@ -249,7 +249,7 @@ Movement_remove_object:
res SCRIPTED_MOVEMENT_STATE_F, [hl]
ret
Movement_4b:
Movement_stop:
ld hl, OBJECT_ACTION
add hl, bc
ld [hl], OBJECT_ACTION_STAND