2018-01-18 03:37:04 +00:00
|
|
|
; macros taken from pokered's data/sgb_packets.asm
|
|
|
|
; names taken from pandocs
|
|
|
|
; http://gbdev.gg8.se/wiki/articles/SGB_Functions#SGB_Palette_Commands
|
|
|
|
|
2022-06-06 21:25:42 +00:00
|
|
|
MACRO sgb_pal_set
|
2018-01-18 03:37:04 +00:00
|
|
|
db (SGB_PAL_SET << 3) + 1
|
|
|
|
dw PREDEFPAL_\1, PREDEFPAL_\2, PREDEFPAL_\3, PREDEFPAL_\4
|
2020-09-01 16:24:14 +00:00
|
|
|
ds 7, 0
|
2018-01-18 03:37:04 +00:00
|
|
|
ENDM
|
|
|
|
|
2022-06-06 21:25:42 +00:00
|
|
|
MACRO sgb_pal01
|
2018-01-18 03:37:04 +00:00
|
|
|
db (SGB_PAL01 << 3) + 1
|
|
|
|
ENDM
|
|
|
|
|
2022-06-06 21:25:42 +00:00
|
|
|
MACRO sgb_pal23
|
2018-01-18 03:37:04 +00:00
|
|
|
db (SGB_PAL23 << 3) + 1
|
|
|
|
ENDM
|
|
|
|
|
2018-01-18 05:16:03 +00:00
|
|
|
PalPacket_GSTitleScreen:
|
|
|
|
sgb_pal_set GS_TITLE_SCREEN_0, GS_TITLE_SCREEN_1, GS_TITLE_SCREEN_2, GS_TITLE_SCREEN_3
|
|
|
|
|
2018-09-16 17:40:47 +00:00
|
|
|
PalPacket_MagnetTrain:
|
2020-04-30 15:27:32 +00:00
|
|
|
sgb_pal_set BETA_SHINY_GREENMON, CGB_BADGE, RB_BROWNMON, ROUTES
|
2018-01-18 05:16:03 +00:00
|
|
|
|
2018-06-01 06:11:44 +00:00
|
|
|
PalPacket_BetaPoker:
|
|
|
|
sgb_pal_set BETA_POKER_0, BETA_POKER_1, BETA_POKER_2, BETA_POKER_3
|
2018-01-18 05:16:03 +00:00
|
|
|
|
|
|
|
PalPacket_UnownPuzzle:
|
|
|
|
sgb_pal_set UNOWN_PUZZLE, UNOWN_PUZZLE, UNOWN_PUZZLE, UNOWN_PUZZLE
|
|
|
|
|
2020-10-04 23:43:28 +00:00
|
|
|
PalPacket_AllPal0:
|
2020-04-30 15:27:32 +00:00
|
|
|
sgb_pal_set ROUTES, ROUTES, ROUTES, ROUTES
|
2018-01-18 05:16:03 +00:00
|
|
|
|
|
|
|
PalPacket_GSIntroShellderLapras:
|
2020-04-30 15:27:32 +00:00
|
|
|
sgb_pal_set GS_INTRO_SHELLDER_LAPRAS, ROUTES, ROUTES, ROUTES
|
2018-01-18 05:16:03 +00:00
|
|
|
|
2020-06-21 20:27:43 +00:00
|
|
|
PalPacket_BetaIntroLapras: ; unreferenced
|
2020-04-30 15:27:32 +00:00
|
|
|
sgb_pal_set BETA_INTRO_LAPRAS, ROUTES, ROUTES, ROUTES
|
2018-01-18 05:16:03 +00:00
|
|
|
|
|
|
|
PalPacket_GSIntroJigglypuffPikachu:
|
2020-04-30 15:27:32 +00:00
|
|
|
sgb_pal_set GS_INTRO_JIGGLYPUFF_PIKACHU_BG, GS_INTRO_JIGGLYPUFF_PIKACHU_OB, ROUTES, ROUTES
|
2018-01-18 05:16:03 +00:00
|
|
|
|
2018-01-18 20:06:43 +00:00
|
|
|
PalPacket_GSIntroStartersTransition:
|
2020-04-30 15:27:32 +00:00
|
|
|
sgb_pal_set GS_INTRO_STARTERS_TRANSITION, ROUTES, ROUTES, ROUTES
|
2018-01-18 05:16:03 +00:00
|
|
|
|
2018-06-01 06:11:44 +00:00
|
|
|
PalPacket_BetaIntroVenusaur:
|
2020-04-30 15:27:32 +00:00
|
|
|
sgb_pal_set BETA_INTRO_VENUSAUR, ROUTES, ROUTES, ROUTES
|
2018-01-18 05:16:03 +00:00
|
|
|
|
|
|
|
PalPacket_Pack:
|
2020-04-30 15:27:32 +00:00
|
|
|
sgb_pal_set PACK, ROUTES, ROUTES, ROUTES
|
2018-01-18 05:16:03 +00:00
|
|
|
|
2018-06-01 06:11:44 +00:00
|
|
|
PalPacket_BetaPikachuMinigame:
|
2020-04-30 15:27:32 +00:00
|
|
|
sgb_pal_set GS_INTRO_JIGGLYPUFF_PIKACHU_OB, ROUTES, ROUTES, ROUTES
|
2018-01-18 05:16:03 +00:00
|
|
|
|
|
|
|
PalPacket_PartyMenu:
|
|
|
|
sgb_pal_set PARTY_ICON, HP_GREEN, HP_YELLOW, HP_RED
|
|
|
|
|
|
|
|
PalPacket_BattleGrayscale:
|
|
|
|
sgb_pal_set BLACKOUT, BLACKOUT, BLACKOUT, BLACKOUT
|
|
|
|
|
|
|
|
PalPacket_Pokegear:
|
2020-04-30 15:27:32 +00:00
|
|
|
sgb_pal_set POKEGEAR, ROUTES, ROUTES, ROUTES
|
2018-01-18 05:16:03 +00:00
|
|
|
|
2020-10-04 22:32:33 +00:00
|
|
|
PalPacket_Pack2: ; unreferenced
|
2020-04-30 15:27:32 +00:00
|
|
|
sgb_pal_set PACK, ROUTES, ROUTES, ROUTES
|
2018-01-18 05:16:03 +00:00
|
|
|
|
|
|
|
PalPacket_SlotMachine:
|
|
|
|
sgb_pal_set SLOT_MACHINE_0, SLOT_MACHINE_1, SLOT_MACHINE_2, SLOT_MACHINE_3
|
|
|
|
|
2018-09-16 17:40:47 +00:00
|
|
|
PalPacket_BetaTitleScreen:
|
2018-06-01 06:11:44 +00:00
|
|
|
sgb_pal_set BETA_LOGO_1, BETA_LOGO_2, DIPLOMA, RB_PURPLEMON
|
2018-01-18 05:16:03 +00:00
|
|
|
|
|
|
|
PalPacket_Diploma:
|
2020-04-30 15:27:32 +00:00
|
|
|
sgb_pal_set DIPLOMA, ROUTES, ROUTES, ROUTES
|
2018-01-18 05:16:03 +00:00
|
|
|
|
|
|
|
PalPacket_TradeTube:
|
2020-04-30 15:27:32 +00:00
|
|
|
sgb_pal_set TRADE_TUBE, ROUTES, ROUTES, ROUTES
|
2018-01-18 05:16:03 +00:00
|
|
|
|
|
|
|
PalPacket_GamefreakLogo:
|
2020-04-30 15:27:32 +00:00
|
|
|
sgb_pal_set GS_INTRO_GAMEFREAK_LOGO, ROUTES, ROUTES, ROUTES
|
2017-12-25 17:41:31 +00:00
|
|
|
|
2020-10-04 22:32:33 +00:00
|
|
|
PalPacket_Pal01:
|
2018-01-18 03:37:04 +00:00
|
|
|
sgb_pal01
|
|
|
|
RGB 31, 31, 31
|
|
|
|
rept 6
|
|
|
|
RGB 00, 00, 00
|
|
|
|
endr
|
2020-09-01 16:24:14 +00:00
|
|
|
db 0
|
2017-12-25 17:41:31 +00:00
|
|
|
|
2020-10-04 22:32:33 +00:00
|
|
|
PalPacket_Pal23:
|
2018-01-18 03:37:04 +00:00
|
|
|
sgb_pal23
|
|
|
|
RGB 31, 31, 31
|
|
|
|
rept 6
|
|
|
|
RGB 00, 00, 00
|
|
|
|
endr
|
2020-09-01 16:24:14 +00:00
|
|
|
db 0
|