Miscellaneous updates
- `PREDEFPAL_00` -> `PREDEFPAL_ROUTES` (observed from `LoadSGBLayout.GetMapPalsIndex.route`) - `$0` -> `PLAYER` (standard person ID) - Fix some whitespace formatting
This commit is contained in:
@@ -547,7 +547,7 @@ endr
|
||||
ret
|
||||
|
||||
.route
|
||||
ld a, PREDEFPAL_00
|
||||
ld a, PREDEFPAL_ROUTES
|
||||
ret
|
||||
|
||||
.cave
|
||||
|
@@ -577,11 +577,14 @@ DoPlayerMovement::
|
||||
; Standing
|
||||
jr .update
|
||||
|
||||
.d_down add hl, de
|
||||
.d_up add hl, de
|
||||
.d_left add hl, de
|
||||
.d_right add hl, de
|
||||
|
||||
.d_down
|
||||
add hl, de
|
||||
.d_up
|
||||
add hl, de
|
||||
.d_left
|
||||
add hl, de
|
||||
.d_right
|
||||
add hl, de
|
||||
.update
|
||||
ld a, [hli]
|
||||
ld [wWalkingDirection], a
|
||||
|
@@ -124,7 +124,7 @@ RefreshPlayerCoords:
|
||||
ld e, a
|
||||
; the next three lines are useless
|
||||
ld a, [wObjectFollow_Leader]
|
||||
cp $0
|
||||
cp PLAYER
|
||||
ret nz
|
||||
ret
|
||||
|
||||
|
Reference in New Issue
Block a user