You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Use constants
This commit is contained in:
@@ -102,7 +102,9 @@ const_value set 1
|
||||
const OBJECT_1E ; 1e
|
||||
const OBJECT_1F ; 1f
|
||||
const OBJECT_RANGE ; 20
|
||||
; 33-39 are not used
|
||||
; 21-27 are not used
|
||||
OBJECT_STRUCT_LENGTH EQU 40
|
||||
NUM_OBJECT_STRUCTS EQU 13 ; see ObjectStructs
|
||||
|
||||
; map_object struct members (see macros/wram.asm)
|
||||
const_def
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
const SPRITEANIMSTRUCT_0D ; d
|
||||
const SPRITEANIMSTRUCT_0E ; e
|
||||
const SPRITEANIMSTRUCT_0F ; f
|
||||
SPRITEANIMSTRUCT_LENGTH EQU const_value
|
||||
NUM_SPRITE_ANIM_STRUCTS EQU 10 ; see wSpriteAnimationStructs
|
||||
|
||||
; SpriteAnimSeqData indexes (see data/sprite_anims/sequences.asm)
|
||||
const_def
|
||||
|
||||
@@ -116,9 +116,6 @@ PLAYER_SKATE EQU 2
|
||||
PLAYER_SURF EQU 4
|
||||
PLAYER_SURF_PIKA EQU 8
|
||||
|
||||
OBJECT_STRUCT_LENGTH EQU 40
|
||||
NUM_OBJECT_STRUCTS EQU 13
|
||||
|
||||
; After-Champion Spawn
|
||||
SPAWN_LANCE EQU 1
|
||||
SPAWN_RED EQU 2
|
||||
|
||||
Reference in New Issue
Block a user