Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pret
GitHub Repository: pret/pokered
Path: blob/master/constants/sprite_set_constants.asm
1270 views
1
; sprite set ids
2
; indexes for SpriteSets (see data/maps/sprite_sets.asm)
3
; values for MapSpriteSets and SplitMapSpriteSets (see data/maps/sprite_sets.asm)
4
const_def 1
5
const SPRITESET_PALLET_VIRIDIAN ; 01
6
const SPRITESET_PEWTER_CERULEAN ; 02
7
const SPRITESET_LAVENDER ; 03
8
const SPRITESET_VERMILION ; 04
9
const SPRITESET_CELADON ; 05
10
const SPRITESET_INDIGO ; 06
11
const SPRITESET_SAFFRON ; 07
12
const SPRITESET_SILENCE_BRIDGE ; 08
13
const SPRITESET_CYCLING_ROAD ; 09
14
const SPRITESET_FUCHSIA ; 0a
15
DEF NUM_SPRITE_SETS EQU const_value - 1
16
17
; split sprite set ids
18
; indexes for SplitMapSpriteSets (see data/maps/sprite_sets.asm)
19
; values for MapSpriteSets (see data/maps/sprite_sets.asm)
20
const_next $f1
21
DEF FIRST_SPLIT_SET EQU const_value
22
const SPLITSET_ROUTE_2 ; f1
23
const SPLITSET_ROUTE_10 ; f2
24
const SPLITSET_ROUTE_11 ; f3
25
const SPLITSET_ROUTE_12 ; f4
26
const SPLITSET_ROUTE_15 ; f5
27
const SPLITSET_ROUTE_16 ; f6
28
const SPLITSET_ROUTE_18 ; f7
29
const SPLITSET_ROUTE_20 ; f8
30
const SPLITSET_ROUTE_5 ; f9
31
const SPLITSET_ROUTE_6 ; fa
32
const SPLITSET_ROUTE_7 ; fb
33
const SPLITSET_ROUTE_8 ; fc
34
DEF NUM_SPLIT_SETS EQU const_value - FIRST_SPLIT_SET
35
36
; split directions
37
DEF EAST_WEST EQU 1
38
DEF NORTH_SOUTH EQU 2
39
40
; each sprite set has 9 walking sprites and 2 still sprites
41
DEF SPRITE_SET_LENGTH EQU 9 + 2
42
43