You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-12-11 05:02:16 -08:00
32 lines
952 B
NASM
Executable File
32 lines
952 B
NASM
Executable File
; see GetPlayerField (home/player.asm) and Players (data/players/players.asm)
|
|
|
|
; player characters (see data/players/players.asm and data/players/objects.asm)
|
|
const_def
|
|
const PLAYER_CHRIS ; 0
|
|
const PLAYER_KRIS ; 1
|
|
const PLAYER_GREEN ; 2
|
|
const PLAYER_YOUNGSTER_1 ; 3
|
|
const PLAYER_YOUNGSTER_2 ; 4
|
|
const PLAYER_YOUNGSTER_3 ; 5
|
|
const PLAYER_BUG_CATCHER_1 ; 6
|
|
DEF NUM_PLAYERS EQU const_value
|
|
|
|
; field ids in the Players table
|
|
rsreset
|
|
DEF PLAYERDATA_OW_PAL rb
|
|
DEF PLAYERDATA_DEFAULT_SPRITE rw
|
|
DEF PLAYERDATA_FISHING_SPRITE rw
|
|
DEF PLAYERDATA_FRONTPIC rw
|
|
DEF PLAYERDATA_BACKPIC rw
|
|
DEF PLAYERDATA_PIC_PAL rw
|
|
DEF PLAYERDATA_LENGTH EQU _RS
|
|
; see data/players/objects.asm
|
|
|
|
const_def
|
|
const PLAYER_1 ; 0
|
|
const PLAYER_2 ; 1
|
|
const PLAYER_3 ; 2
|
|
const PLAYER_4 ; 3
|
|
; maximum number of participants in a level (1 is the human player and MAX_PLAYERS-1 are AI players)
|
|
DEF MAX_PLAYERS EQU const_value
|