You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-12-11 05:02:16 -08:00
20 lines
1.2 KiB
NASM
Executable File
20 lines
1.2 KiB
NASM
Executable File
MACRO player
|
|
db \1 ; ow sprite palette
|
|
dw \2 ; ptr to ow default gfx
|
|
dw \3 ; ptr to ow fishing gfx
|
|
dw \4, \5 ; ptr to (uncompressed) frontpic, ptr to (compressed) backpic
|
|
dw \6 ; ptr to pic palette
|
|
ENDM
|
|
|
|
Players::
|
|
table_width PLAYERDATA_LENGTH, Players
|
|
; for each argument number across different players, all arguments that are pointers must point to something in the same bank
|
|
player PAL_OW_RED, ChrisSpriteGFX, FishingGFX, ChrisPic, ChrisBackpic, PlayerPalette ; PLAYER_CHRIS
|
|
player PAL_OW_BLUE, KrisSpriteGFX, KrisFishingGFX, KrisPic, KrisBackpic, KrisPalette ; PLAYER_KRIS
|
|
player PAL_OW_GREEN, RivalSpriteGFX, FishingGFX, ChrisPic, ChrisBackpic, PlayerPalette ; PLAYER_GREEN
|
|
player PAL_OW_RED, YoungsterSpriteGFX, FishingGFX, ChrisPic, ChrisBackpic, PlayerPalette ; PLAYER_YOUNGSTER_1
|
|
player PAL_OW_BLUE, YoungsterSpriteGFX, FishingGFX, ChrisPic, ChrisBackpic, PlayerPalette ; PLAYER_YOUNGSTER_2
|
|
player PAL_OW_GREEN, YoungsterSpriteGFX, FishingGFX, ChrisPic, ChrisBackpic, PlayerPalette ; PLAYER_YOUNGSTER_3
|
|
player PAL_NPC_BROWN, BugCatcherSpriteGFX, FishingGFX, ChrisPic, ChrisBackpic, PlayerPalette ; PLAYER_BUG_CATCHER_1
|
|
assert_table_length NUM_PLAYERS
|