Identify some overworld movement data

This commit is contained in:
Rangi 2021-12-22 21:38:26 -05:00
parent c65325491d
commit 69185e1657
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ MAPOBJECT_SCREEN_HEIGHT EQU (SCREEN_HEIGHT / 2) + 2
const SPRITEMOVEDATA_SWIM_WANDER ; 24
NUM_SPRITEMOVEDATA EQU const_value
; MapObjectMovementPattern.Pointers indexes (see engine/overworld/map_objects.asm)
; StepFunction_FromMovement.Pointers indexes (see engine/overworld/map_objects.asm)
const_def
const SPRITEMOVEFN_00 ; 00
const SPRITEMOVEFN_RANDOM_WALK_Y ; 01

View File

@ -1322,7 +1322,7 @@ TryRockSmashFromMenu:
call GetFacingObject
jr c, .no_rock
ld a, d
cp $18
cp SPRITEMOVEDATA_SMASHABLE_ROCK
jr nz, .no_rock
ld hl, RockSmashFromMenuScript