You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Identify some more map object labels and constants
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
ObjectActionPairPointers:
|
||||
; entries correspond to OBJECT_ACTION_* constants
|
||||
; normal action, frozen action
|
||||
dw SetFacingStanding, SetFacingStanding
|
||||
dw SetFacingStandAction, SetFacingCurrent
|
||||
dw SetFacingStepAction, SetFacingCurrent
|
||||
@@ -163,7 +164,7 @@ CounterclockwiseSpinAction:
|
||||
|
||||
swap e
|
||||
ld d, 0
|
||||
ld hl, .Directions
|
||||
ld hl, .facings
|
||||
add hl, de
|
||||
ld a, [hl]
|
||||
ld hl, OBJECT_FACING
|
||||
@@ -171,8 +172,11 @@ CounterclockwiseSpinAction:
|
||||
ld [hl], a
|
||||
ret
|
||||
|
||||
.Directions:
|
||||
db OW_DOWN, OW_RIGHT, OW_UP, OW_LEFT
|
||||
.facings:
|
||||
db OW_DOWN
|
||||
db OW_RIGHT
|
||||
db OW_UP
|
||||
db OW_LEFT
|
||||
|
||||
SetFacingFish:
|
||||
call GetSpriteDirection
|
||||
|
||||
Reference in New Issue
Block a user