2018-06-24 07:09:41 -07:00
|
|
|
SpriteMovementData::
|
2017-12-11 19:44:25 -08:00
|
|
|
; entries correspond to SPRITEMOVEDATA_* constants
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_00
|
|
|
|
db SPRITEMOVEFN_00 ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE ; flags1
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_STILL
|
|
|
|
db SPRITEMOVEFN_STANDING ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 10:15:07 -07:00
|
|
|
db FIXED_FACING | SLIDING ; flags1
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_WANDER
|
|
|
|
db SPRITEMOVEFN_RANDOM_WALK_XY ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_SPINRANDOM_SLOW
|
|
|
|
db SPRITEMOVEFN_SLOW_RANDOM_SPIN ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_WALK_UP_DOWN
|
|
|
|
db SPRITEMOVEFN_RANDOM_WALK_Y ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_WALK_LEFT_RIGHT
|
|
|
|
db SPRITEMOVEFN_RANDOM_WALK_X ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_STANDING_DOWN
|
|
|
|
db SPRITEMOVEFN_STANDING ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_STANDING_UP
|
|
|
|
db SPRITEMOVEFN_STANDING ; movement function
|
|
|
|
db UP ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_STANDING_LEFT
|
|
|
|
db SPRITEMOVEFN_STANDING ; movement function
|
|
|
|
db LEFT ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_STANDING_RIGHT
|
|
|
|
db SPRITEMOVEFN_STANDING ; movement function
|
|
|
|
db RIGHT ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_SPINRANDOM_FAST
|
|
|
|
db SPRITEMOVEFN_FAST_RANDOM_SPIN ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_PLAYER
|
|
|
|
db SPRITEMOVEFN_OBEY_DPAD ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE ; flags1
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
2020-10-22 14:41:48 -07:00
|
|
|
; SPRITEMOVEDATA_INDEXED_1
|
|
|
|
db SPRITEMOVEFN_INDEXED_1 ; movement function
|
2018-02-25 13:49:03 -08:00
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
2020-10-22 14:41:48 -07:00
|
|
|
; SPRITEMOVEDATA_INDEXED_2
|
|
|
|
db SPRITEMOVEFN_INDEXED_2 ; movement function
|
2018-02-25 13:49:03 -08:00
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_0E
|
|
|
|
db SPRITEMOVEFN_0A ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_0F
|
|
|
|
db SPRITEMOVEFN_0B ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_10
|
|
|
|
db SPRITEMOVEFN_0C ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_11
|
|
|
|
db SPRITEMOVEFN_0D ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_12
|
|
|
|
db SPRITEMOVEFN_0E ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_FOLLOWING
|
|
|
|
db SPRITEMOVEFN_FOLLOW ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE ; flags1
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_SCRIPTED
|
|
|
|
db SPRITEMOVEFN_SCRIPTED ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE ; flags1
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_BIGDOLLSYM
|
|
|
|
db SPRITEMOVEFN_BIG_SNORLAX ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_BIG_DOLL_SYM ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE | FIXED_FACING | SLIDING | MOVE_ANYWHERE ; flags1
|
2018-05-23 10:15:07 -07:00
|
|
|
db LOW_PRIORITY ; flags2
|
2018-05-23 16:06:04 -07:00
|
|
|
db STRENGTH_BOULDER | BIG_OBJECT ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_POKEMON
|
|
|
|
db SPRITEMOVEFN_BOUNCE ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_BOUNCE ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE | FIXED_FACING | SLIDING | MOVE_ANYWHERE ; flags1
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_SUDOWOODO
|
|
|
|
db SPRITEMOVEFN_STANDING ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 10:15:07 -07:00
|
|
|
db FIXED_FACING | SLIDING ; flags1
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_SMASHABLE_ROCK
|
|
|
|
db SPRITEMOVEFN_STANDING ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE | FIXED_FACING | SLIDING | MOVE_ANYWHERE ; flags1
|
2018-05-23 17:44:32 -07:00
|
|
|
db USE_OBP1 ; flags2
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_STRENGTH_BOULDER
|
|
|
|
db SPRITEMOVEFN_STRENGTH ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE | FIXED_FACING | SLIDING | MOVE_ANYWHERE ; flags1
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags2
|
2018-05-23 16:06:04 -07:00
|
|
|
db STRENGTH_BOULDER ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_FOLLOWNOTEXACT
|
|
|
|
db SPRITEMOVEFN_FOLLOWNOTEXACT ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE ; flags1
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_SHADOW
|
|
|
|
db SPRITEMOVEFN_SHADOW ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_00 ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE | FIXED_FACING | SLIDING | EMOTE_OBJECT ; flags1
|
2018-05-23 10:15:07 -07:00
|
|
|
db LOW_PRIORITY ; flags2
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_EMOTE
|
|
|
|
db SPRITEMOVEFN_EMOTE ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_EMOTE ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE | FIXED_FACING | SLIDING | EMOTE_OBJECT ; flags1
|
2018-05-23 10:15:07 -07:00
|
|
|
db HIGH_PRIORITY ; flags2
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_SCREENSHAKE
|
|
|
|
db SPRITEMOVEFN_SCREENSHAKE ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_00 ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE | EMOTE_OBJECT ; flags1
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_SPINCOUNTERCLOCKWISE
|
|
|
|
db SPRITEMOVEFN_SPIN_COUNTERCLOCKWISE ; movement function
|
|
|
|
db LEFT ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_SPINCLOCKWISE
|
|
|
|
db SPRITEMOVEFN_SPIN_CLOCKWISE ; movement function
|
|
|
|
db RIGHT ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_BIGDOLLASYM
|
|
|
|
db SPRITEMOVEFN_STRENGTH ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_BIG_DOLL_ASYM ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE | FIXED_FACING | SLIDING | MOVE_ANYWHERE ; flags1
|
2018-05-23 10:15:07 -07:00
|
|
|
db LOW_PRIORITY ; flags2
|
2018-05-23 16:06:04 -07:00
|
|
|
db STRENGTH_BOULDER | BIG_OBJECT ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_BIGDOLL
|
|
|
|
db SPRITEMOVEFN_STRENGTH ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_BIG_DOLL ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE | FIXED_FACING | SLIDING | MOVE_ANYWHERE ; flags1
|
2018-05-23 10:15:07 -07:00
|
|
|
db LOW_PRIORITY ; flags2
|
2018-05-23 16:06:04 -07:00
|
|
|
db STRENGTH_BOULDER | BIG_OBJECT ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_BOULDERDUST
|
|
|
|
db SPRITEMOVEFN_BOULDERDUST ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_BOULDER_DUST ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE | FIXED_FACING | SLIDING | EMOTE_OBJECT ; flags1
|
2018-05-23 10:15:07 -07:00
|
|
|
db LOW_PRIORITY ; flags2
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_GRASS
|
|
|
|
db SPRITEMOVEFN_GRASS ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_GRASS_SHAKE ; action
|
2018-05-23 19:01:21 -07:00
|
|
|
db WONT_DELETE | FIXED_FACING | SLIDING | EMOTE_OBJECT ; flags1
|
2018-05-23 10:15:07 -07:00
|
|
|
db HIGH_PRIORITY ; flags2
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; SPRITEMOVEDATA_SWIM_WANDER
|
|
|
|
db SPRITEMOVEFN_RANDOM_WALK_XY ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
2018-05-23 16:10:15 -07:00
|
|
|
db SWIMMING ; palette flags
|
2018-02-25 13:49:03 -08:00
|
|
|
|
|
|
|
; 25
|
|
|
|
db SPRITEMOVEFN_00 ; movement function
|
|
|
|
db DOWN ; facing
|
|
|
|
db OBJECT_ACTION_STAND ; action
|
2018-05-23 09:48:14 -07:00
|
|
|
db 0 ; flags1
|
|
|
|
db 0 ; flags2
|
|
|
|
db 0 ; palette flags
|