You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Player management [Commit 1] (#38)
This commit is contained in:
35
data/players/names.asm
Executable file
35
data/players/names.asm
Executable file
@@ -0,0 +1,35 @@
|
||||
ChrisNameMenuHeader:
|
||||
db MENU_BACKUP_TILES ; flags
|
||||
menu_coords 0, 0, 10, TEXTBOX_Y - 1
|
||||
dw .MaleNames
|
||||
db 1 ; default option
|
||||
db 0 ; ????
|
||||
|
||||
.MaleNames:
|
||||
db STATICMENU_CURSOR | STATICMENU_PLACE_TITLE | STATICMENU_DISABLE_B ; flags
|
||||
db 5 ; items
|
||||
db "NEW NAME@"
|
||||
db "CHRIS@"
|
||||
db "MAT@"
|
||||
db "ALLAN@"
|
||||
db "JON@"
|
||||
db 2 ; title indent
|
||||
db " NAME @" ; title
|
||||
|
||||
KrisNameMenuHeader:
|
||||
db MENU_BACKUP_TILES ; flags
|
||||
menu_coords 0, 0, 10, TEXTBOX_Y - 1
|
||||
dw .FemaleNames
|
||||
db 1 ; default option
|
||||
db 0 ; ????
|
||||
|
||||
.FemaleNames:
|
||||
db STATICMENU_CURSOR | STATICMENU_PLACE_TITLE | STATICMENU_DISABLE_B ; flags
|
||||
db 5 ; items
|
||||
db "NEW NAME@"
|
||||
db "KRIS@"
|
||||
db "AMANDA@"
|
||||
db "JUANA@"
|
||||
db "JODI@"
|
||||
db 2 ; title indent
|
||||
db " NAME @" ; title
|
13
data/players/players.asm
Executable file
13
data/players/players.asm
Executable file
@@ -0,0 +1,13 @@
|
||||
MACRO player
|
||||
dw \1 ; ptr to ow state sprites
|
||||
db \2 ; ow sprite palette
|
||||
dw \3 ; ptr to ow fishing gfx
|
||||
dw \4, \5 ; ptr to (uncompressed) frontpic, ptr to (compressed) backpic
|
||||
dw \6 ; ptr to pic pallete
|
||||
ENDM
|
||||
|
||||
Players::
|
||||
player ChrisStateSprites, PAL_NPC_RED, FishingGFX, ChrisPic, ChrisBackpic, PlayerPalette ; PLAYER_CHRIS
|
||||
player KrisStateSprites, PAL_NPC_BLUE, KrisFishingGFX, KrisPic, KrisBackpic, KrisPalette ; PLAYER_KRIS
|
||||
player GreenStateSprites, PAL_NPC_GREEN, FishingGFX, ChrisPic, ChrisBackpic, PlayerPalette ; PLAYER_GREEN
|
||||
db $ff
|
Reference in New Issue
Block a user