2018-04-01 08:01:51 -07:00
|
|
|
; GetSGBLayout arguments (see engine/gfx/cgb_layouts.asm and engine/gfx/sgb_layouts.asm)
|
2018-01-17 19:37:04 -08:00
|
|
|
const_def
|
|
|
|
const SCGB_BATTLE_GRAYSCALE
|
|
|
|
const SCGB_BATTLE_COLORS
|
|
|
|
const SCGB_POKEGEAR_PALS
|
|
|
|
const SCGB_STATS_SCREEN_HP_PALS
|
|
|
|
const SCGB_POKEDEX
|
|
|
|
const SCGB_SLOT_MACHINE
|
|
|
|
const SCGB_06
|
2018-01-17 21:16:03 -08:00
|
|
|
const SCGB_GS_INTRO
|
2018-01-17 19:37:04 -08:00
|
|
|
const SCGB_DIPLOMA
|
|
|
|
const SCGB_MAPPALS
|
|
|
|
const SCGB_PARTY_MENU
|
|
|
|
const SCGB_EVOLUTION
|
2018-01-17 21:16:03 -08:00
|
|
|
const SCGB_GS_TITLE_SCREEN
|
2018-01-17 19:37:04 -08:00
|
|
|
const SCGB_0D
|
|
|
|
const SCGB_MOVE_LIST
|
|
|
|
const SCGB_0F
|
|
|
|
const SCGB_POKEDEX_SEARCH_OPTION
|
|
|
|
const SCGB_11
|
|
|
|
const SCGB_POKEPIC
|
|
|
|
const SCGB_13
|
|
|
|
const SCGB_PACKPALS
|
|
|
|
const SCGB_TRAINER_CARD
|
|
|
|
const SCGB_POKEDEX_UNOWN_MODE
|
|
|
|
const SCGB_BILLS_PC
|
|
|
|
const SCGB_UNOWN_PUZZLE
|
|
|
|
const SCGB_GAMEFREAK_LOGO
|
|
|
|
const SCGB_PLAYER_OR_MON_FRONTPIC_PALS
|
|
|
|
const SCGB_TRADE_TUBE
|
|
|
|
const SCGB_TRAINER_OR_MON_FRONTPIC_PALS
|
|
|
|
const SCGB_MYSTERY_GIFT
|
|
|
|
const SCGB_1E
|
|
|
|
|
|
|
|
SCGB_PARTY_MENU_HP_PALS EQU -4
|
|
|
|
SCGB_RAM EQU -1
|
|
|
|
|
|
|
|
; PredefPals indexes (see gfx/sgb/predef.pal)
|
2018-04-01 08:01:51 -07:00
|
|
|
; GetPredefPal arguments (see engine/gfx/color.asm)
|
2018-01-17 19:37:04 -08:00
|
|
|
const_def
|
|
|
|
const PREDEFPAL_00
|
2018-01-17 19:48:57 -08:00
|
|
|
const PREDEFPAL_PALLET
|
|
|
|
const PREDEFPAL_VIRIDIAN
|
|
|
|
const PREDEFPAL_PEWTER
|
|
|
|
const PREDEFPAL_CERULEAN
|
|
|
|
const PREDEFPAL_LAVENDER
|
|
|
|
const PREDEFPAL_VERMILION
|
|
|
|
const PREDEFPAL_CELADON
|
|
|
|
const PREDEFPAL_FUCHSIA
|
|
|
|
const PREDEFPAL_CINNABAR
|
|
|
|
const PREDEFPAL_SAFFRON
|
|
|
|
const PREDEFPAL_INDIGO
|
|
|
|
const PREDEFPAL_NEW_BARK
|
|
|
|
const PREDEFPAL_CHERRYGROVE
|
|
|
|
const PREDEFPAL_VIOLET
|
|
|
|
const PREDEFPAL_AZALEA
|
|
|
|
const PREDEFPAL_GOLDENROD
|
|
|
|
const PREDEFPAL_ECRUTEAK
|
|
|
|
const PREDEFPAL_OLIVINE
|
|
|
|
const PREDEFPAL_CIANWOOD
|
|
|
|
const PREDEFPAL_MAHOGANY
|
|
|
|
const PREDEFPAL_BLACKTHORN
|
|
|
|
const PREDEFPAL_LAKE_OF_RAGE
|
|
|
|
const PREDEFPAL_SILVER_CAVE
|
|
|
|
const PREDEFPAL_DUNGEONS
|
|
|
|
const PREDEFPAL_NITE
|
2018-01-17 21:16:03 -08:00
|
|
|
const PREDEFPAL_BLACKOUT
|
2018-01-18 09:31:19 -08:00
|
|
|
const PREDEFPAL_DIPLOMA ; RB_MEWMON
|
|
|
|
const PREDEFPAL_TRADE_TUBE ; RB_BLUEMON
|
|
|
|
const PREDEFPAL_POKEDEX ; RB_REDMON
|
|
|
|
const PREDEFPAL_RB_CYANMON
|
|
|
|
const PREDEFPAL_RB_PURPLEMON
|
|
|
|
const PREDEFPAL_RB_BROWNMON
|
|
|
|
const PREDEFPAL_RB_GREENMON
|
|
|
|
const PREDEFPAL_RB_PINKMON
|
|
|
|
const PREDEFPAL_RB_YELLOWMON
|
|
|
|
const PREDEFPAL_CGB_BADGE ; RB_GREYMON
|
2018-01-18 13:19:09 -08:00
|
|
|
const PREDEFPAL_MEWMON_NITE
|
|
|
|
const PREDEFPAL_BLUEMON_NITE
|
|
|
|
const PREDEFPAL_REDMON_NITE
|
|
|
|
const PREDEFPAL_CYANMON_NITE
|
|
|
|
const PREDEFPAL_PURPLEMON_NITE
|
|
|
|
const PREDEFPAL_BROWNMON_NITE
|
|
|
|
const PREDEFPAL_GREENMON_NITE
|
|
|
|
const PREDEFPAL_PINKMON_NITE
|
|
|
|
const PREDEFPAL_YELLOWMON_NITE
|
|
|
|
const PREDEFPAL_PARTY_ICON ; GREYMON_NITE
|
2018-01-17 21:16:03 -08:00
|
|
|
const PREDEFPAL_HP_GREEN
|
|
|
|
const PREDEFPAL_HP_YELLOW
|
|
|
|
const PREDEFPAL_HP_RED
|
|
|
|
const PREDEFPAL_POKEGEAR
|
2018-01-17 19:37:04 -08:00
|
|
|
const PREDEFPAL_33
|
|
|
|
const PREDEFPAL_34
|
2018-01-17 21:16:03 -08:00
|
|
|
const PREDEFPAL_GS_INTRO_GAMEFREAK_LOGO
|
|
|
|
const PREDEFPAL_GS_INTRO_SHELLDER_LAPRAS
|
2018-01-17 19:37:04 -08:00
|
|
|
const PREDEFPAL_37
|
2018-01-17 21:16:03 -08:00
|
|
|
const PREDEFPAL_GS_INTRO_JIGGLYPUFF_PIKACHU_BG
|
|
|
|
const PREDEFPAL_GS_INTRO_JIGGLYPUFF_PIKACHU_OB
|
2018-01-18 12:06:43 -08:00
|
|
|
const PREDEFPAL_GS_INTRO_STARTERS_TRANSITION
|
2018-01-17 19:37:04 -08:00
|
|
|
const PREDEFPAL_3B
|
2018-01-18 12:06:43 -08:00
|
|
|
const PREDEFPAL_PACK ; GS_INTRO_CHARIZARD
|
2018-01-17 21:16:03 -08:00
|
|
|
const PREDEFPAL_SLOT_MACHINE_0
|
|
|
|
const PREDEFPAL_SLOT_MACHINE_1
|
|
|
|
const PREDEFPAL_SLOT_MACHINE_2
|
|
|
|
const PREDEFPAL_SLOT_MACHINE_3
|
2018-01-18 08:37:05 -08:00
|
|
|
const PREDEFPAL_SCGB_11_0
|
|
|
|
const PREDEFPAL_SCGB_11_1
|
|
|
|
const PREDEFPAL_SCGB_11_2
|
|
|
|
const PREDEFPAL_SCGB_11_3
|
2018-01-17 19:37:04 -08:00
|
|
|
const PREDEFPAL_45
|
|
|
|
const PREDEFPAL_46
|
|
|
|
const PREDEFPAL_47
|
2018-01-17 21:16:03 -08:00
|
|
|
const PREDEFPAL_GS_TITLE_SCREEN_0
|
|
|
|
const PREDEFPAL_GS_TITLE_SCREEN_1
|
|
|
|
const PREDEFPAL_GS_TITLE_SCREEN_2
|
|
|
|
const PREDEFPAL_GS_TITLE_SCREEN_3
|
|
|
|
const PREDEFPAL_UNOWN_PUZZLE
|
2018-01-17 19:37:04 -08:00
|
|
|
const PREDEFPAL_4D
|
2018-01-17 21:16:03 -08:00
|
|
|
const PREDEFPAL_GAMEFREAK_LOGO
|
2018-01-17 19:37:04 -08:00
|
|
|
|
|
|
|
; SGB system command codes
|
|
|
|
; http://gbdev.gg8.se/wiki/articles/SGB_Functions#SGB_System_Command_Table
|
|
|
|
const_def
|
|
|
|
const SGB_PAL01
|
|
|
|
const SGB_PAL23
|
|
|
|
const SGB_PAL03
|
|
|
|
const SGB_PAL12
|
|
|
|
const SGB_ATTR_BLK
|
|
|
|
const SGB_ATTR_LIN
|
|
|
|
const SGB_ATTR_DIV
|
|
|
|
const SGB_ATTR_CHR
|
|
|
|
const SGB_SOUND
|
|
|
|
const SGB_SOU_TRN
|
|
|
|
const SGB_PAL_SET
|
|
|
|
const SGB_PAL_TRN
|
|
|
|
const SGB_ATRC_EN
|
|
|
|
const SGB_TEST_EN
|
|
|
|
const SGB_ICON_EN
|
|
|
|
const SGB_DATA_SND
|
|
|
|
const SGB_DATA_TRN
|
|
|
|
const SGB_MLT_REG
|
|
|
|
const SGB_JUMP
|
|
|
|
const SGB_CHR_TRN
|
|
|
|
const SGB_PCT_TRN
|
|
|
|
const SGB_ATTR_TRN
|
|
|
|
const SGB_ATTR_SET
|
|
|
|
const SGB_MASK_EN
|
|
|
|
const SGB_OBJ_TRN
|
2018-01-17 21:16:03 -08:00
|
|
|
|
|
|
|
PALPACKET_LENGTH EQU $10
|