mirror of https://github.com/pret/pokecrystal.git
Identify some overworld movement data
This commit is contained in:
parent
c65325491d
commit
69185e1657
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue